<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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 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 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 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 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 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 class="moz-txt-link-abbreviated" href="mailto:f96beeff-a04edd07@172.31.1.141">f96beeff-a04edd07@172.31.1.141</a><br>
from_uri:: <a class="moz-txt-link-freetext" href="sip:018108753@sip.test.net">sip:018108753@sip.test.net</a><br>
to_uri:: <a 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 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 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 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 class="moz-txt-link-freetext" href="sip:018108751@sip.test.net">sip:018108751@sip.test.net</a><br>
value:: caller = <a 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>
</body>
</html>