<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Vallimamod,<br>
<br>
Indeed I should have changed there also. Now I have reexamined the flow
of operations and it was a bit inefficient with by first version, the
change was done two times. Can you please try the new version ( I have
just made a commit).<br>
<br>
Thanks and regards,<br>
<pre class="moz-signature" cols="72">--
Anca Vamanu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a></pre>
<br>
<br>
<br>
On 10/07/2010 04:16 PM, Vallimamod ABDULLAH wrote:
<blockquote cite="mid:80665940-E41E-4704-BCA4-E071DA4A82E0@imtelecom.fr"
type="cite">
<pre wrap="">
Well answering to myself, I have changed "full" by "partial" in presence_dialoginfo/notify_body.c (patch attached) and this have solved my problem: The notifications have also state="partial" and the phones know how to handle them (tested with linksys and aastra.) But I have no idea if there are any side effects.
Regards,
Vallimamod
.
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
On Oct 7, 2010, at 2:44 PM, Vallimamod ABDULLAH wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello Anca,
Thank you for your quick answer.
If I understand correctly, with this patch, all the notify requests should have state='partial'. My test shows that the publish request has actually state="partial" but the corresponding notify still have state="full" for the second call. So nothing change in the notifications received by the phone. Have I missed something ?
Here is the notify body received by the phone when the second call is cancelled:
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="6" state="full" entity=<a class="moz-txt-link-rfc2396E" href="mailto:33500009700@sipb02.domain.com">"33500009700@sipb02.domain.com"</a>><dialog id=<a class="moz-txt-link-rfc2396E" href="mailto:0d61b71c6dd00dd3785629463ba23a4e@192.168.5.122">"0d61b71c6dd00dd3785629463ba23a4e@192.168.5.122"</a> call-id=<a class="moz-txt-link-rfc2396E" href="mailto:0d61b71c6dd00dd3785629463ba23a4e@192.168.5.122">"0d61b71c6dd00dd3785629463ba23a4e@192.168.5.122"</a> direction="recipient"><state>terminated</state><remote><identity><a class="moz-txt-link-freetext" href="sip:2036@192.168.5.122">sip:2036@192.168.5.122</a></identity><target uri=<a class="moz-txt-link-rfc2396E" href="sip:2036@192.168.5.122">"sip:2036@192.168.5.122"</a>/></remote><local><identity><a class="moz-txt-link-freetext" href="sip:33500009700@sipb02.domain.com">sip:33500009700@sipb02.domain.
com</a></identity><target uri=<a class="moz-txt-link-rfc2396E" href="sip:33500009700@sipb02.domain.com">"sip:33500009700@sipb02.domain.com"</a>/></local></dialog></dialog-info>
Regards,
Vallimamod
.
On Oct 7, 2010, at 12:43 PM, Anca Vamanu wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Vallimamod,
There was an issue in pua_dialoginfo module indeed - it always sent
publish messages with state="full" so in the scenario you described,
when opensips started sending notifies about the second call it deleted
the state about the previous one. I have now fixed this in both 1.6
branch and trunk. Please update from svn.
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>