[2024-08-28 13:53:17] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:17] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:17] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => outbound [state_number] => 11 [flags] => 0=1;1=1;2=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 42484 [media_bytes] => 42484 [packet_count] => 247 [media_packet_count] => 247 [skip_packet_count] => 4 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 0 [jitter_max_variance] => 0 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 40936 [media_bytes] => 40936 [packet_count] => 238 [media_packet_count] => 238 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => outbound [is_outbound] => true [uuid] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0 [session_id] => 22142 [sip_gateway_name] => Goldtel [sip_route_uri] => sip:102.220.232.100 [sip_profile_name] => gateway [text_media_flow] => disabled [channel_name] => sofia/default/27217730138 [sip_destination_url] => sip:27217730138@gtsbc.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [max_forwards] => 26 [originator_codec] => PCMA@8000h@20i [originator] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [switch_m_sdp] => v=0 o=bk 1204904 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34788 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [leg_timeout] => 0 [absolute_codec_string] => ^^:PCMA:PCMU:G729 [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [sip_cid_type] => none [originate_early_media] => true [originating_leg_uuid] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724836401 1724836402 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 16790 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [sip_outgoing_contact_uri] => [sip_req_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sofia_profile_name] => default [recovery_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [rtp_use_codec_string] => ^^:PCMA:PCMU:G729 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [local_media_ip] => 102.220.232.19 [local_media_port] => 16790 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 1457878383 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.87 [remote_media_port] => 22490 [last_bridge_to] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [signal_bond] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [sip_local_network_addr] => 102.220.232.19 [sip_reply_host] => 102.220.232.100 [sip_reply_port] => 5060 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b [sip_user_agent] => GoldtelSolutions [sip_allow] => INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE [sip_recover_contact] => [sip_invite_route_uri] => , [sip_invite_record_route] => , [sip_full_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKmFa96gjF7NtBK [sip_recover_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKmFa96gjF7NtBK [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=79Z2yB0r2veSF [sip_full_to] => ;tag=yveXt6a7BrF2D [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.19 [sip_from_host] => 102.220.232.19 [sip_to_user] => 27217730138 [sip_to_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_contact_params] => transport=udp [sip_contact_user] => 27217730138 [sip_contact_port] => 5060 [sip_contact_uri] => 27217730138@196.31.25.91:5060 [sip_contact_host] => 196.31.25.91 [sip_to_tag] => yveXt6a7BrF2D [sip_from_tag] => 79Z2yB0r2veSF [sip_cseq] => 87872803 [sip_call_id] => b4a4b532-dfe7-123d-53a7-44a8424611a9 [switch_r_sdp] => v=0 o=FreeSWITCH 1724830700 1724830701 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 22490 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [current_application] => record_session [last_sent_callee_id_name] => 27876300014 [last_sent_callee_id_number] => 27876300014 [sip_hangup_phrase] => OK [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_hangup_cause] => NORMAL_CLEARING [last_bridge_proto_specific_hangup_cause] => sip:200 [record_file_size] => 78124 [record_samples] => 39040 [record_seconds] => 4 [record_ms] => 4880 [record_completion_cause] => success-silence [bridge_hangup_cause] => NORMAL_CLEARING [call_uuid] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0 [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:11 [profile_start_stamp] => 2024-08-28 13:53:11 [answer_stamp] => 2024-08-28 13:53:12 [bridge_stamp] => 2024-08-28 13:53:12 [progress_media_stamp] => 2024-08-28 13:53:12 [end_stamp] => 2024-08-28 13:53:17 [start_epoch] => 1724853191 [start_uepoch] => 1724853191630283 [profile_start_epoch] => 1724853191 [profile_start_uepoch] => 1724853191630283 [answer_epoch] => 1724853192 [answer_uepoch] => 1724853192630283 [bridge_epoch] => 1724853192 [bridge_uepoch] => 1724853192570283 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853192 [progress_media_uepoch] => 1724853192550284 [end_epoch] => 1724853197 [end_uepoch] => 1724853197550282 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [caller_id] => "27876300014" <27876300014> [duration] => 6 [billsec] => 5 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 6 [mduration] => 5920 [billmsec] => 4920 [progressmsec] => 0 [answermsec] => 1000 [waitmsec] => 940 [progress_mediamsec] => 920 [flow_billmsec] => 5920 [uduration] => 5919999 [billusec] => 4919999 [progressusec] => 0 [answerusec] => 1000000 [waitusec] => 940000 [progress_mediausec] => 920001 [flow_billusec] => 5919999 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 42484 [rtp_audio_in_media_bytes] => 42484 [rtp_audio_in_packet_count] => 247 [rtp_audio_in_media_packet_count] => 247 [rtp_audio_in_skip_packet_count] => 4 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 0.00 [rtp_audio_in_jitter_max_variance] => 0.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.00 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 40936 [rtp_audio_out_media_bytes] => 40936 [rtp_audio_out_packet_count] => 238 [rtp_audio_out_media_packet_count] => 238 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [app_stamp] => 1724853192648603 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 [originator] => Array ( [originator_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853191630283 [profile_created_time] => 1724853191630283 [progress_time] => 0 [progress_media_time] => 1724853192550284 [answered_time] => 1724853192630283 [bridged_time] => 1724853192570283 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853197550282 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:17] Going to call_notification [2024-08-28 13:53:17] ========== Print all logs ========== [2024-08-28 13:53:17] sip_hangup_disposition : send_bye [2024-08-28 13:53:17] ==================================================== [2024-08-28 13:53:17] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:53:17] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => inbound [state_number] => 11 [flags] => 0=1;1=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 40936 [media_bytes] => 40936 [packet_count] => 238 [media_packet_count] => 238 [skip_packet_count] => 11 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 0 [jitter_max_variance] => 0 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 42140 [media_bytes] => 42140 [packet_count] => 245 [media_packet_count] => 245 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => inbound [uuid] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [session_id] => 22141 [sip_from_user] => 27876300014 [sip_from_port] => 8356 [sip_from_uri] => 27876300014@196.7.219.43:8356 [sip_from_host] => 196.7.219.43 [video_media_flow] => disabled [text_media_flow] => disabled [channel_name] => sofia/default/27876300014@196.7.219.43:8356 [sip_local_network_addr] => 102.220.232.19 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853191470284 [sip_received_ip] => 102.220.232.100 [sip_received_port] => 5060 [sip_via_protocol] => udp [sip_authorized] => true [sip_acl_authed_by] => default [sip_from_user_stripped] => 27876300014 [sofia_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [recovery_profile_name] => default [sip_invite_route_uri] => [sip_invite_record_route] => [sip_allow] => INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, REFER, NOTIFY, SUBSCRIBE, UPDATE, PRACK [sip_req_user] => 0217730138 [sip_req_port] => 5060 [sip_req_uri] => 0217730138@102.220.232.100:5060 [sip_req_host] => 102.220.232.100 [sip_to_user] => 0217730138 [sip_to_port] => 5060 [sip_to_uri] => 0217730138@102.220.232.100:5060 [sip_to_host] => 102.220.232.100 [sip_contact_user] => 27876300014 [sip_contact_port] => 8356 [sip_contact_uri] => 27876300014@196.7.219.43:8356 [sip_contact_host] => 196.7.219.43 [sip_via_host] => 102.220.232.100 [sip_via_port] => 5060 [max_forwards] => 27 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [switch_r_sdp] => v=0 o=bk 1204904 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34788 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b,mod_bcg729.G729@8000h@20i@8000b,CORE_PCM_MODULE.PCMU@8000h@20i@64000b [rtp_use_codec_string] => PCMA,PCMU,G729,G722 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [call_uuid] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [effective_destination_number] => 27217730138 [execute_on_answer_1] => sched_hangup +3600 normal_clearing [notify_flag] => 0 [notify_credit_limit] => 45.00000 [type] => 0 [callstart] => 2024-08-28 13:53:11 [hangup_after_bridge] => true [continue_on_fail] => TRUE [account_id] => 419 [parent_id] => 405 [entity_id] => 0 [call_processed] => internal [call_direction] => outbound [accountname] => default [origination_rates] => ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [original_caller_id_name] => 27876300014 [original_caller_id_number] => 27876300014 [limit_usage_8773282952_user_8773282952] => 1 [limit_usage_6840389175_user_6840389175] => 1 [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [effective_caller_id_name] => 27876300014 [effective_caller_id_number] => 27876300014 [calltype] => STANDARD [termination_rates] => ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [trunk_id] => 97 [provider_id] => 159 [rate_flag] => 0 [daily_call_credit_limit] => 10000.00000 [monthly_call_credit_limit] => 20000.00000 [daily_call_used_limit] => 35.14860 [monthly_call_used_limit] => 1443.22750 [quality_trunk_seq] => 97 [force_trunk_flag] => 20654379 [intcall] => 0 [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [limit_realm] => Goldtel [limit_id] => gw_Goldtel [limit_max] => 20 [limit_usage] => 2 [limit_usage_Goldtel_gw_Goldtel] => 2 [originated_legs] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724830700 1724830701 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 22490 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [local_media_ip] => 102.220.232.19 [local_media_port] => 31080 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 3270772607 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34788 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0;NONE [last_bridge_to] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0 [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0 [signal_bond] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0 [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724822112 1724822114 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 31080 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [current_application] => record_session [sip_to_tag] => 6069vgFN5Kr6K [sip_from_tag] => b1b1274d2p [sip_cseq] => 2 [sip_call_id] => c69c44b-7c6b4374-c1186dd5-e78ee98f [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bKc059.5cbbb64.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bca00cf99c-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=b1b1274d2p [sip_full_to] => ;tag=6069vgFN5Kr6K [last_sent_callee_id_name] => Outbound Call [last_sent_callee_id_number] => 27217730138 [sip_term_status] => 200 [proto_specific_hangup_cause] => sip:200 [sip_term_cause] => 16 [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_role] => originator [sip_hangup_disposition] => recv_bye [bridge_hangup_cause] => NORMAL_CLEARING [record_file_size] => 78444 [record_samples] => 39200 [record_seconds] => 4 [record_ms] => 4900 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:11 [profile_start_stamp] => 2024-08-28 13:53:11 [answer_stamp] => 2024-08-28 13:53:12 [bridge_stamp] => 2024-08-28 13:53:12 [progress_media_stamp] => 2024-08-28 13:53:12 [end_stamp] => 2024-08-28 13:53:17 [start_epoch] => 1724853191 [start_uepoch] => 1724853191470284 [profile_start_epoch] => 1724853191 [profile_start_uepoch] => 1724853191470284 [answer_epoch] => 1724853192 [answer_uepoch] => 1724853192650279 [bridge_epoch] => 1724853192 [bridge_uepoch] => 1724853192570283 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853192 [progress_media_uepoch] => 1724853192570283 [end_epoch] => 1724853197 [end_uepoch] => 1724853197550282 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [caller_id] => "Ext 114" <27876300014> [duration] => 6 [billsec] => 5 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 6 [mduration] => 6080 [billmsec] => 4900 [progressmsec] => 0 [answermsec] => 1180 [waitmsec] => 1100 [progress_mediamsec] => 1100 [flow_billmsec] => 6080 [uduration] => 6079998 [billusec] => 4900003 [progressusec] => 0 [answerusec] => 1179995 [waitusec] => 1099999 [progress_mediausec] => 1099999 [flow_billusec] => 6079998 [rtp_audio_in_raw_bytes] => 40936 [rtp_audio_in_media_bytes] => 40936 [rtp_audio_in_packet_count] => 238 [rtp_audio_in_media_packet_count] => 238 [rtp_audio_in_skip_packet_count] => 11 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 0.00 [rtp_audio_in_jitter_max_variance] => 0.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.00 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 42140 [rtp_audio_out_media_bytes] => 42140 [rtp_audio_out_packet_count] => 245 [rtp_audio_out_media_packet_count] => 245 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 [app_stamp] => 1724853191623253 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853191623487 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853191623696 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853191623935 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853191624167 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:11 [app_stamp] => 1724853191624385 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853191624563 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853191624729 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853191624899 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853191625070 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853191625239 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853191625409 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853191625582 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853191625766 ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [app_stamp] => 1724853191625938 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853191626112 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853191626296 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853191626475 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853191627342 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853191627781 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853191628052 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853191628241 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [app_stamp] => 1724853191628429 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853191628618 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853191628827 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853191629016 ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [app_stamp] => 1724853191629208 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853191629402 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853191629595 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853191629790 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853191629988 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853191630193 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.14860 [app_stamp] => 1724853191630399 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.22750 [app_stamp] => 1724853191630599 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853191630804 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853191631008 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853191631211 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853191631420 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853191631627 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [app_stamp] => 1724853191631838 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853191632059 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 [app_stamp] => 1724853191632541 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853192656541 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/888e8d9f-201c-4dbf-ae9f-df250b3eeba9.wav [app_stamp] => 1724853192656877 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [extension] => Array ( [name] => 27217730138 [number] => 0217730138 [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 ) [4] => Array ( [app_name] => set [app_data] => type=0 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:11 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE ) [8] => Array ( [app_name] => set [app_data] => account_id=419 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound ) [13] => Array ( [app_name] => set [app_data] => accountname=default ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.14860 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.22750 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 ) ) ) [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 888e8d9f-201c-4dbf-ae9f-df250b3eeba9 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 [originatee] => Array ( [originatee_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => aca1f3bb-c519-43d9-a0c3-2c552d1164b0 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853191470284 [profile_created_time] => 1724853191470284 [progress_time] => 0 [progress_media_time] => 1724853192570283 [answered_time] => 1724853192650279 [bridged_time] => 1724853192570283 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853197550282 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:17] Going to call_notification [2024-08-28 13:53:17] ========== Print all logs ========== [2024-08-28 13:53:17] sip_hangup_disposition : recv_bye [2024-08-28 13:53:17] ==================================================== [2024-08-28 13:53:17] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:53:17] [call_notification] : source_main : 27217730138 [2024-08-28 13:53:17] [call_notification] : destination : 27876300014 [2024-08-28 13:53:17] [call_notification] : get_notification_info : null [2024-08-28 13:53:17] call_notification end [2024-08-28 13:53:17] Done to call_notification [2024-08-28 13:53:17] [call_notification] : source_main : 27876300014 [2024-08-28 13:53:17] [call_notification] : destination : 0217730138 [2024-08-28 13:53:17] [call_notification] : get_notification_info : null [2024-08-28 13:53:17] call_notification end [2024-08-28 13:53:17] Done to call_notification [2024-08-28 13:53:17] Origination Rates Array::: [2024-08-28 13:53:17] Array ( ) [2024-08-28 13:53:17] *********************** Trunk in package_id: ************* [2024-08-28 13:53:17] dataVariable_array': Array [2024-08-28 13:53:17] GET flat_disconnect_fee : 0 [2024-08-28 13:53:17] GET disconnect_fee_after : 0 [2024-08-28 13:53:17] GET disconnect_fee : 0 [2024-08-28 13:53:17] GET minute_to_seconds : 60 [2024-08-28 13:53:17] Return cost 0.0275 [2024-08-28 13:53:17] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:53:17] dataVariable_array': Array [2024-08-28 13:53:17] GET flat_disconnect_fee : 0 [2024-08-28 13:53:17] GET disconnect_fee_after : 0 [2024-08-28 13:53:17] GET disconnect_fee : 0 [2024-08-28 13:53:17] GET minute_to_seconds : 60 [2024-08-28 13:53:17] Return cost 0.0075 [2024-08-28 13:53:17] dataVariable_array': Array [2024-08-28 13:53:17] GET flat_disconnect_fee : 0 [2024-08-28 13:53:17] GET disconnect_fee_after : 0 [2024-08-28 13:53:17] GET disconnect_fee : 0 [2024-08-28 13:53:17] GET minute_to_seconds : 60 [2024-08-28 13:53:17] Return cost 0.0234 [2024-08-28 13:53:17] dataVariable_array': Array [2024-08-28 13:53:17] GET flat_disconnect_fee : 0 [2024-08-28 13:53:17] GET disconnect_fee_after : 0 [2024-08-28 13:53:17] GET disconnect_fee : 0 [2024-08-28 13:53:17] GET minute_to_seconds : 60 [2024-08-28 13:53:17] Return cost 0.0234 [2024-08-28 13:53:17] Debit :0.0275 Cost : 0 Provider Cost : 0.0234 [2024-08-28 13:53:17] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:53:17] *********calltype::::::**************STANDARD************* [2024-08-28 13:53:17] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:53:17] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:53:17] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:17] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.3785 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:17] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.0363 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:17] INSERT INTO cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,trunk_id,trunkip,callerip,disposition,callstart,debit,cost,provider_id,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,provider_code,provider_code_destination,provider_cost,provider_call_cost,call_direction,calltype,call_request,country_id,sip_user,ct,end_stamp,billmsec,answermsec,waitmsec,progress_mediamsec,flow_billmsec,rtp_mos,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('888e8d9f-201c-4dbf-ae9f-df250b3eeba9','419','0','27876300014 <27876300014>','27217730138','5',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:53:11','0.0275','0.0234',159,'187','','^27217730.*','RSA Goldtel Geographic','0.3300000000','405','^27217730.*','RSA Goldtel Geographic','0.2805000000','^27217730.*','RSA Goldtel Geographic','0.0900000000','0.0075','Outbound','STANDARD','','0','27876300014','0','2024-08-28 13:53:16','4900','1180','1100','1100','1100','4.50','','','') [2024-08-28 13:53:17] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:17] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0275,@amount := balance-0.0275) WHERE id=419 [2024-08-28 13:53:17] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+-0.0234,@amount := balance--0.0234) WHERE id=159 [2024-08-28 13:53:17] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:53:17] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:17] dataVariable_array': Array [2024-08-28 13:53:17] GET flat_disconnect_fee : 0 [2024-08-28 13:53:17] GET disconnect_fee_after : 0 [2024-08-28 13:53:17] GET disconnect_fee : 0 [2024-08-28 13:53:17] GET minute_to_seconds : 60 [2024-08-28 13:53:17] Return cost 0.0234 [2024-08-28 13:53:17] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:17] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:17] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.172 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:17] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2509 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:17] INSERT INTO reseller_cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,disposition,callstart,debit,cost,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,call_direction,calltype,call_request,country_id,end_stamp,trunk_id,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('888e8d9f-201c-4dbf-ae9f-df250b3eeba9','405','1','27876300014 <27876300014>','27217730138','5','NORMAL_CLEARING [16]','2024-08-28 13:53:11','0.0234','0.0075','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:16','97','','','') [2024-08-28 13:53:17] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0234,@amount := balance-0.0234) WHERE id=405 [2024-08-28 13:53:17] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:53:17] *************************** CDR ends ******************************** [2024-08-28 13:53:21] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:21] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => inbound [state_number] => 11 [flags] => 0=1;1=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 23392 [media_bytes] => 23392 [packet_count] => 136 [media_packet_count] => 136 [skip_packet_count] => 13 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 0 [jitter_max_variance] => 0 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 24424 [media_bytes] => 24424 [packet_count] => 142 [media_packet_count] => 142 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => inbound [uuid] => 872c1726-e54a-4efa-b5d6-c2416866726a [session_id] => 22143 [sip_from_user] => 27876300014 [sip_from_port] => 8356 [sip_from_uri] => 27876300014@196.7.219.43:8356 [sip_from_host] => 196.7.219.43 [video_media_flow] => disabled [text_media_flow] => disabled [channel_name] => sofia/default/27876300014@196.7.219.43:8356 [sip_local_network_addr] => 102.220.232.19 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853198170285 [sip_received_ip] => 102.220.232.100 [sip_received_port] => 5060 [sip_via_protocol] => udp [sip_authorized] => true [sip_acl_authed_by] => default [sip_from_user_stripped] => 27876300014 [sofia_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [recovery_profile_name] => default [sip_invite_route_uri] => [sip_invite_record_route] => [sip_allow] => INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, REFER, NOTIFY, SUBSCRIBE, UPDATE, PRACK [sip_req_user] => 0217730138 [sip_req_port] => 5060 [sip_req_uri] => 0217730138@102.220.232.100:5060 [sip_req_host] => 102.220.232.100 [sip_to_user] => 0217730138 [sip_to_port] => 5060 [sip_to_uri] => 0217730138@102.220.232.100:5060 [sip_to_host] => 102.220.232.100 [sip_contact_user] => 27876300014 [sip_contact_port] => 8356 [sip_contact_uri] => 27876300014@196.7.219.43:8356 [sip_contact_host] => 196.7.219.43 [sip_via_host] => 102.220.232.100 [sip_via_port] => 5060 [max_forwards] => 27 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [switch_r_sdp] => v=0 o=bk 1204919 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34810 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b,mod_bcg729.G729@8000h@20i@8000b,CORE_PCM_MODULE.PCMU@8000h@20i@64000b [rtp_use_codec_string] => PCMA,PCMU,G729,G722 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [call_uuid] => 872c1726-e54a-4efa-b5d6-c2416866726a [effective_destination_number] => 27217730138 [execute_on_answer_1] => sched_hangup +3600 normal_clearing [notify_flag] => 0 [notify_credit_limit] => 45.00000 [type] => 0 [callstart] => 2024-08-28 13:53:18 [hangup_after_bridge] => true [continue_on_fail] => TRUE [account_id] => 419 [parent_id] => 405 [entity_id] => 0 [call_processed] => internal [call_direction] => outbound [accountname] => default [origination_rates] => ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [original_caller_id_name] => 27876300014 [original_caller_id_number] => 27876300014 [limit_usage_8773282952_user_8773282952] => 1 [limit_usage_6840389175_user_6840389175] => 1 [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [effective_caller_id_name] => 27876300014 [effective_caller_id_number] => 27876300014 [calltype] => STANDARD [termination_rates] => ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [trunk_id] => 97 [provider_id] => 159 [rate_flag] => 0 [daily_call_credit_limit] => 10000.00000 [monthly_call_credit_limit] => 20000.00000 [daily_call_used_limit] => 35.17200 [monthly_call_used_limit] => 1443.25090 [quality_trunk_seq] => 97 [force_trunk_flag] => 20654379 [intcall] => 0 [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [limit_realm] => Goldtel [limit_id] => gw_Goldtel [limit_max] => 20 [limit_usage] => 2 [limit_usage_Goldtel_gw_Goldtel] => 2 [originated_legs] => 92db30fb-1dca-419a-8977-0dc925800e4d;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724835212 1724835213 IN IP4 196.31.25.86 s=FreeSWITCH c=IN IP4 196.31.25.86 t=0 0 m=audio 17984 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [local_media_ip] => 102.220.232.19 [local_media_port] => 19078 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 3270948886 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34810 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => 92db30fb-1dca-419a-8977-0dc925800e4d;NONE [last_bridge_to] => 92db30fb-1dca-419a-8977-0dc925800e4d [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => 92db30fb-1dca-419a-8977-0dc925800e4d [signal_bond] => 92db30fb-1dca-419a-8977-0dc925800e4d [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724834120 1724834122 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 19078 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [current_application] => record_session [sip_to_tag] => 8jSU06gvZ54BB [sip_from_tag] => b1ac9ac67p [sip_cseq] => 2 [sip_call_id] => c20fbe0-8d387b4-9bb14900-e82f2d4f [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bK2544.da3563c3.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bc94fb897f-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=b1ac9ac67p [sip_full_to] => ;tag=8jSU06gvZ54BB [last_sent_callee_id_name] => Outbound Call [last_sent_callee_id_number] => 27217730138 [sip_term_status] => 200 [proto_specific_hangup_cause] => sip:200 [sip_term_cause] => 16 [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_role] => originator [sip_hangup_disposition] => recv_bye [bridge_hangup_cause] => NORMAL_CLEARING [record_file_size] => 44524 [record_samples] => 22240 [record_seconds] => 2 [record_ms] => 2780 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:18 [profile_start_stamp] => 2024-08-28 13:53:18 [answer_stamp] => 2024-08-28 13:53:19 [bridge_stamp] => 2024-08-28 13:53:18 [progress_media_stamp] => 2024-08-28 13:53:18 [end_stamp] => 2024-08-28 13:53:21 [start_epoch] => 1724853198 [start_uepoch] => 1724853198170285 [profile_start_epoch] => 1724853198 [profile_start_uepoch] => 1724853198170285 [answer_epoch] => 1724853199 [answer_uepoch] => 1724853199070279 [bridge_epoch] => 1724853198 [bridge_uepoch] => 1724853198890283 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853198 [progress_media_uepoch] => 1724853198890283 [end_epoch] => 1724853201 [end_uepoch] => 1724853201850283 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [caller_id] => "Ext 114" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 0 [progress_mediasec] => 0 [flow_billsec] => 3 [mduration] => 3680 [billmsec] => 2780 [progressmsec] => 0 [answermsec] => 900 [waitmsec] => 720 [progress_mediamsec] => 720 [flow_billmsec] => 3680 [uduration] => 3679998 [billusec] => 2780004 [progressusec] => 0 [answerusec] => 899994 [waitusec] => 719998 [progress_mediausec] => 719998 [flow_billusec] => 3679998 [rtp_audio_in_raw_bytes] => 23392 [rtp_audio_in_media_bytes] => 23392 [rtp_audio_in_packet_count] => 136 [rtp_audio_in_media_packet_count] => 136 [rtp_audio_in_skip_packet_count] => 13 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 0.00 [rtp_audio_in_jitter_max_variance] => 0.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.00 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 24424 [rtp_audio_out_media_bytes] => 24424 [rtp_audio_out_packet_count] => 142 [rtp_audio_out_media_packet_count] => 142 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 [app_stamp] => 1724853198223913 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853198224157 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853198224334 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853198224524 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853198224713 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:18 [app_stamp] => 1724853198224888 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853198225064 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853198225255 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853198225434 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853198225614 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853198225794 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853198225960 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853198226132 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853198226303 ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [app_stamp] => 1724853198226476 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853198226651 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853198226827 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853198227002 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853198227501 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853198228023 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853198228217 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853198228400 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [app_stamp] => 1724853198228588 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853198228774 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853198228959 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853198229149 ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [app_stamp] => 1724853198229335 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853198229525 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853198229719 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853198229915 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853198230111 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853198230310 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.17200 [app_stamp] => 1724853198230509 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.25090 [app_stamp] => 1724853198230708 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853198230908 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853198231108 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853198231309 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853198231508 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853198231711 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [app_stamp] => 1724853198231914 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853198232153 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 [app_stamp] => 1724853198232629 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853199076587 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [app_stamp] => 1724853199076894 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [extension] => Array ( [name] => 27217730138 [number] => 0217730138 [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 ) [4] => Array ( [app_name] => set [app_data] => type=0 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:18 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE ) [8] => Array ( [app_name] => set [app_data] => account_id=419 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound ) [13] => Array ( [app_name] => set [app_data] => accountname=default ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.17200 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.25090 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 ) ) ) [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 872c1726-e54a-4efa-b5d6-c2416866726a [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 [originatee] => Array ( [originatee_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 92db30fb-1dca-419a-8977-0dc925800e4d [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853198170285 [profile_created_time] => 1724853198170285 [progress_time] => 0 [progress_media_time] => 1724853198890283 [answered_time] => 1724853199070279 [bridged_time] => 1724853198890283 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853201850283 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:21] Going to call_notification [2024-08-28 13:53:21] ========== Print all logs ========== [2024-08-28 13:53:21] sip_hangup_disposition : recv_bye [2024-08-28 13:53:21] ==================================================== [2024-08-28 13:53:21] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:53:21] [call_notification] : source_main : 27876300014 [2024-08-28 13:53:21] [call_notification] : destination : 0217730138 [2024-08-28 13:53:21] [call_notification] : get_notification_info : null [2024-08-28 13:53:21] call_notification end [2024-08-28 13:53:21] Done to call_notification [2024-08-28 13:53:21] Origination Rates Array::: [2024-08-28 13:53:21] Array ( ) [2024-08-28 13:53:21] *********************** Trunk in package_id: ************* [2024-08-28 13:53:21] dataVariable_array': Array [2024-08-28 13:53:21] GET flat_disconnect_fee : 0 [2024-08-28 13:53:21] GET disconnect_fee_after : 0 [2024-08-28 13:53:21] GET disconnect_fee : 0 [2024-08-28 13:53:21] GET minute_to_seconds : 60 [2024-08-28 13:53:21] Return cost 0.0110 [2024-08-28 13:53:21] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:53:21] dataVariable_array': Array [2024-08-28 13:53:21] GET flat_disconnect_fee : 0 [2024-08-28 13:53:21] GET disconnect_fee_after : 0 [2024-08-28 13:53:21] GET disconnect_fee : 0 [2024-08-28 13:53:21] GET minute_to_seconds : 60 [2024-08-28 13:53:21] Return cost 0.0030 [2024-08-28 13:53:21] dataVariable_array': Array [2024-08-28 13:53:21] GET flat_disconnect_fee : 0 [2024-08-28 13:53:21] GET disconnect_fee_after : 0 [2024-08-28 13:53:21] GET disconnect_fee : 0 [2024-08-28 13:53:21] GET minute_to_seconds : 60 [2024-08-28 13:53:21] Return cost 0.0094 [2024-08-28 13:53:21] dataVariable_array': Array [2024-08-28 13:53:21] GET flat_disconnect_fee : 0 [2024-08-28 13:53:21] GET disconnect_fee_after : 0 [2024-08-28 13:53:21] GET disconnect_fee : 0 [2024-08-28 13:53:21] GET minute_to_seconds : 60 [2024-08-28 13:53:21] Return cost 0.0094 [2024-08-28 13:53:21] Debit :0.0110 Cost : 0 Provider Cost : 0.0094 [2024-08-28 13:53:21] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:53:21] *********calltype::::::**************STANDARD************* [2024-08-28 13:53:21] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:53:21] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:53:21] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:21] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:21] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.3895 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:21] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => outbound [state_number] => 11 [flags] => 0=1;1=1;2=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 24596 [media_bytes] => 24596 [packet_count] => 143 [media_packet_count] => 143 [skip_packet_count] => 6 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 0 [jitter_max_variance] => 0 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 23220 [media_bytes] => 23220 [packet_count] => 135 [media_packet_count] => 135 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => outbound [is_outbound] => true [uuid] => 92db30fb-1dca-419a-8977-0dc925800e4d [session_id] => 22144 [sip_gateway_name] => Goldtel [sip_route_uri] => sip:102.220.232.100 [sip_profile_name] => gateway [text_media_flow] => disabled [channel_name] => sofia/default/27217730138 [sip_destination_url] => sip:27217730138@gtsbc.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [max_forwards] => 26 [originator_codec] => PCMA@8000h@20i [originator] => 872c1726-e54a-4efa-b5d6-c2416866726a [switch_m_sdp] => v=0 o=bk 1204919 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34810 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [leg_timeout] => 0 [absolute_codec_string] => ^^:PCMA:PCMU:G729 [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [sip_cid_type] => none [originate_early_media] => true [originating_leg_uuid] => 872c1726-e54a-4efa-b5d6-c2416866726a [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724828440 1724828441 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 24758 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [sip_outgoing_contact_uri] => [sip_req_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sofia_profile_name] => default [recovery_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [rtp_use_codec_string] => ^^:PCMA:PCMU:G729 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [local_media_ip] => 102.220.232.19 [local_media_port] => 24758 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 719513510 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.86 [remote_media_port] => 17984 [last_bridge_to] => 872c1726-e54a-4efa-b5d6-c2416866726a [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 872c1726-e54a-4efa-b5d6-c2416866726a [signal_bond] => 872c1726-e54a-4efa-b5d6-c2416866726a [sip_local_network_addr] => 102.220.232.19 [sip_reply_host] => 102.220.232.100 [sip_reply_port] => 5060 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b [sip_user_agent] => GoldtelSolutions [sip_allow] => INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE [sip_recover_contact] => [sip_invite_route_uri] => , [sip_invite_record_route] => , [sip_full_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKQapKc24SygX3N [sip_recover_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKQapKc24SygX3N [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=9Ujm211ZveUyp [sip_full_to] => ;tag=KQHgy5FFpX0pe [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.19 [sip_from_host] => 102.220.232.19 [sip_to_user] => 27217730138 [sip_to_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_contact_params] => transport=udp [sip_contact_user] => 27217730138 [sip_contact_port] => 5060 [sip_contact_uri] => 27217730138@196.31.25.91:5060 [sip_contact_host] => 196.31.25.91 [sip_to_tag] => KQHgy5FFpX0pe [sip_from_tag] => 9Ujm211ZveUyp [sip_cseq] => 87872807 [sip_call_id] => b893cbc7-dfe7-123d-53a7-44a8424611a9 [switch_r_sdp] => v=0 o=FreeSWITCH 1724835212 1724835213 IN IP4 196.31.25.86 s=FreeSWITCH c=IN IP4 196.31.25.86 t=0 0 m=audio 17984 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [current_application] => record_session [last_sent_callee_id_name] => 27876300014 [last_sent_callee_id_number] => 27876300014 [sip_hangup_phrase] => OK [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_hangup_cause] => NORMAL_CLEARING [last_bridge_proto_specific_hangup_cause] => sip:200 [bridge_hangup_cause] => NORMAL_CLEARING [call_uuid] => 92db30fb-1dca-419a-8977-0dc925800e4d [record_file_size] => 44204 [record_samples] => 22080 [record_seconds] => 2 [record_ms] => 2760 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:18 [profile_start_stamp] => 2024-08-28 13:53:18 [answer_stamp] => 2024-08-28 13:53:19 [bridge_stamp] => 2024-08-28 13:53:18 [progress_media_stamp] => 2024-08-28 13:53:18 [end_stamp] => 2024-08-28 13:53:21 [start_epoch] => 1724853198 [start_uepoch] => 1724853198230282 [profile_start_epoch] => 1724853198 [profile_start_uepoch] => 1724853198230282 [answer_epoch] => 1724853199 [answer_uepoch] => 1724853199050282 [bridge_epoch] => 1724853198 [bridge_uepoch] => 1724853198890283 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853198 [progress_media_uepoch] => 1724853198870282 [end_epoch] => 1724853201 [end_uepoch] => 1724853201850283 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [caller_id] => "27876300014" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 0 [progress_mediasec] => 0 [flow_billsec] => 3 [mduration] => 3620 [billmsec] => 2800 [progressmsec] => 0 [answermsec] => 820 [waitmsec] => 660 [progress_mediamsec] => 640 [flow_billmsec] => 3620 [uduration] => 3620001 [billusec] => 2800001 [progressusec] => 0 [answerusec] => 820000 [waitusec] => 660001 [progress_mediausec] => 640000 [flow_billusec] => 3620001 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 24596 [rtp_audio_in_media_bytes] => 24596 [rtp_audio_in_packet_count] => 143 [rtp_audio_in_media_packet_count] => 143 [rtp_audio_in_skip_packet_count] => 6 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 0.00 [rtp_audio_in_jitter_max_variance] => 0.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.00 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 23220 [rtp_audio_out_media_bytes] => 23220 [rtp_audio_out_packet_count] => 135 [rtp_audio_out_media_packet_count] => 135 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/872c1726-e54a-4efa-b5d6-c2416866726a.wav [app_stamp] => 1724853199064742 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 92db30fb-1dca-419a-8977-0dc925800e4d [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 [originator] => Array ( [originator_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 872c1726-e54a-4efa-b5d6-c2416866726a [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853198230282 [profile_created_time] => 1724853198230282 [progress_time] => 0 [progress_media_time] => 1724853198870282 [answered_time] => 1724853199050282 [bridged_time] => 1724853198890283 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853201850283 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:21] Going to call_notification [2024-08-28 13:53:21] ========== Print all logs ========== [2024-08-28 13:53:21] sip_hangup_disposition : send_bye [2024-08-28 13:53:21] ==================================================== [2024-08-28 13:53:21] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:53:21] [call_notification] : source_main : 27217730138 [2024-08-28 13:53:21] [call_notification] : destination : 27876300014 [2024-08-28 13:53:21] [call_notification] : get_notification_info : null [2024-08-28 13:53:21] call_notification end [2024-08-28 13:53:21] Done to call_notification [2024-08-28 13:53:21] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.0473 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:21] INSERT INTO cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,trunk_id,trunkip,callerip,disposition,callstart,debit,cost,provider_id,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,provider_code,provider_code_destination,provider_cost,provider_call_cost,call_direction,calltype,call_request,country_id,sip_user,ct,end_stamp,billmsec,answermsec,waitmsec,progress_mediamsec,flow_billmsec,rtp_mos,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('872c1726-e54a-4efa-b5d6-c2416866726a','419','0','27876300014 <27876300014>','27217730138','2',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:53:18','0.0110','0.0094',159,'187','','^27217730.*','RSA Goldtel Geographic','0.3300000000','405','^27217730.*','RSA Goldtel Geographic','0.2805000000','^27217730.*','RSA Goldtel Geographic','0.0900000000','0.0030','Outbound','STANDARD','','0','27876300014','0','2024-08-28 13:53:20','2780','900','720','720','720','4.50','','','') [2024-08-28 13:53:21] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:21] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0110,@amount := balance-0.0110) WHERE id=419 [2024-08-28 13:53:21] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+-0.0094,@amount := balance--0.0094) WHERE id=159 [2024-08-28 13:53:21] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:53:21] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:21] dataVariable_array': Array [2024-08-28 13:53:21] GET flat_disconnect_fee : 0 [2024-08-28 13:53:21] GET disconnect_fee_after : 0 [2024-08-28 13:53:21] GET disconnect_fee : 0 [2024-08-28 13:53:21] GET minute_to_seconds : 60 [2024-08-28 13:53:21] Return cost 0.0094 [2024-08-28 13:53:21] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:21] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:21] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.1814 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:21] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2603 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:21] INSERT INTO reseller_cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,disposition,callstart,debit,cost,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,call_direction,calltype,call_request,country_id,end_stamp,trunk_id,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('872c1726-e54a-4efa-b5d6-c2416866726a','405','1','27876300014 <27876300014>','27217730138','2','NORMAL_CLEARING [16]','2024-08-28 13:53:18','0.0094','0.0030','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:20','97','','','') [2024-08-28 13:53:21] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0094,@amount := balance-0.0094) WHERE id=405 [2024-08-28 13:53:21] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:53:21] *************************** CDR ends ******************************** [2024-08-28 13:53:33] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:33] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => outbound [state_number] => 11 [flags] => 0=1;1=1;2=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 14792 [media_bytes] => 14792 [packet_count] => 86 [media_packet_count] => 86 [skip_packet_count] => 7 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 21.302631578947 [jitter_max_variance] => 72.727272727273 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20.526315789474 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 13588 [media_bytes] => 13588 [packet_count] => 79 [media_packet_count] => 79 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => outbound [is_outbound] => true [uuid] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f [session_id] => 22146 [sip_gateway_name] => Goldtel [sip_route_uri] => sip:102.220.232.100 [sip_profile_name] => gateway [text_media_flow] => disabled [channel_name] => sofia/default/27217730138 [sip_destination_url] => sip:27217730138@gtsbc.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [max_forwards] => 26 [originator_codec] => PCMA@8000h@20i [originator] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [switch_m_sdp] => v=0 o=bk 1204978 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34910 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [leg_timeout] => 0 [absolute_codec_string] => ^^:PCMA:PCMU:G729 [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [sip_cid_type] => none [originate_early_media] => true [originating_leg_uuid] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724828032 1724828033 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 25178 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [sip_outgoing_contact_uri] => [sip_req_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sofia_profile_name] => default [recovery_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [rtp_use_codec_string] => ^^:PCMA:PCMU:G729 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [local_media_ip] => 102.220.232.19 [local_media_port] => 25178 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 718256066 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.87 [remote_media_port] => 20430 [last_bridge_to] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [signal_bond] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [sip_local_network_addr] => 102.220.232.19 [sip_reply_host] => 102.220.232.100 [sip_reply_port] => 5060 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b [sip_user_agent] => GoldtelSolutions [sip_allow] => INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE [sip_recover_contact] => [sip_invite_route_uri] => , [sip_invite_record_route] => , [sip_full_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKt51XHKQ4NB0Ur [sip_recover_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKt51XHKQ4NB0Ur [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=cQyy7jmam9XpS [sip_full_to] => ;tag=57BtgS591KpgF [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.19 [sip_from_host] => 102.220.232.19 [sip_to_user] => 27217730138 [sip_to_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_contact_params] => transport=udp [sip_contact_user] => 27217730138 [sip_contact_port] => 5060 [sip_contact_uri] => 27217730138@196.31.25.91:5060 [sip_contact_host] => 196.31.25.91 [sip_to_tag] => 57BtgS591KpgF [sip_from_tag] => cQyy7jmam9XpS [sip_cseq] => 87872813 [sip_call_id] => bfd75dbe-dfe7-123d-53a7-44a8424611a9 [switch_r_sdp] => v=0 o=FreeSWITCH 1724832779 1724832780 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 20430 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [current_application] => record_session [last_sent_callee_id_name] => 27876300014 [last_sent_callee_id_number] => 27876300014 [sip_hangup_phrase] => OK [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_hangup_cause] => NORMAL_CLEARING [last_bridge_proto_specific_hangup_cause] => sip:200 [record_file_size] => 27564 [record_samples] => 13760 [record_seconds] => 1 [record_ms] => 1720 [record_completion_cause] => success-silence [bridge_hangup_cause] => NORMAL_CLEARING [call_uuid] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:30 [profile_start_stamp] => 2024-08-28 13:53:30 [answer_stamp] => 2024-08-28 13:53:31 [bridge_stamp] => 2024-08-28 13:53:31 [progress_media_stamp] => 2024-08-28 13:53:31 [end_stamp] => 2024-08-28 13:53:33 [start_epoch] => 1724853210 [start_uepoch] => 1724853210410282 [profile_start_epoch] => 1724853210 [profile_start_uepoch] => 1724853210410282 [answer_epoch] => 1724853211 [answer_uepoch] => 1724853211630284 [bridge_epoch] => 1724853211 [bridge_uepoch] => 1724853211570282 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853211 [progress_media_uepoch] => 1724853211570282 [end_epoch] => 1724853213 [end_uepoch] => 1724853213390282 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [caller_id] => "27876300014" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 2980 [billmsec] => 1760 [progressmsec] => 0 [answermsec] => 1220 [waitmsec] => 1160 [progress_mediamsec] => 1160 [flow_billmsec] => 2980 [uduration] => 2980000 [billusec] => 1759998 [progressusec] => 0 [answerusec] => 1220002 [waitusec] => 1160000 [progress_mediausec] => 1160000 [flow_billusec] => 2980000 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 14792 [rtp_audio_in_media_bytes] => 14792 [rtp_audio_in_packet_count] => 86 [rtp_audio_in_media_packet_count] => 86 [rtp_audio_in_skip_packet_count] => 7 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 21.30 [rtp_audio_in_jitter_max_variance] => 72.73 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.53 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 13588 [rtp_audio_out_media_bytes] => 13588 [rtp_audio_out_packet_count] => 79 [rtp_audio_out_media_packet_count] => 79 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [app_stamp] => 1724853211633048 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 [originator] => Array ( [originator_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853210410282 [profile_created_time] => 1724853210410282 [progress_time] => 0 [progress_media_time] => 1724853211570282 [answered_time] => 1724853211630284 [bridged_time] => 1724853211570282 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853213390282 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:33] Going to call_notification [2024-08-28 13:53:33] ========== Print all logs ========== [2024-08-28 13:53:33] sip_hangup_disposition : send_bye [2024-08-28 13:53:33] ==================================================== [2024-08-28 13:53:33] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:53:33] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:33] [call_notification] : source_main : 27217730138 [2024-08-28 13:53:33] [call_notification] : destination : 27876300014 [2024-08-28 13:53:33] [call_notification] : get_notification_info : null [2024-08-28 13:53:33] call_notification end [2024-08-28 13:53:33] Done to call_notification [2024-08-28 13:53:33] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => inbound [state_number] => 11 [flags] => 0=1;1=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 13588 [media_bytes] => 13588 [packet_count] => 79 [media_packet_count] => 79 [skip_packet_count] => 11 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 0 [jitter_max_variance] => 0 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 14276 [media_bytes] => 14276 [packet_count] => 83 [media_packet_count] => 83 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => inbound [uuid] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [session_id] => 22145 [sip_from_user] => 27876300014 [sip_from_port] => 8356 [sip_from_uri] => 27876300014@196.7.219.43:8356 [sip_from_host] => 196.7.219.43 [video_media_flow] => disabled [text_media_flow] => disabled [channel_name] => sofia/default/27876300014@196.7.219.43:8356 [sip_local_network_addr] => 102.220.232.19 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853210350282 [sip_received_ip] => 102.220.232.100 [sip_received_port] => 5060 [sip_via_protocol] => udp [sip_authorized] => true [sip_acl_authed_by] => default [sip_from_user_stripped] => 27876300014 [sofia_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [recovery_profile_name] => default [sip_invite_route_uri] => [sip_invite_record_route] => [sip_allow] => INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, REFER, NOTIFY, SUBSCRIBE, UPDATE, PRACK [sip_req_user] => 0217730138 [sip_req_port] => 5060 [sip_req_uri] => 0217730138@102.220.232.100:5060 [sip_req_host] => 102.220.232.100 [sip_to_user] => 0217730138 [sip_to_port] => 5060 [sip_to_uri] => 0217730138@102.220.232.100:5060 [sip_to_host] => 102.220.232.100 [sip_contact_user] => 27876300014 [sip_contact_port] => 8356 [sip_contact_uri] => 27876300014@196.7.219.43:8356 [sip_contact_host] => 196.7.219.43 [sip_via_host] => 102.220.232.100 [sip_via_port] => 5060 [max_forwards] => 27 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [switch_r_sdp] => v=0 o=bk 1204978 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34910 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b,mod_bcg729.G729@8000h@20i@8000b,CORE_PCM_MODULE.PCMU@8000h@20i@64000b [rtp_use_codec_string] => PCMA,PCMU,G729,G722 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [call_uuid] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [effective_destination_number] => 27217730138 [execute_on_answer_1] => sched_hangup +3600 normal_clearing [notify_flag] => 0 [notify_credit_limit] => 45.00000 [type] => 0 [callstart] => 2024-08-28 13:53:30 [hangup_after_bridge] => true [continue_on_fail] => TRUE [account_id] => 419 [parent_id] => 405 [entity_id] => 0 [call_processed] => internal [call_direction] => outbound [accountname] => default [origination_rates] => ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [original_caller_id_name] => 27876300014 [original_caller_id_number] => 27876300014 [limit_usage_8773282952_user_8773282952] => 1 [limit_usage_6840389175_user_6840389175] => 1 [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [effective_caller_id_name] => 27876300014 [effective_caller_id_number] => 27876300014 [calltype] => STANDARD [termination_rates] => ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [trunk_id] => 97 [provider_id] => 159 [rate_flag] => 0 [daily_call_credit_limit] => 10000.00000 [monthly_call_credit_limit] => 20000.00000 [daily_call_used_limit] => 35.20020 [monthly_call_used_limit] => 1443.27910 [quality_trunk_seq] => 97 [force_trunk_flag] => 20654379 [intcall] => 0 [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [limit_realm] => Goldtel [limit_id] => gw_Goldtel [limit_max] => 20 [limit_usage] => 2 [limit_usage_Goldtel_gw_Goldtel] => 2 [originated_legs] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724832779 1724832780 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 20430 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [local_media_ip] => 102.220.232.19 [local_media_port] => 22280 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 3270772626 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34910 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f;NONE [last_bridge_to] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f [signal_bond] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724830931 1724830933 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 22280 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [current_application] => record_session [sip_to_tag] => Be555Q36p073D [sip_from_tag] => b379d69e0p [sip_cseq] => 2 [sip_call_id] => b0264364-2f5bb6ba-882b8dba-690fc3f4 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bKebf9.ada85f47.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bc9534907b-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=b379d69e0p [sip_full_to] => ;tag=Be555Q36p073D [last_sent_callee_id_name] => Outbound Call [last_sent_callee_id_number] => 27217730138 [sip_term_status] => 200 [proto_specific_hangup_cause] => sip:200 [sip_term_cause] => 16 [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_role] => originator [sip_hangup_disposition] => recv_bye [bridge_hangup_cause] => NORMAL_CLEARING [record_file_size] => 27564 [record_samples] => 13760 [record_seconds] => 1 [record_ms] => 1720 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:30 [profile_start_stamp] => 2024-08-28 13:53:30 [answer_stamp] => 2024-08-28 13:53:31 [bridge_stamp] => 2024-08-28 13:53:31 [progress_media_stamp] => 2024-08-28 13:53:31 [end_stamp] => 2024-08-28 13:53:33 [start_epoch] => 1724853210 [start_uepoch] => 1724853210350282 [profile_start_epoch] => 1724853210 [profile_start_uepoch] => 1724853210350282 [answer_epoch] => 1724853211 [answer_uepoch] => 1724853211630284 [bridge_epoch] => 1724853211 [bridge_uepoch] => 1724853211570282 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853211 [progress_media_uepoch] => 1724853211570282 [end_epoch] => 1724853213 [end_uepoch] => 1724853213390282 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [caller_id] => "Ext 114" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3040 [billmsec] => 1760 [progressmsec] => 0 [answermsec] => 1280 [waitmsec] => 1220 [progress_mediamsec] => 1220 [flow_billmsec] => 3040 [uduration] => 3040000 [billusec] => 1759998 [progressusec] => 0 [answerusec] => 1280002 [waitusec] => 1220000 [progress_mediausec] => 1220000 [flow_billusec] => 3040000 [rtp_audio_in_raw_bytes] => 13588 [rtp_audio_in_media_bytes] => 13588 [rtp_audio_in_packet_count] => 79 [rtp_audio_in_media_packet_count] => 79 [rtp_audio_in_skip_packet_count] => 11 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 0.00 [rtp_audio_in_jitter_max_variance] => 0.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.00 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 14276 [rtp_audio_out_media_bytes] => 14276 [rtp_audio_out_packet_count] => 83 [rtp_audio_out_media_packet_count] => 83 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 [app_stamp] => 1724853210409295 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853210409523 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853210409725 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853210409938 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853210410161 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:30 [app_stamp] => 1724853210410383 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853210410607 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853210410824 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853210411034 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853210411253 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853210411468 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853210411662 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853210411832 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853210412012 ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [app_stamp] => 1724853210412186 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853210412359 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853210412535 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853210412709 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853210413199 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853210413647 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853210413837 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853210414023 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [app_stamp] => 1724853210414214 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853210414403 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853210414590 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853210414779 ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [app_stamp] => 1724853210414970 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853210415196 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853210415470 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853210415700 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853210415900 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853210416119 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.20020 [app_stamp] => 1724853210416378 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.27910 [app_stamp] => 1724853210416635 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853210416904 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853210417164 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853210417432 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853210417695 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853210417968 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [app_stamp] => 1724853210418240 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853210418510 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 [app_stamp] => 1724853210419036 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853211643589 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/79bcef17-950b-45ea-beb0-03ad1a9f10b0.wav [app_stamp] => 1724853211643885 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [extension] => Array ( [name] => 27217730138 [number] => 0217730138 [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 ) [4] => Array ( [app_name] => set [app_data] => type=0 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:30 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE ) [8] => Array ( [app_name] => set [app_data] => account_id=419 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound ) [13] => Array ( [app_name] => set [app_data] => accountname=default ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.20020 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.27910 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 ) ) ) [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 79bcef17-950b-45ea-beb0-03ad1a9f10b0 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 [originatee] => Array ( [originatee_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 2b23972f-04c1-4f5c-9a60-6d59d425fd2f [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853210350282 [profile_created_time] => 1724853210350282 [progress_time] => 0 [progress_media_time] => 1724853211570282 [answered_time] => 1724853211630284 [bridged_time] => 1724853211570282 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853213390282 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:33] Going to call_notification [2024-08-28 13:53:33] ========== Print all logs ========== [2024-08-28 13:53:33] sip_hangup_disposition : recv_bye [2024-08-28 13:53:33] ==================================================== [2024-08-28 13:53:33] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:53:33] [call_notification] : source_main : 27876300014 [2024-08-28 13:53:33] [call_notification] : destination : 0217730138 [2024-08-28 13:53:33] [call_notification] : get_notification_info : null [2024-08-28 13:53:33] call_notification end [2024-08-28 13:53:33] Done to call_notification [2024-08-28 13:53:33] Origination Rates Array::: [2024-08-28 13:53:33] Array ( ) [2024-08-28 13:53:33] *********************** Trunk in package_id: ************* [2024-08-28 13:53:33] dataVariable_array': Array [2024-08-28 13:53:33] GET flat_disconnect_fee : 0 [2024-08-28 13:53:33] GET disconnect_fee_after : 0 [2024-08-28 13:53:33] GET disconnect_fee : 0 [2024-08-28 13:53:33] GET minute_to_seconds : 60 [2024-08-28 13:53:33] Return cost 0.0110 [2024-08-28 13:53:33] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:53:33] dataVariable_array': Array [2024-08-28 13:53:33] GET flat_disconnect_fee : 0 [2024-08-28 13:53:33] GET disconnect_fee_after : 0 [2024-08-28 13:53:33] GET disconnect_fee : 0 [2024-08-28 13:53:33] GET minute_to_seconds : 60 [2024-08-28 13:53:33] Return cost 0.0030 [2024-08-28 13:53:33] dataVariable_array': Array [2024-08-28 13:53:33] GET flat_disconnect_fee : 0 [2024-08-28 13:53:33] GET disconnect_fee_after : 0 [2024-08-28 13:53:33] GET disconnect_fee : 0 [2024-08-28 13:53:33] GET minute_to_seconds : 60 [2024-08-28 13:53:33] Return cost 0.0094 [2024-08-28 13:53:33] dataVariable_array': Array [2024-08-28 13:53:33] GET flat_disconnect_fee : 0 [2024-08-28 13:53:33] GET disconnect_fee_after : 0 [2024-08-28 13:53:33] GET disconnect_fee : 0 [2024-08-28 13:53:33] GET minute_to_seconds : 60 [2024-08-28 13:53:33] Return cost 0.0094 [2024-08-28 13:53:33] Debit :0.0110 Cost : 0 Provider Cost : 0.0094 [2024-08-28 13:53:33] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:53:33] *********calltype::::::**************STANDARD************* [2024-08-28 13:53:33] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:53:33] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:53:33] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:33] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.4225 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:33] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.0803 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:33] INSERT INTO cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,trunk_id,trunkip,callerip,disposition,callstart,debit,cost,provider_id,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,provider_code,provider_code_destination,provider_cost,provider_call_cost,call_direction,calltype,call_request,country_id,sip_user,ct,end_stamp,billmsec,answermsec,waitmsec,progress_mediamsec,flow_billmsec,rtp_mos,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('79bcef17-950b-45ea-beb0-03ad1a9f10b0','419','0','27876300014 <27876300014>','27217730138','2',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:53:30','0.0110','0.0094',159,'187','','^27217730.*','RSA Goldtel Geographic','0.3300000000','405','^27217730.*','RSA Goldtel Geographic','0.2805000000','^27217730.*','RSA Goldtel Geographic','0.0900000000','0.0030','Outbound','STANDARD','','0','27876300014','0','2024-08-28 13:53:32','1760','1280','1220','1220','1220','4.50','','','') [2024-08-28 13:53:33] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:33] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0110,@amount := balance-0.0110) WHERE id=419 [2024-08-28 13:53:33] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+-0.0094,@amount := balance--0.0094) WHERE id=159 [2024-08-28 13:53:33] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:53:33] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:33] dataVariable_array': Array [2024-08-28 13:53:33] GET flat_disconnect_fee : 0 [2024-08-28 13:53:33] GET disconnect_fee_after : 0 [2024-08-28 13:53:33] GET disconnect_fee : 0 [2024-08-28 13:53:33] GET minute_to_seconds : 60 [2024-08-28 13:53:33] Return cost 0.0094 [2024-08-28 13:53:33] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:33] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:33] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.2096 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:33] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2885 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:33] INSERT INTO reseller_cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,disposition,callstart,debit,cost,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,call_direction,calltype,call_request,country_id,end_stamp,trunk_id,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('79bcef17-950b-45ea-beb0-03ad1a9f10b0','405','1','27876300014 <27876300014>','27217730138','2','NORMAL_CLEARING [16]','2024-08-28 13:53:30','0.0094','0.0030','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:32','97','','','') [2024-08-28 13:53:33] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0094,@amount := balance-0.0094) WHERE id=405 [2024-08-28 13:53:33] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:53:33] *************************** CDR ends ******************************** [2024-08-28 13:54:26] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:26] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:26] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => outbound [state_number] => 11 [flags] => 0=1;1=1;2=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 15136 [media_bytes] => 15136 [packet_count] => 88 [media_packet_count] => 88 [skip_packet_count] => 3 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 0 [jitter_max_variance] => 0 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 13416 [media_bytes] => 13416 [packet_count] => 78 [media_packet_count] => 78 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => outbound [is_outbound] => true [uuid] => 964eedc2-7e83-4002-ae2d-b01368dc6c74 [session_id] => 22148 [sip_gateway_name] => Goldtel [sip_route_uri] => sip:102.220.232.100 [sip_profile_name] => gateway [text_media_flow] => disabled [channel_name] => sofia/default/27217730138 [sip_destination_url] => sip:27217730138@gtsbc.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [max_forwards] => 26 [originator_codec] => PCMA@8000h@20i [originator] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [switch_m_sdp] => v=0 o=bk 1205181 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 35242 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [leg_timeout] => 0 [absolute_codec_string] => ^^:PCMA:PCMU:G729 [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [sip_cid_type] => none [originate_early_media] => true [originating_leg_uuid] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724822591 1724822592 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 30672 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [sip_outgoing_contact_uri] => [sip_req_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sofia_profile_name] => default [recovery_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [rtp_use_codec_string] => ^^:PCMA:PCMU:G729 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [local_media_ip] => 102.220.232.19 [local_media_port] => 30672 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 719702791 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.87 [remote_media_port] => 17640 [last_bridge_to] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [signal_bond] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [sip_local_network_addr] => 102.220.232.19 [sip_reply_host] => 102.220.232.100 [sip_reply_port] => 5060 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b [sip_user_agent] => GoldtelSolutions [sip_allow] => INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE [sip_recover_contact] => [sip_invite_route_uri] => , [sip_invite_record_route] => , [sip_full_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKX0D8p49eD62KB [sip_recover_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKX0D8p49eD62KB [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=QtmFUvDHmBK4r [sip_full_to] => ;tag=e4KraS8XZ7XpB [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.19 [sip_from_host] => 102.220.232.19 [sip_to_user] => 27217730138 [sip_to_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_contact_params] => transport=udp [sip_contact_user] => 27217730138 [sip_contact_port] => 5060 [sip_contact_uri] => 27217730138@196.31.25.91:5060 [sip_contact_host] => 196.31.25.91 [sip_to_tag] => e4KraS8XZ7XpB [sip_from_tag] => QtmFUvDHmBK4r [sip_cseq] => 87872839 [sip_call_id] => df673f8f-dfe7-123d-53a7-44a8424611a9 [switch_r_sdp] => v=0 o=FreeSWITCH 1724835621 1724835622 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 17640 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [current_application] => record_session [last_sent_callee_id_name] => 27876300014 [last_sent_callee_id_number] => 27876300014 [sip_hangup_phrase] => OK [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_hangup_cause] => NORMAL_CLEARING [last_bridge_proto_specific_hangup_cause] => sip:200 [record_file_size] => 26924 [record_samples] => 13440 [record_seconds] => 1 [record_ms] => 1680 [record_completion_cause] => success-silence [bridge_hangup_cause] => NORMAL_CLEARING [call_uuid] => 964eedc2-7e83-4002-ae2d-b01368dc6c74 [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:54:23 [profile_start_stamp] => 2024-08-28 13:54:23 [answer_stamp] => 2024-08-28 13:54:24 [bridge_stamp] => 2024-08-28 13:54:24 [progress_media_stamp] => 2024-08-28 13:54:24 [end_stamp] => 2024-08-28 13:54:26 [start_epoch] => 1724853263 [start_uepoch] => 1724853263370284 [profile_start_epoch] => 1724853263 [profile_start_uepoch] => 1724853263370284 [answer_epoch] => 1724853264 [answer_uepoch] => 1724853264610283 [bridge_epoch] => 1724853264 [bridge_uepoch] => 1724853264590283 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853264 [progress_media_uepoch] => 1724853264570283 [end_epoch] => 1724853266 [end_uepoch] => 1724853266370285 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [caller_id] => "27876300014" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3000 [billmsec] => 1760 [progressmsec] => 0 [answermsec] => 1240 [waitmsec] => 1220 [progress_mediamsec] => 1200 [flow_billmsec] => 3000 [uduration] => 3000001 [billusec] => 1760002 [progressusec] => 0 [answerusec] => 1239999 [waitusec] => 1219999 [progress_mediausec] => 1199999 [flow_billusec] => 3000001 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 15136 [rtp_audio_in_media_bytes] => 15136 [rtp_audio_in_packet_count] => 88 [rtp_audio_in_media_packet_count] => 88 [rtp_audio_in_skip_packet_count] => 3 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 0.00 [rtp_audio_in_jitter_max_variance] => 0.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.00 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 13416 [rtp_audio_out_media_bytes] => 13416 [rtp_audio_out_packet_count] => 78 [rtp_audio_out_media_packet_count] => 78 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [app_stamp] => 1724853264623192 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 964eedc2-7e83-4002-ae2d-b01368dc6c74 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 [originator] => Array ( [originator_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853263370284 [profile_created_time] => 1724853263370284 [progress_time] => 0 [progress_media_time] => 1724853264570283 [answered_time] => 1724853264610283 [bridged_time] => 1724853264590283 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853266370285 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:54:26] Going to call_notification [2024-08-28 13:54:26] ========== Print all logs ========== [2024-08-28 13:54:26] sip_hangup_disposition : send_bye [2024-08-28 13:54:26] ==================================================== [2024-08-28 13:54:26] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:54:26] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => inbound [state_number] => 11 [flags] => 0=1;1=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 13244 [media_bytes] => 13244 [packet_count] => 77 [media_packet_count] => 77 [skip_packet_count] => 12 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 143.38805970149 [jitter_max_variance] => 385 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 14792 [media_bytes] => 14792 [packet_count] => 86 [media_packet_count] => 86 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => inbound [uuid] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [session_id] => 22147 [sip_from_user] => 27876300014 [sip_from_port] => 8356 [sip_from_uri] => 27876300014@196.7.219.43:8356 [sip_from_host] => 196.7.219.43 [video_media_flow] => disabled [text_media_flow] => disabled [channel_name] => sofia/default/27876300014@196.7.219.43:8356 [sip_local_network_addr] => 102.220.232.19 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853263190284 [sip_received_ip] => 102.220.232.100 [sip_received_port] => 5060 [sip_via_protocol] => udp [sip_authorized] => true [sip_acl_authed_by] => default [sip_from_user_stripped] => 27876300014 [sofia_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [recovery_profile_name] => default [sip_invite_route_uri] => [sip_invite_record_route] => [sip_allow] => INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, REFER, NOTIFY, SUBSCRIBE, UPDATE, PRACK [sip_req_user] => 0217730138 [sip_req_port] => 5060 [sip_req_uri] => 0217730138@102.220.232.100:5060 [sip_req_host] => 102.220.232.100 [sip_to_user] => 0217730138 [sip_to_port] => 5060 [sip_to_uri] => 0217730138@102.220.232.100:5060 [sip_to_host] => 102.220.232.100 [sip_contact_user] => 27876300014 [sip_contact_port] => 8356 [sip_contact_uri] => 27876300014@196.7.219.43:8356 [sip_contact_host] => 196.7.219.43 [sip_via_host] => 102.220.232.100 [sip_via_port] => 5060 [max_forwards] => 27 [sip_h_X-AUTH-IP] => 196.7.219.43 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 8773282952 [sip_h_P-effective_caller_id_name] => 27876300014 [sip_h_P-effective_caller_id_number] => 27876300014 [switch_r_sdp] => v=0 o=bk 1205181 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 35242 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b,mod_bcg729.G729@8000h@20i@8000b,CORE_PCM_MODULE.PCMU@8000h@20i@64000b [rtp_use_codec_string] => PCMA,PCMU,G729,G722 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [call_uuid] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [effective_destination_number] => 27217730138 [execute_on_answer_1] => sched_hangup +3600 normal_clearing [notify_flag] => 0 [notify_credit_limit] => 45.00000 [type] => 0 [callstart] => 2024-08-28 13:54:23 [hangup_after_bridge] => true [continue_on_fail] => TRUE [account_id] => 419 [parent_id] => 405 [entity_id] => 0 [call_processed] => internal [call_direction] => outbound [accountname] => default [origination_rates] => ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [original_caller_id_name] => 27876300014 [original_caller_id_number] => 27876300014 [limit_usage_8773282952_user_8773282952] => 1 [limit_usage_6840389175_user_6840389175] => 1 [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [effective_caller_id_name] => 27876300014 [effective_caller_id_number] => 27876300014 [calltype] => STANDARD [termination_rates] => ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [trunk_id] => 97 [provider_id] => 159 [rate_flag] => 0 [daily_call_credit_limit] => 10000.00000 [monthly_call_credit_limit] => 20000.00000 [daily_call_used_limit] => 35.21900 [monthly_call_used_limit] => 1443.29790 [quality_trunk_seq] => 97 [force_trunk_flag] => 20654379 [intcall] => 0 [presence_id] => 27217730138 [presence_data] => x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [limit_realm] => Goldtel [limit_id] => gw_Goldtel [limit_max] => 20 [limit_usage] => 2 [limit_usage_Goldtel_gw_Goldtel] => 2 [originated_legs] => 964eedc2-7e83-4002-ae2d-b01368dc6c74;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724835621 1724835622 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 17640 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [local_media_ip] => 102.220.232.19 [local_media_port] => 23280 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 3270772679 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 35242 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => 964eedc2-7e83-4002-ae2d-b01368dc6c74;NONE [last_bridge_to] => 964eedc2-7e83-4002-ae2d-b01368dc6c74 [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => 964eedc2-7e83-4002-ae2d-b01368dc6c74 [signal_bond] => 964eedc2-7e83-4002-ae2d-b01368dc6c74 [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724829984 1724829986 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 23280 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [current_application] => record_session [sip_to_tag] => pHUpS1vDQ2vHD [sip_from_tag] => b41f31bfp [sip_cseq] => 2 [sip_call_id] => f5768138-bdc740cf-e53c08c5-d1b29794 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bKe225.800f5391.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bcf75dbcc6-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=b41f31bfp [sip_full_to] => ;tag=pHUpS1vDQ2vHD [last_sent_callee_id_name] => Outbound Call [last_sent_callee_id_number] => 27217730138 [sip_term_status] => 200 [proto_specific_hangup_cause] => sip:200 [sip_term_cause] => 16 [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.7.219.43 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => [sip_bye_h_P-effective_caller_id_name] => "Ext 114" [sip_bye_h_P-effective_caller_id_number] => 27876300014 [last_bridge_role] => originator [sip_hangup_disposition] => recv_bye [bridge_hangup_cause] => NORMAL_CLEARING [record_file_size] => 27884 [record_samples] => 13920 [record_seconds] => 1 [record_ms] => 1740 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:54:23 [profile_start_stamp] => 2024-08-28 13:54:23 [answer_stamp] => 2024-08-28 13:54:24 [bridge_stamp] => 2024-08-28 13:54:24 [progress_media_stamp] => 2024-08-28 13:54:24 [end_stamp] => 2024-08-28 13:54:26 [start_epoch] => 1724853263 [start_uepoch] => 1724853263190284 [profile_start_epoch] => 1724853263 [profile_start_uepoch] => 1724853263190284 [answer_epoch] => 1724853264 [answer_uepoch] => 1724853264630285 [bridge_epoch] => 1724853264 [bridge_uepoch] => 1724853264590283 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853264 [progress_media_uepoch] => 1724853264590283 [end_epoch] => 1724853266 [end_uepoch] => 1724853266370285 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [caller_id] => "Ext 114" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3180 [billmsec] => 1740 [progressmsec] => 0 [answermsec] => 1440 [waitmsec] => 1400 [progress_mediamsec] => 1400 [flow_billmsec] => 3180 [uduration] => 3180001 [billusec] => 1740000 [progressusec] => 0 [answerusec] => 1440001 [waitusec] => 1399999 [progress_mediausec] => 1399999 [flow_billusec] => 3180001 [rtp_audio_in_raw_bytes] => 13244 [rtp_audio_in_media_bytes] => 13244 [rtp_audio_in_packet_count] => 77 [rtp_audio_in_media_packet_count] => 77 [rtp_audio_in_skip_packet_count] => 12 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 143.39 [rtp_audio_in_jitter_max_variance] => 385.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.00 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 14792 [rtp_audio_out_media_bytes] => 14792 [rtp_audio_out_packet_count] => 86 [rtp_audio_out_media_packet_count] => 86 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 [app_stamp] => 1724853263354166 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853263354472 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853263354769 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853263354977 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853263355227 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:54:23 [app_stamp] => 1724853263355497 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853263355727 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853263355941 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853263356141 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853263356307 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853263356477 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853263356646 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853263356821 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853263356998 ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 [app_stamp] => 1724853263357173 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853263357348 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853263357524 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853263357704 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853263366367 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853263366804 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853263367029 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853263367267 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [app_stamp] => 1724853263367519 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853263367757 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853263368059 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853263368250 ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [app_stamp] => 1724853263368435 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853263368625 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853263368819 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853263369013 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853263369209 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853263369405 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.21900 [app_stamp] => 1724853263369603 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.29790 [app_stamp] => 1724853263369802 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853263370003 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853263370203 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853263370408 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853263370610 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853263370815 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic [app_stamp] => 1724853263371020 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853263371227 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 [app_stamp] => 1724853263371715 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853264636144 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/20afdb37-441e-426d-b31d-8ed145bd50e7.wav [app_stamp] => 1724853264636446 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [extension] => Array ( [name] => 27217730138 [number] => 0217730138 [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27217730138 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 ) [4] => Array ( [app_name] => set [app_data] => type=0 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:54:23 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE ) [8] => Array ( [app_name] => set [app_data] => account_id=419 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound ) [13] => Array ( [app_name] => set [app_data] => accountname=default ) [14] => Array ( [app_name] => set [app_data] => origination_rates=ID:20654379|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:19607511|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD ) [26] => Array ( [app_name] => set [app_data] => termination_rates=ID:4573263|CODE:^27217730.*|DESTINATION:RSA Goldtel Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.21900 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.29790 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 ) [39] => Array ( [app_name] => export [app_data] => presence_data=x//405|||Goldtel Industries(8773282952)|||^27217730.* // RSA Goldtel Geographic // 0.3300000000 |||Goldtel // ^27217730.* // RSA Goldtel Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^27217730.* // RSA Goldtel Geographic ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 ) [41] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27217730138;fs_path=sip:102.220.232.100:5060 ) ) ) [caller_profile] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => Ext 114 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0217730138 [uuid] => 20afdb37-441e-426d-b31d-8ed145bd50e7 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 [originatee] => Array ( [originatee_caller_profiles] => Array ( [0] => Array ( [username] => 27876300014 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 964eedc2-7e83-4002-ae2d-b01368dc6c74 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853263190284 [profile_created_time] => 1724853263190284 [progress_time] => 0 [progress_media_time] => 1724853264590283 [answered_time] => 1724853264630285 [bridged_time] => 1724853264590283 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853266370285 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:54:26] Going to call_notification [2024-08-28 13:54:26] ========== Print all logs ========== [2024-08-28 13:54:26] sip_hangup_disposition : recv_bye [2024-08-28 13:54:26] ==================================================== [2024-08-28 13:54:26] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:54:26] [call_notification] : source_main : 27217730138 [2024-08-28 13:54:26] [call_notification] : destination : 27876300014 [2024-08-28 13:54:26] [call_notification] : get_notification_info : null [2024-08-28 13:54:26] call_notification end [2024-08-28 13:54:26] Done to call_notification [2024-08-28 13:54:26] [call_notification] : source_main : 27876300014 [2024-08-28 13:54:26] [call_notification] : destination : 0217730138 [2024-08-28 13:54:26] [call_notification] : get_notification_info : null [2024-08-28 13:54:26] call_notification end [2024-08-28 13:54:26] Done to call_notification [2024-08-28 13:54:26] Origination Rates Array::: [2024-08-28 13:54:26] Array ( ) [2024-08-28 13:54:26] *********************** Trunk in package_id: ************* [2024-08-28 13:54:26] dataVariable_array': Array [2024-08-28 13:54:26] GET flat_disconnect_fee : 0 [2024-08-28 13:54:26] GET disconnect_fee_after : 0 [2024-08-28 13:54:26] GET disconnect_fee : 0 [2024-08-28 13:54:26] GET minute_to_seconds : 60 [2024-08-28 13:54:26] Return cost 0.0110 [2024-08-28 13:54:26] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:54:26] dataVariable_array': Array [2024-08-28 13:54:26] GET flat_disconnect_fee : 0 [2024-08-28 13:54:26] GET disconnect_fee_after : 0 [2024-08-28 13:54:26] GET disconnect_fee : 0 [2024-08-28 13:54:26] GET minute_to_seconds : 60 [2024-08-28 13:54:26] Return cost 0.0030 [2024-08-28 13:54:26] dataVariable_array': Array [2024-08-28 13:54:26] GET flat_disconnect_fee : 0 [2024-08-28 13:54:26] GET disconnect_fee_after : 0 [2024-08-28 13:54:26] GET disconnect_fee : 0 [2024-08-28 13:54:26] GET minute_to_seconds : 60 [2024-08-28 13:54:26] Return cost 0.0094 [2024-08-28 13:54:26] dataVariable_array': Array [2024-08-28 13:54:26] GET flat_disconnect_fee : 0 [2024-08-28 13:54:26] GET disconnect_fee_after : 0 [2024-08-28 13:54:26] GET disconnect_fee : 0 [2024-08-28 13:54:26] GET minute_to_seconds : 60 [2024-08-28 13:54:26] Return cost 0.0094 [2024-08-28 13:54:26] Debit :0.0110 Cost : 0 Provider Cost : 0.0094 [2024-08-28 13:54:26] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:54:26] *********calltype::::::**************STANDARD************* [2024-08-28 13:54:26] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:54:26] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:54:26] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:54:26] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.4445 WHERE id=419 AND `type`= '0' [2024-08-28 13:54:26] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.1023 WHERE id=419 AND `type`= '0' [2024-08-28 13:54:26] INSERT INTO cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,trunk_id,trunkip,callerip,disposition,callstart,debit,cost,provider_id,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,provider_code,provider_code_destination,provider_cost,provider_call_cost,call_direction,calltype,call_request,country_id,sip_user,ct,end_stamp,billmsec,answermsec,waitmsec,progress_mediamsec,flow_billmsec,rtp_mos,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('20afdb37-441e-426d-b31d-8ed145bd50e7','419','0','27876300014 <27876300014>','27217730138','2',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:54:23','0.0110','0.0094',159,'187','','^27217730.*','RSA Goldtel Geographic','0.3300000000','405','^27217730.*','RSA Goldtel Geographic','0.2805000000','^27217730.*','RSA Goldtel Geographic','0.0900000000','0.0030','Outbound','STANDARD','','0','27876300014','0','2024-08-28 13:54:25','1740','1440','1400','1400','1400','4.50','','','') [2024-08-28 13:54:26] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:26] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0110,@amount := balance-0.0110) WHERE id=419 [2024-08-28 13:54:26] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+-0.0094,@amount := balance--0.0094) WHERE id=159 [2024-08-28 13:54:26] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:54:26] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:54:26] dataVariable_array': Array [2024-08-28 13:54:26] GET flat_disconnect_fee : 0 [2024-08-28 13:54:26] GET disconnect_fee_after : 0 [2024-08-28 13:54:26] GET disconnect_fee : 0 [2024-08-28 13:54:26] GET minute_to_seconds : 60 [2024-08-28 13:54:26] Return cost 0.0094 [2024-08-28 13:54:26] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:54:26] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:54:26] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.2284 WHERE id=405 AND `type`= '1' [2024-08-28 13:54:26] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.3073 WHERE id=405 AND `type`= '1' [2024-08-28 13:54:26] INSERT INTO reseller_cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,disposition,callstart,debit,cost,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,call_direction,calltype,call_request,country_id,end_stamp,trunk_id,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('20afdb37-441e-426d-b31d-8ed145bd50e7','405','1','27876300014 <27876300014>','27217730138','2','NORMAL_CLEARING [16]','2024-08-28 13:54:23','0.0094','0.0030','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:54:25','97','','','') [2024-08-28 13:54:26] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0094,@amount := balance-0.0094) WHERE id=405 [2024-08-28 13:54:26] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:54:26] *************************** CDR ends ******************************** [2024-08-28 13:55:20] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:55:20] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:55:20] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => outbound [state_number] => 11 [flags] => 0=1;1=1;2=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 1626260 [media_bytes] => 1626260 [packet_count] => 9455 [media_packet_count] => 9455 [skip_packet_count] => 27 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 1.1657754010695 [jitter_max_variance] => 23.529411764706 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20.010594342621 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 1625744 [media_bytes] => 1625744 [packet_count] => 9452 [media_packet_count] => 9452 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => outbound [is_outbound] => true [uuid] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c [session_id] => 22140 [sip_gateway_name] => Goldtel [sip_route_uri] => sip:102.220.232.100 [sip_profile_name] => gateway [text_media_flow] => disabled [channel_name] => sofia/default/27799608898 [sip_destination_url] => sip:27799608898@gtsbc.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060 [sip_h_X-AUTH-IP] => 102.215.21.132 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 3254294174 [sip_h_P-effective_caller_id_name] => 27876303961 [sip_h_P-effective_caller_id_number] => 27876303961 [max_forwards] => 29 [originator_codec] => G729@8000h@20i [originator] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [switch_m_sdp] => v=0 o=- 20102 20102 IN IP4 102.215.21.132 s=SDP data c=IN IP4 102.215.21.132 t=0 0 m=audio 11786 RTP/AVP 18 0 8 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=oldoip:192.168.3.50 a=oldcip:192.168.3.50 [leg_timeout] => 0 [absolute_codec_string] => ^^:PCMA:PCMU:G729 [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [presence_id] => 27799608898 [presence_data] => x//425|||Customer - A(3254294174)|||^2779.* // RSA Vodacom Mobile // 0.5900000000 |||Goldtel // ^2779.* // RSA Vodacom Mobile // 0.1200000000 // trunk_id=97|||STD|||102.215.21.132|||0.5310000000 // ^2779.* // RSA Vodacom Mobile [sip_cid_type] => none [originate_early_media] => true [originating_leg_uuid] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724829374 1724829375 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 23752 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [sip_outgoing_contact_uri] => [sip_req_uri] => 27799608898@gtsbc.goldtelcloud.co.za [sofia_profile_name] => default [recovery_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [rtp_use_codec_string] => ^^:PCMA:PCMU:G729 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 8 [rtp_use_codec_name] => PCMA [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => PCMA@8000h@20i@1c [read_codec] => PCMA [original_read_codec] => PCMA [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => PCMA [write_rate] => 8000 [dtmf_type] => rfc2833 [local_media_ip] => 102.220.232.19 [local_media_port] => 23752 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 1927692750 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.88 [remote_media_port] => 29128 [last_bridge_to] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [bridge_channel] => sofia/default/27876303961@sbc-jb1.goldtelcloud.co.za [bridge_uuid] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [signal_bond] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [sip_local_network_addr] => 102.220.232.19 [sip_reply_host] => 102.220.232.100 [sip_reply_port] => 5060 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b [sip_user_agent] => GoldtelSolutions [sip_allow] => INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE [sip_recover_contact] => [sip_invite_route_uri] => , [sip_invite_record_route] => , [sip_full_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKHmyy1ZZ4FUQKg [sip_recover_via] => SIP/2.0/UDP 102.220.232.19:7777;received=102.220.232.19;rport=7777;branch=z9hG4bKHmyy1ZZ4FUQKg [sip_from_display] => 27876303961 [sip_full_from] => "27876303961" ;tag=yrv3er8rvc6gQ [sip_full_to] => ;tag=vpH56v99t26XF [sip_from_user] => 27876303961 [sip_from_uri] => 27876303961@102.220.232.19 [sip_from_host] => 102.220.232.19 [sip_to_user] => 27799608898 [sip_to_uri] => 27799608898@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_contact_params] => transport=udp [sip_contact_user] => 27799608898 [sip_contact_port] => 5060 [sip_contact_uri] => 27799608898@196.31.25.91:5060 [sip_contact_host] => 196.31.25.91 [sip_to_tag] => vpH56v99t26XF [sip_from_tag] => yrv3er8rvc6gQ [sip_cseq] => 87872771 [sip_call_id] => 8e18dfb8-dfe7-123d-53a7-44a8424611a9 [switch_r_sdp] => v=0 o=FreeSWITCH 1724824000 1724824001 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 29128 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [current_application] => record_session [last_sent_callee_id_name] => 27876303961 [last_sent_callee_id_number] => 27876303961 [sip_hangup_phrase] => OK [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 102.215.21.132 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => 3254294174 [sip_bye_h_P-effective_caller_id_name] => 27876303961 [sip_bye_h_P-effective_caller_id_number] => 27876303961 [last_bridge_hangup_cause] => NORMAL_CLEARING [last_bridge_proto_specific_hangup_cause] => sip:200 [record_file_size] => 2980524 [record_samples] => 1490240 [record_seconds] => 186 [record_ms] => 186280 [record_completion_cause] => success-silence [bridge_hangup_cause] => NORMAL_CLEARING [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:52:06 [profile_start_stamp] => 2024-08-28 13:52:06 [answer_stamp] => 2024-08-28 13:52:13 [bridge_stamp] => 2024-08-28 13:52:10 [progress_media_stamp] => 2024-08-28 13:52:10 [end_stamp] => 2024-08-28 13:55:20 [start_epoch] => 1724853126 [start_uepoch] => 1724853126950283 [profile_start_epoch] => 1724853126 [profile_start_uepoch] => 1724853126950283 [answer_epoch] => 1724853133 [answer_uepoch] => 1724853133870283 [bridge_epoch] => 1724853130 [bridge_uepoch] => 1724853130570285 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853130 [progress_media_uepoch] => 1724853130550282 [end_epoch] => 1724853320 [end_uepoch] => 1724853320150283 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [caller_id] => "27876303961" <27876303961> [duration] => 194 [billsec] => 187 [progresssec] => 0 [answersec] => 7 [waitsec] => 4 [progress_mediasec] => 4 [flow_billsec] => 194 [mduration] => 193200 [billmsec] => 186280 [progressmsec] => 0 [answermsec] => 6920 [waitmsec] => 3620 [progress_mediamsec] => 3600 [flow_billmsec] => 193200 [uduration] => 193200000 [billusec] => 186280000 [progressusec] => 0 [answerusec] => 6920000 [waitusec] => 3620002 [progress_mediausec] => 3599999 [flow_billusec] => 193200000 [call_uuid] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 1626260 [rtp_audio_in_media_bytes] => 1626260 [rtp_audio_in_packet_count] => 9455 [rtp_audio_in_media_packet_count] => 9455 [rtp_audio_in_skip_packet_count] => 27 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 1.17 [rtp_audio_in_jitter_max_variance] => 23.53 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.01 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 1625744 [rtp_audio_out_media_bytes] => 1625744 [rtp_audio_out_packet_count] => 9452 [rtp_audio_out_media_packet_count] => 9452 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [app_stamp] => 1724853133875696 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [caller_profile] => Array ( [username] => 27876303961 [dialplan] => XML [caller_id_name] => 27876303961 [ani] => 27876303961 [aniii] => [caller_id_number] => 27876303961 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c [source] => mod_sofia [context] => default [chan_name] => sofia/default/27799608898 [originator] => Array ( [originator_caller_profiles] => Array ( [0] => Array ( [username] => 27876303961 [dialplan] => XML [caller_id_name] => 27876303961 [ani] => 27876303961 [aniii] => [caller_id_number] => 27876303961 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0799608898 [uuid] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876303961@sbc-jb1.goldtelcloud.co.za ) ) ) ) [times] => Array ( [created_time] => 1724853126950283 [profile_created_time] => 1724853126950283 [progress_time] => 0 [progress_media_time] => 1724853130550282 [answered_time] => 1724853133870283 [bridged_time] => 1724853130570285 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853320150283 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:55:20] Array ( [core-uuid] => 1fd0743e-4611-4768-9abc-d4a5af62be3b [switchname] => ss1-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => inbound [state_number] => 11 [flags] => 0=1;1=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;110=1;116=1;117=1;126=1;163=1;168=1;169=1 [caps] => 1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1;10=1 ) [callStats] => Array ( [audio] => Array ( [inbound] => Array ( [raw_bytes] => 302528 [media_bytes] => 302528 [packet_count] => 9454 [media_packet_count] => 9454 [skip_packet_count] => 39 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 1.1904761904762 [jitter_max_variance] => 13.215938303342 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20.017053933063 [flaw_total] => 16 [quality_percentage] => 99 [mos] => 4.492027 [errorLog] => Array ( [0] => Array ( [start] => 1724853287450285 [stop] => 1724853290450282 [flaws] => 2 [consecutiveFlaws] => 1 [durationMS] => 2999 ) [1] => Array ( [start] => 1724853249530282 [stop] => 1724853252510283 [flaws] => 3 [consecutiveFlaws] => 1 [durationMS] => 2980 ) [2] => Array ( [start] => 1724853166450282 [stop] => 1724853169450283 [flaws] => 3 [consecutiveFlaws] => 1 [durationMS] => 3000 ) [3] => Array ( [start] => 1724853145030282 [stop] => 1724853148410282 [flaws] => 7 [consecutiveFlaws] => 2 [durationMS] => 3380 ) ) ) [outbound] => Array ( [raw_bytes] => 302464 [media_bytes] => 302464 [packet_count] => 9452 [media_packet_count] => 9452 [skip_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [rtcp_packet_count] => 0 [rtcp_octet_count] => 0 ) ) ) [variables] => Array ( [direction] => inbound [uuid] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [session_id] => 22139 [sip_from_user] => 27876303961 [sip_from_uri] => 27876303961@sbc-jb1.goldtelcloud.co.za [sip_from_host] => sbc-jb1.goldtelcloud.co.za [video_media_flow] => disabled [text_media_flow] => disabled [channel_name] => sofia/default/27876303961@sbc-jb1.goldtelcloud.co.za [sip_local_network_addr] => 102.220.232.19 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853126730281 [sip_received_ip] => 102.220.232.100 [sip_received_port] => 5060 [sip_via_protocol] => udp [sip_authorized] => true [sip_acl_authed_by] => default [sip_from_user_stripped] => 27876303961 [sofia_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.19:7777 [recovery_profile_name] => default [sip_invite_route_uri] => [sip_invite_record_route] => [sip_allow] => INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE [sip_req_user] => 0799608898 [sip_req_port] => 5060 [sip_req_uri] => 0799608898@sbc-jb1.goldtelcloud.co.za:5060 [sip_req_host] => sbc-jb1.goldtelcloud.co.za [sip_to_user] => 0799608898 [sip_to_uri] => 0799608898@sbc-jb1.goldtelcloud.co.za [sip_to_host] => sbc-jb1.goldtelcloud.co.za [sip_contact_user] => 27876303961 [sip_contact_port] => 5063 [sip_contact_uri] => 27876303961@102.215.21.132:5063 [sip_contact_host] => 102.215.21.132 [sip_via_host] => 102.220.232.100 [sip_via_port] => 5060 [max_forwards] => 30 [sip_h_X-AUTH-IP] => 102.215.21.132 [sip_h_P-Prefix] => [sip_h_P-Accountcode] => 3254294174 [sip_h_P-effective_caller_id_name] => 27876303961 [sip_h_P-effective_caller_id_number] => 27876303961 [switch_r_sdp] => v=0 o=- 20102 20102 IN IP4 102.215.21.132 s=SDP data c=IN IP4 102.215.21.132 t=0 0 m=audio 11786 RTP/AVP 18 0 8 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=oldoip:192.168.3.50 a=oldcip:192.168.3.50 [ep_codec_string] => mod_bcg729.G729@8000h@20i@8000b,CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b [rtp_use_codec_string] => PCMA,PCMU,G729,G722 [remote_video_media_flow] => inactive [remote_text_media_flow] => inactive [remote_audio_media_flow] => sendrecv [audio_media_flow] => sendrecv [rtp_audio_recv_pt] => 18 [rtp_use_codec_name] => G729 [rtp_use_codec_fmtp] => annexb=no [rtp_use_codec_rate] => 8000 [rtp_use_codec_ptime] => 20 [rtp_use_codec_channels] => 1 [rtp_last_audio_codec_string] => G729@8000h@20i@1c [read_codec] => G729 [original_read_codec] => G729 [read_rate] => 8000 [original_read_rate] => 8000 [write_codec] => G729 [write_rate] => 8000 [dtmf_type] => rfc2833 [call_uuid] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [effective_destination_number] => 27799608898 [execute_on_answer_1] => sched_hangup +550.47457627119 normal_clearing [notify_flag] => 0 [notify_credit_limit] => 1.00000 [type] => 0 [callstart] => 2024-08-28 13:52:06 [2024-08-28 13:55:20] Going to call_notification [hangup_after_bridge] => true [continue_on_fail] => TRUE [account_id] => 465 [parent_id] => 425 [entity_id] => 0 [call_processed] => internal [call_direction] => outbound [accountname] => default [package_id] => 783 [origination_rates] => ID:20408829|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5900000000|INC:1|INITIALBLOCK:1|RATEGROUP:209|MARKUP:0|CI:0|ACCID:465||ID:20580635|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425 [original_caller_id_name] => 27876303961 [original_caller_id_number] => 27876303961 [limit_usage_3254294174_user_3254294174] => 1 [limit_usage_4375278430_user_4375278430] => 1 [is_recording] => 1 [media_bug_answer_req] => true [record_sample_rate] => 8000 [execute_on_answer_2] => record_session /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [effective_caller_id_name] => 27876303961 [effective_caller_id_number] => 27876303961 [calltype] => STANDARD [termination_rates] => ID:4671325|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1200000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [trunk_id] => 97 [provider_id] => 159 [rate_flag] => 0 [daily_call_credit_limit] => 100.00000 [monthly_call_credit_limit] => 300.00000 [daily_call_used_limit] => 0.69030 [monthly_call_used_limit] => 0.69030 [quality_trunk_seq] => 97 [force_trunk_flag] => 20408829 [intcall] => 0 [presence_id] => 27799608898 [presence_data] => x//425|||Customer - A(3254294174)|||^2779.* // RSA Vodacom Mobile // 0.5900000000 |||Goldtel // ^2779.* // RSA Vodacom Mobile // 0.1200000000 // trunk_id=97|||STD|||102.215.21.132|||0.5310000000 // ^2779.* // RSA Vodacom Mobile [export_vars] => is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer_2,presence_data,presence_id,presence_data [limit_realm] => Goldtel [limit_id] => gw_Goldtel [limit_max] => 20 [limit_usage] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [originated_legs] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724824000 1724824001 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 29128 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [local_media_ip] => 102.220.232.19 [local_media_port] => 31970 [advertised_media_ip] => 102.220.232.19 [rtp_use_timer_name] => soft [rtp_use_pt] => 18 [rtp_use_ssrc] => 3270596270 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 102.215.21.132 [remote_media_port] => 11786 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c;NONE [last_bridge_to] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c [bridge_channel] => sofia/default/27799608898 [bridge_uuid] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c [signal_bond] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724821160 1724821162 IN IP4 102.220.232.19 s=FreeSWITCH c=IN IP4 102.220.232.19 t=0 0 m=audio 31970 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv [endpoint_disposition] => ANSWER [current_application_data] => /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [current_application] => record_session [sip_to_tag] => XF3aDXQNZ3FyB [sip_from_tag] => 19137063 [sip_cseq] => 2 [sip_call_id] => 2305466585@192.168.3.50 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bK24b1.15be5e61.2,SIP/2.0/UDP 192.168.3.50:5063;received=102.215.21.132;branch=z9hG4bK839052885 [sip_from_display] => 27876303961 [sip_full_from] => "27876303961" ;tag=19137063 [sip_full_to] => ;tag=XF3aDXQNZ3FyB [last_sent_callee_id_name] => Outbound Call [last_sent_callee_id_number] => 27799608898 [sip_term_status] => 200 [proto_specific_hangup_cause] => sip:200 [sip_term_cause] => 16 [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 102.215.21.132 [sip_bye_h_P-Prefix] => [sip_bye_h_P-Accountcode] => 3254294174 [sip_bye_h_P-effective_caller_id_name] => 27876303961 [sip_bye_h_P-effective_caller_id_number] => 27876303961 [last_bridge_role] => originator [sip_user_agent] => Yealink SIP-T28P 2.73.0.50 [sip_hangup_disposition] => recv_bye [bridge_hangup_cause] => NORMAL_CLEARING [record_file_size] => 2983724 [record_samples] => 1491840 [record_seconds] => 186 [record_ms] => 186480 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:52:06 [profile_start_stamp] => 2024-08-28 13:52:06 [answer_stamp] => 2024-08-28 13:52:13 [bridge_stamp] => 2024-08-28 13:52:10 [progress_media_stamp] => 2024-08-28 13:52:10 [end_stamp] => 2024-08-28 13:55:20 [start_epoch] => 1724853126 [start_uepoch] => 1724853126730281 [profile_start_epoch] => 1724853126 [profile_start_uepoch] => 1724853126730281 [answer_epoch] => 1724853133 [answer_uepoch] => 1724853133870283 [bridge_epoch] => 1724853130 [bridge_uepoch] => 1724853130570285 [last_hold_epoch] => 0 [last_hold_uepoch] => 0 [hold_accum_seconds] => 0 [hold_accum_usec] => 0 [hold_accum_ms] => 0 [resurrect_epoch] => 0 [resurrect_uepoch] => 0 [progress_epoch] => 0 [progress_uepoch] => 0 [progress_media_epoch] => 1724853130 [progress_media_uepoch] => 1724853130550282 [end_epoch] => 1724853320 [end_uepoch] => 1724853320150283 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [caller_id] => "27876303961" <27876303961> [duration] => 194 [billsec] => 187 [progresssec] => 0 [answersec] => 7 [waitsec] => 4 [progress_mediasec] => 4 [flow_billsec] => 194 [mduration] => 193420 [billmsec] => 186280 [progressmsec] => 0 [answermsec] => 7140 [waitmsec] => 3840 [progress_mediamsec] => 3820 [flow_billmsec] => 193420 [uduration] => 193420002 [billusec] => 186280000 [progressusec] => 0 [answerusec] => 7140002 [waitusec] => 3840004 [progress_mediausec] => 3820001 [flow_billusec] => 193420002 [rtp_audio_in_raw_bytes] => 302528 [rtp_audio_in_media_bytes] => 302528 [rtp_audio_in_packet_count] => 9454 [rtp_audio_in_[2024-08-28 13:55:20] ========== Print all logs ========== media_packet_count] => 9454 [rtp_audio_in_skip_packet_count] => 39 [rtp_audio_in_jitter_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_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 1.19 [rtp_audio_in_jitter_max_variance] => 13.22 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.02 [rtp_audio_in_flaw_total] => 16 [rtp_audio_in_quality_percentage] => 99.00 [rtp_audio_in_mos] => 4.49 [rtp_audio_out_raw_bytes] => 302464 [rtp_audio_out_media_bytes] => 302464 [rtp_audio_out_packet_count] => 9452 [rtp_audio_out_media_packet_count] => 9452 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [app_log] => Array ( [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27799608898 [app_stamp] => 1724853126952078 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +550.47457627119 normal_clearing [app_stamp] => 1724853126952312 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853126952527 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=1.00000 [app_stamp] => 1724853126952749 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853126952983 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:52:06 [app_stamp] => 1724853126953211 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853126953442 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853126953674 ) [8] => Array ( [app_name] => set [app_data] => account_id=465 [app_stamp] => 1724853126953896 ) [9] => Array ( [app_name] => set [app_data] => parent_id=425 [app_stamp] => 1724853126954121 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853126954345 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853126954582 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853126954811 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853126955047 ) [14] => Array ( [app_name] => set [app_data] => package_id=783 [app_stamp] => 1724853126955281 ) [15] => Array ( [app_name] => set [app_data] => origination_rates=ID:20408829|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5900000000|INC:1|INITIALBLOCK:1|RATEGROUP:209|MARKUP:0|CI:0|ACCID:465||ID:20580635|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425 [app_stamp] => 1724853126955520 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876303961 [app_stamp] => 1724853126955752 ) [17] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876303961 [app_stamp] => 1724853126955990 ) [18] => Array ( [app_name] => limit [app_data] => db 3254294174 user_3254294174 5 [app_stamp] => 1724853126956234 ) [19] => Array ( [app_name] => limit [app_data] => db 4375278430 user_4375278430 10 [app_stamp] => 1724853126957064 ) [20] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853126957508 ) [21] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853126957703 ) [22] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853126957942 ) [23] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [app_stamp] => 1724853126958201 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876303961 [2024-08-28 13:55:20] sip_hangup_disposition : send_bye [app_stamp] => 1724853126958453 ) [25] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876303961 [app_stamp] => 1724853126958708 ) [26] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853126958974 ) [27] => Array ( [app_name] => set [app_data] => termination_rates=ID:4671325|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1200000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 [app_stamp] => 1724853126959238 ) [28] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853126959497 ) [29] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853126959759 ) [30] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853126960033 ) [31] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=100.00000 [app_stamp] => 1724853126960231 ) [32] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=300.00000 [app_stamp] => 1724853126960432 ) [33] => Array ( [app_name] => set [app_data] => daily_call_used_limit=0.69030 [app_stamp] => 1724853126960641 ) [34] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=0.69030 [app_stamp] => 1724853126960845 ) [35] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853126961052 ) [36] => Array ( [app_name] => set [app_data] => force_trunk_flag=20408829 [app_stamp] => 1724853126961256 ) [37] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853126961461 ) [38] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853126961671 ) [39] => Array ( [app_name] => export [app_data] => presence_id=27799608898 [app_stamp] => 1724853126961880 ) [40] => Array ( [app_name] => export [app_data] => presence_data=x//425|||Customer - A(3254294174)|||^2779.* // RSA Vodacom Mobile // 0.5900000000 |||Goldtel // ^2779.* // RSA Vodacom Mobile // 0.1200000000 // trunk_id=97|||STD|||102.215.21.132|||0.5310000000 // ^2779.* // RSA Vodacom Mobile [app_stamp] => 1724853126962096 ) [41] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853126962305 ) [42] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27799608898;fs_path=sip:102.220.232.100:5060 [app_stamp] => 1724853126962791 ) [43] => Array ( [app_name] => sched_hangup [app_data] => +550.47457627119 normal_clearing [app_stamp] => 1724853133888635 ) [44] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/7ddba0cd-f7d8-4c17-8410-b8a012cc203e.wav [app_stamp] => 1724853133888972 ) ) ) [callflow] => Array ( [0] => Array ( [dialplan] => XML [profile_index] => 1 [extension] => Array ( [name] => 27799608898 [number] => 0799608898 [applications] => Array ( [0] => Array ( [app_name] => set [app_data] => effective_destination_number=27799608898 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +550.47457627119 normal_clearing ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=1.00000 ) [4] => Array ( [app_name] => set [app_data] => type=0 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:52:06 ) [6] => Array ( [app_name] => set [app_data] => hang[2024-08-28 13:55:20] ==================================================== up_after_bridge=true ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE ) [8] => Array ( [app_name] => set [app_data] => account_id=465 ) [9] => Array ( [app_name] => set [app_data] => parent_id=425 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound ) [13] => Array ( [app_name] => set [app_data] => accountname=default ) [14] => Array ( [app_name] => set [app_data] => package_id=783 ) [15] => Array ( [app_name] => set [app_data] => origination_rates=ID:20408829|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5900000000|INC:1|INITIALBLOCK:1|RATEGROUP:209|MARKUP:0|CI:0|ACCID:465||ID:20580635|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:193|MARKUP:0|CI:0|ACCID:425 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876303961 ) [17] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876303961 ) [18] => Array ( [app_name] => limit [app_data] => db 3254294174 user_3254294174 5 ) [19] => Array ( [app_name] => limit [app_data] => db 4375278430 user_4375278430 10 ) [20] => Array ( [app_name] => export [app_data] => is_recording=1 ) [21] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true ) [22] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 ) [23] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876303961 ) [25] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876303961 ) [26] => Array ( [app_name] => set [app_data] => calltype=STANDARD ) [27] => Array ( [app_name] => set [app_data] => termination_rates=ID:4671325|CODE:^2779.*|DESTINATION:RSA Vodacom Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1200000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159 ) [28] => Array ( [app_name] => set [app_data] => trunk_id=97 ) [29] => Array ( [app_name] => set [app_data] => provider_id=159 ) [30] => Array ( [app_name] => set [app_data] => rate_flag=0 ) [31] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=100.00000 ) [32] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=300.00000 ) [33] => Array ( [app_name] => set [app_data] => daily_call_used_limit=0.69030 ) [2024-08-28 13:55:20] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876303961 [34] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=0.69030 ) [35] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 ) [36] => Array ( [app_name] => set [app_data] => force_trunk_flag=20408829 ) [37] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 ) [38] => Array ( [app_name] => set [app_data] => intcall=0 ) [39] => Array ( [app_name] => export [app_data] => presence_id=27799608898 ) [40] => Array ( [app_name] => export [app_data] => presence_data=x//425|||Customer - A(3254294174)|||^2779.* // RSA Vodacom Mobile // 0.5900000000 |||Goldtel // ^2779.* // RSA Vodacom Mobile // 0.1200000000 // trunk_id=97|||STD|||102.215.21.132|||0.5310000000 // ^2779.* // RSA Vodacom Mobile ) [41] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 ) [42] => Array ( [app_name] => bridge [app_data] => {sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27799608898;fs_path=sip:102.220.232.100:5060 ) ) ) [caller_profile] => Array ( [username] => 27876303961 [dialplan] => XML [caller_id_name] => 27876303961 [ani] => 27876303961 [aniii] => [caller_id_number] => 27876303961 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 0799608898 [uuid] => 7ddba0cd-f7d8-4c17-8410-b8a012cc203e [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876303961@sbc-jb1.goldtelcloud.co.za [originatee] => Array ( [originatee_caller_profiles] => Array ( [0] => Array ( [username] => 27876303961 [dialplan] => XML [caller_id_name] => 27876303961 [ani] => 27876303961 [aniii] => [caller_id_number] => 27876303961 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 3cd2bbaa-32ed-45f0-9f02-4f59667c0a1c [source] => mod_sofia [context] => default [chan_name] => sofia/default/27799608898 ) ) ) ) [times] => Array ( [created_time] => 1724853126730281 [profile_created_time] => 1724853126730281 [progress_time] => 0 [progress_media_time] => 1724853130550282 [answered_time] => 1724853133870283 [bridged_time] => 1724853130570285 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853320150283 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:55:20] Going to call_notification [2024-08-28 13:55:20] ========== Print all logs ========== [2024-08-28 13:55:20] sip_hangup_disposition : recv_bye [2024-08-28 13:55:20] ==================================================== [2024-08-28 13:55:20] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0799608898 [2024-08-28 13:55:20] [call_notification] : source_main : 27799608898 [2024-08-28 13:55:20] [call_notification] : destination : 27876303961 [2024-08-28 13:55:20] [call_notification] : source_main : 27876303961 [2024-08-28 13:55:20] [call_notification] : get_notification_info : null [2024-08-28 13:55:20] [call_notification] : destination : 0799608898 [2024-08-28 13:55:20] [call_notification] : get_notification_info : null [2024-08-28 13:55:20] call_notification end [2024-08-28 13:55:20] call_notification end [2024-08-28 13:55:20] Done to call_notification [2024-08-28 13:55:20] Done to call_notification [2024-08-28 13:55:20] Origination Rates Array::: [2024-08-28 13:55:20] Array ( ) [2024-08-28 13:55:20] *********************** Trunk in package_id: **783*********** [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 1.8388 [2024-08-28 13:55:20] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 0.3740 [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 1.6550 [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 1.6550 [2024-08-28 13:55:20] Debit :1.8388 Cost : 0 Provider Cost : 1.6550 [2024-08-28 13:55:20] Package call_direction is : outbound AND receiver_accid is ::: [2024-08-28 13:55:20] Package query : SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns='^27799608898.*' OR patterns='^2779960889.*' OR patterns='^277996088.*' OR patterns='^27799608.*' OR patterns='^2779960.*' OR patterns='^277996.*' OR patterns='^27799.*' OR patterns='^2779.*' OR patterns='^277.*' OR patterns='^27.*' OR patterns='^2.*' OR patterns='^defaultprefix.*') AND accountid = 465 ORDER BY LENGTH(PKGPTR.patterns) DESC [2024-08-28 13:55:20] applicable_for : 1=====call_direction:outbound===0:Inbound,1:Outbound,2:Both [2024-08-28 13:55:20] GET Counters : SELECT id,used_seconds FROM counters WHERE accountid = 465 AND package_id = 783 AND status=1 LIMIT 1 [2024-08-28 13:55:20] Insert Counters : [2024-08-28 13:55:20] GET Counters : SELECT id,used_seconds FROM counters WHERE accountid = 465 AND package_id = 783 AND status=1 LIMIT 1 [2024-08-28 13:55:20] available_seconds : 120 [2024-08-28 13:55:20] free_minutes : 2 [2024-08-28 13:55:20] used_seconds : 0 [2024-08-28 13:55:20] duration : 187 [2024-08-28 13:55:20] GET system query for minutes or seconds : SELECT * FROM `system` WHERE `name` = 'package_charge' AND `group_title` ='calls' [2024-08-28 13:55:20] Update Counters : UPDATE counters SET used_seconds = 120 WHERE id = 79 [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 1.1800 [2024-08-28 13:55:20] package + Standard call entry start here. [2024-08-28 13:55:20] GET configuration : SELECT * FROM accounts WHERE id=465 [2024-08-28 13:55:20] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:55:20] INSERT INTO cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,trunk_id,trunkip,callerip,disposition,callstart,debit,cost,provider_id,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,provider_code,provider_code_destination,provider_cost,provider_call_cost,call_direction,calltype,call_request,country_id,sip_user,ct,end_stamp,billmsec,answermsec,waitmsec,progress_mediamsec,flow_billmsec,rtp_mos,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id,hangup_by) values ('7ddba0cd-f7d8-4c17-8410-b8a012cc203e','465','0','27876303961 <27876303961>','27799608898','120',97,'102.220.232.100','102.215.21.132','NORMAL_CLEARING [16]','2024-08-28 13:52:06','1.1800','1.6550',159,'209','783','^2779.*','RSA Vodacom Mobile','0.5900000000','425','^2779.*','RSA Vodacom Mobile','0.5310000000','^2779.*','RSA Vodacom Mobile','0.1200000000','0.3740','Outbound','FREE','','0','27876303961','0','2024-08-28 13:54:06','186280','7140','3840','3820','3820','4.49','','','') [2024-08-28 13:55:20] package + Standard call entry end here. [2024-08-28 13:55:20] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:55:20] *********calltype::::::**************STANDARD************* [2024-08-28 13:55:20] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:55:20] GET configuration : SELECT * FROM accounts WHERE id=465 [2024-08-28 13:55:20] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:55:20] Daily call limit update UPDATE accounts SET daily_call_used_limit = 3.7858 WHERE id=465 AND `type`= '0' [2024-08-28 13:55:20] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 3.7858 WHERE id=465 AND `type`= '0' [2024-08-28 13:55:20] INSERT INTO cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,trunk_id,trunkip,callerip,disposition,callstart,debit,cost,provider_id,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,provider_code,provider_code_destination,provider_cost,provider_call_cost,call_direction,calltype,call_request,country_id,sip_user,ct,end_stamp,billmsec,answermsec,waitmsec,progress_mediamsec,flow_billmsec,rtp_mos,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('7ddba0cd-f7d8-4c17-8410-b8a012cc203e','465','0','27876303961 <27876303961>','27799608898','67',97,'102.220.232.100','102.215.21.132','NORMAL_CLEARING [16]','2024-08-28 13:52:06','1.8388','1.6550',159,'209','783','^2779.*','RSA Vodacom Mobile','0.5900000000','425','^2779.*','RSA Vodacom Mobile','0.5310000000','^2779.*','RSA Vodacom Mobile','0.1200000000','0.3740','Outbound','STANDARD','','0','27876303961','0','2024-08-28 13:53:13','186280','7140','3840','3820','3820','4.49','','','') [2024-08-28 13:55:20] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:55:20] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+1.8388,@amount := balance-1.8388) WHERE id=465 [2024-08-28 13:55:20] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+-1.655,@amount := balance--1.655) WHERE id=159 [2024-08-28 13:55:20] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:55:20] GET configuration : SELECT * FROM accounts WHERE id=425 [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 0.5930 [2024-08-28 13:55:20] Package call_direction is : outbound AND receiver_accid is ::: [2024-08-28 13:55:20] Package query : SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns='^27799608898.*' OR patterns='^2779960889.*' OR patterns='^277996088.*' OR patterns='^27799608.*' OR patterns='^2779960.*' OR patterns='^277996.*' OR patterns='^27799.*' OR patterns='^2779.*' OR patterns='^277.*' OR patterns='^27.*' OR patterns='^2.*' OR patterns='^defaultprefix.*') AND accountid = 425 ORDER BY LENGTH(PKGPTR.patterns) DESC [2024-08-28 13:55:20] applicable_for : 1=====call_direction:outbound===0:Inbound,1:Outbound,2:Both [2024-08-28 13:55:20] GET Counters : SELECT id,used_seconds FROM counters WHERE accountid = 425 AND package_id = 781 AND status=1 LIMIT 1 [2024-08-28 13:55:20] Insert Counters : [2024-08-28 13:55:20] GET Counters : SELECT id,used_seconds FROM counters WHERE accountid = 425 AND package_id = 781 AND status=1 LIMIT 1 [2024-08-28 13:55:20] available_seconds : 120 [2024-08-28 13:55:20] free_minutes : 2 [2024-08-28 13:55:20] used_seconds : 0 [2024-08-28 13:55:20] duration : 187 [2024-08-28 13:55:20] GET system query for minutes or seconds : SELECT * FROM `system` WHERE `name` = 'package_charge' AND `group_title` ='calls' [2024-08-28 13:55:20] Update Counters : UPDATE counters SET used_seconds = 120 WHERE id = 81 [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 1.0620 [2024-08-28 13:55:20] package + standard call entry for parent data start here. [2024-08-28 13:55:20] GET configuration : SELECT * FROM accounts WHERE id=425 [2024-08-28 13:55:20] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:55:20] INSERT INTO reseller_cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,disposition,callstart,debit,cost,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,call_direction,calltype,call_request,country_id,end_stamp,trunk_id,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id,hangup_by) values ('7ddba0cd-f7d8-4c17-8410-b8a012cc203e','425','1','27876303961 <27876303961>','27799608898','120','NORMAL_CLEARING [16]','2024-08-28 13:52:06','1.0620','','193','781','^2779.*','RSA Vodacom Mobile','0.5310000000','425','^2779.*','RSA Vodacom Mobile','0.5310000000','Outbound','FREE','','0','2024-08-28 13:54:06','97','','','') [2024-08-28 13:55:20] package + standard call entry for parent data end here. [2024-08-28 13:55:20] dataVariable_array': Array [2024-08-28 13:55:20] GET flat_disconnect_fee : 0 [2024-08-28 13:55:20] GET disconnect_fee_after : 0 [2024-08-28 13:55:20] GET disconnect_fee : 0 [2024-08-28 13:55:20] GET minute_to_seconds : 60 [2024-08-28 13:55:20] Return cost 0.5930 [2024-08-28 13:55:20] GET configuration : SELECT * FROM accounts WHERE id=425 [2024-08-28 13:55:20] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:55:20] Daily call limit update UPDATE accounts SET daily_call_used_limit = 1.2833 WHERE id=425 AND `type`= '1' [2024-08-28 13:55:20] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1.2833 WHERE id=425 AND `type`= '1' [2024-08-28 13:55:20] INSERT INTO reseller_cdrs (uniqueid,accountid,type,callerid,callednum,billseconds,disposition,callstart,debit,cost,pricelist_id,package_id,pattern,notes,rate_cost,reseller_id,reseller_code,reseller_code_destination,reseller_cost,call_direction,calltype,call_request,country_id,end_stamp,trunk_id,did_forwarding_answered_by,did_call_type,did_destination_forwarding_id) values ('7ddba0cd-f7d8-4c17-8410-b8a012cc203e','425','1','27876303961 <27876303961>','27799608898','67','NORMAL_CLEARING [16]','2024-08-28 13:52:06','0.5930','0.3740','193','781','^2779.*','RSA Vodacom Mobile','0.5310000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:13','97','','','') [2024-08-28 13:55:20] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.5930,@amount := balance-0.5930) WHERE id=425 [2024-08-28 13:55:20] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:55:20] *************************** CDR ends ********************************