<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>see topos module, but that is only in 4.4 release and, again, you
      should do some tests as it is a module in its early phase of
      development.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 24/05/16 15:40, Laura wrote:<br>
    </div>
    <blockquote
      cite="mid:c0f8c915-3e63-8358-0a9b-ce9ecda70f6f@plugit.net"
      type="cite">
      <pre wrap="">Hi Carsten,

you right about that.. without topoh module the branch is ok.

I did some test and all seem to work correctly.

I forgot to say that we used topoh for "mask" the real ip of the A-LEG
customer over platform, and without the topoh modules

i can see all the real ip in the Via: records.

Any solution for that ?

Thanks

Laura


Il 24/05/16 14:58, Carsten Bock ha scritto:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Laura,

if it's just about advertising the IP, then you can simply do the following:

listen=udp:10.10.10.10:5060 advertise  11.11.11.11:5060
(<a class="moz-txt-link-freetext" href="http://www.kamailio.org/wiki/cookbooks/devel/core#listen">http://www.kamailio.org/wiki/cookbooks/devel/core#listen</a>)

which will put 11.11.11.11 instead of the own, local IP.

Thanks,
Carsten

2016-05-24 14:40 GMT+02:00 Laura <a class="moz-txt-link-rfc2396E" href="mailto:red_dra@plugit.net"><red_dra@plugit.net></a>:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hello,


honestly we only use the topoh modules for this

# topoh paramiters
modparam("topoh", "mask_ip", "1.1.1.1")

Pratically we created a cluster and we use VRRP for HA of the service.. so
we use topoh for menage the virtual IP on kamailio..

Is there any other way we could use for stop using topoh ?

Regards


Il 24/05/16 13:11, Daniel-Constantin Mierla ha scritto:

Hello,

the long Via branch is because of using topoh module. Do you need that?

The alternatives would be:

 - disable topoh module

 - or configure the kernel to do udp defragmentation (should be default in
modern linux)

 - or switch to tcp/tls

 - or try to use the new topos module in 4.4 -- not that it is not well
tested and you should not go with it in production directly. Any issue
encountered with topos should be reported on kamailio project on github and
I will take care fixing them.

Cheers,
Daniel


On 24/05/16 09:57, Laura wrote:

Good morning list,

I need to ask you a question about a problem we are fighting on our VoIP
platform based on Kamailio 4.3.5.
Our platform is made by more nodes over Europe countries, and we are
encountering a problem with the size of the SIP package which, exceeds
the physiological limit of about 1350 bytes.
The real problem is caused from Via: Header (inside the SIP packet)
which is added to each element of the system for transit on the call.
>From what we have analyzed, the problem is not so much due to the number
of entered Via: records but, by the fact that they contain a branch
parameter extremely long.

Here the call flow example from CARRIER A —> Kamailio1 —> Kamailio2 —>
CARRIER B

Extract from SIP message sent from CARRIER A to K1

INVITE <a class="moz-txt-link-freetext" href="sip:999912341234@192.168.158.42">sip:999912341234@192.168.158.42</a> SIP/2.0.
Via: SIP/2.0/UDP 192.168.220.141:5060;branch=z9hG4bK49e4301c;rport.

Extract from SIP message sent from K1 to K2

INVITE <a class="moz-txt-link-freetext" href="sip:999912341234@192.168.127.244">sip:999912341234@192.168.127.244</a> SIP/2.0.
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:192.168.158.42;lr;did=194.a0f1;nat=yes"><sip:192.168.158.42;lr;did=194.a0f1;nat=yes></a>.
Via: SIP/2.0/UDP
192.168.158.42;branch=z9hG4bK0635.7c1e97c2d5c01ea98e8d0e7fa23a3822.0.
Via: SIP/2.0/UDP
192.168.158.42;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.cuOBV4OBVLMGZfWxF-W.y6Mx1LgRWIC9gIgx4fzxj7MBP7MBVAOBF4M.1jmxuqC93X3heroEWvH9vsCFN43qd4zRj4Mlyf3l1LNSQLpx4uMx3A.

Extract from SIP message sent from K2 to CARRIER B

INVITE <a class="moz-txt-link-freetext" href="sip:999912341234@192.168.65.248">sip:999912341234@192.168.65.248</a> SIP/2.0.
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:192.168.127.244;lr;did=194.5122;nat=yes"><sip:192.168.127.244;lr;did=194.5122;nat=yes></a>.
Via: SIP/2.0/UDP
192.168.127.244;branch=z9hG4bK0635.f843472880b380acde3a33732975fde9.0.
Via: SIP/2.0/UDP
192.168.127.244;branch=z9hG4bKsr-j4IPOlV7MGQKatycW.F7MBj4OBFuzGZ4MB1LNSQLpx4uMx3AzuaVHRaYpB1JNEt736cQkBIvalaJmly6Mlj7W6Mfg.qw3leqWRMAMRKrz.rIzSPAg.pE3.Vl3.MZMBV7My**.
Via: SIP/2.0/UDP
192.168.127.244;branch=z9hG4bKsr-j4IPOlV7MGQKatycW.F7MBj4OBFuzGZ4MB1JNEt736cQkBIvalaJmwWLORv4mK0Hot3w.jpam6t4kRWWOEWu.4eRWFQGKqfWauYEKwrSOKN7k.gWkxtMgue9mjMsg4IhkxaEkhrbW4uGjxpWPIg0.4eSWF47MRY1kUKfPlqlRxWvg9e5aKp6mxI6N4WS.BPlNRP4kIebWFudkR3loxtM.IWa.U0ZWUKWkxW0.


Is there anyone here with the idea how to solve this problem ?

Best regards



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>


--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>

</pre>
        </blockquote>
        <pre wrap="">

</pre>
      </blockquote>
      <pre wrap="">

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>