[SR-Users] Hide Redirection from UAC
ron.kamailio at mcleodnet.com
ron.kamailio at mcleodnet.com
Fri Feb 27 02:39:47 CET 2015
I have an instance of Kamailio configured as an outbound proxy and I want to
be able to hide the fact the a 3XX redirection result may have been
encountered while attempting to route the call. I am using the fragment
below and it does appear to work, but I am wondering if there is a better
way.
failure_route[MANAGE_FAILURE] {
if (t_is_canceled()) {
exit;
}
if (t_check_status("3[0-9][0-9]")) {
append_branch($(T_rpl($ct){nameaddr.uri}));
route(RELAY);
exit;
}
}
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150226/1ae2d1a5/attachment.html>
More information about the sr-users
mailing list