[OpenSIPS-Users] Drouting stripping and adding prefix

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Nov 18 11:15:24 CET 2015


Hi John,

Simply redefine the gateway multiple times, same IP, but different ID, 
strip and prefix

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 17.11.2015 08:34, John Nash wrote:
> I am using Drouting module and quite happy with it. I have some new 
> requirement where I need to be able to strip some digits from 
> "incoming" number and add some prefix at dr_rule level. I know I can 
> do that at dr_gateway wise but as per my new requirement I need to use 
> same gateway for routing for multiple dr_rules with different strip 
> and prefix.
>
> Is there any way to do it?...Do I need to look into some other module 
> like dialing plan? or may be there is some way of doing it in script 
> with the help of "attr" field of dr_routing?
>
> Regards,
>
> John
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151118/4110e478/attachment-0001.htm>


More information about the Users mailing list