SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ghazanfarali17Offline



Joined: Jun 18, 2009
Posts: 1

Status: Offline
Posted: Jun 18, 2009 - 07:45 AM Reply with quote Back to top
Hi All,

I have developed 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:
- Can we achieve this through HTTP Tunneling, i.e. VOIP over HTTP Tunnel
- If yes then how?

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.

Link: http://www.codeguru.com/cpp/i-n/interne ... php/c6209/

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:
Will all the communication performed after that i.e. SIP communication will be through this HTTP Tunnel?
If not the how can i tell the PJSip to use this tunnel for communication

Please guide me in this regard. Thanking in advance.

Regards,
Ghazanfar
View user's profile Send private message
vfOffline



Joined: Aug 03, 2009
Posts: 3

Status: Offline
Posted: Aug 03, 2009 - 01:05 PM Reply with quote Back to top
PJSIP has own lib for nat traversal.
http://www.pjsip.org/pjnath/docs/html/index.htm

IMHO, ICE (+STUN,TURN) is more correct way for SIP applications.
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.