[OpenSIPS-Users] topology hiding in opensips
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jan 24 09:25:11 EST 2017
OK, that should work for sure.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 01/24/2017 03:02 PM, Khalil Khamlichi wrote:
> sorry :
>
> # record routing
> record_route();
>
> # create dialog with timeout
> if ( !create_dialog("B") ) {
> send_reply("500","Internal Server Error");
> exit;
> }
>
> # apply transformations from dialplan table
> dp_translate("0","$rU/$rU");
>
> # route calls based on prefix
> if ( !do_routing("1","W",,"$var(rule_attrs)","$var(gw_attrs)") ) {
> send_reply("404","No Route found");
> exit;
> }
>
> $acc_extra(gwid)=$avp(gw_id);
>
> t_on_failure("GW_FAILOVER");
>
> do_accounting("db|log","cdr|missed",);
> #NAT
> if (isbflagset(NAT)) setflag(NAT);
> #NAT
> #TOPOHIDE
> toopology_hiding("UC");
> #TOPOHIDE
> route(RELAY);
>
> }
>
>
> _______________________________________________
> 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/20170124/6e946ac6/attachment-0001.html>
More information about the Users
mailing list