[Asterisk-Users] overlap dialing on a pri span
salmon at netzquadrat.de
salmon at netzquadrat.de
Mon Jul 7 16:49:14 MST 2003
Martin,
I probably should have mentioned that: overlapdial=yes was set in
zapata.conf (I take it this option is inherited through all the
channels I configure in zapata.conf). I also did a fresh checkout today.
My guess is that the main problem for now lies in the fact that asterisk
won't execute a dial application once it received the first digit.
Apparently, the extension _X. won't spawn dial before asterisk hits
the timeout:
exten => s,1,Wait,1 ; Wait a second, just for fun
exten => s,2,Answer ; Answer the line
exten => s,3,DigitTimeout,2 ; Set Digit Timeout to 5 seconds
exten => s,4,ResponseTimeout,2 ; Set Response Timeout to 10 seconds
exten => _X.,1,Dial,Zap/g8/BYEXTENSION
I can see asterisk pick up:
-- Executing Answer("Zap/159-1", "") in new stack
the receive some digits
DEBUG[22551]: File chan_zap.c, Line 3254 (zt_read): DTMF digit: 7 on Zap/159-1
DEBUG[22551]: File chan_zap.c, Line 3254 (zt_read): DTMF digit: 8 on Zap/159-1
<...>
and seconds (!) later asterisk dials out
-- Executing Dial("Zap/159-1", "Zap/g8/BYEXTENSION") in new stack
-- Called g8/78997899
-- Channel 1, span 8 got hangup
Do you know why? Is there a minimum number of digits asterisk need for an
inital setup message?
Thilo
> overlapdial=yes in zapata.conf
> for those channels that you want the overlapdialing be activated.
>
> By default only incoming overlap dialing is enabled.
More information about the asterisk-users
mailing list