Incoming calls not working on Trunk

Hi, I’ve setup a new VPS with VitalPBX and can’t get Incoming calls. My SIP Trunk provider shows registered and I can make Outgoing calls.

With the current Trunk settings, when calling my number from a mobile/cell phone I get a message saying it “couldn’t connect at this time” so it seems to me to be the Provider can’t communicate with my PBX.

I’ve made all kinds of changes and test calls but just cant figure it out. My Provider assures me that there are no special or different details to enter in the Trunk and that they can see it is Registered OK.

I’m trying to move away from 3CX due to rising costs and more importantly the quality of audio on IVRs/Queues etc…
On 3CX, the Trunk connects immediately without issue and calls both ways flow nicely.

I have noticed (screenshots attached) that when 3cx registers, the providers status shows “sip:username@IP:5060” but VitalPBX shows “s@IP:5060”. Not sure where the “S” is coming from. Sometimes the Asterisk log shows that it can’t route an incoming call because “s” is not a known extension.

Please help.
Thank you.

Test setting the match field to your providers dns name or ips, also in the local username only set the username remove the @103.100 part.

To best troubleshoot, log into your servers console and launch sngrep in order to see the registration process and see what the other side is replying as well.

Thank you, I had read about ‘sngrep’ shortly after posting and found it to be an amazing tool.

I had also eventually worked out the issue after posting here but before the post was approved.

In order to help others, post what was the fix to your issues please.

2 Likes

Fixed it by adding the username to the contact field

1 Like