This recommendation is made based on the likelihood of presence or absence of the Route header in the message. You don't have to - and should not - call loose_route() in an onreply_route, and should feel free to use check_route_param() there.

Gareth Rylance <gareth@rylance.me.uk> wrote:
The check_route_param docs say that you must call loose_route() first.
loose_route() cane called from not within onreply_route.
How do I check form route params within the onreply_route?

Thanks Gareth



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

--
Sent from my Nexus 10, with all the figments of autocorrect that might imply.

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/