BOB, I do not intend SIPXtapi to talk to Http proxy. In my case http proxy is just used to share internet over many computers inside a company. I guess you already mentioned in your reply but to be more clear from my side..its like....
Client PC --------> Http Proxy----> Internet When client PC opens a browser to browse any site, it pops up a window and asks to enter UserId and Password. On successful authentication, website is opened. Similarly if MSN messanger wants to connect, it uses User and password (Stored in options --> Connection). Where exactly have you implemented https?.....also for above scenario, do we need to send http header with each request? I found this code sample, it seems they explained same thing but i am not able to relate to SIPXtapi. Regards, Manoj -----Original Message----- From: Bob Andreasen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2008 2:31 AM To: [EMAIL PROTECTED]; [email protected] Subject: RE: [sipxtapi-dev] Http Proxy 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/ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 270.7.1/696 - Release Date: 9/23/2008 12:00 AM _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
