HTTP Tunnel and VOIP<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>© 2009 Microsoft Corporation. All rights reserved.Thu, 09 Jul 2009 16:50:33 Z8f669622-d748-4b49-968f-e9109731820bhttp://social.microsoft.com/Forums/en-US/windowsmobile/thread/8f669622-d748-4b49-968f-e9109731820b#8f669622-d748-4b49-968f-e9109731820bhttp://social.microsoft.com/Forums/en-US/windowsmobile/thread/8f669622-d748-4b49-968f-e9109731820b#8f669622-d748-4b49-968f-e9109731820bGhazanfar Ali 17http://social.microsoft.com/Profile/en-US/?user=Ghazanfar%20Ali%2017HTTP Tunnel and VOIP<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>Fri, 03 Jul 2009 03:44:48 Z2009-07-03T03:44:48Zhttp://social.microsoft.com/Forums/en-US/windowsmobile/thread/8f669622-d748-4b49-968f-e9109731820b#46eff023-45c2-430f-b5d6-c8b13d2f9fd0http://social.microsoft.com/Forums/en-US/windowsmobile/thread/8f669622-d748-4b49-968f-e9109731820b#46eff023-45c2-430f-b5d6-c8b13d2f9fd0WMTA1http://social.microsoft.com/Profile/en-US/?user=WMTA1HTTP Tunnel and VOIPHi Ghazanfar!<br/><br/>Your query seems like a developer issue.  I recommend that you post your issue out the the Windows Mobile Development 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/>They should be able to assist you.<br/><br/>Best of luck in resolving 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 16:50:29 Z2009-07-09T16:50:29Z