Hi all,
I have two sip trunks setup in FreePBX. They both connect to sipgate.co.uk and have their own phone numbers. How can I configure the incoming route to route each sip trunk to a different internal extension? I have 100 and 200 configured as internal extensions and would like to route all incoming calls from sip trunk 1 to ext 100 and all incoming calls from siptrunk 2 to ext 200.
With this setup, you won’t get the DID logged in the CDR for inbound calls. It’s possible that your provider sends the DID in the to header, in which case your trunk context can be set to from-pstn-toheader to get it. Otherwise you can do something like this: DID from provider breaks incoming routes (DID matching)