Hi, this SETUP message does not contain a CalledParty IE. That means your telco does not send you the DID. You will probably get ripped off extra for that feature by your telco.
best regards Klaus -- Klaus-Peter Junghanns On Tue, 2005-08-09 at 17:20 -0500, Panitaxx wrote: > Hi, > > thanks for your response. here is the log of one call: > > Enabled debugging on span 1 > > Asterisk*CLI> > > < Protocol Discriminator: Q.931 (8) len=33 > < Call Ref: len= 2 (reference 72/0x48) (Originator) > < Message type: SETUP (5) > < [a1] > < Sending Complete (len= 1) > < [04 03 90 90 a3] > < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer > capability: 3.1kHz audio (16) > < Ext: 1 Trans mode/rate: 64kbps, > circuit-mode (16) > < Ext: 1 User information layer 1: A-Law (35) > < [18 03 a9 83 8d] > < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, > Exclusive Dchan: 0 > < ChanSel: Reserved > < Ext: 1 Coding: 0 Number Specified Channel Type: 3 > < Ext: 1 Channel: 13 ] > < [1e 02 84 83] > < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard > (0) 0: 0 Location: Public network serving the remote user (4) > < Ext: 1 Progress Description: Calling > equipment is non-ISDN. (3) ] > < [6c 0b 00 83 39 31 35 34 35 31 39 30 30] > < Calling Number (len=13) [ Ext: 0 TON: Unknown Number Type (0) NPI: > Unknown Number Plan (0) > < Presentation: Presentation allowed of > network provided number (3) '915451900' ] > -- Making new call for cr 72 > -- Processing Q.931 Call Setup > -- Processing IE 161 (cs0, Sending Complete) > -- Processing IE 4 (cs0, Bearer Capability) > -- Processing IE 24 (cs0, Channel Identification) > -- Processing IE 30 (cs0, Progress Indicator) > -- Processing IE 108 (cs0, C > alling Party Number) > -- Going to extension s|1 because of Complete received > > > Protocol Discriminator: Q.931 (8) len=10 > > Call Ref: len= 2 (reference 32840/0x8048) (Terminator) > > Message type: CALL PROCEEDING (2) > > [18 03 a9 83 8d] > > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive > > Dchan: 0 > > ChanSel: Reserved > > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > > Ext: 1 Channel: 13 ] > -- Accepting call from '915451900' to 's' on channel 0/13, span 1 > > Asterisk*CLI> > -- Executing Playback("Zap/13-1", "vm-intro|noanswer") in new stack > > > Protocol Discriminator: Q.931 (8) len=9 > > Call Ref: len= 2 (reference 32840/0x8048) (Terminator) > > Message type: PROGRESS (3) > > [1e 02 81 88] > > 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: Inband > > information or appropriate pattern now available. (8) ] > -- Playing 'vm-intro' (language 'es') > > Asterisk*CLI> > -- Executing Playback("Zap/13-1", "vm-goodbye") in new stack > > > Protocol Discriminator: Q.931 (8) len=14 > > Call Ref: len= 2 (reference 32840/0x8048) (Terminator) > > Message type: CONNECT (7) > > [18 03 a9 83 8d] > > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive > > Dchan: 0 > > ChanSel: Reserved > > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > > Ext: 1 Channel: 13 ] > > [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) ] > -- Playing 'vm-goodbye' (language 'es') > > Asterisk*CLI> > > < Protocol Discriminator: Q.931 (8) len=5 > < Call Ref: len= 2 (reference 72/0x48) (Originator) > < Message type: CONNECT ACKNOWLEDGE (15) > -- Executing NoOp("Zap/13-1", "") in new stack > -- Executing Hangup("Zap/13-1", "") in new stack > == Spawn extension (primario, s, 4) exited non-zero on 'Zap/13-1' > > NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Active > > Protocol Discriminator: Q.931 (8) len=9 > > Call Ref: len= 2 (reference 32840/0x8048) (Terminator) > > Message type: DISCONNECT (69) > > [08 02 81 90] > > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: > > Private network serving the local user (1) > > Ext: 1 Cause: Normal Clearing (16), class = Normal Event > > (1) ] > -- Hungup 'Zap/13-1' > > Asterisk*CLI> > > On 8/9/05, jj <[EMAIL PROTECTED]> wrote: > > What does pri debug span 1 show? > > > > On Aug 9, 2005, at 5:02 PM, Panitaxx wrote: > > > > > Hello, > > > > > > I have an ISDN PRI E1. For some reason I am not receiving the did > > > number so every call can only go to s exten. I have tried using _X. > > > exten. Also I have immediate=no in zapata.conf. Any hint? > > > > > > thanks in advance, > > > > > > Iván Aponte > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users