<html>
<head>
<meta content="text/html; charset=koi8-r" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
i did install 4.3 from rpm - maybe in rpm isn't the latest version ?<br>
and my configuration with DBTEXT no MySQL used.<br>
<br>
<br>
<div class="moz-cite-prefix">28.08.2015 21:26, Luis Azedo ΠΙΫΕΤ:<br>
</div>
<blockquote
cite="mid:6FFC6465A51B5B4C80DD111E16112FD139176E60@mbx022-w1-ca-4.exch022.domain.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=koi8-r">
<style type="text/css" id="owaParaStyle"></style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">maybe you missed something when you
tried 4.3.
<div><br>
</div>
<div>i do use it and i can confirm that grandstream / bria work
well with this.</div>
<div><br>
<div style="font-family: Times New Roman; color: #000000;
font-size: 16px">
<hr tabindex="-1">
<div id="divRpF371670" style="direction: ltr;"><font
color="#000000" face="Tahoma" size="2"><b>From:</b>
Ewgeny [<a class="moz-txt-link-abbreviated" href="mailto:evoip@ukr.net">evoip@ukr.net</a>]<br>
<b>Sent:</b> Friday, August 28, 2015 11:23 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a>; Kamailio (SER) - Users
Mailing List<br>
<b>Cc:</b> Luis Azedo<br>
<b>Subject:</b> Re: [SR-Users] presence_dialoginfo-
first NOTIFY - force_dummy_dialog<br>
</font><br>
</div>
<div>Hello Daniel,<br>
<br>
No - 'yx' i pasted by mistake :) sorry ....<br>
For me without a difference which kamailio version to use
- the main reason to it works as expected.<br>
I tried last week latest Kamailio 4.3 from rpm repository
- it's also send first NOTIFY without complete XML body to
turn BLF lamp GREEN.<br>
So - can you please give a patch to solve that ? No
different which version 4.2 or 4.3.<br>
<br>
Thanks in advance.<br>
<br>
Kind Regards<br>
Ewgeny<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">28.08.2015 16:15,
Daniel-Constantin Mierla ΠΙΫΕΤ:<br>
</div>
<blockquote type="cite">Hello,<br>
<br>
first, I see:<br>
<br>
<dialog-info
xmlns="urn:ietf:params:xml:ns:dialog-info" version="1"
ΥΘ state="full" entity=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:9095@10.60.1.3" target="_blank">"sip:9095@10.60.1.3"</a>><br>
<br>
Is the 'yx' in the line above appearing or just a result
of adjusting what you pasted in the email?<br>
<br>
I thought Kazoo in using stock kamailio, in fact Luis
(cc-ed) from Kazoo pushed a patch to kamailio adding id
to dialog tag (commit
f12f243e39c840b1306bf376c49ef4dab9e7564f), but I don't
see the call-id there, maybe is added when processing
later.<br>
<br>
Checking the source code, the id in dialog tag is only
in kamailio 4.3, which I guess is what last kazoo is
using. Perhaps the patch can be backported to branch
4.2, it is not a big change there.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 28/08/15 14:54, <a
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:evoip@ukr.net" target="_blank">
evoip@ukr.net</a> wrote:<br>
</div>
<blockquote type="cite"><code class="varname"></code>Hello,<br>
we use Kamailio 4.2 with Presence_DIALOGINFO module
for BLF notifications (blinking lamps on phone panel).
<br>
<br>
Since version 4.1 Kamailio has a new module parametr "
<big>modparam("presence_dialoginfo",
"force_dummy_dialog", 1)</big>" - this option
generate first NOTIFY to Subscribed phone (without
PUBLISH message) and it's lamps became GREEN (
<state>terminated</state>).<br>
<br>
Without this module parametr the first NOTIFY won't be
sent to phone and lamps will stay turned off until
first PUBLISH will be handled by presence server.<br>
<br>
The first NOTIFY sip message with xml body look like
this:<br>
<br>
<br>
NOTIFY <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:1005@22.22.22.22:1120"
target="_blank">
sip:1005@22.22.22.22:1120</a> SIP/2.0.<br>
To: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:1005@11.11.11.11" target="_blank">
<sip:1005@11.11.11.11></a>;tag=867246696.<br>
From: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:9095@11.11.11.11" target="_blank">
<sip:9095@11.11.11.11></a>;tag=495949c4c25d687c77ca707bd10a0818-5171.<br>
CSeq: 2 NOTIFY.<br>
Call-ID: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:662126467-5060-6@BJC.BGI.E.CDD"
target="_blank">
662126467-5060-6@BJC.BGI.E.CDD</a>.<br>
Route: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:10.60.1.3;r2=on;lr=on" target="_blank">
<sip:10.60.1.3;r2=on;lr=on></a>, <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="sip:11.11.11.11;r2=on;lr=on" target="_blank">
<sip:11.11.11.11;r2=on;lr=on></a>.<br>
Content-Length: 272.<br>
User-Agent: kamailio (4.2.3 (x86_64/linux)).<br>
Max-Forwards: 70.<br>
Event: dialog.<br>
Subscription-State: active;expires=600.<br>
Content-Type: application/dialog-info+xml.<br>
.<br>
<?xml version="1.0"?><br>
<dialog-info
xmlns="urn:ietf:params:xml:ns:dialog-info" version="1"
ΥΘ state="full" entity=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:9095@10.60.1.3" target="_blank">"sip:9095@10.60.1.3"</a>><br>
<dialog direction="recipient"><br>
<state>terminated</state><br>
</dialog><br>
</dialog-info><br>
<br>
Especially pay attention on XML body.<br>
<br>
<br>
But for some SIP phones this xml body with state =
terminated is not enough to turn the BLF lamp on. (for
example Grandstream phones).<br>
It requires one more or two more fields: "dialog id",
"call-id".<br>
<br>
<?xml version="1.0"?><br>
<dialog-info
xmlns="urn:ietf:params:xml:ns:dialog-info"
version="28" state="full" entity=<a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:9093@10.60.1.3" target="_blank">"sip:9093@10.60.1.3"</a>><br>
<dialog id="830b4fd4-c75d-1233-ca9f-0050569560f4"
call-id="830b4fd4-c75d-1233-ca9f-0050569560f4"
direction="recipient"><br>
<state>terminated</state><br>
</dialog><br>
</dialog-info><br>
<br>
<br>
<br>
The question is how to modify this first NOTIFY XML
body message to add "dialog id" and "call-id" to
</dialog>.<br>
For example latest Kamailio Kazoo fixed that already.
:)<br>
<br>
<br>
<br>
<br>
<br>
Kind Regards<br>
Ewgeny<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset>
<br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
</blockquote>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>