Hi,

On Tue, 11 Jul 2006, [EMAIL PROTECTED] wrote:

>    I want to know whether Sofia can support the http proxy, that is,
> use http proxy to connect to Internet.

this is not a very common feature in SIP stacks, but as it happens, 
Sofia-SIP does support http-proxies. This is a fairly new feature though,
so not widely tested yet.

You need to give the TPTAG_HTTP_CONNECT() tag, containing the http-proxy 
URL, to nua_create(). Sofia-SIP will then use HTTP's CONNECT method to 
open a TCP socket that can be used for SIP signaling toward other SIP 
endpoints.

Note that the proxy needs to support CONNECT (RFC2817), and allow 
connections to the SIP port (5060). Many http-proxies are configured to 
only allow connections to ports 80 and 443. Of course, you could set up a 
SIP server listening on port 443... :)

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to