<div dir="ltr">The simplest and standard way is SIP over TLS (by the way it wotks via TCP not UDP). But it does not solve your issue.<div><br></div><div>I think that you may consider using some kind of tunneling built-in in your App (i.e. IPSec, SSL VPN, etc).  In this case nobody knows what kind of traffic goes through this tunnel and you have not issues with NAT in SIP messaging. But this is non-default solution and it will not work out of the box in FreeSWITCH, Asterisk, etc (you need point of termination this tunnels).</div><div><br></div><div>From the other hand maybe websockets is an option as Mirko has mentioned. But will it work properly with Asterisk or other opensource and non-opensource or non-free PBXes? I doubt that.</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 11, 2016 at 10:24 AM Mirko Brankovic &lt;<a href="mailto:mirkobrankovic@gmail.com">mirkobrankovic@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Maybe you can use websockets and mod_verto  ... then you can send only json messages </div><div class="gmail_extra gmail_msg"></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Thu, Nov 10, 2016 at 6:24 PM, Senthil Ganesh <span dir="ltr" class="gmail_msg">&lt;<a href="mailto:senthilganesh@zohocorp.com" class="gmail_msg" target="_blank">senthilganesh@zohocorp.com</a>&gt;</span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u class="gmail_msg"></u><div class="gmail_msg"><div style="font-size:10pt;font-family:Trebuchet ms,Arial,Helvetica,sans-serif" class="gmail_msg"><div class="gmail_msg">Hi,<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I am developing an Audio/Video Android app. I am able to connect to the FS server using SIP protocol over UDP.<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I read somewhere that SIP protocol is blocked in some countries. Enterprise firewall restricts UDP packets and allow only TCP on port 443.<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">What is the best way to do signalling from Android app?<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div id="m_1910592482254794087m_8873457755401630389" class="gmail_msg"><div style="display:none" id="m_1910592482254794087m_8873457755401630389_firebugConsole" class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><span class="m_1910592482254794087m_8873457755401630389font gmail_msg" style="font-family:&#39;trebuchet ms&#39;,arial,helvetica,sans-serif"><span class="m_1910592482254794087m_8873457755401630389highlight gmail_msg" style="background-color:rgb(255,255,255)"><span class="m_1910592482254794087m_8873457755401630389size gmail_msg" style="font-size:13px">Regards,</span></span><span class="m_1910592482254794087m_8873457755401630389highlight gmail_msg" style="background-color:rgb(255,255,255)"><span class="m_1910592482254794087m_8873457755401630389size gmail_msg" style="font-size:small"><span class="gmail_msg"><span class="m_1910592482254794087m_8873457755401630389highlight gmail_msg" style="background-color:rgb(255,255,255)"><div style="box-sizing:border-box;font-size:13px" class="gmail_msg"><span class="gmail_msg">Senthil Ganesh</span><br class="gmail_msg"></div></span></span><span class="m_1910592482254794087m_8873457755401630389colour gmail_msg" style="color:#666666"><span class="m_1910592482254794087m_8873457755401630389highlight gmail_msg" style="background-color:rgb(255,255,255)"></span></span></span></span></span><br class="gmail_msg"></div></div><div class="gmail_msg"><br class="gmail_msg"></div></div></div><br class="gmail_msg">_________________________________________________________________________<br class="gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg">
<br class="gmail_msg">
Official FreeSWITCH Sites<br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg">
<br class="gmail_msg">
FreeSWITCH-users mailing list<br class="gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg"></blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg">-- <br class="gmail_msg"><div class="m_1910592482254794087gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div dir="ltr" class="gmail_msg"><div dir="ltr" class="gmail_msg">Regards,<div class="gmail_msg">Mirko</div></div></div></div></div></div></div></div></div>
</div>
_________________________________________________________________________<br class="gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg">
<br class="gmail_msg">
Official FreeSWITCH Sites<br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg">
<br class="gmail_msg">
FreeSWITCH-users mailing list<br class="gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Best regards,<div>Vladyslav Zakhozhai</div><div>email: <a href="mailto:v.zakhozhai@gmail.com">v.zakhozhai@gmail.com</a></div><div>tel.: +380(93) 757-21-61</div></div></div>