I have a PJSIP trunk that is working well, the problem is all the DID numbers for the inbound calls have “>” sign at the end of the DID number, in order to solve this issue I have used a format of " _+251xxxxxxxx1." in order to match the exact DID number; this solution also works but the problem again with this format is when I send the destination of incoming call to other trunk it is sending the DID as “+251xxxxxxxx1%3e” (%3e is the hex char value of >).
What I want is to change the extensions_custom file and to manipulate the DID like this
- Call comes from DID Number with > sign at the end ==>
- Remove the > sign at the end of the DID number ==>
- send the call again to inbound calls (so I can set destination to the properly formatted number)
If there is other solution do not hesitate to inform me.
Thanks.