TIPS Cannot get DID number to work on Trunk which is peer.

mmoerman

New Member
Joined
Sep 15, 2013
Messages
1
Reaction score
0
Hi,

I have configured the following as trunk line.

disallow=all
allow=alaw&ulaw&g729
host=sip.esvoip.nl
fromdomain=sip.esvoip.nl
username=31702629301
type=peer
secret=xxxxxxxxxx
fromuser=31702629301
qualify=yes
and then for registry the right settings aswell.
The line is up and I can make outband calls over it.
But incoming I want to set to this specific number, the phone number is 31702629301
If I do an inbound and set this number there, then set a destination, either put on hold (music) or to extension. Then i try to call to number it will not work.
If i just leave the DID empty it accepts all and then it works.
What can I do to make it work.
Thnx
Martin
 
Please post the relevant Asterisk logs, and also please check out both links in my signature.
 
While your gathering the suggested information it might be helpful to understand what appears to be happening based on your current description.
There is a mis-match (major or minor) between the number being delivered by the provider in the designated SIP message section and the one that you are trying to match in your inbound route.
In order to determine what that is you will have to either go over your logs or login to your server and get in to the Asterisk CLI (asterisk -r -vvv) and see what number is being delivered when the call is received.
Providers deliver calling number information in ways that are not always consistent. Sometimes we have to create a special "context" to extract or trim the proper number so that the match will succeed...
 
If this is only for a single DID, in your registration line for the DID, put user:[email protected]/NNNNNNNN
where NNNN is the DID you want. Then, have an incoming route which matches the DID pattern you put in the registration: NNNNNNNN.
This will eliminate any mismatch between what the provider sends and what you route on. It does not matter what you put. Of course, this only works for one DID on the trunk.
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top