<br><br>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">john li</b> <span dir="ltr"><<a href="mailto:lijy83@gmail.com">lijy83@gmail.com</a>></span><br>Date: 2008/11/24<br>
Subject: MediaProxy can't Closing expired calls, 404 Requested Dialog not found<br>To: <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br><br><br>
<div>Hi,</div>
<div> </div>
<div>I'm trying to enable MediaProxy to close expired calls but got an error</div>
<div> </div>
<div>Does anyone have any suggestions?</div>
<div> </div>
<div>Thanks a lot<br></div>
<div>John</div>
<div> </div>
<div> </div>
<div>here is the log: </div>
<div> </div>
<div> DBG:mi_datagram:identify_command: dtgram->len is 21<br>Nov 24 16:05:54 localhost media-dispatcher[3638]: [RelayServerProtocol,0,<a href="http://127.0.0.1/" target="_blank">127.0.0.1</a>] Got statistics: {'from_tag': '353485446', 'callee_packets': {'audio': 432}, <strong>'dialog_id': '795:0',</strong> 'start_time': 1227513882.5899999, 'timed_out': True, 'caller_bytes': {'audio': 110400}, 'callee_bytes': {'audio': 86400}, 'call_id': <a href="mailto:'1440081054@192.168.1.8'" target="_blank">'1440081054@192.168.1.8'</a>, 'to_tag': '1072710660', 'streams': [{'status': 'conntrack timeout', 'caller_codec': 'G711u', 'pdd': 0.54283404350300002, 'callee_codec': 'G711u', 'start_time': 0, 'caller_bytes': 110400, 'callee_bytes': 86400, 'callee_remote': '<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': 'audio', 'callee_local': '<a href="http://192.168.1.8:50090/" target="_blank">192.168.1.8:50090</a>', 'timeout_wait': 60, 'caller_local': '<a href="http://192.168.1.8:50088/" target="_blank">192.168.1.8:50088</a>', 'end_time': 71}], 'caller_packets': {'audio': 552}, 'duration': 71, 'to_uri': <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': 'YATE/2.0.0', 'caller_ua': 'YATE/2.0.0'}<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:identify_command: dtgram->len is 7<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: we have a valid command<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: after identifing the command, the received datagram is 795 0<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: parsing the command's params<br>
Nov 24 16:05:54 localhost cdrtool[3394]: DebitBalance <a href="mailto:CallId=1440081054@192.168.1.8" target="_blank">CallId=1440081054@192.168.1.8</a> From=<a href="mailto:sip%3A1000@192.168.1.8" target="_blank">sip:1000@192.168.1.8</a> To=<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 <a href="mailto:CallId=1440081054@192.168.1.8" target="_blank">CallId=1440081054@192.168.1.8</a> Span=1 Duration=71 DestId=8610 domain=<a href="http://192.168.1.8/" target="_blank">192.168.1.8</a> Profile=551 Period=weekday Rate=551 Interval=0-18 Cost=0.1200/60 Price=0.1420<br>
Nov 24 16:05:54 localhost cdrtool[3394]: Price=0.1420 Duration=71 <a href="mailto:CallId=1440081054@192.168.1.8" target="_blank">CallId=1440081054@192.168.1.8</a> <a href="mailto:BillingParty=1000@192.168.1.8" target="_blank">BillingParty=1000@192.168.1.8</a> DestId=8610 MaxSessionTime=0<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: the remaining datagram to be parsed is 795 0 and 7 in length<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: the string is not just a quoted string<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: found newline before attr_separator--we have just the attribute's value<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: empty name, attr not quoted value <795> found<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 1 data->len is 7<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 2 data->len is 3<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: adding node <> ; val <795><br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: the remaining datagram has 3 bytes<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: the remaining datagram to be parsed is 0 and 3 in length<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: the string is not just a quoted string<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: found newline before attr_separator--we have just the attribute's value<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: empty name, attr not quoted value <0> found<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 1 data->len is 3<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 2 data->len is 1<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: adding node <> ; val <0><br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: the remaining datagram has 1 bytes<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: the remaining datagram to be parsed is and 1 in length<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: done parsing the mi tree<br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:dialog:<strong>mi_terminate_dlg: h_entry 795 h_id 0<br></strong>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:dialog:lookup_dlg: <strong>no dialog id=0 found on entry 795</strong><br>
Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: command process (dlg_end_dlg)succeded<br>Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: the response: 404 Requested Dialog not found has been sent in 31 octets<br>
Nov 24 16:05:54 localhost media-dispatcher[3638]: [mediaproxy.interfaces.opensips.UNIXSocketProtocol (UDP)] error: failed to end dialog: <strong>404 Requested Dialog not found<br></strong></div>
<div> </div></div><br>