Ah, I understand. Well, in that case, consider yourself best-practically validated. :-)
-- Sent from my BlackBerry. Please excuse errors and brevity. Original Message From: ron.kamai...@mcleodnet.com Sent: Thursday, February 26, 2015 9:27 PM To: 'Kamailio (SER) - Users Mailing List' Reply To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Hide Redirection from UAC Well .. it took me a while to figure this out, and I was looking for either a confirmation that is was a proper way to quietly deal with redirection, or suggestions for other approaches. It sounds like what I have is fine, so I'll stick with it. Thanks, Ron -----Original Message----- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: February-26-15 5:41 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Hide Redirection from UAC What would constitute "better", in your eyes? This is the appropriate way to catch a negative final reply from upstream and create another branch, opaquely to the caller. On 02/26/2015 08:39 PM, ron.kamai...@mcleodnet.com wrote: > 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. > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing > list sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users