[Asterisk-Users] zap to zap bridging not hanging up
Master Abi
master at lavacoms.com
Sat Jun 4 22:37:04 MST 2005
Hi
I am trying to develop a night divert. Caller dials in after hours on
Zap and it gets divert to a mobile number via a second Zap. The call
bridges but will not hangup the channels when the parties finish.
Is there something I am missing or an dial option that I should be
using. I am using latest CVS.
[night]
exten => s,1,Answer
exten => s,2,Wait,1
exten => s,3,Set(TIMEOUT(digit)=3)
exten => s,4,Set(TIMEOUT(response)=6)
exten => s,5,Set(dvt=${DB(DIVERT/MOBILE)})
exten => s,6,Gotoif($["${dvt}" != ""]?s|7:s|103)
exten => s,7,Dial,${PSTNTRUNK}/${dvt}|30|tr
exten => s,8,Hangup
[default]
include => melton-night|17:31-8:59|mon-fri|*|*
Thanks
master
More information about the asterisk-users
mailing list