For 2) one approach is to make use of the attributes column (assuming you
are using drouting or dispatcher modules).

When you call do_routing() or ds_select_dst() you will get your attributes
for the match as an AVP once the function has been called.

You can then switch on this rather than hardcoding an IP

e.g. replace_to=1 could be an attribute.



On 11 December 2013 18:08, Nick Cameo <[email protected]> wrote:

> For 1)
>
> modparam("uac","restore_mode","auto"):
> http://www.opensips.org/html/docs/modules/devel/uac.html#id249062
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to