<br><br><div class="gmail_quote">2009/1/15 Antonio Frongillo <span dir="ltr"><<a href="mailto:antonio@frogweb.it">antonio@frogweb.it</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm trying to use OpenSips (configured with WeSip) to communicate with Microsoft OCS 2007.<br>I'm able to sends REGISTER and SUBSCRIBE to OCS from a Sip Servlet without any problem.<br>Randomly (or at least it seems) the 200 OK returned by the SUBSCRIBE, or one of the NOTIFYs sent by OCS after the subscription makes OpenSips to crash:<br>
<br>Jan 15 11:33:42 [1933272943] INFO:seas:seas_sighandler: Child stopped or terminated<br>Jan 15 11:33:42 [1933272943] INFO:seas:dispatcher_main_loop: child process 20783 exited by a signal 11<br>Jan 15 11:33:42 [1933272943] WARNING:seas:dispatcher_main_loop: client [shootist] leaving (Action Dispatcher Process died !)<br>
Jan 15 11:33:42 [1933272943] INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [0 App Servers] [0 Uncomplete AS]<br>Jan 15 11:33:43 [20779] DBG:core:handle_tcp_child: dead tcp child 0 (pid 20771, no 0) (shutting down?)<br>
Jan 15 11:33:43 [20779] DBG:core:io_watch_del: io_watch_del (0x8174e80, 15, -1, 0x0) fd_no=16 called<br>Jan 15 11:33:43 [20779] CRITICAL:core:receive_fd: EOF on 17<br>Jan 15 11:33:43 [20779] DBG:core:handle_ser_child: dead child 7, pid 20771 (shutting down?)<br>
Jan 15 11:33:43 [20779] DBG:core:io_watch_del: io_watch_del (0x8174e80, 17, -1, 0x0) fd_no=15 called<br><br><br>The SUBSCRIBE from OCS returns this 200 OK:<br><br>SIP/2.0 200 OK<br>Contact: <sip:OCSPool01.HMCINT.LOCAL;transport=tcp;ms-fe=HMCINTOCS.HMCINT.LOCAL><br>
Authentication-Info: NTLM rspauth="0100000070B14E017817E85DC230F2DF", srand="B91383E2", snum="2", opaque="0FFEF1C7", qop="auth", targetname="HMCINTOCS.HMCINT.LOCAL", realm="SIP Communications Service"<br>
Content-Length: 8452<br>From: "Uma Thurman"<sip:uma.thurman@hmcint.local>;transport=tcp;tag=D7DE4E07A70DEB0AF902F3F3ABBBA6D1<br>To: sip:uma.thurman@hmcint.local:5060;transport=tcp;tag=33280080<br>Call-ID: A19293DAF5E2116DE5D31992A298736<br>
CSeq: 1 SUBSCRIBE<br>Via: SIP/2.0/TCP 10.107.109.108;branch=z9hG4bK398e.5338e871.0;ms-received-port=54613;ms-received-cid=6E00<br>Expires: 43200<br>Require: eventlist<br>Content-Type: application/vnd-microsoft-roaming-self+xml<br>
Event: vnd-microsoft-roaming-self<br>subscription-state: active;expires=43200<br>ms-piggyback-cseq: 1<br>Supported: ms-benotify, ms-piggyback-first-notify<br><br><roamingData xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/roaming-self" target="_blank">http://schemas.microsoft.com/2006/09/sip/roaming-self</a>" xmlns:cat="<a href="http://schemas.microsoft.com/2006/09/sip/categories" target="_blank">http://schemas.microsoft.com/2006/09/sip/categories</a>" xmlns:con="<a href="http://schemas.microsoft.com/2006/09/sip/containers" target="_blank">http://schemas.microsoft.com/2006/09/sip/containers</a>" xmlns:sub="<a href="http://schemas.microsoft.com/2006/09/sip/presence-subscribers" target="_blank">http://schemas.microsoft.com/2006/09/sip/presence-subscribers</a>"><br>
<categories xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/categories" target="_blank">http://schemas.microsoft.com/2006/09/sip/categories</a>" uri="sip:uma.thurman@hmcint.local"><br><category name="calendarData" instance="0" publishTime="2008-12-03T13:19:10.797" container="32000" version="1" expireType="static"/><br>
<category name="calendarData" instance="0" publishTime="2008-12-03T13:19:10.797" container="100" version="1" expireType="static"/><br><category name="contactCard" instance="0" publishTime="2008-12-03T13:18:55.133" container="32000" version="4" expireType="static"><br>
<contactCard xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>" ><br><identity ><br><name ><br><displayName ><br>
Uma Thurman</displayName><br></name><br><email ><br>uma.thurman@hmcint.local</email><br></identity><br></contactCard><br></category><br><category name="contactCard" instance="0" publishTime="2008-12-03T13:18:55.133" container="400" version="4" expireType="static"><br>
<contactCard xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>" ><br><identity ><br><name ><br><displayName ><br>
Uma Thurman</displayName><br></name><br><email ><br>uma.thurman@hmcint.local</email><br></identity><br></contactCard><br></category><br><category name="contactCard" instance="0" publishTime="2008-12-03T13:18:55.133" container="300" version="4" expireType="static"><br>
<contactCard xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>" ><br><identity ><br><name ><br><displayName ><br>
Uma Thurman</displayName><br></name><br><email ><br>uma.thurman@hmcint.local</email><br></identity><br></contactCard><br></category><br><category name="contactCard" instance="0" publishTime="2008-12-03T13:18:55.133" container="200" version="4" expireType="static"><br>
<contactCard xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>" ><br><identity ><br><name ><br><displayName ><br>
Uma Thurman</displayName><br></name><br><email ><br>uma.thurman@hmcint.local</email><br></identity><br></contactCard><br></category><br><category name="contactCard" instance="0" publishTime="2008-12-03T13:18:55.133" container="100" version="4" expireType="static"><br>
<contactCard xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>" ><br><identity ><br><name ><br><displayName ><br>
Uma Thurman</displayName><br></name><br><email ><br>uma.thurman@hmcint.local</email><br></identity><br></contactCard><br></category><br><category name="contactCard" instance="0" publishTime="2008-12-03T13:18:55.133" container="0" version="4" expireType="static"><br>
<contactCard xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>" ><br><identity ><br><name ><br><displayName ><br>
Uma Thurman</displayName><br></name><br><email ><br>uma.thurman@hmcint.local</email><br></identity><br></contactCard><br></category><br><category name="note" instance="0" publishTime="2008-12-03T13:19:10.797" container="32000" version="1" expireType="static"/><br>
<category name="note" instance="0" publishTime="2008-12-03T13:19:10.797" container="100" version="1" expireType="static"/><br><category name="state" instance="0" publishTime="2008-12-03T13:19:10.797" container="32000" version="1" expireType="static"><br>
<state xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" manual="false" xsi:type="aggregateState" ><availability >18500</availability><endpointLocation ></endpointLocation></state><br>
</category><br><category name="state" instance="0" publishTime="2009-01-14T15:06:10.723" container="400" version="1" expireType="static"><br><state xsi:type="aggregateState" lastActive="2009-01-14T15:06:10" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>"><availability>18000</availability></state><br>
</category><br><category name="state" instance="0" publishTime="2009-01-14T15:06:10.723" container="300" version="1" expireType="static"><br><state xsi:type="aggregateState" lastActive="2009-01-14T15:06:10" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>"><availability>18000</availability></state><br>
</category><br><category name="state" instance="0" publishTime="2009-01-14T15:06:10.723" container="200" version="1" expireType="static"><br><state xsi:type="aggregateState" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>"><availability>18000</availability></state><br>
</category><br><category name="state" instance="0" publishTime="2009-01-14T15:06:10.723" container="100" version="1" expireType="static"><br><state xsi:type="aggregateState" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>"><availability>18000</availability></state><br>
</category><br><category name="state" instance="0" publishTime="2009-01-14T15:06:10.723" container="3" version="1" expireType="static"><br><state xsi:type="aggregateState" lastActive="2009-01-14T15:06:10" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>"><availability>18000</availability></state><br>
</category><br><category name="state" instance="0" publishTime="2009-01-14T15:06:10.723" container="2" version="1" expireType="static"><br><state xsi:type="aggregateState" lastActive="2009-01-14T15:06:10" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>"><availability>18000</availability></state><br>
</category><br><category name="routing" instance="0" publishTime="2008-12-03T13:19:10.707" container="32000" version="1" expireType="static"><br><routing xmlns="<a href="http://schemas.microsoft.com/02/2006/sip/routing" target="_blank">http://schemas.microsoft.com/02/2006/sip/routing</a>" name="rtcdefault" version="1" ><preamble ><flags name="clientflags" value="block" ></flags></preamble></routing><br>
</category><br><category name="legacyInterop" instance="0" publishTime="2008-12-03T13:18:55.133" container="32000" version="4" expireType="static"><br>
<legacyInterop availability="18500" /><br></category><br><category name="legacyInterop" instance="0" publishTime="2009-01-14T15:06:10.723" container="400" version="1" expireType="static"><br>
<legacyInterop availability="18000" /><br></category><br><category name="legacyInterop" instance="0" publishTime="2009-01-14T15:06:10.723" container="300" version="1" expireType="static"><br>
<legacyInterop availability="18000" /><br></category><br><category name="legacyInterop" instance="0" publishTime="2009-01-14T15:06:10.723" container="200" version="1" expireType="static"><br>
<legacyInterop availability="18000" /><br></category><br><category name="legacyInterop" instance="0" publishTime="2009-01-14T15:06:10.723" container="100" version="1" expireType="static"><br>
<legacyInterop availability="18000" /><br></category><br><category name="services" instance="0" publishTime="2008-12-03T13:19:10.797" container="32000" version="1" expireType="static"><br>
<services xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/service" target="_blank">http://schemas.microsoft.com/2006/09/sip/service</a>" ></services><br></category><br><category name="userInformation" instance="0" publishTime="2008-12-10T10:12:32.427" container="1" version="1" expireType="static"><br>
<userInformation xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/options/userInformation" target="_blank">http://schemas.microsoft.com/2006/09/sip/options/userInformation</a>" ><phones ><phone type="work" ><readOnly >true</readOnly><displayString >306</displayString><uri >tel:306;phone-context=dialstring</uri></phone><phone type="mobile" ></phone><phone type="home" ></phone><phone type="other" ></phone></phones></userInformation><br>
</category><br><category name="userProperties" instance="0" publishTime="2008-12-03T13:18:55.133" container="1" version="4" expireType="static"><br>
<userProperties ><br>
<lines ><br><line lineType="Uc" ><br>tel:306</line><br></lines><br><telephonyMode ><br>Uc</telephonyMode><br></userProperties><br></category><br></categories><br>
<containers xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/containers" target="_blank">http://schemas.microsoft.com/2006/09/sip/containers</a>"><br><container id="32000" version="0"/><br>
<container id="400" version="0"/><br><container id="300" version="0"/><br><container id="200" version="1"><br><member type="sameEnterprise"/><br>
</container><br><container id="100" version="1"><br><member type="federated"/><br></container><br><container id="3" version="0"/><br><container id="2" version="0"/><br>
<container id="1" version="0"/><br><container id="0" version="0"><br><member type="everyone"/><br></container><br></containers><br><subscribers xmlns="<a href="http://schemas.microsoft.com/2006/09/sip/presence-subscribers" target="_blank">http://schemas.microsoft.com/2006/09/sip/presence-subscribers</a>"/><br>
</roamingData><br><br><br><br><br>This message makes OpenSips crash on <br><br><div class="gmail_quote">2009/1/15 Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>></span><div>
<div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Antonio,<br>
<br>
Could you detail a bit please ? who is receiving the 200 OK and from where... What is the actual error? Also please describe your scenario.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
Antonio Frongillo wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
Hi,<br>
I'm experiencing an error in receiving 200 OK of REGISTER requests where are set several Contact Header.<br>
According to Sip Servlet specification it should be possible to receive messages with more than one Contact Header, actually I saw that with 8 Contact Header OpenSips crash always, with 2-3 Contact Header it seems to be stable.<br>
<br>
Could it be a bug or I'm missing something?<br>
<br>
Thanks in advance<br>
Antonio<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div></div></div><br>
</blockquote></div><br>