Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Outbound international calls over BT ISDN30


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
sbf at zimo.co.uk
Guest





PostPosted: Tue Apr 29, 2008 9:49 am    Post subject: [asterisk-users] Outbound international calls over BT ISDN30 Reply with quote

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
Quote:
Protocol Discriminator: Q.931 (Cool 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)
Quote:
Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)
Quote:
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
Quote:
ChanSel: Reserved
Ext: 1 Coding: 0 Number Specified Channel
Type: 3
Quote:
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)
Quote:
Presentation: Presentation permitted, user
number not screened (0) '01614867780' ]
Quote:
[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' ]
Quote:
[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 (Cool 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 (Cool 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. (Cool ]
-- 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)
Quote:
Protocol Discriminator: Q.931 (Cool 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)
Quote:
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 (Cool 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

--
Stuart Benjamin Ford
Chief Technical Officer

Zimo Communications Ltd.
Metropolitan House
Station Road
Cheadle Hulme
Cheshire SK8 7AZ

0800 321 3000 (Switchboard)
08703 850 860 (Fax)
0800 321 3763 (Direct)

sbf at zimo.co.uk
www.zimo.co.uk
Back to top
zoachien at securax.org
Guest





PostPosted: Tue Apr 29, 2008 10:13 am    Post subject: [asterisk-users] Outbound international calls over BT ISDN30 Reply with quote

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

Zoa
Stuart Ford wrote:
Quote:
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
Quote:
Protocol Discriminator: Q.931 (Cool 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)
Quote:
Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)
Quote:
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
Quote:
ChanSel: Reserved
Ext: 1 Coding: 0 Number Specified Channel
Type: 3
Quote:
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)
Quote:
Presentation: Presentation permitted, user
number not screened (0) '01614867780' ]
Quote:
[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' ]
Quote:
[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 (Cool 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 (Cool 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. (Cool ]
-- 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)
Quote:
Protocol Discriminator: Q.931 (Cool 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)
Quote:
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 (Cool 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

Back to top
tony at softins.clara....
Guest





PostPosted: Tue Apr 29, 2008 10:38 am    Post subject: [asterisk-users] Outbound international calls over BT ISDN30 Reply with quote

See below....

In article <48173592.8030207 at zimo.co.uk>, Stuart Ford <sbf at zimo.co.uk> wrote:
Quote:
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
Quote:
Protocol Discriminator: Q.931 (Cool 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' ]

I think this is your problem. It is using "National" as the Type Of Number,
but you have given it an international number.

Quote:
Quote:
[a1]on*CLI>
Sending Complete (len= 1)

What values do you have in zapata.conf for pridialplan, internationalprefix,
nationalprefix and localprefix?

Try each of the following two sets of parameters:

(A)
pridialplan=dynamic
internationalprefix=00
nationalprefix=0
localprefix=

(B)
pridialplan=unknown
internationalprefix=
nationalprefix=
localprefix=

I normally use the first set. In your case it would then send the destination
number as '12127551200' with a TON of International. Dialling a UK number
01234 567890 would be sent as '1234567890' with a TON of National.

The second set of parameters sends all numbers as-is, but with a TON of
Unknown. This may allow the exchange to do normal interpretation like it
does with analogue phones, i.e. 00CC.... for international and 0[1-9]...
for national.

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
davies147 at gmail.com
Guest





PostPosted: Tue Apr 29, 2008 11:00 am    Post subject: [asterisk-users] Outbound international calls over BT ISDN30 Reply with quote

2008/4/29 Tony Mountifield <tony at softins.clara.co.uk>:
[snip]
Quote:
What values do you have in zapata.conf for pridialplan, internationalprefix,
nationalprefix and localprefix?

Try each of the following two sets of parameters:

(A)
pridialplan=dynamic
internationalprefix=00
nationalprefix=0
localprefix=

(B)
pridialplan=unknown
internationalprefix=
nationalprefix=
localprefix=


I'll just add that while (A) should be more correct, (B) seems to work
with a larger number of ISDN30 systems in the UK.

Regards,
Steve
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Tue Apr 29, 2008 11:15 am    Post subject: [asterisk-users] Outbound international calls over BT ISDN30 Reply with quote

On Tue, Apr 29, 2008 at 05:00:26PM +0100, Steve Davies wrote:
Quote:
2008/4/29 Tony Mountifield <tony at softins.clara.co.uk>:
[snip]
Quote:
What values do you have in zapata.conf for pridialplan, internationalprefix,
nationalprefix and localprefix?

Try each of the following two sets of parameters:

(A)
pridialplan=dynamic
internationalprefix=00
nationalprefix=0
localprefix=

(B)
pridialplan=unknown
internationalprefix=
nationalprefix=
localprefix=


I'll just add that while (A) should be more correct, (B) seems to work
with a larger number of ISDN30 systems in the UK.

In fact, is there any reason not to make 'unknown' the default of
pridialplan?

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services