<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10px"><div dir="ltr"><font size="2"><span>Hi to all,</span></font></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><font size="2"><span>This is an amazing idea, but I have a question about the performance, the compression/decompression&nbsp; process is not any bottleneck for the system performance? or any effect on process power?<br></span></font></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><font size="2"><br><span></span></font></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family:
 HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><font size="2"><span>Regards,</span></font></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><span><font size="2">H.Yavari</font><br></span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><span></span></div><div><br></div>  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12px;"> <div class="y_msg_container"> <hr size="1">  <font size="2"
 face="Arial"> <b><span style="font-weight:bold;"></span></b></font><br><div dir="ltr">On 03.09.2014 11:59, Saúl Ibarra Corretgé wrote:<br clear="none">&gt; Hi Razvan,<br clear="none">&gt;<br clear="none">&gt; On 02 Sep 2014, at 18:25, Răzvan Crainea &lt;<a shape="rect" ymailto="mailto:razvan@opensips.org" href="mailto:razvan@opensips.org">razvan@opensips.org</a>&gt; wrote:<br clear="none">&gt;<br clear="none">&gt;&gt; 2)Compressing the SIP message (using gzip). The idea is to take the SDP body and several headers that are not used in the routing logic, compress them, apply a base64 transformation and add to the message's body. A use case for this is a platform that has several edge servers (SBCs) and a few core instances - when entering the platform the message compression should be applied and then sent to the core servers. Inside the core networks, the messages should be carried in the compressed format to reduce the bandwidth. When leaving the
 network, the message has to be decompressed and forwarded to the next gateway without any compression, since the other equipments might not understand them.<br clear="none">&gt;&gt; There will be several functions exported in the script:<br clear="none">&gt;&gt;<br clear="none">&gt;&gt;&nbsp; &nbsp;  a) compress_msg("1","Header1|Header2"); compresses the body of the message and listed headers<br clear="none">&gt;&gt;&nbsp; &nbsp;  b) decompress_msg(); decompress both headers and body<br clear="none">&gt;&gt;<br clear="none">&gt;&gt; What do you think about this approach? Is this something you find useful? Since we don't have a final decision for this topic, we are looking for more input from you guys.Anybody is welcome to throw any kind of useful feedback on this matter, so don't be shy!<br clear="none">&gt;&gt;<br clear="none">&gt;<br clear="none">&gt; IIRC this is not standard, and Apple uses it somewhere on their FaceTime implementation. Kamailio has
 it and someone was working on a patch for PJSIP, but other than that I’m not sure how useful it is, servers could use TCP between them.<br clear="none">It is not indeed, but the main idea is to first help you with better <br clear="none">handling traffic inside your network (which may be up to 3 or 4 OpenSIPS <br clear="none">boxes when you have a distributed platform) ; handling means bandwidth <br clear="none">and processing as parsing SIP messages - like headers (maybe 20) or body <br clear="none">you do not care about and you just want to carry through without a need <br clear="none">to parse and look.<br clear="none"><br clear="none">And maybe in the future it will be some progress into <br clear="none">standardization....for now I see the real need for it (at least for me:) ).<br clear="none"><br clear="none">Regards,<br clear="none">Bogdan<div class="qtdSeparateBR"><br><br></div><div class="yqt3048879261" id="yqtfd17734"><br clear="none"><br
 clear="none">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none"><a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div><br><br></div> </div> </div>  </div></body></html>