[SR-Users] Modify SIP Message Header and Message Body parameter

Sergiu Pojoga pojogas at gmail.com
Tue Nov 26 17:00:42 CET 2019


1. UA
- https://www.kamailio.org/wiki/cookbooks/5.3.x/core#server_header
- https://www.kamailio.org/wiki/cookbooks/5.3.x/core#user_agent_header

2. Topo hiding and others
https://kamailio.org/docs/modules/5.3.x/modules/topoh.html
https://kamailio.org/docs/modules/5.3.x/modules/topos.html
https://kamailio.org/docs/modules/5.3.x/modules/nathelper.html#nathelper.p.nortpproxy_str

On Tue, Nov 26, 2019 at 10:41 AM Sujit Roy <sujitroydhk at gmail.com> wrote:

> Hello
>
> Please see below SIP Message
>
> SIP/2.0 100 trying -- your call is important to us
> Via: SIP/2.0/UDP
> 192.1681.101:5060;branch=z9hG4bK5a61798d7c850d39;rport=5060
> From: <sip:summona@ 192.1681.101>;tag=51a0dc1e620de16d
> To: <sip:101880171234567@ 192.1681.102>
> Call-ID: 6fd9b9d563616c6c15f2d7fa@ 192.1681.101
> CSeq: 21701 INVITE
> *Server: kamailio (5.1.9 (x86_64/linux))*
> Content-Length: 0
>
> *1.  I want to Change the Server Parameter . How to do it ? *
>
>
> SIP/2.0 183 Session Progress
> Via: SIP/2.0/UDP
> 192.1681.101:5060;rport=5060;branch=z9hG4bK5a61798d7c850d39
> Record-Route: <sip: 192.1681.102;lr>
> From: <sip:summona@ 192.1681.101>;tag=51a0dc1e620de16d
> To: <sip:101880171234567 @ 192.1681.102>;tag=as728725b3
> Call-ID: 6fd9b9d563616c6c15f2d7fa@ 192.1681.101
> CSeq: 21701 INVITE
> Server: VOS3000 V2.1.4.0
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE
> Supported: replaces, timer
> Session-Expires: 600;refresher=uas
> *Contact: <sip:1018801751481417 at 104.216.39.66:5060
> <http://sip:1018801751481417@104.216.39.66:5060>>*
> Content-Type: application/sdp
> Require: timer
> Content-Length: 289
> v=0
> o=root 912643161 912643161 IN IP4 192.1681.104
> s=VOS3000 V2.1.4.0
> c=IN IP4 192.1681.104
> t=0 0
> m=audio 10784 RTP/AVP 18 101
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=no
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=ptime:20
> a=maxptime:230
> a=sendrecv
> *a=nortpproxy:yes*
>
> 2. I Want to hide the Contact Parameter and a= nortpproxy:yes ==> How to
> do it as well ?
>
> Thanks in advance.
>
> --
> Regards
> ===================
> Sujit Roy
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191126/73822437/attachment.html>


More information about the sr-users mailing list