<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: "Roberto Fichera" <kernel@tekno-soft.it><br>To: "Henning Westerholt" <henning.westerholt@1und1.de><br>Cc: "sr-users@lists.sip-router.org" <sr-users@lists.sip-router.org><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>
> On Thursday 07 July 2011, Roberto Fichera wrote:<br>
>>>> Do you know what does means the warning below?<br>
>>>> [..]<br>
>>>> 68.2.50 Jul 6 11:54:17 roberto /usr/sbin/kamailio[20457]: WARNING:<br>
>>>> dialog [dlg_handlers.c:884]: unable to find dialog for NOTIFY with<br>
>>>> route param '7d2.14447fc4' [727:1291273281]<br>
>>> This means that the module can't find an existing (stored) dialog for the<br>
>>> routed message in question, in this case a NOTIFY.<br>
>> Does this depends by the fact of own the dlg_bridge() works? And in case,<br>
>> how can I solve that problem?<br>
> Hi Roberto,<br>
<br>
Hi Henning,<br>
<br>
> I'm not 100% sure, I'm not the expert for dlg_bridge.. To be more specific <br>
> (after discussion with Timo..) - the warning is emmited if the module can't <br>
> find the dialog with the ID added as a route parameter to the respective <br>
> message. One particiular reason is (if you don't store the dialogs in a <br>
> database) a simple kamailio restart, then all existing dialog information is <br>
> lost.<br>
<br>
actually I've the following setup:<br>
<br>
#!define DBURL "postgres://openser:openserrw@localhost/openser"<br>
<br>
modparam("dialog", "dlg_flag", 2)<br>
modparam("dialog", "bridge_controller", "sip:controller@192.168.2.92")<br>
modparam("dialog", "db_url", 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>
> Best regards,<br>
><br>
> Henning<br>
><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>