Sorry Saul, I got my Sniff's messed up. It should have been the other way around (Should have double checked my message).
Attached is a txt file with both the Firefox and Snom sniff. I have also included a good Counterpath Bria sniff from a different user. From the looks of it the difference here for the good HTTP GETS is that the GET starts with the /[email protected]/ path for the URI, whereas the SNOM phone starts with https://xcap.server.com:443/[email protected]/<https://xcap.server.com/[email protected]/>path. I don't think the Snom phone has an HTTP trace tool. The snom can do sniffs and save it in .pcap format. I can try and see what kind of output I get from that. On Wed, Jun 2, 2010 at 2:02 AM, Saúl Ibarra Corretgé [via OpenSIPS (Open SIP Server)] <[email protected]<ml-node%[email protected]> > wrote: > Hi, > > On 02/06/10 05:01, osiris123d wrote: > > > > I still can't do a ngrep capture since ngrep can't decode SSL as far as I > > > know, but I can type out a bad HTTP GET request from SNOM and also a good > > > HTTP GET request from Firefox. I think you will notice where the > difference > > is and I am not sure if OpenXCAP is getting confused by the difference or > if > > SNOM's code is wrong when it comes to XCAP GETS. There has to be an > answer > > in here somewhere. > > > > I'm a bit confused about your email, see inline comments. > > > > > GOOD Firefox GET request (rewritten from Wireshark capture) > > ******************************************** > > GET > > > https://xcap.ae.com:443/xcap-r...@.../resource-lists/users/sip:9xx2xx2...@.../index<https://xcap.ae.com/[email protected]/resource-lists/users/sip:[email protected]/index> > > > HTTP/1.1\r\n > > Expert Info (Chat/Sequence): GET > > > https://xcap.ae.com:443/xcap-r...@.../resource-lists/users/sip:9xx2xx2...@.../index<https://xcap.ae.com/[email protected]/resource-lists/users/sip:[email protected]/index> > > > HTTP/1.1\r\n > > Message: GET > > > https://xcap.ae.com:443/xcap-r...@.../resource-lists/users/sip:9xx2xx2...@.../index<https://xcap.ae.com/[email protected]/resource-lists/users/sip:[email protected]/index> > > > HTTP/1.1\r\n > > Severity level: Chat > > Group: Sequence > > Request Method: GET > > Request URI: > > > https://xcap.ae.com:443/xcap-r...@.../resource-lists/users/sip:9xx2xx2...@.../index<https://xcap.ae.com/[email protected]/resource-lists/users/sip:[email protected]/index> > > > Request Version: HTTP/1.1 > > Host: xcap.ae.com:443\r\n > > Content-Length: 0\r\n > > Content length: 0 > > Accept-Language: en\r\n > > Connection: Keep-Alive\r\n > > Keep-Alive: 5\r\n > > User-Agent: Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)\r\n > > \r\n > > If these are the good requests why is there a Snom useragent? > > > > > > > > > > > BAD SNOM GET request (rewritten from Wireshark capture) > > ******************************************** > > GET /[hidden email]<http://user/SendEmail.jtp?type=node&node=5129554&i=0> > /resource-lists/users/sip:[hidden > email]<http://user/SendEmail.jtp?type=node&node=5129554&i=1>/index > > > HTTP/1.1\r\n > > Expert Info (Chat/Sequence): GET > > /[hidden email] <http://user/SendEmail.jtp?type=node&node=5129554&i=2> > /resource-lists/users/sip:[hidden > email]<http://user/SendEmail.jtp?type=node&node=5129554&i=3>/index > > > HTTP/1.1\r\n > > Message: GET > > /[hidden email] <http://user/SendEmail.jtp?type=node&node=5129554&i=4> > /resource-lists/users/sip:[hidden > email]<http://user/SendEmail.jtp?type=node&node=5129554&i=5>/index > > > HTTP/1.1\r\n > > Severity level: Chat > > Group: Sequence > > Request Method: GET > > Request URI: > > /[hidden email] <http://user/SendEmail.jtp?type=node&node=5129554&i=6> > /resource-lists/users/sip:[hidden > email]<http://user/SendEmail.jtp?type=node&node=5129554&i=7>/index > > > Request Version: HTTP/1.1 > > Host: xcap.ae.com\r\n > > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) > > Gecko/20100401 Firefox/3.6.3\r\n > > Accept: > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n > > Accept-Language: en-us,en;q=0.5\r\n > > Accept-Encoding: gzip,deflate\r\n > > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n > > Keep-Alive: 115\r\n > > Connection: keep-alive\r\n > > Cookie: __utma=87383048.501874217.1266983378.1266983378.1266983378.1; > > > __utmz=87383048.1266983378.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)\r\n > > > \r\n > > Hum, does the Snom not send the full URI? Is there an HTTP trace tool > available in the Snom config web? It'd make debugging easier... :-S > > > Regards, > > -- > Saúl Ibarra Corretgé > AG Projects > > _______________________________________________ > Users mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=5129554&i=8> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > ------------------------------ > View message @ > http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5129554.html > To unsubscribe from Re: OpenXCAP and Presence with SNOM version 8.2.29, click > here<http://opensips-open-sip-server.1449251.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=ZHVhbmUubGFyc29uQGdtYWlsLmNvbXw1MTI5MDM5fDE0ODIwNjY1Mzk=>. > > > -- -- *--*--*--*--*--* Duane *--*--*--*--*--* -- BAD SNOM GET request (rewritten from Wireshark capture) ******************************************** GET https://xcap.ae.com:443/[email protected]/resource-lists/users/sip:[email protected]/index HTTP/1.1\r\n Expert Info (Chat/Sequence): GET https://xcap.ae.com:443/[email protected]/resource-lists/users/sip:[email protected]/index HTTP/1.1\r\n Message: GET https://xcap.ae.com:443/[email protected]/resource-lists/users/sip:[email protected]/indexHTTP/1.1\r\n Severity level: Chat Group: Sequence Request Method: GET Request URI:https://xcap.ae.com:443/[email protected]/resource-lists/users/sip:[email protected]/index Request Version: HTTP/1.1 Host: xcap.ae.com:443\r\n Content-Length: 0\r\n Content length: 0 Accept-Language: en\r\n Connection: Keep-Alive\r\n Keep-Alive: 5\r\n User-Agent: Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)\r\n \r\n GOOD Firefox GET request (rewritten from Wireshark capture) ******************************************** GET /[email protected]/resource-lists/users/sip:[email protected]/index HTTP/1.1\r\n Expert Info (Chat/Sequence): GET /[email protected]/resource-lists/users/sip:[email protected]/index HTTP/1.1\r\n Message: GET /[email protected]/resource-lists/users/sip:[email protected]/indexHTTP/1.1\r\n Severity level: Chat Group: Sequence Request Method: GET Request URI:/[email protected]/resource-lists/users/sip:[email protected]/index Request Version: HTTP/1.1 Host: xcap.ae.com\r\n User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3)Gecko/20100401 Firefox/3.6.3\r\n Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n Accept-Language: en-us,en;q=0.5\r\n Accept-Encoding: gzip,deflate\r\n Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n Keep-Alive: 115\r\n Connection: keep-alive\r\n Cookie: __utma=87383048.501874217.1266983378.1266983378.1266983378.1;__utmz=87383048.1266983378.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)\r\n \r\n GOOD Counterpath Bria GET request (rewritten from Wireshark capture) ******************************************** GET /[email protected]/resource-lists/users/9XX2XX2XX9/resource-list.xml HTTP/1.1\r\n Expert Info (Chat/Sequence): GET /[email protected]/resource-lists/users/9XX2XX2XX9/resource-list.xml HTTP/1.1\r\n Message: GET /[email protected]/resource-lists/users/9XX2XX2XX9/resource-list.xml HTTP/1.1\r\n Severity level: Chat Group: Sequence Request Method: GET Request URI: /[email protected]/resource-lists/users/9XX2XX2XX9/resource-list.xml Request Version: HTTP/1.1 Host: xcap.ae.com\r\n Accept: */*\r\n If-None-Match: "02df545fb141ee66255d9afeef3e69e3"\r\n \r\n -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5130975.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
