Never mind, seems setting matching operator to regex is the wrong thing to
do.

Sorry!


On Thu, 3 Oct 2019 at 11:35, Mark Farmer <[email protected]> wrote:

> 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.
>
>

-- 
Mark Farmer
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to