[asterisk-users] Outbound international calls over BT ISDN30

Zoa zoachien at securax.org
Tue Apr 29 10:13:48 CDT 2008


You might need to set the dialplan to international or so in the config 
files.

Zoa


Stuart Ford wrote:
> Hello all
>
> As always I'm trying the mailing list as a last resort as I'm out of 
> options. I am seemingly unable to dial international numbers over our BT 
> ISDN30 line.
>
> I've checked with BT and the number format they're expecting is:
>
> 	00<CC><number>
>
> (where CC is the country code).
>
> But this doesn't work. Looking at the PRI debug, the most notable error 
> seems to be:
>
> Message type: DISCONNECT (69)
> [08 02 82 81]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
> Location: Public network serving the local user (2)
> Ext: 1  Cause: Unallocated (unassigned) number (1), class = Normal Event 
> (0) ]
>
> I've also tried different number formats, including:
>
> 	+CC<number>
> 	+0CC<number>
>
> But to no avail.
>
> Anybody know what I'm doing wrong? Here's a complete debug dump of a 
> failed international call to the US:
>
> Many thanks
>
> Stu
>
>      -- Executing [s at macro-outgoing:2] Dial("SIP/sbf-b7c104e0", 
> "Zap/g1/0012127551200") in new stack
> -- Making new call for cr 33090
>      -- Requested transfer capability: 0x00 - SPEECH
>  > Protocol Discriminator: Q.931 (8)  len=47
>  > Call Ref: len= 2 (reference 322/0x142) (Originator)
>  > Message type: SETUP (5)
>  > [04 03 80 90 a3]
>  > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
> capability: Speech (0)
>  >                              Ext: 1  Trans mode/rate: 64kbps, 
> circuit-mode (16)
>  >                              Ext: 1  User information layer 1: A-Law (35)
>  > [18 03 a9 83 83]
>  > 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: 3 ]
>  > [6c 0d 21 80 30 31 36 31 34 38 36 37 37 38 30]
>  > Calling Number (len=15) [ Ext: 0  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>  >                           Presentation: Presentation permitted, user 
> number not screened (0)  '01614867780' ]
>  > [70 0e a1 30 30 31 32 31 32 37 35 35 31 32 30 30]
>  > Called Number (len=16) [ Ext: 1  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '0012127551200' ]
>  > [a1]on*CLI>
>  > Sending Complete (len= 1)
> q931.c:2881 q931_setup: call 33090 on channel 3 enters state 1 (Call 
> Initiated)
>      -- Called g1/0012127551200
> < Protocol Discriminator: Q.931 (8)  len=10
> < Call Ref: len= 2 (reference 322/0x142) (Terminator)
> < Message type: CALL PROCEEDING (2)
> < [18 03 a9 83 83]
> < 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: 3 ]
> -- Processing IE 24 (cs0, Channel Identification)
> q931.c:3428 q931_receive: call 33090 on channel 3 enters state 3 
> (Outgoing call  Proceeding)
>      -- Zap/3-1 is proceeding passing it to SIP/sbf-b7c104e0
> < Protocol Discriminator: Q.931 (8)  len=13
> < Call Ref: len= 2 (reference 322/0x142) (Terminator)
> < Message type: DISCONNECT (69)
> < [08 02 82 81]
> < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
> Location: Public network serving the local user (2)
> <                  Ext: 1  Cause: Unallocated (unassigned) number (1), 
> class = Normal Event (0) ]
> < [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)
> q931.c:3563 q931_receive: call 33090 on channel 3 enters state 12 
> (Disconnect Indication)
>      -- Channel 0/3, span 1 got hangup request, cause 1
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, 
> peerstate Disconnect Request
> q931.c:2716 q931_release: call 33090 on channel 3 enters state 19 
> (Release Request)
>  > Protocol Discriminator: Q.931 (8)  len=9
>  > Call Ref: len= 2 (reference 322/0x142) (Originator)
>  > Message type: RELEASE (77)
>  > [08 02 81 81]
>  > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
> Location: Private network serving the local user (1)
>  >                  Ext: 1  Cause: Unallocated (unassigned) number (1), 
> class = Normal Event (0) ]
>      -- Hungup 'Zap/3-1'
>    == Everyone is busy/congested at this time (1:0/0/1)
>      -- Executing [s at macro-outgoing:3] Hangup("SIP/sbf-b7c104e0", "") in 
> new stack
>    == Spawn extension (macro-outgoing, s, 3) exited non-zero on 
> 'SIP/sbf-b7c104e0' in macro 'outgoing'
>    == Spawn extension (macro-outgoing, s, 3) exited non-zero on 
> 'SIP/sbf-b7c104e0'
> < Protocol Discriminator: Q.931 (8)  len=5
> < Call Ref: len= 2 (reference 322/0x142) (Terminator)
> < Message type: RELEASE COMPLETE (90)
> q931.c:3503 q931_receive: call 33090 on channel 3 enters state 0 (Null)
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
> NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
>
>   




More information about the asterisk-users mailing list