VOIP through HTTP Tunnel<div class=body><span class=Apple-style-span style="word-spacing:0px;font:16px 'Times New Roman';text-transform:none;color:#000000;text-indent:0px;white-space:normal;letter-spacing:normal;border-collapse:separate"><span class=Apple-style-span style="font-size:12px;font-family:Verdana;text-align:left">Hi All,<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">I am developing a VOIP Application, that uses PJSip to communicate over SIP channel. This application is working fine until the user is behind the proxy blocking my communication. I have searched from the different forums that there is a way called HTTP Tunneling. I want to ask you about:<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px">- Can we achieve this through HTTP Tunneling, i.e. VOIP through HTTP Tunnel<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px">- If yes then how?<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">I have looked at one of the forum there was some sample code to communicate through HTTP Tunneling, in which he first make the connection with the proxy server and passes the destination address and port in the headers of the request to the proxy, the proxy in returns establishes the connection and return 200 code. Then there was mentioned to communicate as you want as the proxy will then act as a tunnel and doesn't filters the packet being transfered.<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">Link:<span class=Apple-converted-space> </span><a style="margin:0px;color:#4c5ea8;text-decoration:none;padding:0px" rel=nofollow href="http://www.voipuser.org/ship_to.php?url=http://www.codeguru.com/cpp/i-n/internet/http/article.php/c6209/">http://www.codeguru.com/cpp/i-n/interne ... php/c6209/</a><span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">I am bit confused about this approach, as lets suppose we have created the connection with the proxy that internally has connected with my desired destination. I am using PJSip for SIP based communication and this library takes the SIPServer address and User Credentials to register with the SIP server through SIP protocol. Now after response from proxy server will all the communication performed by PJSip that i.e. SIP communication will be through this HTTP Tunnel? (In my openion i dont think so, as PJSip uses SIP protocol to communicate with SIP Server, it creates its own connection with the SIP Server. What do you say?) If not the how can i tell the PJSip to use the tunnel for communication.<br/><br/>Is there some other way to acheive this, Please guide me in this regard. Thanking in advance.<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">Regards,<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px">Ghazanfar</span></span></div>© 2009 Microsoft Corporation. All rights reserved.Thu, 09 Jul 2009 18:48:32 Z7b1fe337-9d2d-44ad-bfd4-bfc2351aff5ahttp://social.microsoft.com/Forums/en-US/windowsmobilehelp/thread/7b1fe337-9d2d-44ad-bfd4-bfc2351aff5a#7b1fe337-9d2d-44ad-bfd4-bfc2351aff5ahttp://social.microsoft.com/Forums/en-US/windowsmobilehelp/thread/7b1fe337-9d2d-44ad-bfd4-bfc2351aff5a#7b1fe337-9d2d-44ad-bfd4-bfc2351aff5aGhazanfar Ali 17http://social.microsoft.com/Profile/en-US/?user=Ghazanfar%20Ali%2017VOIP through HTTP Tunnel<div class=body><span class=Apple-style-span style="word-spacing:0px;font:16px 'Times New Roman';text-transform:none;color:#000000;text-indent:0px;white-space:normal;letter-spacing:normal;border-collapse:separate"><span class=Apple-style-span style="font-size:12px;font-family:Verdana;text-align:left">Hi All,<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">I am developing a VOIP Application, that uses PJSip to communicate over SIP channel. This application is working fine until the user is behind the proxy blocking my communication. I have searched from the different forums that there is a way called HTTP Tunneling. I want to ask you about:<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px">- Can we achieve this through HTTP Tunneling, i.e. VOIP through HTTP Tunnel<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px">- If yes then how?<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">I have looked at one of the forum there was some sample code to communicate through HTTP Tunneling, in which he first make the connection with the proxy server and passes the destination address and port in the headers of the request to the proxy, the proxy in returns establishes the connection and return 200 code. Then there was mentioned to communicate as you want as the proxy will then act as a tunnel and doesn't filters the packet being transfered.<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">Link:<span class=Apple-converted-space> </span><a style="margin:0px;color:#4c5ea8;text-decoration:none;padding:0px" rel=nofollow href="http://www.voipuser.org/ship_to.php?url=http://www.codeguru.com/cpp/i-n/internet/http/article.php/c6209/">http://www.codeguru.com/cpp/i-n/interne ... php/c6209/</a><span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">I am bit confused about this approach, as lets suppose we have created the connection with the proxy that internally has connected with my desired destination. I am using PJSip for SIP based communication and this library takes the SIPServer address and User Credentials to register with the SIP server through SIP protocol. Now after response from proxy server will all the communication performed by PJSip that i.e. SIP communication will be through this HTTP Tunnel? (In my openion i dont think so, as PJSip uses SIP protocol to communicate with SIP Server, it creates its own connection with the SIP Server. What do you say?) If not the how can i tell the PJSip to use the tunnel for communication.<br/><br/>Is there some other way to acheive this, Please guide me in this regard. Thanking in advance.<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px"><br style="margin:0px;padding:0px">Regards,<span class=Apple-converted-space> </span><br style="margin:0px;padding:0px">Ghazanfar</span></span></div>Fri, 03 Jul 2009 03:49:55 Z2009-07-03T03:49:55Zhttp://social.microsoft.com/Forums/en-US/windowsmobilehelp/thread/7b1fe337-9d2d-44ad-bfd4-bfc2351aff5a#84f7bb5b-ad89-4b41-893d-d95955175055http://social.microsoft.com/Forums/en-US/windowsmobilehelp/thread/7b1fe337-9d2d-44ad-bfd4-bfc2351aff5a#84f7bb5b-ad89-4b41-893d-d95955175055WMTA1http://social.microsoft.com/Profile/en-US/?user=WMTA1VOIP through HTTP TunnelHi Ghazanfar!<br/><br/>I see that you posted this issue in this forum as well.  As per my response to your other post, since this is developer related, it will be best if you post your issue to the Windows Mobile Developer Forum located at <a href="http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/threads/">http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/threads/</a>.<br/><br/>Best of luck in solving your issue.<br/><br/>Thanks!<hr class="sig">Thank you from the Microsoft Windows Mobile Team <br/><a href="http://www.WindowsMobile.com/TotalAccess">http://www.WindowsMobile.com/TotalAccess</a>Thu, 09 Jul 2009 18:48:24 Z2009-07-09T18:48:24Z