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