Carlos Montemayor Posted February 26, 2014 Report Posted February 26, 2014 Hi, I recently added a new SIP trunk supplier and I have not been able to present the digits as they need them in the INVITE. Having set the country code and area code in the Domain Settings, the PBX presents the digits to the carrier starting with the "+" sign and country code. I need the PBX not to do that. The way this carrier needs the digits is just plainly as the end users dial on the phones. No more, no less. I understand that on the Trunk level, there is a way to control how the digits are presented to the carrier and that is the parameter "Rewrite Global Numbers". In my case, the value that would seem logical or best bet for me would be: "For ROW (0 or 00 format)". I tried it but found that it had no effect on the digits on the INVITE. Just to be sure, I tried every other value there but none worked for me. Perhaps I need to set some other value at some other parameter in order to make this Rewrite Global Numbers to work for me. Is that so? At the moment, the only way for me to present the digits as I need them is to erase the country code and area code from the domain fields, however, doing that will make me loose all the other nice things like inter-domain calls and CDR standardization that I have come to love. So, is there something that I am missing somewhere? Regards, Quote
Vodia PBX Posted February 26, 2014 Report Posted February 26, 2014 Difficult topic. We recently had a carrier that needed the numbers in +-Format in the From- and To-headers and in E164-Format in the P-Asserted-Identity . We have added some more representations in order to deal with such requirements. But the dialed number is always in some format. It is amazing how complicated the world makes the use of telephone numbers! I think we need to look into the details how the provider wants the numbers in which headers and then set up a trunk template accordingly. Quote
Carlos Montemayor Posted February 27, 2014 Author Report Posted February 27, 2014 That sounds very promising, however, in this particular case, I was able to adjust all the headers just as the supplier wanted them thanks to the ability of the pbx to allow for custom headers. Since they are not asking for any format on the dialed numbers, I imagine that we already have that option as well and I feel that it is I who do not know how to produce them. I suspected that either the option "Do not Rewrite Global Numbers or for ROW 0 and 00 would do the trick. I agree that once you start "cooking" something, the options can be endless, however, in this case, they do not want any cooking. Just raw as it comes from the store. I bet we already have that option. Don´t we? Regards Quote
Vodia PBX Posted February 27, 2014 Report Posted February 27, 2014 Well you can still clear the country code in the domain, then the PBX cannot interpret numbers. But IMHO you will loose the possibility to match address book entries, call back numbers and things that need to understand what number was dialed. Quote
Carlos Montemayor Posted February 28, 2014 Author Report Posted February 28, 2014 Yes indeed, and I really do not want to take that route. Perhaps I did not fully understand your previous post. Is it about sending you a PM with the things as need to be so this supplier can be taken care of? I will do it right away. Quote
Carlos Montemayor Posted March 5, 2014 Author Report Posted March 5, 2014 Got it! As I had suspected, the software did have what was needed to present things as the carrier wanted. It was just a matter of selecting and writing the right stuff at "Custom Headers" together with selecting the right choice in the Rewrite Global Numbers what did the trick This is great! Thanks! Quote
Vodia support Posted March 6, 2014 Report Posted March 6, 2014 Carlos can update the ticket with that information, maybe copy paste the trunk setting and the name of the provider so we can add that to our list of providers. Best regards Quote
Carlos Montemayor Posted March 9, 2014 Author Report Posted March 9, 2014 Yes indeed. I have updated the ticket with that info. By the way, I saw that using the text version of the trunk settings produces the value "row" for the rewrite global numbers parameter. The one that I saw that worked, was "row (0 or 00 format)", the other possible choice, which was row (00 format), did not work. Cheers! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.