Hey,
I created a custom context like this :
context=custom-get-did-from-sip
exten => 6135554114,1,Noop(Fixing DID using information from SIP TO header)
exten => 6135554114,n,Set(pseudodid=${SIP_HEADER(To)})
exten => 6135554114,n,Set(pseudodid=${CUT(pseudodid,@,1)})
exten => 6135554114,n,Set(pseudodid=${CUT(pseudodid,:,2)})
exten => 6135554114,n,Goto(from-trunk,${pseudodid},1)
and gave this as the context in my trunk. Now, I don’t any message from asterisk, but from trunk that this number does not exist ?
Is there something wrong in what I have done ?
I followed what was given here :