Thanks, i set immediate=no and configured the incoming extensions. The ISDN line has "through selection" (direct selection) and sometimes the network does not send me the extensions and stop to the last digit of root number. Normally i get the dialed number by ${DNID} variable, but in this case the dnid do not contain the extension, so i'm not able to route it to the internal phone.
This is what happen at isdn layer, then i got the dialed and dialer number, the B-chan goes hup, and i got the exten :| In my zapta.conf, I have immediate=no and overlapdial=yes < [XXXXXXXXXXXXXXXXXXXXXXXXXXXXX] < Calling Number (len=13) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) < Presentation: Presentation permitted, user number passed network screening (1) '123456789' ] < [XXXXXXXXXXXXXXXXXXXXXXXXXXXXX] < Called Number (len=10) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) 'root_of_numebr_without_the_exten' ] < [7c 03 90 90 a3] < IE: Low-layer Compatibility (len = 5) -- Making new call for cr 97 -- Processing Q.931 Call Setup -- Processing IE 4 (cs0, Bearer Capability) -- Processing IE 24 (cs0, Channel Identification) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 108 (cs0, Calling Party Number) -- Processing IE 112 (cs0, Called Party Number) -- Processing IE 124 (cs0, Low-layer Compatibility) -- Going to extension s|1 because of immediate=yes > Protocol Discriminator: Q.931 (8) len=11 > Call Ref: len= 1 (reference 225/0xE1) (Terminator) > Message type: SETUP ACKNOWLEDGE (13) > [18 01 89] > Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive > Dchan: 0 > ChanSel: B1 channel ] > [1e 02 81 82] > Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 > Location: Private network serving the local user (1) > Ext: 1 Progress Description: Called equipment > is non-ISDN. (2) ] -- Executing DigitTimeout("Zap/4-1", "2") in new stack -- Set Digit Timeout to 2 -- Executing ResponseTimeout("Zap/4-1", "3") in new stack -- Set Response Timeout to 3 -- Accepting voice call from '123456789' to 's' on channel 0/1, span 2 < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 1 (reference 97/0x61) (Originator) < Message type: INFORMATION (123) < [a1] < Sending Complete (len= 1) < [70 03 a1 32 38] < Called Number (len= 5) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '28' ] -- Processing IE 161 (cs0, Sending Complete) -- Processing IE 112 (cs0, Called Party Number) == CDR updated on Zap/4-1 Anyone can explain me how can i solve ? Thanks very much in advance Giordano -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Tzafrir Cohen Inviato: venerdì 14 luglio 2006 16.10 A: asterisk-users@lists.digium.com Oggetto: Re: R: [asterisk-users] Called number on ISDN On Fri, Jul 14, 2006 at 03:34:04PM +0200, Giordano Grandis wrote: > I cannot use it, I have the immediate=yes in my zapata, the extension > will be always 's' Why would you set immediate=yes ? -- Tzafrir Cohen sip:[EMAIL PROTECTED] icq#16849755 iax:[EMAIL PROTECTED] +972-50-7952406 jabber:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.xorcom.com _______________________________________________ --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 _______________________________________________ --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