06-30-2017 12:55 PM - edited 03-18-2019 12:17 PM
Hi,
I'm trying to get international dialing working through SIP. Whenever we try and dial am international number we get a response from call manager saying "the call cannot be completed as dialed". It looks to be trying to push the call out correctly so I'm not sure where the issue lies. I have attached a couple of debugs and the config.
Any help much appreciated.
Thanks
Steve
Solved! Go to Solution.
06-30-2017 01:09 PM
Looks like the called number is 18006098731? I see this presented to the carrier as 0018006098731 and 90018006098731. Is this the format your carrier is expecting? The disconnect code 404 is indicating an unallocated number. I would recommend that you open a ticket with the carrier to see what digits they are expecting and what they see on their end when you make the call.
Brandon
06-30-2017 02:00 PM
So,
06-30-2017 01:09 PM
Looks like the called number is 18006098731? I see this presented to the carrier as 0018006098731 and 90018006098731. Is this the format your carrier is expecting? The disconnect code 404 is indicating an unallocated number. I would recommend that you open a ticket with the carrier to see what digits they are expecting and what they see on their end when you make the call.
Brandon
06-30-2017 01:13 PM
Hi,
It is because you're using translation profile "To-GAMMA" that is only removing leading 9 from the number. But when you're calling to international number, you must send to the ITSP an e.164 number, and you're sending it with leading 00, which is wrong.
Anyway, I think you can remove dial-peer 102, it is pointless, as you already have dial-peer 101 that is already catching all the dialed numbers starting with 9.
And just change translation-rule 2 to be:
voice translation-rule 2
rule 1 /^900\(.*\)/ /\1/
rule 2 /^9\(.*\)/ /\1/
And it should work :)
06-30-2017 01:25 PM
Thanks for the quick replies guys.
I've updated the voice translation-rule 2 as per the above but still seems to be the same issue.
I've run a debug on CCSIP Messages and it's saying "No matching outgoing dial-peer"
Debug attached.
Don't know if this helps or already obvious but we are dialing from UK to US.
06-30-2017 02:00 PM
So,
07-01-2017 01:27 AM
Thanks Slavik,
I've thrown it back to the telco provider who seem to think everything is fine at their end but they are checking again.
In terms of how the outgoing call should be presented, the dial code for the number we are testing is 001. So the outbound call would need to show as 0018006098731 which as far as I can see it does?
I've also tried calling Ireland. Code for that region is 00353 with the local number being 16772222. So for us to dial it would need to present 0035316772222. Again this looks to present correctly but we are getting the same error.
Debug attached
07-01-2017 06:57 AM
The other thing you might be considering is the caller ID that you are presenting, I am saying this because some SIP providers are funny about that, I see you are using E164 as caller ID and not using that for the called number (00353....), but like Brandon mentions throw it back to your provider, their are bouncing the call so they should be able to tell you why.
To: <sip:0035316772222@10.128.0.89>;tag=3707886281-411287 From: <sip:+442072093000@10.0.13.146>;tag=12423608-22CE
07-02-2017 11:45 PM
Thanks for the help guys. The provider finally got back to me and the fault was with them. Amazingly they managed to fix it by resetting the trunk at there end. Gotta love it when people don't even try the most basic fixes first.
07-02-2017 11:48 PM
I'm glad it's working now.
But out of curiosity, do you now sending the international number with leading 00 and it is working or with some access code of the provider, or just a simple E164 number?
07-03-2017 03:08 AM
Just sending the international number with the leading 00. Not sure what was stopping it from working at their end before.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: