<div>Sorry Saul,</div>
<div> </div>
<div>I got my Sniff's messed up. It should have been the other way around (Should have double checked my message).</div>
<div> </div>
<div>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 <a target="_top" rel="nofollow" link="external">/<a href="/user/SendEmail.jtp?type=node&node=5130975&i=0" target="_top" rel="nofollow">[hidden email]</a>/</a> path for the URI, whereas the SNOM phone starts with <a href="https://xcap.server.com/xcap-root@domain.com/" target="_top" rel="nofollow" link="external">https://xcap.server.com:443/xcap-root@.../</a> path.</div>
<div> </div>
<div>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. <br><br></div>
<div class="gmail_quote">On Wed, Jun 2, 2010 at 2:02 AM, Saúl Ibarra Corretgé [via OpenSIPS (Open SIP Server)] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5130975&i=1" target="_top" rel="nofollow">[hidden email]</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi, <br><br>On 02/06/10 05:01, osiris123d wrote: <br>> <br></div>
<div>> I still can't do a ngrep capture since ngrep can't decode SSL as far as I <br>> know, but I can type out a bad HTTP GET request from SNOM and also a good <br>> HTTP GET request from Firefox. I think you will notice where the difference <br>
> is and I am not sure if OpenXCAP is getting confused by the difference or if <br>> SNOM's code is wrong when it comes to XCAP GETS. There has to be an answer <br>> in here somewhere. <br>> <br><br></div>
<div>I'm a bit confused about your email, see inline comments. <br></div>
<div><br>> <br>
<div>> GOOD Firefox GET request (rewritten from Wireshark capture) <br>> ******************************************** <br>> GET <br></div>> <a href="https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XXX@irock.com/index" rel="nofollow" target="_blank" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XXX@.../index</a>
<div><br>> HTTP/1.1\r\n <br>> Expert Info (Chat/Sequence): GET <br></div>> <a href="https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XXX@irock.com/index" rel="nofollow" target="_blank" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XXX@.../index</a>
<div><br>> HTTP/1.1\r\n <br>> Message: GET <br></div>> <a href="https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XXX@irock.com/index" rel="nofollow" target="_blank" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XXX@.../index</a>
<div><br>> HTTP/1.1\r\n <br>> Severity level: Chat <br>> Group: Sequence <br>> Request Method: GET <br>> Request URI: <br></div>> <a href="https://xcap.ae.com/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XXX@irock.com/index" rel="nofollow" target="_blank" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XXX@.../index</a>
<div><br>> Request Version: HTTP/1.1 <br>> Host: <a href="http://xcap.ae.com:443/" target="_blank" rel="nofollow" link="external">xcap.ae.com:443</a>\r\n <br>> Content-Length: 0\r\n <br>> Content length: 0 <br>> Accept-Language: en\r\n <br>
> Connection: Keep-Alive\r\n <br>> Keep-Alive: 5\r\n <br>> User-Agent: Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)\r\n <br>> \r\n </div></div><br>
<div>If these are the good requests why is there a Snom useragent? <br></div>
<div><br>> <br>> <br>> <br>> <br>
<div>> BAD SNOM GET request (rewritten from Wireshark capture) <br>> ******************************************** <br></div>> GET /<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a>/resource-lists/users/sip:<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=1" rel="nofollow" target="_blank" link="external">[hidden email]</a>/index <br>
<div>> HTTP/1.1\r\n <br>> Expert Info (Chat/Sequence): GET <br></div>> /<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=2" rel="nofollow" target="_blank" link="external">[hidden email]</a>/resource-lists/users/sip:<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=3" rel="nofollow" target="_blank" link="external">[hidden email]</a>/index <br>
<div>> HTTP/1.1\r\n <br>> Message: GET <br></div>> /<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=4" rel="nofollow" target="_blank" link="external">[hidden email]</a>/resource-lists/users/sip:<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=5" rel="nofollow" target="_blank" link="external">[hidden email]</a>/index <br>
<div>> HTTP/1.1\r\n <br>> Severity level: Chat <br>> Group: Sequence <br>> Request Method: GET <br>> Request URI: <br></div>> /<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=6" rel="nofollow" target="_blank" link="external">[hidden email]</a>/resource-lists/users/sip:<a href="http://user/SendEmail.jtp?type=node&node=5129554&i=7" rel="nofollow" target="_blank" link="external">[hidden email]</a>/index <br>
<div>> Request Version: HTTP/1.1 <br>> Host: <a href="http://xcap.ae.com/" target="_blank" rel="nofollow" link="external">xcap.ae.com</a>\r\n <br>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) <br>> Gecko/20100401 Firefox/3.6.3\r\n <br>
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n <br>> Accept-Language: en-us,en;q=0.5\r\n <br>> Accept-Encoding: gzip,deflate\r\n <br>> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n <br>
> Keep-Alive: 115\r\n <br>> Connection: keep-alive\r\n <br>> Cookie: __utma=87383048.501874217.1266983378.1266983378.1266983378.1; <br>> __utmz=87383048.1266983378.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)\r\n <br>
> \r\n </div></div><br>
<div>Hum, does the Snom not send the full URI? Is there an HTTP trace tool <br>available in the Snom config web? It'd make debugging easier... :-S <br><br><br>Regards, <br><br>-- <br></div>
<div>Saúl Ibarra Corretgé <br>AG Projects <br><br>_______________________________________________ <br>Users mailing list <br><a href="http://user/SendEmail.jtp?type=node&node=5129554&i=8" rel="nofollow" target="_blank" link="external">[hidden email]</a> <br>
</div>
<div><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank" link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div>
<hr color="#cccccc" size="1" noshade>
<div style="FONT: 11px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #666666">View message @ <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5129554.html" target="_blank" rel="nofollow" link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5129554.html</a> <br>
To unsubscribe from Re: OpenXCAP and Presence with SNOM version 8.2.29, <a target="_blank" rel="nofollow" link="external">click here</a>. </div>
<br></blockquote></div><br><br clear="all"><br>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>
<br /><br>BAD SNOM GET request (rewritten from Wireshark capture)
<br>********************************************
<br>GET <a href="https://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index" target="_top" rel="nofollow" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XX0@.../index</a> HTTP/1.1\r\n
<br>Expert Info (Chat/Sequence): GET <a href="https://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index" target="_top" rel="nofollow" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XX0@.../index</a> HTTP/1.1\r\n
<br> Message: GET <a href="https://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/indexHTTP/1.1" target="_top" rel="nofollow" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XX0@.../indexHTTP/1.1</a>\r\n
<br> Severity level: Chat
<br> Group: Sequence
<br>Request Method: GET
<br>Request URI:<a href="https://xcap.ae.com:443/xcap-root@irock.com/resource-lists/users/sip:9XX2XX2XX0@irock.com/index" target="_top" rel="nofollow" link="external">https://xcap.ae.com:443/xcap-root@.../resource-lists/users/sip:9XX2XX2XX0@.../index</a><br>Request Version: HTTP/1.1
<br>Host: xcap.ae.com:443\r\n
<br>Content-Length: 0\r\n
<br>Content length: 0
<br>Accept-Language: en\r\n
<br>Connection: Keep-Alive\r\n
<br>Keep-Alive: 5\r\n
<br>User-Agent: Mozilla/4.0 (compatible; snom360-SIP 8.2.29 1.1.3-m)\r\n
<br>\r\n
<br><br><br><br><br>GOOD Firefox GET request (rewritten from Wireshark capture)
<br>********************************************
<br>GET /<a href="/user/SendEmail.jtp?type=node&node=5130975&i=2" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/sip:<a href="/user/SendEmail.jtp?type=node&node=5130975&i=3" target="_top" rel="nofollow">[hidden email]</a>/index HTTP/1.1\r\n
<br>Expert Info (Chat/Sequence): GET /<a href="/user/SendEmail.jtp?type=node&node=5130975&i=4" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/sip:<a href="/user/SendEmail.jtp?type=node&node=5130975&i=5" target="_top" rel="nofollow">[hidden email]</a>/index HTTP/1.1\r\n
<br> Message: GET /<a href="/user/SendEmail.jtp?type=node&node=5130975&i=6" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/sip:<a href="/user/SendEmail.jtp?type=node&node=5130975&i=7" target="_top" rel="nofollow">[hidden email]</a>/indexHTTP/1.1\r\n
<br> Severity level: Chat
<br> Group: Sequence
<br>Request Method: GET
<br>Request URI:/<a href="/user/SendEmail.jtp?type=node&node=5130975&i=8" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/sip:<a href="/user/SendEmail.jtp?type=node&node=5130975&i=9" target="_top" rel="nofollow">[hidden email]</a>/index
<br>Request Version: HTTP/1.1
<br>Host: xcap.ae.com\r\n
<br>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
<br>Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n
<br>Accept-Language: en-us,en;q=0.5\r\n
<br>Accept-Encoding: gzip,deflate\r\n
<br>Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
<br>Keep-Alive: 115\r\n
<br>Connection: keep-alive\r\n
<br>Cookie: __utma=87383048.501874217.1266983378.1266983378.1266983378.1;__utmz=87383048.1266983378.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)\r\n
<br>\r\n
<br><br><br><br><br><br>GOOD Counterpath Bria GET request (rewritten from Wireshark capture)
<br>********************************************
<br>GET /<a href="/user/SendEmail.jtp?type=node&node=5130975&i=10" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/9XX2XX2XX9/resource-list.xml HTTP/1.1\r\n
<br>Expert Info (Chat/Sequence): GET /<a href="/user/SendEmail.jtp?type=node&node=5130975&i=11" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/9XX2XX2XX9/resource-list.xml HTTP/1.1\r\n
<br> Message: GET /<a href="/user/SendEmail.jtp?type=node&node=5130975&i=12" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/9XX2XX2XX9/resource-list.xml HTTP/1.1\r\n
<br> Severity level: Chat
<br> Group: Sequence
<br>Request Method: GET
<br>Request URI: /<a href="/user/SendEmail.jtp?type=node&node=5130975&i=13" target="_top" rel="nofollow">[hidden email]</a>/resource-lists/users/9XX2XX2XX9/resource-list.xml
<br>Request Version: HTTP/1.1
<br>Host: xcap.ae.com\r\n
<br>Accept: */*\r\n
<br>If-None-Match: "02df545fb141ee66255d9afeef3e69e3"\r\n
<br>\r\n
<br><hr align="left" width="300">
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenXCAP-and-Presence-with-SNOM-version-8-2-29-tp5080886p5130975.html">Re: OpenXCAP and Presence with SNOM version 8.2.29</a><br>
Sent from the <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS - Users mailing list archive</a> at Nabble.com.<br>