Add call forward no answer to skinny and cleanup general callfwd handling.
authorDamien Wedhorn <voip@facts.com.au>
Sat, 18 May 2013 23:20:53 +0000 (23:20 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Sat, 18 May 2013 23:20:53 +0000 (23:20 +0000)
commit01d6e8dbc99d4ca16977cf48bd65e364850fb07d
tree279908bb15b05f032c7cc199ecd4d7aeeb1867af
parent7316abeb8f4864bbaa0f26a557055d1af8d3a455
Add call forward no answer to skinny and cleanup general callfwd handling.

CallforwardNoAnswer uses a sched to determine when to forward the call.
Defaults to 20secs but configurable in skinny.conf.

Adds dialType to each subchannel structure to be used to differentiate
between normal dials that result in a call being placed (default) and
other uses for the skinny_dialer (such as cfwd digit collection).
Restructured all cfwd handling to use this new arrangement.

(closes issue ASTERISK-21292)
Reported by: wedhorn
Tested by: myself
Patches:
    skinny-callfwdnoans03.diff uploaded by wedhorn (license 5019)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_skinny.c
configs/skinny.conf.sample