[asterisk-users] BT - ISDN30 - International Calls not working, everything else is fine :(

2008-12-04 Thread Mr Gabriel
Dear All, 

Thank you for taking the time to read this post - I am *confused!* as to why my 
asterisk setup does not work as it should. I have an ISDN 30 connection for 
telephony, a Sangoma card, and asterisk installed. 

Incoming calls, and outgoing calls work 100%. Making an international call, 
results in silence, or the error message all circuits are busy 

Numbers being passed to the trunk for the call 

• National is 020 will result in 20 being sent and dialled, 
which works 
• Mobile is 07x will result in 7x being sent and dialled, 
which works 
• International 00x[any number of digits] will result in 00x[any number of 
digits] which does not work 

I do not see why this does not work. I do know that for every call, the flag 
sent is national - how can I make sure the correct flag is sent for the call? 
By flag, I mean the TON, (type of number) 

Any assistance will be greatly appreciated. 

Thank you 
Mr Gabriel 
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] BT - ISDN30 - International Calls not working, everything else is fine :(

2008-12-04 Thread Tzafrir Cohen
On Thu, Dec 04, 2008 at 11:49:50AM +, Mr Gabriel wrote:
 Dear All, 
 
 Thank you for taking the time to read this post - I am *confused!* as to why 
 my asterisk setup does not work as it should. I have an ISDN 30 connection 
 for telephony, a Sangoma card, and asterisk installed. 
 
 Incoming calls, and outgoing calls work 100%. Making an international call, 
 results in silence, or the error message all circuits are busy 
 
 Numbers being passed to the trunk for the call 
 
 • National is 020 will result in 20 being sent and 
 dialled, which works 
 • Mobile is 07x will result in 7x being sent and dialled, 
 which works 
 • International 00x[any number of digits] will result in 00x[any number 
 of digits] which does not work 
 
 I do not see why this does not work. I do know that for every call, the flag 
 sent is national - how can I make sure the correct flag is sent for the call? 
 By flag, I mean the TON, (type of number) 
 
 Any assistance will be greatly appreciated. 

Look into pridialplan in zapata.conf / chan_dahdi.conf . 

I'm not sure if 'pridialplan = unknown' is applicable. If not: something
of the sort of internationalprefixx should help.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] BT - ISDN30 - International Calls not working, everything else is fine :(

2008-12-04 Thread Mr Gabriel


- Original Message - 
From: Tzafrir Cohen [EMAIL PROTECTED] 
To: asterisk-users@lists.digium.com 
Sent: Thursday, 4 December, 2008 12:01:54 GMT +00:00 GMT Britain, Ireland, 
Portugal 
Subject: Re: [asterisk-users] BT - ISDN30 - International Calls not working, 
everything else is fine :( 

On Thu, Dec 04, 2008 at 11:49:50AM +, Mr Gabriel wrote: 
 Dear All, 
 
 Thank you for taking the time to read this post - I am *confused!* as to why 
 my asterisk setup does not work as it should. I have an ISDN 30 connection 
 for telephony, a Sangoma card, and asterisk installed. 
 
 Incoming calls, and outgoing calls work 100%. Making an international call, 
 results in silence, or the error message all circuits are busy 
 
 Numbers being passed to the trunk for the call 
 
 • National is 020 will result in 20 being sent and dialled, 
 which works 
 • Mobile is 07x will result in 7x being sent and dialled, 
 which works 
 • International 00x[any number of digits] will result in 00x[any number of 
 digits] which does not work 
 
 I do not see why this does not work. I do know that for every call, the flag 
 sent is national - how can I make sure the correct flag is sent for the call? 
 By flag, I mean the TON, (type of number) 
 
 Any assistance will be greatly appreciated. 

Look into pridialplan in zapata.conf / chan_dahdi.conf . 

I'm not sure if 'pridialplan = unknown' is applicable. If not: something 
of the sort of internationalprefixx should help. 



Gabriel Says 

The pridialplan is set to pridialplan=unknown, and internationalprefix=00, I 
have rebooted a few times, so I know this is what is currently loaded. I am 
using freepbx as a web interface, is it possible that there are conflicting 
settings? 
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] BT - ISDN30 - International Calls not working, everything else is fine :(

2008-12-04 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Mr Gabriel [EMAIL PROTECTED] wrote:
 
 Thank you for taking the time to read this post - I am *confused!* as to why 
 my asterisk
 setup does not work as it should. I have an ISDN 30 connection for telephony, 
 a Sangoma
 card, and asterisk installed. 
 
 Incoming calls, and outgoing calls work 100%. Making an international call, 
 results in
 silence, or the error message all circuits are busy 
 
 Numbers being passed to the trunk for the call 
 
 - National is 020 will result in 20 being sent and 
 dialled, which works 
 - Mobile is 07x will result in 7x being sent and dialled, 
 which works 
 - International 00x[any number of digits] will result in 00x[any number 
 of digits]
 which does not work 
 
 I do not see why this does not work. I do know that for every call, the flag 
 sent is
 national - how can I make sure the correct flag is sent for the call? By 
 flag, I mean the
 TON, (type of number) 

Not sure from your description of the numbers whether you are referring
to the dialling rules in FreePBX or to what happens between the dialplan
and the PRI. What I am about to say is applicable to the latter,
ignoring whatever FreePBX does.

I believe there are two possibilities:

1. Use pridialplan=unknown, leave nationalprefix and internationalprefix
   both empty, and give the full number to Dial(), as you would dial it,
   i.e. 020, 07x, 00x[whatever]
   The numbers will be sent over the PRI as TON unknown, without stripping
   any digits.

2. Use pridialplan=dynamic, nationalprefix=0, internationalprefix=00, and
   still give the full number to Dial(). In this case, the dynamic setting
   will match a leading 00, strip it and set TON=International, or else
   match a leading 0, strip it and set TON=National, or else it will
   set TON=Local and not strip any digits.

In both cases, make sure your FreePBX dialling rules are set NOT to strip
the 0 or 00 prefixes.

Actually, I think if pridialplan is NOT dynamic, the national and
international prefixes are ignored for dialling, but can still be usefully
set to 0 and 00 to get incoming CallerId into the correct format.

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users