[Asterisk-Users] overlap dialing on a pri span

Martin Pycko martinp at digium.com
Tue Jul 8 08:04:09 MST 2003


Well first of all if you set up DigitTimeout to 5 seconds so asterisk is
going to wait up to 5 seconds to retrieve the digits specially when you
have a match of _X. that is at least to digits but with the timeout of 5
you could imagine that asterisk will intercept all digits.

How about having a pattern _X (without a dot). The amount of digits that
asterisk is waiting for is set by you. _X is one digit, _XXXXX is 5 digits

Martin

On Tue, 8 Jul 2003 salmon at netzquadrat.de wrote:

> 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.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list