<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Daniel,
<div><br>
</div>
<div>the current behaviour is, if the body is NULL it doesn't send the body, which works with most phones.</div>
<div><br>
</div>
<div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
NOTIFY sip:user_7z7b6s@192.168.16.12:<wbr>49454;transport=udp SIP/2.0</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Via: SIP/2.0/UDP 192.168.16.155;branch=<wbr>z9hG4bK7b96.<wbr>7cb452f20000000000000000000000<wbr>00.0</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
To: <<a href="mailto:sip%3Auser_7z7b6s@teste.sip.90e9.com" target="_blank" style="color: rgb(17, 85, 204);">sip:user_7z7b6s@test.sip.com</a>>;tag=25ad9c33</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
From: <<a href="mailto:sip%3A995582134@teste.sip.90e9.com" target="_blank" style="color: rgb(17, 85, 204);">sip:995582134@test.sip.<wbr>com</a>>;tag=<wbr>bc2b9f04dce18e817c04a8a86ca551<wbr>08-f69b</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
CSeq: 2 NOTIFY</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Call-ID: NWEyNmRmMjg2YmJhMjQ0MWM2Y2Y1OT<wbr>NjNTFhZDU1ZmY</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Content-Length: 0</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Max-Forwards: 70</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Event: dialog</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Contact: <sip:192.168.16.155:5060;<wbr>transport=udp></div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Subscription-State: active;expires=1800</div>
</div>
<div><br>
</div>
<div><b>with the patch, if param force_dummy_dialog = 1</b></div>
<div><br>
</div>
<div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
NOTIFY sip:user_7z7b6s@192.168.16.12:<wbr>49454;transport=udp SIP/2.0</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Via: SIP/2.0/UDP 192.168.16.155;branch=<wbr>z9hG4bK811e.<wbr>7c3b7b250000000000000000000000<wbr>00.0</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
To: <<a href="mailto:sip%3Auser_7z7b6s@teste.sip.90e9.com" target="_blank" style="color: rgb(17, 85, 204);">sip:user_7z7b6s@test.sip.com</a>>;tag=4dce5b3e</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
From: <<a href="mailto:sip%3A995582135@teste.sip.90e9.com" target="_blank" style="color: rgb(17, 85, 204);">sip:995582135@test.sip.<wbr>com</a>>;tag=<wbr>bc2b9f04dce18e817c04a8a86ca551<wbr>08-bab8</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
CSeq: 2 NOTIFY</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Call-ID: MTY0Zjk1ZWFhOGI2OTBmNTM1MTQ4Nm<wbr>MxN2Q1OTlmNGQ</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Content-Length: 246</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Max-Forwards: 70</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Event: dialog</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Contact: <sip:192.168.16.155:5060;<wbr>transport=udp></div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Subscription-State: active;expires=1800</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
Content-Type: application/dialog-info+xml</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
<br>
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
<?xml version="1.0"?></div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
<dialog-info xmlns="urn:ietf:params:xml:ns:<wbr>dialog-info" version="1"           state="full" entity="<a href="mailto:sip%3A995582135@teste.sip.90e9.com" target="_blank" style="color: rgb(17, 85, 204);">sip:995582134@test.<wbr>sip.com</a>"></div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
  <dialog direction="recipient"></div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
    <state>terminated</state></div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
  </dialog></div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: small;">
</dialog-info></div>
</div>
<div><br>
</div>
<div>which works for astra and bria (maybe others) and also works for previously working phones (tested with polycom, cisco, jitsi)</div>
<div><br>
</div>
<div><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF529086" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> sr-dev [sr-dev-bounces@lists.sip-router.org] on behalf of Daniel-Constantin Mierla [miconda@gmail.com]<br>
<b>Sent:</b> Thursday, January 29, 2015 1:53 AM<br>
<b>To:</b> Kamailio (SER) - Development Mailing List<br>
<b>Subject:</b> Re: [sr-dev] request for backporting to 4.2 - presence_dialoginfo : optionally send dummy dialog<br>
</font><br>
</div>
<div></div>
<div>Hello,<br>
<br>
<div class="moz-cite-prefix">On 28/01/15 23:19, Luis Azedo wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" id="owaParaStyle"></style>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<div id="divRpF281215" style="direction:ltr"><br>
</div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>Hi List,</div>
<div><br>
</div>
<div>some sip clients like Bria and some sip phones like Astra </div>
<div>expect a <dialog-info><dialog><span style="font-size:13.3333330154419px"></dialog></span><span style="font-size:13.3333330154419px"></dialog-info></span></div>
<div><span style="font-size:13.3333330154419px">on the NOTIFY message sent.</span></div>
<div><span style="font-size:13.3333330154419px"><br>
</span></div>
<div><span style="font-size:13.3333330154419px">presence sends a NOTIFY after the SUBSCRIBE with NULL body if it doesn't find the presentity.</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
for clarification, the body is empty, not with a string NULL, isn't it?<br>
<br>
Even it adds a new module parameter, the behaviour is preserved, and given bria and astra are quite spread, I am ok to backport. Let's see if others are fine as well.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote type="cite">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div><span style="font-size:13.3333330154419px"><br>
</span></div>
<div><span style="font-size:13.3333330154419px">the patch already in master allows to configure the creation of a dummy dialog to be sent when presence doesn't find the presentity.</span></div>
<div><span style="font-size:13.3333330154419px"><br>
</span></div>
<div><span style="font-size:13.3333330154419px">this behavior was only observed in dialog subscriptions so the patch was made against presence_dialoginfo.</span></div>
<div><span style="font-size:13.3333330154419px"><br>
</span></div>
<div><span style="font-size:13.3333330154419px"><b>the new param force_dummy_dialog defaults to 0 to preserve existing behavior.</b></span></div>
<div><span style="font-size:13.3333330154419px"><br>
</span></div>
<div><span style="font-size:13.3333330154419px">using this patch Bria, Astra started working with BLF and others (Cisco, Polycom, Jitsi) kept running.</span></div>
<div><span style="font-size:13.3333330154419px"><br>
</span></div>
<div><span style="font-size:13.3333330154419px">does anyone have anything against backporting this to 4.2 ?</span></div>
<div><span style="font-size:13.3333330154419px"><br>
</span></div>
<div><span style="font-size:13.3333330154419px">Best</span></div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<div id="divRpF767475" style="direction:ltr"><br>
</div>
<div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</div>
</div>
</div>
</div>
</body>
</html>