Manoj,

http/https proxies are generally not used with SIP protocol.  I'm not
aware of standards-compliant SIP phones or servers that use/allow them.

With that said, I do understand that http/https proxies are required for
firewall/network traversal in many companies/networks.  I've implemented
https proxy support w/ sipXtapi, but never http (requires that the other
side expects http message/headers in addition to sip message -- http
proxies also dramatically increases the amount of bandwidth needed for
audio).

Signaling
---------
sipXtapi allows the registration of 'external transports' where you
could receive/send that data though your own http/https proxy aware
transport.  Alternatively, you could create your own http/https proxy
aware TCP connection (based on OsConnectionSocket or perhaps
OsNatConnectionSocket) for signaling and integrate that into the
sipXtackLib.  However, you would also need to implement the connection
reuse portion of outbound.  Adding outbound support is likely the more
difficult task.

Media
-----
For http/https proxied media, you could re-use the socket work done for
signaling.  I have not tested TCP media connections in a while -- I
suspect that you would need to debug the TCP-based media connections.
Again, I recommend sticking with https over http.  You can look at

doHttpsProxyConnect() and doProcessHttpsProxyResponse in
ArsConnectionSocket for some hints on formatting the proxy connection
requests:

http://scm.sipfoundry.org/rep/sipX/branches/sipXtapi-AOL/sipXmediaPlugin
Mgr/src/ARS/ArsConnectionSocket.cpp

-
Bob


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:sipxtapi-
> [EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, September 23, 2008 2:29 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; sipxtapi-
> [EMAIL PROTECTED]
> Subject: Re: [sipxtapi-dev] Http Proxy
> 
> Hello Bob,
> 
> In some places internet is shared through http proxy. SIP clients
> (As a
> matter of fact any application that is supposed to access internet)
> are
> supposed to enter http proxy, User and password before they can
> make any
> connection (UDP, TCP or any other) If you look into the options -->
> Connections in MSN messanger, you will find scope to enter such
> settings.
> 
> Regards,
> 
> Manoj
> 
> Original Message:
> -----------------
> From: Bob Andreasen [EMAIL PROTECTED]
> Date: Tue, 23 Sep 2008 12:36:24 -0400
> To: [EMAIL PROTECTED], [email protected]
> Subject: RE: [sipxtapi-dev] Http Proxy
> 
> 
> Manoj,
> 
> 
> 
> Can you explain what you expect the http proxy to be used for?
> 
> 
> 
> Today, we have limited https proxy support in the sipXtapi-AOL
> branch
> for media.  It would require some updates for general use.  We do
> not
> have any http/https proxy support for SIP signaling.
> 
> 
> 
> Thanks,
> 
> 
> 
> Bob
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Manoj
> Joshi
> Sent: Tuesday, September 23, 2008 2:21 AM
> To: [email protected]
> Subject: [sipxtapi-dev] Http Proxy
> 
> 
> 
> Hello Guys,
> 
> 
> 
> How can we add http proxy settings (Proxy server, User and
> Password) in
> SIPXtapi. I am talking about the same settings, MSN uses in their
> connection tab,
> 
> 
> 
> Regards,
> 
> 
> 
> Manoj
> 
> 
> 
> -------------------------------------------------------------------
> -
> mail2web.com - What can On Demand Business Solutions do for you?
> http://link.mail2web.com/Business/SharePoint
> 
> 
> _______________________________________________
> sipxtapi-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to