[OpenSIPS-Users] drouting() number matching

Mark Farmer farmorg at gmail.com
Mon Mar 25 07:32:22 EDT 2019


OK I think I realised my mistake - rules are matched on longest prefix.
So I think my question should be: Can I use the same principle for
usernames in groups?

On a side note, is it possible to match the group based on the destination
domain instead of the source domain?

Thanks
Mark.



On Mon, 25 Mar 2019 at 09:56, Mark Farmer <farmorg at gmail.com> wrote:

> Hi everyone, can I use pattern matching in drouting groups and rules?
> So for example I'd like to match on +4412345678*@example.com
>
> In Asterisk dialplan I would do _+4412345678X
>
> Many thanks
> Mark.
>
>
> --
> Mark Farmer
> farmorg at gmail.com
>


-- 
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190325/d7b0a668/attachment.html>


More information about the Users mailing list