I have successfully setup my SIP trunk provider Cellip with Freepbx 12.0.19, my only issue is that I don’t know how to route DID into Inbound Routes. My Sip provider doesnt not send DID and I dont know how to configure a DID per trunk.
Outgoing calls works great but incoming calls are not routable because DID is empty.
My pretty default PJSip settings:
Trunk Name: My Cellip
Outboundcallerid: XXXXXXX (My phone number)
If your trunk is set up (which it sounds like it is) then enter the DID in Inbound Routes and you should be good to go. This is where all incoming calls land, and they get assigned to extensions/etc through there.
I’m aware that using chan_sip it works by sending the register string user:pass@server/IncomingDidNumberXXXXXX but how does it work with PJSip since my Sip provider doesnt return DID? I have tried to enter the DID but DID is blank in the CDR settings no matter what I try.
I know this is an 18 month old topic, but I can’t find any info about it anywhere else so where better to post it!
To resolve this, you can set Contact User to the DID number and it then shows the DID in the CDR reports, and allows you to specify the inbound route to send this trunk too.