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 "[EMAIL PROTECTED]"

Example"

exten => _91NXXNXXXXXX,1,Dial(${PSTN}/${EXTEN:1},,g)
exten => _91NXXNXXXXXX,2,Noop(DESTINATION HANGUP)

exten => h,1,Noop(SOURCE HANGUP)

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to