[OpenSIPS-Users] Contact header parameter +sip.src deleted by TH & LB forwarding

Mirko Csiky mirko.csiky at gmail.com
Fri Mar 23 11:41:21 EDT 2018


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/748a5ab8/attachment-0001.html>


More information about the Users mailing list