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

Mirko Csiky mirko.csiky at gmail.com
Sat Mar 24 15:45:59 EDT 2018


Thanks Ben,
as you wrote, it is exactly what we needed !
I can not understand, why i didnt see it in documentation (maybe i was
looking at some older version of document)
best regards
Mirko


On Fri, Mar 23, 2018 at 5:34 PM, Ben Newlin <Ben.Newlin at genesys.com> wrote:

> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180324/34164287/attachment.html>


More information about the Users mailing list