So I have a 10 way SIP trunk from a UK provider. Calls in and out work fine, but I have multiple numbers for different porpoises I set up the inbound rules for each number but they never work, only the catch all number works. In the CLI when a call comes in I get this:
-- Executing [[email protected]:1] Set("SIP/Entanet-0000014f", "__FROM_DID=s") in new stack -- Executing [[email protected]:2] ExecIf("SIP/Entanet-0000014f", "0 ?Set(CALLERID(name)=01299404193)") in new stack -- Executing [[email protected]:7] Goto("SIP/Entanet-0000014f", "timeconditions,1,1") in new stack
The important bit i guess is “__FROM_DID=s” why is it “s” and not the DID? I talked to my provider and they DO send the DID in the SIP headers. What could be wrong with my settings or what?
My PEER details:
username=443331010040 type=peer secret=*********** qualify=yes nat=always insecure=very host=proxy.entacall.com fromuser=443331010040 fromdomain=mydomain.com dtmfmode=rfc2833 disallow=all context=from-trunk canreinvite=yes authuser=443331010040 allow=ulaw
My incoming context details:
type=user secret=********** context=from-trunk
Reg string: 443331010040:************@proxy.entacall.com
Hope you can help!?