diff --git a/kamailio/registrar-role.cfg b/kamailio/registrar-role.cfg index 7f1be08..d71c1de 100644 --- a/kamailio/registrar-role.cfg +++ b/kamailio/registrar-role.cfg @@ -113,9 +113,11 @@ route[HANDLE_REGISTER] $var(params) = "fs_path="; - if($(ct{tobody.params}) != $null) { - $var(params) = $(ct{tobody.params}{s.escape.common}) + ";" + $var(params); - } + ## TODO: fix escaping, some phones send us -- reg-id=1;+sip.instance="urn:uuid:9b8bd513-0e6e-4660-ad5e-5e35d88cc68f"; + ## and if we can store it but not use it because it looses the escapes (that weren't there...) + #if($(ct{tobody.params}) != $null) { + # $var(params) = $(ct{tobody.params}{s.escape.common}) + ";" + $var(params); + #} if ($avp(AVP_RECV_PARAM) == $null) { $var(fs_contact) = "<" + $(ct{tobody.uri}) + ";" + $var(params) + ">";