<br><br><div class="gmail_quote">2009/1/15 Antonio Frongillo <span dir="ltr">&lt;<a href="mailto:antonio@frogweb.it">antonio@frogweb.it</a>&gt;</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&#39;m trying to use OpenSips (configured with WeSip) to communicate with Microsoft OCS 2007.<br>I&#39;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: &lt;sip:OCSPool01.HMCINT.LOCAL;transport=tcp;ms-fe=HMCINTOCS.HMCINT.LOCAL&gt;<br>

Authentication-Info: NTLM rspauth=&quot;0100000070B14E017817E85DC230F2DF&quot;, srand=&quot;B91383E2&quot;, snum=&quot;2&quot;, opaque=&quot;0FFEF1C7&quot;, qop=&quot;auth&quot;, targetname=&quot;HMCINTOCS.HMCINT.LOCAL&quot;, realm=&quot;SIP Communications Service&quot;<br>

Content-Length: 8452<br>From: &quot;Uma Thurman&quot;&lt;sip:uma.thurman@hmcint.local&gt;;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>&lt;roamingData xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/roaming-self" target="_blank">http://schemas.microsoft.com/2006/09/sip/roaming-self</a>&quot; xmlns:cat=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/categories" target="_blank">http://schemas.microsoft.com/2006/09/sip/categories</a>&quot; xmlns:con=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/containers" target="_blank">http://schemas.microsoft.com/2006/09/sip/containers</a>&quot; xmlns:sub=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/presence-subscribers" target="_blank">http://schemas.microsoft.com/2006/09/sip/presence-subscribers</a>&quot;&gt;<br>

&lt;categories xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/categories" target="_blank">http://schemas.microsoft.com/2006/09/sip/categories</a>&quot; uri=&quot;sip:uma.thurman@hmcint.local&quot;&gt;<br>&lt;category name=&quot;calendarData&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:19:10.797&quot; container=&quot;32000&quot; version=&quot;1&quot; expireType=&quot;static&quot;/&gt;<br>

&lt;category name=&quot;calendarData&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:19:10.797&quot; container=&quot;100&quot; version=&quot;1&quot; expireType=&quot;static&quot;/&gt;<br>&lt;category name=&quot;contactCard&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;32000&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>

&lt;contactCard xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>&quot; &gt;<br>&lt;identity &gt;<br>&lt;name &gt;<br>&lt;displayName &gt;<br>

Uma Thurman&lt;/displayName&gt;<br>&lt;/name&gt;<br>&lt;email &gt;<br>uma.thurman@hmcint.local&lt;/email&gt;<br>&lt;/identity&gt;<br>&lt;/contactCard&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;contactCard&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;400&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>

&lt;contactCard xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>&quot; &gt;<br>&lt;identity &gt;<br>&lt;name &gt;<br>&lt;displayName &gt;<br>

Uma Thurman&lt;/displayName&gt;<br>&lt;/name&gt;<br>&lt;email &gt;<br>uma.thurman@hmcint.local&lt;/email&gt;<br>&lt;/identity&gt;<br>&lt;/contactCard&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;contactCard&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;300&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>

&lt;contactCard xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>&quot; &gt;<br>&lt;identity &gt;<br>&lt;name &gt;<br>&lt;displayName &gt;<br>

Uma Thurman&lt;/displayName&gt;<br>&lt;/name&gt;<br>&lt;email &gt;<br>uma.thurman@hmcint.local&lt;/email&gt;<br>&lt;/identity&gt;<br>&lt;/contactCard&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;contactCard&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;200&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>

&lt;contactCard xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>&quot; &gt;<br>&lt;identity &gt;<br>&lt;name &gt;<br>&lt;displayName &gt;<br>

Uma Thurman&lt;/displayName&gt;<br>&lt;/name&gt;<br>&lt;email &gt;<br>uma.thurman@hmcint.local&lt;/email&gt;<br>&lt;/identity&gt;<br>&lt;/contactCard&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;contactCard&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;100&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>

&lt;contactCard xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>&quot; &gt;<br>&lt;identity &gt;<br>&lt;name &gt;<br>&lt;displayName &gt;<br>

Uma Thurman&lt;/displayName&gt;<br>&lt;/name&gt;<br>&lt;email &gt;<br>uma.thurman@hmcint.local&lt;/email&gt;<br>&lt;/identity&gt;<br>&lt;/contactCard&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;contactCard&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;0&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>

&lt;contactCard xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/contactcard" target="_blank">http://schemas.microsoft.com/2006/09/sip/contactcard</a>&quot; &gt;<br>&lt;identity &gt;<br>&lt;name &gt;<br>&lt;displayName &gt;<br>

Uma Thurman&lt;/displayName&gt;<br>&lt;/name&gt;<br>&lt;email &gt;<br>uma.thurman@hmcint.local&lt;/email&gt;<br>&lt;/identity&gt;<br>&lt;/contactCard&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;note&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:19:10.797&quot; container=&quot;32000&quot; version=&quot;1&quot; expireType=&quot;static&quot;/&gt;<br>

&lt;category name=&quot;note&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:19:10.797&quot; container=&quot;100&quot; version=&quot;1&quot; expireType=&quot;static&quot;/&gt;<br>&lt;category name=&quot;state&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:19:10.797&quot; container=&quot;32000&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>

&lt;state xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; manual=&quot;false&quot; xsi:type=&quot;aggregateState&quot; &gt;&lt;availability &gt;18500&lt;/availability&gt;&lt;endpointLocation &gt;&lt;/endpointLocation&gt;&lt;/state&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;state&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;400&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>&lt;state xsi:type=&quot;aggregateState&quot; lastActive=&quot;2009-01-14T15:06:10&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>&quot;&gt;&lt;availability&gt;18000&lt;/availability&gt;&lt;/state&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;state&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;300&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>&lt;state xsi:type=&quot;aggregateState&quot; lastActive=&quot;2009-01-14T15:06:10&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>&quot;&gt;&lt;availability&gt;18000&lt;/availability&gt;&lt;/state&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;state&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;200&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>&lt;state xsi:type=&quot;aggregateState&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>&quot;&gt;&lt;availability&gt;18000&lt;/availability&gt;&lt;/state&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;state&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;100&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>&lt;state xsi:type=&quot;aggregateState&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>&quot;&gt;&lt;availability&gt;18000&lt;/availability&gt;&lt;/state&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;state&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;3&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>&lt;state xsi:type=&quot;aggregateState&quot; lastActive=&quot;2009-01-14T15:06:10&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>&quot;&gt;&lt;availability&gt;18000&lt;/availability&gt;&lt;/state&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;state&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;2&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>&lt;state xsi:type=&quot;aggregateState&quot; lastActive=&quot;2009-01-14T15:06:10&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/state" target="_blank">http://schemas.microsoft.com/2006/09/sip/state</a>&quot;&gt;&lt;availability&gt;18000&lt;/availability&gt;&lt;/state&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;routing&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:19:10.707&quot; container=&quot;32000&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>&lt;routing xmlns=&quot;<a href="http://schemas.microsoft.com/02/2006/sip/routing" target="_blank">http://schemas.microsoft.com/02/2006/sip/routing</a>&quot; name=&quot;rtcdefault&quot; version=&quot;1&quot; &gt;&lt;preamble &gt;&lt;flags name=&quot;clientflags&quot; value=&quot;block&quot; &gt;&lt;/flags&gt;&lt;/preamble&gt;&lt;/routing&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;legacyInterop&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;32000&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>

&lt;legacyInterop availability=&quot;18500&quot; /&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;legacyInterop&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;400&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>

&lt;legacyInterop availability=&quot;18000&quot; /&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;legacyInterop&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;300&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>

&lt;legacyInterop availability=&quot;18000&quot; /&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;legacyInterop&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;200&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>

&lt;legacyInterop availability=&quot;18000&quot; /&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;legacyInterop&quot; instance=&quot;0&quot; publishTime=&quot;2009-01-14T15:06:10.723&quot; container=&quot;100&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>

&lt;legacyInterop availability=&quot;18000&quot; /&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;services&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:19:10.797&quot; container=&quot;32000&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>

&lt;services xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/service" target="_blank">http://schemas.microsoft.com/2006/09/sip/service</a>&quot; &gt;&lt;/services&gt;<br>&lt;/category&gt;<br>&lt;category name=&quot;userInformation&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-10T10:12:32.427&quot; container=&quot;1&quot; version=&quot;1&quot; expireType=&quot;static&quot;&gt;<br>

&lt;userInformation xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/options/userInformation" target="_blank">http://schemas.microsoft.com/2006/09/sip/options/userInformation</a>&quot; &gt;&lt;phones &gt;&lt;phone type=&quot;work&quot; &gt;&lt;readOnly &gt;true&lt;/readOnly&gt;&lt;displayString &gt;306&lt;/displayString&gt;&lt;uri &gt;tel:306;phone-context=dialstring&lt;/uri&gt;&lt;/phone&gt;&lt;phone type=&quot;mobile&quot; &gt;&lt;/phone&gt;&lt;phone type=&quot;home&quot; &gt;&lt;/phone&gt;&lt;phone type=&quot;other&quot; &gt;&lt;/phone&gt;&lt;/phones&gt;&lt;/userInformation&gt;<br>

&lt;/category&gt;<br>&lt;category name=&quot;userProperties&quot; instance=&quot;0&quot; publishTime=&quot;2008-12-03T13:18:55.133&quot; container=&quot;1&quot; version=&quot;4&quot; expireType=&quot;static&quot;&gt;<br>
&lt;userProperties &gt;<br>
&lt;lines &gt;<br>&lt;line lineType=&quot;Uc&quot; &gt;<br>tel:306&lt;/line&gt;<br>&lt;/lines&gt;<br>&lt;telephonyMode &gt;<br>Uc&lt;/telephonyMode&gt;<br>&lt;/userProperties&gt;<br>&lt;/category&gt;<br>&lt;/categories&gt;<br>

&lt;containers xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/containers" target="_blank">http://schemas.microsoft.com/2006/09/sip/containers</a>&quot;&gt;<br>&lt;container id=&quot;32000&quot; version=&quot;0&quot;/&gt;<br>

&lt;container id=&quot;400&quot; version=&quot;0&quot;/&gt;<br>&lt;container id=&quot;300&quot; version=&quot;0&quot;/&gt;<br>&lt;container id=&quot;200&quot; version=&quot;1&quot;&gt;<br>&lt;member type=&quot;sameEnterprise&quot;/&gt;<br>

&lt;/container&gt;<br>&lt;container id=&quot;100&quot; version=&quot;1&quot;&gt;<br>&lt;member type=&quot;federated&quot;/&gt;<br>&lt;/container&gt;<br>&lt;container id=&quot;3&quot; version=&quot;0&quot;/&gt;<br>&lt;container id=&quot;2&quot; version=&quot;0&quot;/&gt;<br>

&lt;container id=&quot;1&quot; version=&quot;0&quot;/&gt;<br>&lt;container id=&quot;0&quot; version=&quot;0&quot;&gt;<br>&lt;member type=&quot;everyone&quot;/&gt;<br>&lt;/container&gt;<br>&lt;/containers&gt;<br>&lt;subscribers xmlns=&quot;<a href="http://schemas.microsoft.com/2006/09/sip/presence-subscribers" target="_blank">http://schemas.microsoft.com/2006/09/sip/presence-subscribers</a>&quot;/&gt;<br>

&lt;/roamingData&gt;<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">&lt;<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>&gt;</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&#39;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&#39;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>
 &nbsp;<br>
</blockquote>
<br>
</blockquote></div></div></div><br>
</blockquote></div><br>