[SR-Users] Contact header requirement

Fred Posner fred at palner.com
Mon Dec 2 23:50:18 CET 2019


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 at qxork.com
https://qxork.com
Direct/SMS: +1 (336) 439-3733

Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com




More information about the sr-users mailing list