<billmsec>62</billmsec> The call was answered for less than 1 second. On Wednesday 23 February 2011, David Villasmil wrote:
Hello All,
I have an XML_CDR cdr that is not correct, i made some test and on one cdr (that i could find) which show endpoint_disposition as ANSWER when the call was NOT answered! The call didn't even go out of the box...
here's the CDR:
note that billsec is 0, but disposition is ANSWER... weird, i got more than one, also...
<cdr> <channel_data> <state>CS_REPORTING</state> <direction>inbound</direction> <state_number>11</state_number> <flags>0=1;1=1;3=1;35=1;36=1;38=1;46=1;51=1</flags> <caps>1=1;2=1;3=1</caps> </channel_data> <variables> <uuid>5d75e976-3ed9-11e0-a60b-fba7243e1308</uuid> <sip_local_network_addr>1.2.3.4</sip_local_network_addr> <sip_network_ip>1.2.3.4</sip_network_ip> <sip_network_port>9774</sip_network_port> <sip_received_ip>1.2.3.4</sip_received_ip> <sip_received_port>9774</sip_received_port> <sip_via_protocol>udp</sip_via_protocol> <sip_from_user>8889990</sip_from_user> <sip_from_port>5060</sip_from_port> <sip_from_uri>8889990%1.2.3.4%3A5060</sip_from_uri> <sip_from_host>1.2.3.4</sip_from_host> <sip_from_user_stripped>8889990</sip_from_user_stripped> <sip_from_tag>2e41ba6e</sip_from_tag> <sofia_profile_name>external</sofia_profile_name>
<sip_full_via>SIP/2.0/UDP%1.2.3.4%3A9774%3Bbranch%3Dz9hG4bK-d8754z-c551a41 eb93bd648-1---d8754z-%3Brport%3D9774%3Breceived%3D1.2.3.4</sip_full_via> <sip_from_display>david</sip_from_display>
<sip_full_from>%22david%22%20%3Csip%3A8889990%1.2.3.4%3A5060%3E%3Btag%3D2e 41ba6e</sip_full_from> <sip_to_display>0013058883456</sip_to_display>
<sip_full_to>%220013058883456%22%20%3Csip%3A0013058883456%1.2.3.4%3A5060%3 E</sip_full_to> <sip_req_user>0013058883456</sip_req_user> <sip_req_port>5060</sip_req_port> <sip_req_uri>0013058883456%1.2.3.4%3A5060</sip_req_uri> <sip_req_host>1.2.3.4</sip_req_host> <sip_to_user>0013058883456</sip_to_user> <sip_to_port>5060</sip_to_port> <sip_to_uri>0013058883456%1.2.3.4%3A5060</sip_to_uri> <sip_to_host>1.2.3.4</sip_to_host> <sip_contact_user>8889990</sip_contact_user> <sip_contact_port>9774</sip_contact_port> <sip_contact_uri>8889990%1.2.3.4%3A9774</sip_contact_uri> <sip_contact_host>1.2.3.4</sip_contact_host> <channel_name>sofia/external/8889990%1.2.3.4%3A5060</channel_name> <sip_call_id>OGVkMmMyMmQ5MDEyOTU2MWUyN2M2NzBhYjk5ZmQzOTM.</sip_call_id>
<sip_user_agent>eyeBeam%20release%201102q%20stamp%2051814</sip_user_agent> <sip_via_host>1.2.3.4</sip_via_host> <sip_via_port>9774</sip_via_port> <sip_via_rport>9774</sip_via_rport> <max_forwards>70</max_forwards>
<switch_r_sdp>v%3D0%0D%0Ao%3D-%207%202%20IN%20IP4%1.2.3.4%0D%0As%3DCounter Path%20eyeBeam%201.5%0D%0Ac%3DIN%20IP4%1.2.3.4%0D%0At%3D0%200%0D%0Am%3Daudi o%2023746%20RTP/AVP%200%208%203%20101%0D%0Aa%3Drtpmap%3A101%20telephone-eve nt/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dalt%3A1%203%20%3A%20L2qFFNvS%20 HwniVnkK%1.2.3.4%2023746%0D%0Aa%3Dalt%3A2%202%20%3A%20HWrMm7HE%20Wk82PRBC%1 .2.3.4%2023746%0D%0Aa%3Dalt%3A3%201%20%3A%20virMBT30%20GCcqsUuh%1.2.3.4%202 3746%0D%0A</switch_r_sdp> <sip_use_codec_name>PCMU</sip_use_codec_name> <sip_use_codec_rate>8000</sip_use_codec_rate> <sip_use_codec_ptime>20</sip_use_codec_ptime> <read_codec>PCMU</read_codec> <read_rate>8000</read_rate> <write_codec>PCMU</write_codec> <write_rate>8000</write_rate> <outside_call>true</outside_call> <hangup_after_bridge>true</hangup_after_bridge>
<continue_on_fail>NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UN ALLOCATED_NUMBER,407</continue_on_fail>
<current_application_data>sofia/gateway/OPENSIP/0013058883456</current_app lication_data> <current_application>bridge</current_application> <local_media_ip>1.2.3.4</local_media_ip> <local_media_port>20342</local_media_port> <sip_use_pt>0</sip_use_pt> <rtp_use_ssrc>820599639</rtp_use_ssrc> <remote_media_ip>1.2.3.4</remote_media_ip> <remote_media_port>23746</remote_media_port> <originate_disposition>SUCCESS</originate_disposition> <bridge_channel>sofia/external/0013058883456</bridge_channel> <bridge_uuid>5d7e9d6e-3ed9-11e0-a60c-fba7243e1308</bridge_uuid> <signal_bond>5d7e9d6e-3ed9-11e0-a60c-fba7243e1308</signal_bond>
<switch_m_sdp>v%3D0%0D%0Ao%3Droot%2023193%2023194%20IN%20IP4%1.2.3.4%0D%0A s%3Dsession%0D%0Ac%3DIN%20IP4%1.2.3.4%0D%0At%3D0%200%0D%0Am%3Daudio%2021586 %20RTP/AVP%2018%203%200%208%20101%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3 Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A0 %20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20teleph one-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20 -%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A</switch_m_sdp>
<sip_local_sdp_str>v%3D0%0Ao%3DFreeSWITCH%201298396074%201298396076%20IN%2 0IP4%1.2.3.4%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%1.2.3.4%0At%3D0%200%0Am%3Daudi o%2020342%20RTP/AVP%200%20101%0Aa%3Drtpmap%3A0%20PCMU/8000%0Aa%3Drtpmap%3A1 01%20telephone-event/8000%0Aa%3Dfmtp%3A101%200-16%0Aa%3DsilenceSupp%3Aoff%2 0-%20-%20-%20-%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A</sip_local_sdp_str> <endpoint_disposition>ANSWER</endpoint_disposition> <bridge_hangup_cause>NORMAL_CLEARING</bridge_hangup_cause> <hangup_cause>NORMAL_CLEARING</hangup_cause> <hangup_cause_q850>16</hangup_cause_q850> <digits_dialed>none</digits_dialed> <start_stamp>2011-02-23%2000%3A13%3A31</start_stamp> <profile_start_stamp>2011-02-23%2000%3A13%3A31</profile_start_stamp> <answer_stamp>2011-02-23%2000%3A13%3A36</answer_stamp> <progress_media_stamp>2011-02-23%2000%3A13%3A36</progress_media_stamp> <end_stamp>2011-02-23%2000%3A13%3A36</end_stamp> <start_epoch>1298416411</start_epoch> <start_uepoch>1298416411795887</start_uepoch> <profile_start_epoch>1298416411</profile_start_epoch> <profile_start_uepoch>1298416411795887</profile_start_uepoch> <answer_epoch>1298416416</answer_epoch> <answer_uepoch>1298416416500657</answer_uepoch> <resurrect_epoch>0</resurrect_epoch> <resurrect_uepoch>0</resurrect_uepoch> <progress_epoch>0</progress_epoch> <progress_uepoch>0</progress_uepoch> <progress_media_epoch>1298416416</progress_media_epoch> <progress_media_uepoch>1298416416470740</progress_media_uepoch> <end_epoch>1298416416</end_epoch> <end_uepoch>1298416416562577</end_uepoch> <last_app>bridge</last_app> <last_arg>sofia/gateway/OPENSIP/0013058883456</last_arg> <caller_id>%22david%22%20%3C8889990%3E</caller_id> <duration>5</duration> <billsec>0</billsec> <progresssec>0</progresssec> <answersec>5</answersec> <progress_mediasec>5</progress_mediasec> <flow_billsec>5</flow_billsec> <mduration>4767</mduration> <billmsec>62</billmsec> <progressmsec>0</progressmsec> <answermsec>4705</answermsec> <progress_mediamsec>0</progress_mediamsec> <flow_billmsec>4767</flow_billmsec> <uduration>4766690</uduration> <billusec>61920</billusec> <progressusec>0</progressusec> <answerusec>4704770</answerusec> <progress_mediausec>4674853</progress_mediausec> <flow_billusec>4766690</flow_billusec> <sip_hangup_disposition>send_bye</sip_hangup_disposition> <rtp_audio_in_raw_bytes>0</rtp_audio_in_raw_bytes> <rtp_audio_in_media_bytes>0</rtp_audio_in_media_bytes> <rtp_audio_in_packet_count>0</rtp_audio_in_packet_count> <rtp_audio_in_media_packet_count>0</rtp_audio_in_media_packet_count> <rtp_audio_in_skip_packet_count>5</rtp_audio_in_skip_packet_count> <rtp_audio_in_jb_packet_count>0</rtp_audio_in_jb_packet_count> <rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count> <rtp_audio_in_cng_packet_count>0</rtp_audio_in_cng_packet_count> <rtp_audio_in_flush_packet_count>0</rtp_audio_in_flush_packet_count> <rtp_audio_out_raw_bytes>0</rtp_audio_out_raw_bytes> <rtp_audio_out_media_bytes>0</rtp_audio_out_media_bytes> <rtp_audio_out_packet_count>0</rtp_audio_out_packet_count> <rtp_audio_out_media_packet_count>0</rtp_audio_out_media_packet_count> <rtp_audio_out_skip_packet_count>0</rtp_audio_out_skip_packet_count> <rtp_audio_out_dtmf_packet_count>0</rtp_audio_out_dtmf_packet_count> <rtp_audio_out_cng_packet_count>0</rtp_audio_out_cng_packet_count> </variables> <app_log> <application app_name="set" app_data="outside_call=true"></application> <application app_name="info" app_data=""></application> <application app_name="set" app_data="hangup_after_bridge=true"></application> <application app_name="set" app_data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTIN ATION,UNALLOCATED_NUMBER,407"></application> <application app_name="bridge" app_data="sofia/gateway/OPENSIP/0013058883456"></application> </app_log> <callflow dialplan="XML" profile_index="1"> <extension name="outside_call" number="0013058883456" current_app="bridge"> <application app_name="set" app_data="outside_call=true"></application> <application app_name="info" app_data=""></application> <application app_name="set" app_data="hangup_after_bridge=true"></application> <application app_name="set" app_data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTIN ATION,UNALLOCATED_NUMBER,407"></application> <application app_name="bridge" app_data="sofia/gateway/${distributor(test)}13058883456"></application> <application last_executed="true" app_name="bridge" app_data="sofia/gateway/${distributor(test)}13058883456"></application> </extension> <caller_profile> <username>8889990</username> <dialplan>XML</dialplan> <caller_id_name>david</caller_id_name> <ani>8889990</ani> <aniii></aniii> <caller_id_number>8889990</caller_id_number> <network_addr>1.2.3.4</network_addr> <rdnis></rdnis> <destination_number>0013058883456</destination_number> <uuid>5d75e976-3ed9-11e0-a60b-fba7243e1308</uuid> <source>mod_sofia</source> <context>public</context> <chan_name>sofia/external/8889990@1.2.3.4:5060</chan_name> <originatee> <originatee_caller_profile> <username>8889990</username> <dialplan>XML</dialplan> <caller_id_name>david</caller_id_name> <ani>8889990</ani> <aniii></aniii> <caller_id_number>8889990</caller_id_number> <network_addr>1.2.3.4</network_addr> <rdnis></rdnis> <destination_number>0013058883456</destination_number> <uuid>5d7e9d6e-3ed9-11e0-a60c-fba7243e1308</uuid> <source>mod_sofia</source> <context>public</context> <chan_name>sofia/external/0013058883456</chan_name> </originatee_caller_profile> </originatee> </caller_profile> <times> <created_time>1298416411795887</created_time> <profile_created_time>1298416411795887</profile_created_time> <progress_time>0</progress_time> <progress_media_time>1298416416470740</progress_media_time> <answered_time>1298416416500657</answered_time> <hangup_time>1298416416562577</hangup_time> <resurrect_time>0</resurrect_time> <transfer_time>0</transfer_time> </times> </callflow> </cdr>
print_r
Array ( [] => Array ( [channel_data] =>
[state] => CS_REPORTING [direction] => inbound [state_number] => 11 [flags] => 0=1;1=1;3=1;35=1;36=1;38=1;46=1;51=1 [caps] => 1=1;2=1;3=1 )
[variables] => Array ( [uuid] => 5d75e976-3ed9-11e0-a60b-fba7243e1308 [sip_local_network_addr] => 1.2.3.4 [sip_network_ip] => 1.2.3.4 [sip_network_port] => 9774 [sip_received_ip] => 1.2.3.4 [sip_received_port] => 9774 [sip_via_protocol] => udp [sip_from_user] => 8889990 [sip_from_port] => 5060 [sip_from_uri] => 8889990%1.2.3.4%3A5060 [sip_from_host] => 1.2.3.4 [sip_from_user_stripped] => 8889990 [sip_from_tag] => 2e41ba6e [sofia_profile_name] => external [sip_full_via] => SIP/2.0/UDP%1.2.3.4%3A9774%3Bbranch%3Dz9hG4bK-d8754z-c551a41eb93bd648-1---d 8754z-%3Brport%3D9774%3Breceived%3D1.2.3.4 [sip_from_display] => david [sip_full_from] => %22david%22%20%3Csip%3A8889990%1.2.3.4%3A5060%3E%3Btag%3D2e41ba6e [sip_to_display] => 0013058883456 [sip_full_to] => %220013058883456%22%20%3Csip%3A0013058883456%1.2.3.4%3A5060%3E [sip_req_user] => 0013058883456 [sip_req_port] => 5060 [sip_req_uri] => 0013058883456%1.2.3.4%3A5060 [sip_req_host] => 1.2.3.4 [sip_to_user] => 0013058883456 [sip_to_port] => 5060 [sip_to_uri] => 0013058883456%1.2.3.4%3A5060 [sip_to_host] => 1.2.3.4 [sip_contact_user] => 8889990 [sip_contact_port] => 9774 [sip_contact_uri] => 8889990%1.2.3.4%3A9774 [sip_contact_host] => 1.2.3.4 [channel_name] => sofia/external/8889990%1.2.3.4%3A5060 [sip_call_id] => OGVkMmMyMmQ5MDEyOTU2MWUyN2M2NzBhYjk5ZmQzOTM. [sip_user_agent] => eyeBeam%20release%201102q%20stamp%2051814 [sip_via_host] => 1.2.3.4 [sip_via_port] => 9774 [sip_via_rport] => 9774 [max_forwards] => 70 [switch_r_sdp] => v%3D0%0D%0Ao%3D-%207%202%20IN%20IP4%1.2.3.4%0D%0As%3DCounterPath%20eyeBeam% 201.5%0D%0Ac%3DIN%20IP4%1.2.3.4%0D%0At%3D0%200%0D%0Am%3Daudio%2023746%20RTP /AVP%200%208%203%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa% 3Dfmtp%3A101%200-15%0D%0Aa%3Dalt%3A1%203%20%3A%20L2qFFNvS%20HwniVnkK%1.2.3. 4%2023746%0D%0Aa%3Dalt%3A2%202%20%3A%20HWrMm7HE%20Wk82PRBC%1.2.3.4%2023746% 0D%0Aa%3Dalt%3A3%201%20%3A%20virMBT30%20GCcqsUuh%1.2.3.4%2023746%0D%0A [sip_use_codec_name] => PCMU [sip_use_codec_rate] => 8000 [sip_use_codec_ptime] => 20 [read_codec] => PCMU [read_rate] => 8000 [write_codec] => PCMU [write_rate] => 8000 [outside_call] => true [hangup_after_bridge] => true [continue_on_fail] => NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UNALLOCATED_NUMBER,40 7 [current_application_data] => sofia/gateway/OPENSIP/0013058883456 [current_application] => bridge [local_media_ip] => 1.2.3.4 [local_media_port] => 20342 [sip_use_pt] => 0 [rtp_use_ssrc] => 820599639 [remote_media_ip] => 1.2.3.4 [remote_media_port] => 23746 [originate_disposition] => SUCCESS [bridge_channel] => sofia/external/0013058883456 [bridge_uuid] => 5d7e9d6e-3ed9-11e0-a60c-fba7243e1308 [signal_bond] => 5d7e9d6e-3ed9-11e0-a60c-fba7243e1308 [switch_m_sdp] => v%3D0%0D%0Ao%3Droot%2023193%2023194%20IN%20IP4%1.2.3.4%0D%0As%3Dsession%0D% 0Ac%3DIN%20IP4%1.2.3.4%0D%0At%3D0%200%0D%0Am%3Daudio%2021586%20RTP/AVP%2018 %203%200%208%20101%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20an nexb%3Dno%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D %0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000% 0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0A a%3Dptime%3A20%0D%0A [sip_local_sdp_str] => v%3D0%0Ao%3DFreeSWITCH%201298396074%201298396076%20IN%20IP4%1.2.3.4%0As%3DF reeSWITCH%0Ac%3DIN%20IP4%1.2.3.4%0At%3D0%200%0Am%3Daudio%2020342%20RTP/AVP% 200%20101%0Aa%3Drtpmap%3A0%20PCMU/8000%0Aa%3Drtpmap%3A101%20telephone-event /8000%0Aa%3Dfmtp%3A101%200-16%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0Aa%3 Dptime%3A20%0Aa%3Dsendrecv%0A [endpoint_disposition] => ANSWER [bridge_hangup_cause] => NORMAL_CLEARING [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2011-02-23%2000%3A13%3A31 [profile_start_stamp] => 2011-02-23%2000%3A13%3A31 [answer_stamp] => 2011-02-23%2000%3A13%3A36 [progress_media_stamp] => 2011-02-23%2000%3A13%3A36 [end_stamp] => 2011-02-23%2000%3A13%3A36 [start_epoch] => 1298416411 [start_uepoch] => 1298416411795887 [profile_start_epoch] => 1298416411 [profile_start_uepoch] => 1298416411795887 [answer_epoch] => 1298416416 [answer_uepoch] => 1298416416500657 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1298416416 [progress_media_uepoch] => 1298416416470740 [end_epoch] => 1298416416 [end_uepoch] => 1298416416562577 [last_app] => bridge [last_arg] => sofia/gateway/OPENSIP/0013058883456 [caller_id] => %22david%22%20%3C8889990%3E [duration] => 5 [billsec] => 0 [progresssec] => 0 [answersec] => 5 [progress_mediasec] => 5 [flow_billsec] => 5 [mduration] => 4767 [billmsec] => 62 [progressmsec] => 0 [answermsec] => 4705 [progress_mediamsec] => 0 [flow_billmsec] => 4767 [uduration] => 4766690 [billusec] => 61920 [progressusec] => 0 [answerusec] => 4704770 [progress_mediausec] => 4674853 [flow_billusec] => 4766690 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 0 [rtp_audio_in_media_bytes] => 0 [rtp_audio_in_packet_count] => 0 [rtp_audio_in_media_packet_count] => 0 [rtp_audio_in_skip_packet_count] => 5 [rtp_audio_in_jb_packet_count] => 0 [rtp_audio_in_dtmf_packet_count] => 0 [rtp_audio_in_cng_packet_count] => 0 [rtp_audio_in_flush_packet_count] => 0 [rtp_audio_out_raw_bytes] => 0 [rtp_audio_out_media_bytes] => 0 [rtp_audio_out_packet_count] => 0 [rtp_audio_out_media_packet_count] => 0 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 )
[app_log] => Array ( [0] => Array ( [app_name] => set [app_data] => outside_call=true )
[1] => Array ( [app_name] => info [app_data] => )
[2] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true )
[3] => Array ( [app_name] => set [app_data] => continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UNAL LOCATED_NUMBER,407 )
[4] => Array ( [app_name] => bridge [app_data] => sofia/gateway/OPENSIP/0013058883456 )
)
[callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [extension] => Array ( [name] => outside_call [number] => 0013058883456 [current_app] => bridge [application] => Array ( [0] => Array ( [app_name] => set [app_data] => outside_call=true )
[1] => Array ( [app_name] => info [app_data] => )
[2] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true )
[3] => Array ( [app_name] => set [app_data] => continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UNAL LOCATED_NUMBER,407 )
[4] => Array ( [app_name] => bridge [app_data] => sofia/gateway/${distributor(test)}13058883456 )
[5] => Array ( [last_executed] => true [app_name] => bridge [app_data] => sofia/gateway/${distributor(test)}13058883456 )
)
)
[caller_profile] => Array ( [username] => 8889990 [dialplan] => XML [caller_id_name] => david [ani] => 8889990 [caller_id_number] => 8889990 [network_addr] => 1.2.3.4 [destination_number] => 0013058883456 [uuid] => 5d7e9d6e-3ed9-11e0-a60c-fba7243e1308 [source] => mod_sofia [context] => public [chan_name] => sofia/external/0013058883456 [originatee] =>
[originatee_caller_profile] =>
)
[times] => Array ( [created_time] => 1298416411795887 [profile_created_time] => 1298416411795887 [progress_time] => 0 [progress_media_time] => 1298416416470740 [answered_time] => 1298416416500657 [hangup_time] => 1298416416562577 [resurrect_time] => 0 [transfer_time] => 0 )
)
)
)