[OpenSIPS-Users] Dialplan Help

Mark Farmer farmorg at gmail.com
Thu Oct 3 06:35:09 EDT 2019


Hi everyone

I'm having a problem with my rule not matching, I'm trying to remove the +
at the beginning of the input DID using a regex rule:

Matching exp:
^\+(44[1-9][0-9]+$)

Substitution exp:
^\+(.*)$

Replacement exp:
\1

But dp_translate() never matches.

mi dp_translate input=+441205875104 dpid=1
ERROR: command 'dp_translate' returned: 404: No translation

Where am I going wrong?

Thanks
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191003/2091766a/attachment.html>


More information about the Users mailing list