<div>thanks,</div>
<div> </div>
<div>I got the error many times, and i check the dialog table of the opensips database for each error, the corresponding dialog was still there. for example, if the 'dialog_id' in the statistics of the MediaProxy is ''795:0', i will find a record in the dialog table with hash_entry is 795, now the problem is that hash_id in the dialog table is 1274044496, but hash_id in the statistics of the MediaProxy is 0. </div>
<div> </div>
<div>according to my understanding, 'dialog_id' : '795:0' in the statistics of the MediaProxy means the hash_entry is 795 and hash_id is 0, right ?</div>
<div> </div>
<div>regards </div>
<div> </div>
<div>John<br></div>
<div class="gmail_quote">2008/11/24 Dan Pascu <span dir="ltr"><<a href="mailto:dan@ag-projects.com" target="_blank">dan@ag-projects.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>There is not enough information in the provided trace to figure out why<br>the dialog was no longer there. I may have been closed by another means<br>
and the closing may not have been propagated to the media-relay.<br>
<div>
<div></div>
<div><br>On Monday 24 November 2008, john li wrote:<br>> ---------- Forwarded message ----------<br>> From: john li <<a href="mailto:lijy83@gmail.com" target="_blank">lijy83@gmail.com</a>><br>> Date: 2008/11/24<br>
> Subject: MediaProxy can't Closing expired calls, 404 Requested Dialog<br>> not found<br>> To: <a href="mailto:freeradius-users@lists.freeradius.org" target="_blank">freeradius-users@lists.freeradius.org</a><br>
><br>><br>> Hi,<br>><br>> I'm trying to enable MediaProxy to close expired calls but got an<br>> error<br>><br>> Does anyone have any suggestions?<br>><br>> Thanks a lot<br>> John<br>
><br>><br>> here is the log:<br>><br>> DBG:mi_datagram:identify_command: dtgram->len is 21<br>> Nov 24 16:05:54 localhost media-dispatcher[3638]:<br>> [RelayServerProtocol,0, <a href="http://127.0.0.1/" target="_blank">127.0.0.1</a>] Got statistics: {'from_tag':<br>
> '353485446', 'callee_packets': {'audio': 432}, *'dialog_id': '795:0',*<br>> 'start_time': 1227513882.5899999, 'timed_out': True, 'caller_bytes':<br>> {'audio': 110400}, 'callee_bytes': {'audio': 86400}, 'call_id':<br>
> '<a href="mailto:1440081054@192.168.1.8" target="_blank">1440081054@192.168.1.8</a>', 'to_tag': '1072710660', 'streams':<br>> [{'status': 'conntrack timeout', 'caller_codec': 'G711u', 'pdd':<br>
> 0.54283404350300002, 'callee_codec': 'G711u', 'start_time': 0,<br>> 'caller_bytes': 110400, 'callee_bytes': 86400, 'callee_remote': '<br>> <a href="http://192.168.1.6:28802/" target="_blank">192.168.1.6:28802</a>', 'caller_remote': '<a href="http://192.168.1.6:28556/" target="_blank">192.168.1.6:28556</a>', 'media_type':<br>
> 'audio', 'callee_local': '<a href="http://192.168.1.8:50090/" target="_blank">192.168.1.8:50090</a>', 'timeout_wait': 60,<br>> 'caller_local': '<a href="http://192.168.1.8:50088/" target="_blank">192.168.1.8:50088</a>', 'end_time': 71}],<br>
> 'caller_packets': {'audio': 552}, 'duration': 71, 'to_uri':<br>> '<a href="mailto:01088888888@192.168.1.8" target="_blank">01088888888@192.168.1.8</a>', 'from_uri': '<a href="mailto:1000@192.168.1.8" target="_blank">1000@192.168.1.8</a>', 'callee_ua':<br>
> 'YATE/2.0.0', 'caller_ua': 'YATE/2.0.0'}<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:identify_command: dtgram->len is 7<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>
> DBG:mi_datagram:mi_datagram_server: we have a valid command<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_server: after identifing the command, the<br>> received datagram is 795 0<br>
> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_server: parsing the command's params<br>> Nov 24 16:05:54 localhost cdrtool[3394]: DebitBalance<br>> CallId=<a href="mailto:1440081054@192.168.1.8" target="_blank">1440081054@192.168.1.8</a><br>
</div></div>> From=<a href="mailto:sip%3A1000@192.168.1.8" target="_blank">sip:1000@192.168.1.8</a><<a href="mailto:sip%253A1000@192.168.1.8" target="_blank">sip%3A1000@192.168.1.8</a>>To=<br>
<div>
<div></div>
<div>> <a href="http://sip:01088888888@192.168.1.6:3212/" target="_blank">sip:01088888888@192.168.1.6:3212</a> Gateway=<a href="http://127.0.0.1/" target="_blank">127.0.0.1</a> Duration=71<br>> Nov 24 16:05:54 localhost cdrtool[3394]: ConnectFee=0.0000<br>
> CallId=<a href="mailto:1440081054@192.168.1.8" target="_blank">1440081054@192.168.1.8</a> Span=1 Duration=71 DestId=8610 domain=<br>> <a href="http://192.168.1.8/" target="_blank">192.168.1.8</a> Profile=551 Period=weekday Rate=551 Interval=0-18<br>
> Cost=0.1200/60 Price=0.1420<br>> Nov 24 16:05:54 localhost cdrtool[3394]: Price=0.1420 Duration=71<br>> CallId=<a href="mailto:1440081054@192.168.1.8" target="_blank">1440081054@192.168.1.8</a> BillingParty=<a href="mailto:1000@192.168.1.8" target="_blank">1000@192.168.1.8</a> DestId=8610<br>
> MaxSessionTime=0<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: the remaining datagram to be<br>> parsed is 795 0 and 7 in length<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>
> DBG:mi_datagram:mi_datagram_parse_node: the string is not just a quoted<br>> string<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: found newline before<br>
> attr_separator--we have just the attribute's value<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: empty name, attr not quoted<br>> value <795> found<br>
> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: 1 data->len is 7<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: 2 data->len is 3<br>
> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_tree: adding node <> ; val <795><br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_tree: the remaining datagram has 3<br>
> bytes Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: the remaining datagram to be<br>> parsed is 0 and 3 in length<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>
> DBG:mi_datagram:mi_datagram_parse_node: the string is not just a quoted<br>> string<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: found newline before<br>
> attr_separator--we have just the attribute's value<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: empty name, attr not quoted<br>> value <0> found<br>
> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: 1 data->len is 3<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: 2 data->len is 1<br>
> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_tree: adding node <> ; val <0><br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_tree: the remaining datagram has 1<br>
> bytes Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_parse_node: the remaining datagram to be<br>> parsed is and 1 in length<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>
> DBG:mi_datagram:mi_datagram_server: done parsing the mi tree<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:dialog:*mi_terminate_dlg:<br>> h_entry 795 h_id 0<br>> *Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>
> DBG:dialog:lookup_dlg: *no dialog id=0 found on entry 795*<br>> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_server: command process<br>> (dlg_end_dlg)succeded Nov 24 16:05:54 localhost<br>
> /usr/sbin/opensips[11958]:<br>> DBG:mi_datagram:mi_datagram_server: the response: 404 Requested Dialog<br>> not found has been sent in 31 octets<br>> Nov 24 16:05:54 localhost media-dispatcher[3638]:<br>> [mediaproxy.interfaces.opensips.UNIXSocketProtocol (UDP)] error: failed<br>
> to end dialog: *404 Requested Dialog not found<br></div></div>> *<br><br><br><br>--<br><font color="#888888">Dan<br></font></blockquote></div><br>