Hi
I was checking extension.conf where I could find context from-pstn-toheader. I configured it and in the SIP Trunk Peer I configured context=from-pstn-toheader. I also configured an Inbound Route with DID 0101003 and destination extension 0101003. But it did not work yet.
Checking Wireshark traces it seems Issabel rejects the call.
Now I am looking for a command in Issabel to see traces like this:
NOTICE[6659] chan_sip.c: Call from '6125551999' to extension '6125553944' rejected because extension not found in context 'from-pstn-toheader'.
extensions.conf:
[from-pstn-toheader]
exten => .,1,Goto(from-pstn,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)
exten => s,1,Goto(from-pstn,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)
exten => X.,1,Goto(from-pstn,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)
Best regards.
Enio Eltz Filho.