so I can not use “from-pstn” and “from-pstn-to header” even if they are different contexts?
but then what do I do?
if you use a custom context “extensions_custom.conf” like this:
[Custom-get-did-from-sip]
exten => 01821985050.1, Goto (from-trunk, $ {CUT (CUT (SIP_HEADER (To), @, 1),:, 2)}, 1)
It gives me problems too …
there will be a way to run a multi trunk number and simultaneously one or more trunks with a single number …?
ok now using “from-pstn-to header” runs everything and even AMI AGI react well
I had to work on incoming routes …
obviously the numbers are ported changing this rule behave differently … it is one thing to keep in mind
Thank you for the information was useful to me