[OpenSIPS-Users] Contact header parameter +sip.src deleted by TH & LB forwarding
Ben Newlin
Ben.Newlin at genesys.com
Fri Mar 23 12:34:40 EDT 2018
The Topology Hiding module already provides a way to do exactly what you are looking for according to the documentation [1].
[1] http://www.opensips.org/html/docs/modules/2.2.x/topology_hiding.html#idp154912
Thanks,
Ben Newlin
From: Users <users-bounces at lists.opensips.org> on behalf of Mirko Csiky <mirko.csiky at gmail.com>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Friday, March 23, 2018 at 11:42 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: [OpenSIPS-Users] Contact header parameter +sip.src deleted by TH & LB forwarding
Hi community ,
i am trying to use Opensips 2.2 with TopologyHiding and LoadBalance module for forwaridng SIPREC messages to VoiceRecorders.
In INVITE message body encapsulated multipart part ( rs-metadata with xml ) with data will be forwarded, but the original contact header contact parameter will be omited.
Incoming (original) INVITE:
Contact: <sip:192.168.15.80:5060;transport=tcp>;+sip.src
Contact URI: sip:192.168.15.80:5060;transport=tcp
Contact URI Host Part: 192.168.15.80
Contact URI Host Port: 5060
Contact URI parameter: transport=tcp
Contact parameter: +sip.src
Outgoing (after TH & LB) INVITE:
Contact: <sip:192.168.12.175;transport=tcp;did=9cf.1d8d5205>
Contact URI: sip:192.168.12.175;transport=tcp;did=9cf.1d8d5205
Contact URI Host Part: 192.168.12.175
Contact URI parameter: transport=tcp
Contact URI parameter: did=9cf.1d8d5205
Because of that, voice recorder doesnt answer in 200 OK with contact header contact parameter srs .. (as defined in RFC).
My question is, how this automatic deletion / omit of +sip.src in contact header can be suppressed / prevented ?
If it is not possible, how can i add it / manipulate it in route script before INVITE will be forwarded to voice recorder ?
Any ideas ?
best regards
Mirko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180323/659f8ed2/attachment-0001.html>
More information about the Users
mailing list