<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style></head>
<body>
<style>
<!--
.EmailQuote
        {margin-left:1pt;
        padding-left:4pt;
        border-left:#800000 2px solid}
-->
</style><body>Brodde@yahoo.com<br><br>Sent from my HTC<br><br><div id="htc_header" style="">----- Reply message -----<br>From: &quot;Roberto Fichera&quot; &lt;kernel@tekno-soft.it&gt;<br>To: &quot;Henning Westerholt&quot; &lt;henning.westerholt@1und1.de&gt;<br>Cc: &quot;sr-users@lists.sip-router.org&quot; &lt;sr-users@lists.sip-router.org&gt;<br>Subject: [SR-Users] Playing with dlg_bridge()<br>Date: Thu, Jul 7, 2011 16:01<br><br></div><br><br></body>
<font size="2"><div class="PlainText">On 07/07/2011 02:51 PM, Henning Westerholt wrote:<br>
&gt; On Thursday 07 July 2011, Roberto Fichera wrote:<br>
&gt;&gt;&gt;&gt; Do you know what does means the warning below?<br>
&gt;&gt;&gt;&gt; [..]<br>
&gt;&gt;&gt;&gt; 68.2.50 Jul&nbsp; 6 11:54:17 roberto /usr/sbin/kamailio[20457]: WARNING:<br>
&gt;&gt;&gt;&gt; dialog [dlg_handlers.c:884]: unable to find dialog for NOTIFY with<br>
&gt;&gt;&gt;&gt; route param '7d2.14447fc4' [727:1291273281]<br>
&gt;&gt;&gt; This means that the module can't find an existing (stored) dialog for the<br>
&gt;&gt;&gt; routed message in question, in this case a NOTIFY.<br>
&gt;&gt; Does this depends by the fact of own the dlg_bridge() works? And in case,<br>
&gt;&gt; how can I solve that problem?<br>
&gt; Hi Roberto,<br>
<br>
Hi Henning,<br>
<br>
&gt; I'm not 100% sure, I'm not the expert for dlg_bridge.. To be more specific <br>
&gt; (after discussion with Timo..) - the warning is emmited if the module can't <br>
&gt; find the dialog with the ID added as a route parameter to the respective <br>
&gt; message. One particiular reason is (if you don't store the dialogs in a <br>
&gt; database) a simple kamailio restart, then all existing dialog information is <br>
&gt; lost.<br>
<br>
actually I've the following setup:<br>
<br>
#!define DBURL &quot;postgres://openser:openserrw@localhost/openser&quot;<br>
<br>
modparam(&quot;dialog&quot;, &quot;dlg_flag&quot;, 2)<br>
modparam(&quot;dialog&quot;, &quot;bridge_controller&quot;, &quot;sip:controller@192.168.2.92&quot;)<br>
modparam(&quot;dialog&quot;, &quot;db_url&quot;, DBURL )<br>
<br>
Actually, my thought is that problem is more strictly related to the dlg_bridge()<br>
which might not track the bridged dialog.<br>
<br>
Anyway, I'm playing with dlg_bridge() because I want to realize the logic so<br>
that two peers, and if possible more, can talk together only if authorized.<br>
The authorization might be a unique tag or transaction id, stored in a database,<br>
and valid only for the give conversation {tag, caller, callee} once started, than<br>
the tag become invalid and can't be used again.<br>
<br>
I really like to have some suggestions about how to realize such logic,<br>
so which might be the best way to approach such problem since I'm actually<br>
a novice to Kamailio or in general with OpenSer logic. I'm actually more<br>
confident with Asterisk logic.<br>
<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Henning<br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
sr-users@lists.sip-router.org<br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></font>
</body>
</html>