Hi, I'm trying to enable MediaProxy to close expired calls but got an error Does anyone have any suggestions? Thanks a lot John here is the log: DBG:mi_datagram:identify_command: dtgram->len is 21 Nov 24 16:05:54 localhost media-dispatcher[3638]: [RelayServerProtocol,0, 127.0.0.1] Got statistics: {'from_tag': '353485446', 'callee_packets': {'audio': 432}, *'dialog_id': '795:0',* 'start_time': 1227513882.5899999, 'timed_out': True, 'caller_bytes': {'audio': 110400}, 'callee_bytes': {'audio': 86400}, 'call_id': '1440081054@192.168.1.8', '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': ' 192.168.1.6:28802', 'caller_remote': '192.168.1.6:28556', 'media_type': 'audio', 'callee_local': '192.168.1.8:50090', 'timeout_wait': 60, 'caller_local': '192.168.1.8:50088', 'end_time': 71}], 'caller_packets': {'audio': 552}, 'duration': 71, 'to_uri': '01088888888@192.168.1.8', 'from_uri': '1000@192.168.1.8', 'callee_ua': 'YATE/2.0.0', 'caller_ua': 'YATE/2.0.0'} Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:identify_command: dtgram->len is 7 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: we have a valid command 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 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: parsing the command's params Nov 24 16:05:54 localhost cdrtool[3394]: DebitBalance CallId=1440081054@192.168.1.8 From=sip:1000@192.168.1.8<sip%3A1000@192.168.1.8>To= sip:01088888888@192.168.1.6:3212 Gateway=127.0.0.1 Duration=71 Nov 24 16:05:54 localhost cdrtool[3394]: ConnectFee=0.0000 CallId=1440081054@192.168.1.8 Span=1 Duration=71 DestId=8610 domain= 192.168.1.8 Profile=551 Period=weekday Rate=551 Interval=0-18 Cost=0.1200/60 Price=0.1420 Nov 24 16:05:54 localhost cdrtool[3394]: Price=0.1420 Duration=71 CallId=1440081054@192.168.1.8 BillingParty=1000@192.168.1.8 DestId=8610 MaxSessionTime=0 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 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 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 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 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 1 data->len is 7 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 2 data->len is 3 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: adding node <> ; val <795> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: the remaining datagram has 3 bytes 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 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 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 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 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 1 data->len is 3 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_node: 2 data->len is 1 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: adding node <> ; val <0> Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_parse_tree: the remaining datagram has 1 bytes 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 Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: done parsing the mi tree Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:dialog:*mi_terminate_dlg: h_entry 795 h_id 0 *Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:dialog:lookup_dlg: *no dialog id=0 found on entry 795* Nov 24 16:05:54 localhost /usr/sbin/opensips[11958]: DBG:mi_datagram:mi_datagram_server: command process (dlg_end_dlg)succeded 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 Nov 24 16:05:54 localhost media-dispatcher[3638]: [mediaproxy.interfaces.opensips.UNIXSocketProtocol (UDP)] error: failed to end dialog: *404 Requested Dialog not found *