[Asterisk-Users] Problem with calls starting from a legacy PBX

C F shmaltz at gmail.com
Mon Jan 16 16:16:24 MST 2006


Take a look at this:
http://bugs.digium.com/view.php?id=0006256

On 1/16/06, Mimmus <dviggiani at tiscali.it> wrote:
> Hi,
> I have this setup:
>  E1 PRI PSTN -- Asterisk -- Alcatel PBX - analog phones
>
> Can someone tell me what's wrong with this call initiating from an analog
> phone connected to Alcatel PBX?
> It dies with NOANSWER but all works if I call other destination numbers.
>
> Dialplan is a simple Dial(zap/g1/0984465691) statement.
> At the end you'll find also zapata.conf.
>
> #####################################################################
>
> < Protocol Discriminator: Q.931 (8)  len=28
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: SETUP (5)
> < [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)
> < [1e 02 80 83]
> < Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
> 0   Location: User (0)
> <                               Ext: 1  Progress Description: Calling
> equipment is non-ISDN. (3) ]
> < [6c 05 00 81 32 32 30]
> < Calling Number (len= 7) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0)
> <                           Presentation: Presentation permitted, user
> number passed network screening (1) '220' ]
> < [70 05 80 30 39 38 34]
> < Called Number (len= 7) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0) '0984' ]
> -- Making new call for cr 19387
> -- Processing Q.931 Call Setup
> -- Processing IE 4 (cs0, Bearer Capability)
> -- Processing IE 30 (cs0, Progress Indicator)
> -- Processing IE 108 (cs0, Calling Party Number)
> -- Processing IE 112 (cs0, Called Party Number)
> > Protocol Discriminator: Q.931 (8)  len=14
> > Call Ref: len= 2 (reference 19387/0x4BBB) (Terminator)
> > Message type: SETUP ACKNOWLEDGE (13)
> > [18 03 a9 83 9d]
> > 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: 29 ]
> > [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) ]
>     -- Accepting overlap call from '220' to '0984' on channel 0/29, span 2
>     -- Starting simple switch on 'Zap/60-1'
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: INFORMATION (123)
> < [70 02 80 34]
> < Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0) '4' ]
> -- Processing IE 112 (cs0, Called Party Number)
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: INFORMATION (123)
> < [70 02 80 36]
> < Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0) '6' ]
> -- Processing IE 112 (cs0, Called Party Number)
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: INFORMATION (123)
> < [70 02 80 35]
> < Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0) '5' ]
> -- Processing IE 112 (cs0, Called Party Number)
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: INFORMATION (123)
> < [70 02 80 36]
> < Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0) '6' ]
> -- Processing IE 112 (cs0, Called Party Number)
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: INFORMATION (123)
> < [70 02 80 39]
> < Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0) '9' ]
> -- Processing IE 112 (cs0, Called Party Number)
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: INFORMATION (123)
> < [70 02 80 31]
> < Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
> Unknown Number Plan (0) '1' ]
> -- Processing IE 112 (cs0, Called Party Number)
>     -- Executing NoOp("Zap/60-1", "--> Thematica called from 0984899220
> <--") in new stack
>     -- Executing Dial("Zap/60-1", "Zap/g1/0984465691") in new stack
> -- Making new call for cr 33047
>     -- Requested transfer capability: 0x10 - 3K1AUDIO
> > Protocol Discriminator: Q.931 (8)  len=34
> > Call Ref: len= 2 (reference 279/0x117) (Originator)
> > Message type: SETUP (5)
> > [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 ]
> > [6c 05 41 81 32 32 30]
> > Calling Number (len= 7) [ Ext: 0  TON: Subscriber Number (4)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> >                           Presentation: Presentation permitted, user
> number passed network screening (1) '220' ]
> > [70 0a a1 39 38 34 34 36 35 36 39 31]
> > Called Number (len=12) [ Ext: 1  TON: National Number (2)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1) '984465691' ]
>     -- Called g1/0984465691
> < Protocol Discriminator: Q.931 (8)  len=10
> < Call Ref: len= 2 (reference 279/0x117) (Terminator)
> < Message type: SETUP ACKNOWLEDGE (13)
> < [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 ]
> -- Processing IE 24 (cs0, Channel Identification)
> < Protocol Discriminator: Q.931 (8)  len=13
> < Call Ref: len= 2 (reference 279/0x117) (Terminator)
> < Message type: DISCONNECT (69)
> < [08 02 82 92]
> < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
> Public network serving the local user (2)
> <                  Ext: 1  Cause: Unknown (18), class = Normal Event (1) ]
> < [1e 02 82 88]
> < Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
> 0   Location: Public network serving the local user (2)
> <                               Ext: 1  Progress Description: Inband
> information or appropriate pattern now available. (8) ]
> -- Processing IE 8 (cs0, Cause)
> -- Processing IE 30 (cs0, Progress Indicator)
>     -- Channel 0/13, span 1 got hangup request
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
> peerstate Disconnect Request
> > Protocol Discriminator: Q.931 (8)  len=9
> > Call Ref: len= 2 (reference 279/0x117) (Originator)
> > Message type: RELEASE (77)
> > [08 02 81 92]
> > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
> Private network serving the local user (1)
> >                  Ext: 1  Cause: Unknown (18), class = Normal Event (1) ]
>     -- Hungup 'Zap/13-1'
>   == No one is available to answer at this time (1:0/0/0)
>     -- Executing Macro("Zap/60-1", "outisbusy") in new stack
>     -- Executing Playback("Zap/60-1", "all-circuits-busy-now") in new stack
> > Protocol Discriminator: Q.931 (8)  len=14
> > Call Ref: len= 2 (reference 19387/0x4BBB) (Terminator)
> > Message type: CONNECT (7)
> > [18 03 a9 83 9d]
> > 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: 29 ]
> > [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 'all-circuits-busy-now' (language 'it')
> < Protocol Discriminator: Q.931 (8)  len=5
> < Call Ref: len= 2 (reference 279/0x117) (Terminator)
> < Message type: RELEASE COMPLETE (90)
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
> NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
> < Protocol Discriminator: Q.931 (8)  len=5
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: CONNECT ACKNOWLEDGE (15)
>     -- Executing Playback("Zap/60-1", "pls-try-call-later") in new stack
>     -- Playing 'pls-try-call-later' (language 'it')
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: DISCONNECT (69)
> < [08 02 80 90]
> < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
> User (0)
> <                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
> -- Processing IE 8 (cs0, Cause)
>     -- Channel 0/29, span 2 got hangup request
>   == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'Zap/60-1'
> in macro 'outisbusy'
>   == Spawn extension (from-alcatel, 0984465691, 3) exited non-zero on
> 'Zap/60-1'
>     -- Executing GotoIf("Zap/60-1", "0?2:3") in new stack
>     -- Goto (from-alcatel,h,3)
>     -- Executing Macro("Zap/60-1", "hangupcall") in new stack
>     -- Executing ResetCDR("Zap/60-1", "w") in new stack
>     -- Executing NoCDR("Zap/60-1", "") in new stack
>     -- Executing Wait("Zap/60-1", "5") in new stack
>   == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'Zap/60-1'
> in macro 'hangupcall'
>   == Spawn extension (from-alcatel, h, 3) exited non-zero on 'Zap/60-1'
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
> peerstate Disconnect Request
> > Protocol Discriminator: Q.931 (8)  len=9
> > Call Ref: len= 2 (reference 19387/0x4BBB) (Terminator)
> > Message type: RELEASE (77)
> > [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: Unknown (16), class = Normal Event (1) ]
>     -- Hungup 'Zap/60-1'
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 19387/0x4BBB) (Originator)
> < Message type: RELEASE COMPLETE (90)
> < [08 02 80 90]
> < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
> User (0)
> <                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
> -- Processing IE 8 (cs0, Cause)
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
> NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
> < Protocol Discriminator: Q.931 (8)  len=12
> < Call Ref: len= 2 (reference 276/0x114) (Terminator)
> < Message type: INFORMATION (123)1
> < [96]sk1*CLI> pri no debug span 1
> < Locking Shift (len=01): Requested codeset 6
> < [1a 04 c4 16 00 00] debug span 1
> !! < Unknown IE 1562 (len = 6)an 1
> -- Processing IE 26 (cs6, Unknown Information Element)
> !! Unknown IE 26 (cs6, Unknown Information Element)
> asterisk1*CLI> pri no debug span 1
> Disabled debugging on span 1
> asterisk1*CLI> pri no debug span 2
> Disabled debugging on span 2
>     -- Channel 0/30, span 2 got hangup request
>     -- Hungup 'Zap/12-1'
>   == Spawn extension (macro-dialout-trunk, s, 14) exited non-zero on
> 'Zap/61-1' in macro 'dialout-trunk'
>   == Spawn extension (from-alcatel, 098433391, 1) exited non-zero on
> 'Zap/61-1'
>     -- Executing GotoIf("Zap/61-1", "0?2:3") in new stack
>     -- Goto (from-alcatel,h,3)
>     -- Executing Macro("Zap/61-1", "hangupcall") in new stack
>     -- Executing ResetCDR("Zap/61-1", "w") in new stack
>     -- Executing NoCDR("Zap/61-1", "") in new stack
>     -- Executing Wait("Zap/61-1", "5") in new stack
>   == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'Zap/61-1'
> in macro 'hangupcall'
>   == Spawn extension (from-alcatel, h, 3) exited non-zero on 'Zap/61-1'
>     -- Hungup 'Zap/61-1'
> !! Unknown IE 26 (cs6, Unknown Information Element)
>
> ############################################ zapata.conf ###########
>
> [trunkgroups]
>
> [channels]
>
> language=it
> switchtype=euroisdn
> pridialplan=dynamic
> prilocaldialplan=local
> overlapdial=yes
> internationalprefix=00
> nationalprefix=0
> localprefix=0984
> privateprefix=0984899
> unknownprefix=
>
> priindication=inband
> facilityenable=yes
> rxgain=0.0
> txgain=0.0
> jitterbuffers=2
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> callwaitingcallerid=yes
> usecallingpres=yes
> useincomingcalleridonzaptransfer=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=800
> immediate=no
> callerid=asreceived
> musiconhold=native-random
>
> ; Incoming only
> group=0
> signalling=pri_cpe
> context=from-pstn
> faxdetect=incoming
> channel => 1-10
>
> ; Outgoing (only?)
> group=1
> faxdetect=no
> channel => 11-15,17-21
>
> ; Not used
> group=3
> faxdetect=no
> channel => 22-31
>
> ; To/From Alcatel
> group=2
> signalling=pri_net
> faxdetect=no
> context=from-alcatel
> channel => 32-46,48-62
>
> _______________________________________________
> --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
>



More information about the asterisk-users mailing list