Voxalot / SIP Broker Support Forums

Voxalot / SIP Broker Support Forums (https://forum.sipbroker.com/index.php)
-   Voxalot Support (https://forum.sipbroker.com/forumdisplay.php?f=4)
-   -   Dial plan problem (https://forum.sipbroker.com/showthread.php?t=1676)

voip2007 06-08-2007 02:29 AM

Dial plan problem
 
Hi, everyboby,
I have a problem in my dialplan. when I made international call, the call become the local call. my IDD code is 011, NDD code is 1,country code is 1.

my dial plan is as below.
Priority Pattern Replacement Provider ENUM Replacement
50 _ZXXXXXX 1514${EXTEN} voipbuster 1514${EXTEN}
60 _ZXXXXXXXXX 1${EXTEN} voipbuster 1${EXTEN}
80 _011. ${EXTEN} voipbuster ${EXTEN:3}

50 local call in montreal, no problem
60 national call in canada, no problem
80 internation call without dial 011, but not sucessful. I don't understand why it become local call. just like I dial 862012345678, and the call became 15148620123.

Is there anybody can help me?

Tony 06-08-2007 04:49 AM

Hi,

As far as I understand it VoIP buster patterns for international calls is 00 followed by country code and number and not 011.

Tony.

gambrinus 06-08-2007 11:47 AM

Hi!

Quote:

Originally Posted by voip2007 (Post 9369)
80 _011. ${EXTEN} voipbuster ${EXTEN:3}

Try changing this to:
Code:

Priority Pattern    Replacement  Provider        ENUM Replacement
80          _011.              00${EXTEN:3}  voipbuster      ${EXTEN:3}

Hope that helps. VoipBuster requires the country code with leading 00.
This rule drops the first three digits (011) and adds the required 00. For an ENUM lookup neither 011 nor 00 is required.

Example: To dial to Germany (CC = 49) you would dial 01149xxx and the dial plan would make it the correct 0049xxx format.

You should add the "00" to your other dialplans as well, just to be on the safe side.
Code:

Priority Pattern      Replacement    Provider    ENUM Replacement
50      _ZXXXXXX      001514${EXTEN}  voipbuster  1514${EXTEN}
60      _ZXXXXXXXXX  001${EXTEN}    voipbuster  1${EXTEN}

Assuming that "1" is your country code...

gambrinus

voip2007 06-08-2007 01:38 PM

Quote:

Originally Posted by gambrinus (Post 9374)
Hi!



Try changing this to:
Code:

Priority Pattern    Replacement  Provider        ENUM Replacement
80          _011.              00${EXTEN:3}  voipbuster      ${EXTEN:3}

Hope that helps. VoipBuster requires the country code with leading 00.
This rule drops the first three digits (011) and adds the required 00. For an ENUM lookup neither 011 nor 00 is required.

Example: To dial to Germany (CC = 49) you would dial 01149xxx and the dial plan would make it the correct 0049xxx format.

You should add the "00" to your other dialplans as well, just to be on the safe side.
Code:

Priority Pattern      Replacement    Provider    ENUM Replacement
50      _ZXXXXXX      001514${EXTEN}  voipbuster  1514${EXTEN}
60      _ZXXXXXXXXX  001${EXTEN}    voipbuster  1${EXTEN}

Assuming that "1" is your country code...

gambrinus

Thanks gambrinus and Tony.
Do you mean that to dial to Germany (CC = 49) I need dial 01149Xxx , instead of 49XXXXX, How could I escape dialing 011? I changed my dial plan to
_011. 00${EXTEN:3} voipbuster ${EXTEN:3}
I used this dial plan to enter number 49XXXXXXXXXX, but it just dial 49XXXXX,instead of 011 or 001 49XXXXXXX, it is the same as
_011. ${EXTEN:3} voipbuster ${EXTEN:3}

And if I removed
50 _ZXXXXXX 001514${EXTEN} voipbuster 1514${EXTEN}
60 _ZXXXXXXXXX 001${EXTEN} voipbuster 1${EXTEN}
and only keep
_011. 00${EXTEN:3} voipbuster ${EXTEN:3}
when I dial 49XXXXXXXXXX, it doesn't work at all.

Jessica

gambrinus 06-14-2007 02:32 PM

Hi Jessica,

it seems to me you didn't really understand what a "dialling pattern" is... :-)

Quote:

Originally Posted by voip2007 (Post 9379)
And if I removed
50 _ZXXXXXX 001514${EXTEN} voipbuster 1514${EXTEN}
60 _ZXXXXXXXXX 001${EXTEN} voipbuster 1${EXTEN}
and only keep
_011. 00${EXTEN:3} voipbuster ${EXTEN:3}
when I dial 49XXXXXXXXXX, it doesn't work at all.

Let me explain:
_011. means: Every number that starts with "011", followed by any other digits (".") will be treated as defined in the "replacement" section.
In that case the first 3 digits will get dropped (thats what ${EXTEN:3} does) and a "00" will be prepended.

So if you dial 49XXXXXXXXXX this rule will NOT be applied and therefor it doesn't work since voipbuster requires the "00".

If you dial 01149XXXXXXXXXX this rule will be applied, the leading 011 will be dropped and 00 will be prefixed. Thats how voipbuster wants the number to be formatted.

Somehow you have to distinguish if you want to dial a local, long distance or international number. I don't know exactly how the numbers are formatted in Canada, so I can't really advise you, but the dial plan in my last post should work provided you use "011" as the international access number.

Example:
Provided you want to call someone in Kitzbühel, Austria, his number could be 4353561234. (43= Austria, 5356= Kitzbühel).

BUT: It could be someone in Utah (435) 356-1234 as well.

So by placing 011 in front of the number you are "telling" you want to call international, not Utah...

gambrinus


All times are GMT. The time now is 11:46 AM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.