Quote:
Originally Posted by gambrinus
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