[SR-Users] Altering received parameter in Contact

YASIN CANER caner_yaso at hotmail.com
Tue Jan 29 09:01:11 CET 2019


I am not sure so  you should test contact_alias function on lab , if you can.  First ,set contact alias and  remove received parameters from contact header.
on reply , use handle contact alias. Kamailio care alias to find right transport protocol.

Good luck.


From: sr-users <sr-users-bounces at lists.kamailio.org> on behalf of David Cunningham <dcunningham at voisonics.com>
Sent: Tuesday, January 29, 2019 5:28 AM
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] Altering received parameter in Contact


I'm hoping someone can give advice on altering the received parameter in the Contact header on a reply. The situation is that a customer is REGISTERing using TLS, and our Kamailio replies with a 200 OK that includes a Contact header like this:

Contact: <sip:123456789 at xx.xx.102.10:5061;transport=tls>;expires=3600;received="sip:xx.xx.102.10:36051;transport=TLS"

The customer's device apparently had an issue with this, and the device manufacturer advises that they need the ";transport=TLS" on the received parameter removed. This sounds like a strange requirement, but it's what we've been told. Does anyone know how to alter this in a Kamailio configuration?

Our system uses www_authorize to authenticate and is running Kamailio 4.2.1.

Thanks in advance for any help!

David Cunningham, Voisonics Limited
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190129/f7318e97/attachment.html>

More information about the sr-users mailing list