[asterisk-users] Stumped with Dial - $50 for answer
Eric "ManxPower" Wieling
eric at fnords.org
Mon Jan 15 09:03:14 MST 2007
chester c young wrote:
> cannot make Dial(...,,g) work correctly, although Dial(...,,gh) works
> just fine. (to make matters worse, it does seem to work sometimes,
> although once working or not working between changes it either works or
> doesn't work all the time.)
"g" option to Dial only continues the dialplan if the destination
(called) leg of the call hangs up. It will NOT cause the dialplan to
continue if the source (calling) leg of the call hangs up.
When the calling channel hangs up, Asterisk will send the remaining leg
of the call to exten => "h".
My paypal address is "eric at fnords.org"
Example"
exten => _91NXXNXXXXXX,1,Dial(${PSTN}/${EXTEN:1},,g)
exten => _91NXXNXXXXXX,2,Noop(DESTINATION HANGUP)
exten => h,1,Noop(SOURCE HANGUP)
More information about the asterisk-users
mailing list