Outgoign Calls Through VOIP Provider

Hi,

I am trying to get a PJSIP Trunk working for Outgoing Calls. Incoming calls work fine. The PJSIP Trunk registers fine with my new VOIP Provider (The VOIP Shop). I only managed to get incoming calls working by including The VOIP Shop’s IP addresses in the “Match (Permit)” field on the Trunk’s advanced settings.

Upon making the outgoing call, I immediately get, “If you would like to make a call, please hangup and try your call again.” That message happens everytime.

Please could you inspect the log taken with PJSIP Logger. The log covers me calling out on Extension 43, trying to dial my mobile number. I have tried other numbers and cofigured the dial plan to accept any phone numbers dialled. The provider stated that phone numbers can be in either the (UK) national or international format. I have G722, G729, ulaw, alaw codecs set up, in that order.

One last thing to mention is that when I had the Trunk set up, it was before the phone number was ported. However, I have tried both the original phone number and new phone number when trying different PJSIP Trunk and Outgoing Route configurations.

I greatly appreciate your time and any suggestions. I have tried to ask my VOIP provider for assistance but they seem unwilling.

I have attached screenshots showing the trunk’s configuration. I have replaced my phone number, the username and my IP address to hide private information in the log.

Some of the dial patterns are temporary until I have fixed this issue.

Pastebin File Deleted






You didn’t show your route patterns and the pastebin doesn’t exist anymore.

I’ve editted the post to include the route’s dial patterns attachment and changed the pastebin. Thanks and apologies.

I notice that you have the CLID in <>. I fought and fought with this once. Digging into firewall settings and everything. I turned out the outbound Caller ID is was sending did not match one of the DID numbers I had from that SIP provider routing in. I was trying to advertise my Google voice number as the CLID. Once I put one of the numbers they were sending me it worked. I later ported over my google voice number. Make sure you are using a number that your SIP provider routes to you and that you are putting it in the way they expect to see it. Here in the US I had to use a 1 and the area code and the number ex. 1937322xxxx with no < >

This call was answered. So if you’re hearing that recording it is from the other side.

Try Outbound Proxy
sip:sipt-dynamic-bs24lnws24.yourwhc.co.uk\;lr\;hide
Note backslash semicolon in two places.

Perfect solution, thank you very much.