I want to register a new SIP trunk. (Telenet - Belgium)
The only info I got is an IP adress and Gateway.
Can anybody halp me with the settings that have to be used in ingoing and outgoing SIP config ?
According to the provider, there are no additional settings te be set.
Your provider is using IP authentication, so they aren’t far from correct.
In your “Peer” settings, use the following;
host= ***provider ip address***
Leave the “User” section empty - this Peer config will handle your issues.
If you are using Chan-SIP for your connections, you will need one of these for every host address you are going to be using. If you are using PJ-SIP, there is syntax for defining a series of IP addresses. You may also need to adjust the “port=” entry, depending on the provider.
This is what the Chan_SIP Settings should be:
If you want to use Chan_PJSIP you just create the trunk and under the PJSIP settings tab you just do
Server SIP URI: host IP address
Server SIP Port: 5060
This solved the issue.
Outgoing calls are OK.
Now the incomming…
Do I also have to add incomming settings for this type of trunk ?
I Always have :
NOTICE res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from xxxxx - No matching endpoint found
I checked the community, but it Always points to create a trunk (but I already created the trunk.)
Any idea how to get inbound calls working ?
Did you create a Chan_SIP or Chan_PJSIP trunk? PJSIP is using 5060 and Chan_SIP is 5160. So you would need to route your DIDs to IP:5160 if using Chan_SIP.
I created Chan_SIP outgoing, but no incomming:
“So you would need to route your DIDs to IP:5160 if using Chan_SIP.”
–> Where do I have to do this ? (No option in inbound Route)
That is nothing like the settings you were giving. Please correct them to be proper settings.
You would have to route the DIDs from the provider side. You need to tell them what specific ports to use otherwise they default to 5060.
Thanks for the support,
I create a PJSIP trunk and it all works fine !!!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.