<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Bogdan,<br>
<br>
no, just that get_dialog_info could not find dialog that match
this rule or something like that.<br>
<br>
Just to inform you about scenari. I make a call, dialog for a new
call is created (you can see it below) but when call is terminated
and I recive bye for this call I do get_dialog_info as I would
like to get time, when call was started (for aaa).<br>
<br>
If I make a second call and use static data for get_dialog_info,
function return value for variable and match dialog.<br>
<br>
Br,<br>
Miha<br>
<br>
Dne 6/6/2013 5:52 PM, piše Bogdan-Andrei Iancu:<br>
</div>
<blockquote cite="mid:51B0B042.1060203@opensips.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hello Miha,<br>
<br>
Do you see any errors when calling the get_dialog_info()
function ? <br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 06/05/2013 04:41 PM, Miha wrote:
<blockquote cite="mid:51AF3FF9.9040607@softnet.si" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
<br>
I need a litle help why get_dialog_info does not return any
values. As you can se from dialog dlg_list_ctx there are keys
and valus.<br>
<br>
Thanks!<br>
<br>
Miha<br>
<br>
<br>
<br>
onreply_route{<br>
<br>
if((is_method("BYE")) && ($si!="xxx.xxx.xxx.xxx")){<br>
xlog("Callid: $ci\n");<br>
if (
get_dialog_info("timestart","$var(timestart)","group","test")) {<br>
xlog("caller $fU has started a call at:
$var(timestart) \n");<br>
}<br>
xlog("BYE ni od FS $fu");<br>
$avp(radius)=2;<br>
radius_send_acct("set_out2");<br>
# setflag(9);<br>
}<br>
<br>
<br>
<br>
Jun 5 15:36:34 opensips /usr/sbin/opensips[2161]: Callid: <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:a6ec216e-6bf5f805@172.31.1.141">a6ec216e-6bf5f805@172.31.1.141</a><br>
<br>
<br>
<small>dialog:: hash=1661:151199353<br>
state:: 5<br>
user_flags:: 0<br>
timestart:: 1370427096<br>
timeout:: 0<br>
callid:: e323c24c-4869-1231-caaa-0030486435ea<br>
from_uri:: <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="sip:018108753@">sip:018108753@</a></small><small><small><small>xxx.xxx.xxx.xx</small></small>
<br>
to_uri:: <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="sip:018108751@">sip:018108751@</a></small><small><small>xxx.xxx.xxx.xxx</small>:5060<br>
caller_tag:: 4rDyN1XvDUp3a<br>
caller_contact:: <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="sip:mod_sofia@">sip:mod_sofia@</a></small><small><small>xxx.xxx.xxx.xxx</small>:5080<br>
callee_cseq:: 0<br>
caller_route_set::<br>
caller_bind_addr:: udp:</small><small><small>xxx.xxx.xxx.xxx</small>:5060<br>
callee_tag:: 6cfbd4724f0d7febi0<br>
callee_contact:: <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="sip:018108751@">sip:018108751@</a></small><small><small>xxx.xxx.xxx.xxx</small>9:5992<br>
caller_cseq:: 44877214<br>
callee_route_set::<br>
callee_bind_addr:: udp:</small><small><small>xxx.xxx.xxx.xxx</small>:5060<br>
context::<br>
value:: accX_table = acc<br>
value:: accX_flags =<br>
value:: accX_db =<br>
value:: accX_log =<br>
value:: accX_leg =<br>
value:: accX_core =<br>
value:: accX_created = Ö¯Q<br>
dialog:: hash=4026:1102756396<br>
state:: 5<br>
user_flags:: 0<br>
timestart:: 1370427096<br>
timeout:: 0<br>
callid:: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:f96beeff-a04edd07@172.31.1.141">f96beeff-a04edd07@172.31.1.141</a><br>
from_uri:: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:018108753@sip.test.net">sip:018108753@sip.test.net</a><br>
to_uri:: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:018108751@sip.test.net">sip:018108751@sip.test.net</a><br>
caller_tag:: fb75869f5fb929e7o0<br>
caller_contact:: <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="sip:018108753@">sip:018108753@</a></small><small><small>xxx.xxx.xxx.xxx</small>:5351<br>
callee_cseq:: 0<br>
caller_route_set::<br>
caller_bind_addr:: udp:</small><small><small>xxx.xxx.xxx.xxx</small>6:5060<br>
callee_tag:: SKQ426XSccp1S<br>
callee_contact:: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:018108751@xxx.xxx.xxx.xxx:5060;transport=udp">sip:018108751@xxx.xxx.xxx.xxx:5060;transport=udp</a><br>
caller_cseq:: 102<br>
callee_route_set::<br>
callee_bind_addr:: udp:212.103.141.16:5060<br>
context::<br>
value:: group = test<br>
value:: timestart = 1370427094<br>
value:: callid = <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:f96beeff-a04edd07@172.31.1.141">f96beeff-a04edd07@172.31.1.141</a><br>
value:: destination = sip</small><small><small>xxx.xxx.xxx.xxx</small>:5060<br>
value:: callee = <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:018108751@sip.test.net">sip:018108751@sip.test.net</a><br>
value:: caller = <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:018108753@sip.test.net">sip:018108753@sip.test.net</a><br>
</small><br>
<br>
<br>
<br>
<br>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
</blockquote>
<br>
</body>
</html>