You could do a really ugly hack...
remove_hf("Contact");
and then insert the Contact with something like...
insert_hf("Contact: <sip:$var(user)@PROXYIP;hack=ugly>\r\n");
And then on the client leg...
if ($(ru{uri.param,hack}) == "ugly")
replace it with the original....
But this is very, very ugly and Alex's approach is better. =)
Fred Posner
fred@qxork.com
https://qxork.com
Direct/SMS: +1 (336) 439-3733
Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users