[2024-08-28 13:52:54] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:52:54] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:52:54] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => inbound [state_number] => 11 [flags] => 0=1;3=1;4=1;39=1;40=1;42=1;50=1;55=1;98=1;106=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] => 0 [media_bytes] => 0 [packet_count] => 0 [media_packet_count] => 0 [skip_packet_count] => 0 [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] => 0 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 0 [media_bytes] => 0 [packet_count] => 0 [media_packet_count] => 0 [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] => b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd [session_id] => 18553 [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_call_id] => 40c968b9-22dd8198-cb0bdd9c-e5c754d6 [sip_local_network_addr] => 102.220.232.20 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853173973542 [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 [sip_from_tag] => b4f721940p [sofia_profile_name] => default [sofia_profile_url] => sip:mod_sofia@102.220.232.20:7777 [recovery_profile_name] => default [sip_invite_route_uri] => [sip_invite_record_route] => [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bK12c8.6e43ee01.0,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bcf27ab3b2-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=b4f721940p [sip_full_to] => [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 1204833 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34682 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] => b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd [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:52:54 [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/b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd.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.10650 [monthly_call_used_limit] => 1443.18540 [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] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [current_application_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 [current_application] => bridge [originated_legs] => 251e7a76-53d2-4964-b67d-702a8d55607b;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724821932 1724821933 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 31240 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724829816 1724829817 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 23358 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 [local_media_ip] => 102.220.232.20 [local_media_port] => 23358 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 2465436589 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34682 [endpoint_disposition] => EARLY MEDIA [sip_invite_failure_status] => 500 [sip_invite_failure_phrase] => Internal Server Error [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => 251e7a76-53d2-4964-b67d-702a8d55607b;NONE [signal_bond] => 251e7a76-53d2-4964-b67d-702a8d55607b [sip_hangup_phrase] => Internal Server Error [last_bridge_hangup_cause] => NORMAL_CLEARING [last_bridge_proto_specific_hangup_cause] => sip:500 [last_bridge_role] => originator [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:52:53 [profile_start_stamp] => 2024-08-28 13:52:53 [bridge_stamp] => 2024-08-28 13:52:54 [progress_media_stamp] => 2024-08-28 13:52:54 [end_stamp] => 2024-08-28 13:52:54 [start_epoch] => 1724853173 [start_uepoch] => 1724853173973542 [profile_start_epoch] => 1724853173 [profile_start_uepoch] => 1724853173973542 [answer_epoch] => 0 [answer_uepoch] => 0 [bridge_epoch] => 1724853174 [bridge_uepoch] => 1724853174713543 [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] => 1724853174 [progress_media_uepoch] => 1724853174713543 [end_epoch] => 1724853174 [end_uepoch] => 1724853174713543 [last_app] => bridge [last_arg] => {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_id] => "Ext 114" <27876300014> [duration] => 1 [billsec] => 0 [progresssec] => 0 [answersec] => 0 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 0 [mduration] => 740 [billmsec] => 0 [progressmsec] => 0 [answermsec] => 0 [waitmsec] => 740 [progress_mediamsec] => 740 [flow_billmsec] => 0 [uduration] => 740001 [billusec] => 0 [progressusec] => 0 [answerusec] => 0 [waitusec] => 740001 [progress_mediausec] => 740001 [flow_billusec] => 0 [sip_hangup_disposition] => send_refuse [rtp_audio_in_raw_bytes] => 0 [rtp_audio_in_media_bytes] => 0 [rtp_audio_in_packet_count] => 0 [rtp_audio_in_media_packet_count] => 0 [rtp_audio_in_skip_packet_count] => 0 [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] => 0.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] => 0 [rtp_audio_out_media_bytes] => 0 [rtp_audio_out_packet_count] => 0 [rtp_audio_out_media_packet_count] => 0 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [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] => 1724853174161038 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853174161275 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853174161497 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853174161712 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853174161929 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:52:54 [app_stamp] => 1724853174162150 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853174162373 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853174162573 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853174162737 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853174162900 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853174163071 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853174163236 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853174163403 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853174163569 ) [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] => 1724853174163738 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853174163915 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853174164090 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853174164263 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853174173857 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853174174292 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853174174482 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853174174662 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd.wav [app_stamp] => 1724853174174849 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853174175041 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853174175223 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853174175408 ) [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] => 1724853174175589 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853174175770 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853174175956 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853174176140 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853174176327 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853174176517 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.10650 [app_stamp] => 1724853174176718 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.18540 [app_stamp] => 1724853174176905 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853174177101 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853174177294 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853174177489 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853174177684 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853174177881 ) [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] => 1724853174178076 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853174178285 ) [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] => 1724853174178741 ) ) ) [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:52:54 ) [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.10650 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.18540 ) [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] => b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd [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 [2024-08-28 13:52:54] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-jb1 [channel_data] => Array ( [state] => CS_REPORTING [direction] => outbound [state_number] => 11 [flags] => 0=1;2=1;3=1;39=1;40=1;42=1;45=1;50=1;55=1;98=1;106=1;116=1;117=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] => 0 [media_bytes] => 0 [packet_count] => 0 [media_packet_count] => 0 [skip_packet_count] => 0 [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] => 0 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 0 [media_bytes] => 0 [packet_count] => 0 [media_packet_count] => 0 [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] => 251e7a76-53d2-4964-b67d-702a8d55607b [session_id] => 18554 [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] => b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd [signal_bond] => b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd [switch_m_sdp] => v=0 o=bk 1204833 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34682 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/b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd.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] => b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724821970 1724821971 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 31204 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.20:7777 [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.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKcS5ZgSDtppDtF [sip_recover_via] => SIP/2.0/UDP 102.220.232.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKcS5ZgSDtppDtF [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=p623X27FjBcZK [sip_full_to] => ;tag=HKH1K3j8ayUHH [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.20 [sip_from_host] => 102.220.232.20 [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] => HKH1K3j8ayUHH [sip_from_tag] => p623X27FjBcZK [sip_cseq] => 87872795 [sip_call_id] => aa3d73af-dfe7-123d-e78d-44a8423e9921 [switch_r_sdp] => v=0 o=FreeSWITCH 1724821932 1724821933 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 31240 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 [ep_codec_string] => CORE_PCM_MODULE.PCMA@8000h@20i@64000b [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.20 [local_media_port] => 31204 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 317 [dialplan] => XML [caller_id_name] => 27876300014 [ani] => 27876300014 [aniii] => [caller_id_number] => 27876300014 [network_addr] => 102.220.232.100 [rdnis] => [destination_number] => 5060 [uuid] => 251e7a76-53d2-4964-b67d-702a8d55607b [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853173973542 [profile_created_time] => 1724853173973542 [progress_time] => 0 [progress_media_time] => 1724853174713543 [answered_time] => 0 [bridged_time] => 1724853174713543 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853174713543 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) 721774 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.87 [remote_media_port] => 31240 [endpoint_disposition] => EARLY MEDIA [sip_local_network_addr] => 102.220.232.20 [sip_reply_host] => 102.220.232.100 [sip_reply_port] => 5060 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_hangup_disposition] => recv_refuse [sip_invite_failure_status] => 500 [sip_invite_failure_phrase] => Internal Server Error [sip_term_status] => 500 [proto_specific_hangup_cause] => sip:500 [sip_term_cause] => 16 [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:52:54 [profile_start_stamp] => 2024-08-28 13:52:54 [bridge_stamp] => 2024-08-28 13:52:54 [progress_media_stamp] => 2024-08-28 13:52:54 [end_stamp] => 2024-08-28 13:52:54 [start_epoch] => 1724853174 [start_uepoch] => 1724853174173542 [profile_start_epoch] => 1724853174 [profile_start_uepoch] => 1724853174173542 [answer_epoch] => 0 [answer_uepoch] => 0 [bridge_epoch] => 1724853174 [bridge_uepoch] => 1724853174713543 [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] => 1724853174 [progress_media_uepoch] => 1724853174713543 [end_epoch] => 1724853174 [end_uepoch] => 1724853174713543 [caller_id] => "27876300014" <27876300014> [duration] => 0 [billsec] => 0 [progresssec] => 0 [answersec] => 0 [waitsec] => 0 [progress_mediasec] => 0 [flow_billsec] => 0 [mduration] => 540 [billmsec] => 0 [progressmsec] => 0 [answermsec] => 0 [waitmsec] => 540 [progress_mediamsec] => 540 [flow_billmsec] => 0 [uduration] => 540001 [billusec] => 0 [progressusec] => 0 [answerusec] => 0 [waitusec] => 540001 [progress_mediausec] => 540001 [flow_billusec] => 0 [call_uuid] => 251e7a76-53d2-4964-b67d-702a8d55607b [rtp_audio_in_raw_bytes] => 0 [rtp_audio_in_media_bytes] => 0 [rtp_audio_in_packet_count] => 0 [rtp_audio_in_media_packet_count] => 0 [rtp_audio_in_skip_packet_count] => 0 [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] => 0.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] => 0 [rtp_audio_out_media_bytes] => 0 [rtp_audio_out_packet_count] => 0 [rtp_audio_out_media_packet_count] => 0 [rtp_audio_out_skip_packet_count] => 0 [rtp_audio_out_dtmf_packet_count] => 0 [rtp_audio_out_cng_packet_count] => 0 [rtp_audio_rtcp_packet_count] => 0 [rtp_audio_rtcp_octet_count] => 0 ) [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] => 251e7a76-53d2-4964-b67d-702a8d55607b [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] => b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853174173542 [profile_created_time] => 1724853174173542 [progress_time] => 0 [progress_media_time] => 1724853174713543 [answered_time] => 0 [bridged_time] => 1724853174713543 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853174713543 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:52:54] Going to call_notification [2024-08-28 13:52:54] ========== Print all logs ========== [2024-08-28 13:52:54] sip_hangup_disposition : send_refuse [2024-08-28 13:52:54] ==================================================== [2024-08-28 13:52:54] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:52:54] Going to call_notification [2024-08-28 13:52:54] ========== Print all logs ========== [2024-08-28 13:52:54] sip_hangup_disposition : recv_refuse [2024-08-28 13:52:54] ==================================================== [2024-08-28 13:52:54] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:52:54] [call_notification] : source_main : 0217730138 [2024-08-28 13:52:54] [call_notification] : destination : 27876300014 [2024-08-28 13:52:54] [call_notification] : get_notification_info : null [2024-08-28 13:52:54] call_notification end [2024-08-28 13:52:54] Done to call_notification [2024-08-28 13:52:54] Origination Rates Array::: [2024-08-28 13:52:54] [call_notification] : source_main : 27217730138 [2024-08-28 13:52:54] [call_notification] : destination : 27876300014 [2024-08-28 13:52:54] [call_notification] : get_notification_info : null [2024-08-28 13:52:54] call_notification end [2024-08-28 13:52:54] Done to call_notification [2024-08-28 13:52:54] Array ( ) [2024-08-28 13:52:54] *********************** Trunk in package_id: ************* [2024-08-28 13:52:54] dataVariable_array': Array [2024-08-28 13:52:54] GET flat_disconnect_fee : 0 [2024-08-28 13:52:54] GET disconnect_fee_after : 0 [2024-08-28 13:52:54] GET disconnect_fee : 0 [2024-08-28 13:52:54] GET minute_to_seconds : 60 [2024-08-28 13:52:54] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:52:54] dataVariable_array': Array [2024-08-28 13:52:54] GET flat_disconnect_fee : 0 [2024-08-28 13:52:54] GET disconnect_fee_after : 0 [2024-08-28 13:52:54] GET disconnect_fee : 0 [2024-08-28 13:52:54] GET minute_to_seconds : 60 [2024-08-28 13:52:54] dataVariable_array': Array [2024-08-28 13:52:54] GET flat_disconnect_fee : 0 [2024-08-28 13:52:54] GET disconnect_fee_after : 0 [2024-08-28 13:52:54] GET disconnect_fee : 0 [2024-08-28 13:52:54] GET minute_to_seconds : 60 [2024-08-28 13:52:54] dataVariable_array': Array [2024-08-28 13:52:54] GET flat_disconnect_fee : 0 [2024-08-28 13:52:54] GET disconnect_fee_after : 0 [2024-08-28 13:52:54] GET disconnect_fee : 0 [2024-08-28 13:52:54] GET minute_to_seconds : 60 [2024-08-28 13:52:54] Debit :0 Cost : 0 Provider Cost : 0 [2024-08-28 13:52:54] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:52:54] *********calltype::::::**************STANDARD************* [2024-08-28 13:52:54] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:52:54] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:52:54] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:52:54] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.3015 WHERE id=419 AND `type`= '0' [2024-08-28 13:52:54] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1694.9593 WHERE id=419 AND `type`= '0' [2024-08-28 13:52:54] 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 ('b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd','419','0','27876300014 <27876300014>','27217730138','0',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:52:54','0','0',159,'187','','^27217730.*','RSA Goldtel Geographic','0.3300000000','405','^27217730.*','RSA Goldtel Geographic','0.2805000000','^27217730.*','RSA Goldtel Geographic','0.0900000000','0','Outbound','STANDARD','','0','27876300014','0','2024-08-28 13:52:54','0','0','740','740','740','4.50','','','') [2024-08-28 13:52:54] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:52:54] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:52:54] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:52:54] dataVariable_array': Array [2024-08-28 13:52:54] GET flat_disconnect_fee : 0 [2024-08-28 13:52:54] GET disconnect_fee_after : 0 [2024-08-28 13:52:54] GET disconnect_fee : 0 [2024-08-28 13:52:54] GET minute_to_seconds : 60 [2024-08-28 13:52:54] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:52:54] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:52:54] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.1065 WHERE id=405 AND `type`= '1' [2024-08-28 13:52:54] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.1854 WHERE id=405 AND `type`= '1' [2024-08-28 13:52:54] 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 ('b135fcee-5dc5-49a3-b2b2-3ddd7770bfdd','405','1','27876300014 <27876300014>','27217730138','0','NORMAL_CLEARING [16]','2024-08-28 13:52:54','0','0','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:52:54','97','','','') [2024-08-28 13:52:54] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:52:54] *************************** CDR ends ******************************** [2024-08-28 13:53:04] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:04] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:04] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 36636 [media_bytes] => 36636 [packet_count] => 213 [media_packet_count] => 213 [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] => 38012 [media_bytes] => 38012 [packet_count] => 221 [media_packet_count] => 221 [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] => a310f35e-f830-463b-af09-9199a01c3087 [session_id] => 18555 [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.20 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853178753545 [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.20: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 1204866 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34734 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] => a310f35e-f830-463b-af09-9199a01c3087 [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:52:58 [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/a310f35e-f830-463b-af09-9199a01c3087.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.10650 [monthly_call_used_limit] => 1443.18540 [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] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [originated_legs] => d3675f1f-62fb-4e44-aa71-8393258b6cb3;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724824507 1724824508 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 28670 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.20 [local_media_port] => 22958 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 2465436594 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34734 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => d3675f1f-62fb-4e44-aa71-8393258b6cb3;NONE [last_bridge_to] => d3675f1f-62fb-4e44-aa71-8393258b6cb3 [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => d3675f1f-62fb-4e44-aa71-8393258b6cb3 [signal_bond] => d3675f1f-62fb-4e44-aa71-8393258b6cb3 [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724830221 1724830223 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 22958 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/a310f35e-f830-463b-af09-9199a01c3087.wav [current_application] => record_session [sip_to_tag] => S1ee3Ktt95eQp [sip_from_tag] => be1bfb8fcp [sip_cseq] => 2 [sip_call_id] => 5a489280-a341f1b6-3b1ed03e-71f0e878 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bK5acb.b460b081.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bcb5e059b3-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=be1bfb8fcp [sip_full_to] => ;tag=S1ee3Ktt95eQp [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] => 69164 [record_samples] => 34560 [record_seconds] => 4 [record_ms] => 4320 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:52:58 [profile_start_stamp] => 2024-08-28 13:52:58 [answer_stamp] => 2024-08-28 13:52:59 [bridge_stamp] => 2024-08-28 13:52:59 [progress_media_stamp] => 2024-08-28 13:52:59 [end_stamp] => 2024-08-28 13:53:04 [start_epoch] => 1724853178 [start_uepoch] => 1724853178753545 [profile_start_epoch] => 1724853178 [profile_start_uepoch] => 1724853178753545 [answer_epoch] => 1724853179 [answer_uepoch] => 1724853179673544 [bridge_epoch] => 1724853179 [bridge_uepoch] => 1724853179493561 [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] => 1724853179 [progress_media_uepoch] => 1724853179493561 [end_epoch] => 1724853184 [end_uepoch] => 1724853184013541 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/a310f35e-f830-463b-af09-9199a01c3087.wav [caller_id] => "Ext 114" <27876300014> [duration] => 6 [billsec] => 5 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 6 [mduration] => 5260 [billmsec] => 4340 [progressmsec] => 0 [answermsec] => 920 [waitmsec] => 740 [progress_mediamsec] => 740 [flow_billmsec] => 5260 [uduration] => 5259996 [billusec] => 4339997 [progressusec] => 0 [answerusec] => 919999 [waitusec] => 740016 [progress_mediausec] => 740016 [flow_billusec] => 5259996 [rtp_audio_in_raw_bytes] => 36636 [rtp_audio_in_media_bytes] => 36636 [rtp_audio_in_packet_count] => 213 [rtp_audio_in_media_packet_count] => 213 [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] => 38012 [rtp_audio_out_media_bytes] => 38012 [rtp_audio_out_packet_count] => 221 [rtp_audio_out_media_packet_count] => 221 [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] => 1724853178822523 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853178822763 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853178823005 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853178823234 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853178823467 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:52:58 [app_stamp] => 1724853178823697 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853178823930 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853178824143 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853178824362 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853178824579 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853178824796 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853178825018 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853178825243 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853178825465 ) [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] => 1724853178825691 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853178825923 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853178826166 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853178826400 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853178826924 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853178827381 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853178827574 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853178827766 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/a310f35e-f830-463b-af09-9199a01c3087.wav [app_stamp] => 1724853178828007 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853178828248 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853178828494 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853178828740 ) [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] => 1724853178828992 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853178829246 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853178829505 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853178829763 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853178830019 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853178830288 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.10650 [app_stamp] => 17248531788305[2024-08-28 13:53:04] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 38184 [media_bytes] => 38184 [packet_count] => 222 [media_packet_count] => 222 [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] => 36464 [media_bytes] => 36464 [packet_count] => 212 [media_packet_count] => 212 [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] => d3675f1f-62fb-4e44-aa71-8393258b6cb3 [session_id] => 18556 [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] => a310f35e-f830-463b-af09-9199a01c3087 [switch_m_sdp] => v=0 o=bk 1204866 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34734 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/a310f35e-f830-463b-af09-9199a01c3087.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] => a310f35e-f830-463b-af09-9199a01c3087 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724822804 1724822805 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 30374 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.20: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.20 [local_media_port] => 30374 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 4275255698 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.88 [remote_media_port] => 28670 [last_bridge_to] => a310f35e-f830-463b-af09-9199a01c3087 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => a310f35e-f830-463b-af09-9199a01c3087 [signal_bond] => a310f35e-f830-463b-af09-9199a01c3087 [sip_local_network_addr] => 102.220.232.20 [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.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKD2yrjmyXKZ3cB [sip_recover_via] => SIP/2.0/UDP 102.220.232.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKD2yrjmyXKZ3cB [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=ta864eBy6e59H [sip_full_to] => ;tag=tUF2p8Q12H41c [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.20 [sip_from_host] => 102.220.232.20 [sip_to_user] => 27217730138 [sip_to_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_cont55 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.18540 [app_stamp] => 1724853178830814 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853178831083 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853178831350 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853178831609 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853178831873 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853178832141 ) [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] => 1724853178832410 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853178832686 ) [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] => 1724853178833214 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853179676834 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/a310f35e-f830-463b-af09-9199a01c3087.wav [app_stamp] => 1724853179677140 ) ) ) [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:52:58 ) [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:|act_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] => tUF2p8Q12H41c [sip_from_tag] => ta864eBy6e59H [sip_cseq] => 87872797 [sip_call_id] => ad03b67a-dfe7-123d-e78d-44a8423e9921 [switch_r_sdp] => v=0 o=FreeSWITCH 1724824507 1724824508 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 28670 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/a310f35e-f830-463b-af09-9199a01c3087.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] => 68844 [record_samples] => 34400 [record_seconds] => 4 [record_ms] => 4300 [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:58 [profile_start_stamp] => 2024-08-28 13:52:58 [answer_stamp] => 2024-08-28 13:52:59 [bridge_stamp] => 2024-08-28 13:52:59 [progress_media_stamp] => 2024-08-28 13:52:59 [end_stamp] => 2024-08-28 13:53:03 [start_epoch] => 1724853178 [start_uepoch] => 1724853178833539 [profile_start_epoch] => 1724853178 [profile_start_uepoch] => 1724853178833539 [answer_epoch] => 1724853179 [answer_uepoch] => 1724853179653542 [bridge_epoch] => 1724853179 [bridge_uepoch] => 1724853179493561 [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] => 1724853179 [progress_media_uepoch] => 1724853179473543 [end_epoch] => 1724853183 [end_uepoch] => 1724853183993548 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/a310f35e-f830-463b-af09-9199a01c3087.wav [caller_id] => "27876300014" <27876300014> [duration] => 5 [billsec] => 4 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 5 [mduration] => 5160 [billmsec] => 4340 [progressmsec] => 0 [answermsec] => 820 [waitmsec] => 660 [progress_mediamsec] => 640 [flow_billmsec] => 5160 [uduration] => 5160009 [billusec] => 4340006 [progressusec] => 0 [answerusec] => 820003 [waitusec] => 660022 [progress_mediausec] => 640004 [flow_billusec] => 5160009 [call_uuid] => d3675f1f-62fb-4e44-aa71-8393258b6cb3 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 38184 [rtp_audio_in_media_bytes] => 38184 [rtp_audio_in_packet_count] => 222 [rtp_audio_in_media_packet_count] => 222 [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] => 36464 [rtp_audio_out_media_bytes] => 36464 [rtp_audio_out_packet_count] => 212 [rtp_audio_out_media_packet_count] => 212 [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/a310f35e-f830-463b-af09-9199a01c3087.wav [app_stamp] => 1724853179673036 ) ) ) [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] => d3675f1f-62fb-4e44-aa71-8393258b6cb3 [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] => a310f35e-f830-463b-af09-9199a01c3087 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) 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.10650 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.18540 ) [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=^^:PCM ) ) ) [times] => Array ( [created_time] => 1724853178833539 [profile_created_time] => 1724853178833539 [progress_time] => 0 [progress_media_time] => 1724853179473543 [answered_time] => 1724853179653542 [bridged_time] => 1724853179493561 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853183993548 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) A: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] => a310f35e-f830-463b-af09-9199a01c3087 [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] => d3675f1f-62fb-4e44-aa71-8393258b6cb3 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853178753545 [profile_created_time] => 1724853178753545 [progress_time] => 0 [progress_media_time] => 1724853179493561 [answered_time] => 1724853179673544 [bridged_time] => 1724853179493561 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853184013541 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:04] Going to call_notification [2024-08-28 13:53:04] Going to call_notification [2024-08-28 13:53:04] ========== Print all logs ========== [2024-08-28 13:53:04] sip_hangup_disposition : recv_bye [2024-08-28 13:53:04] ========== Print all logs ========== [2024-08-28 13:53:04] ==================================================== [2024-08-28 13:53:04] sip_hangup_disposition : send_bye [2024-08-28 13:53:04] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:53:04] ==================================================== [2024-08-28 13:53:04] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:53:04] [call_notification] : source_main : 27217730138 [2024-08-28 13:53:04] [call_notification] : source_main : 27876300014 [2024-08-28 13:53:04] [call_notification] : destination : 27876300014 [2024-08-28 13:53:04] [call_notification] : get_notification_info : null [2024-08-28 13:53:04] call_notification end [2024-08-28 13:53:04] [call_notification] : destination : 0217730138 [2024-08-28 13:53:04] Done to call_notification [2024-08-28 13:53:04] [call_notification] : get_notification_info : null [2024-08-28 13:53:04] call_notification end [2024-08-28 13:53:04] Done to call_notification [2024-08-28 13:53:04] Origination Rates Array::: [2024-08-28 13:53:04] Array ( ) [2024-08-28 13:53:04] *********************** Trunk in package_id: ************* [2024-08-28 13:53:04] dataVariable_array': Array [2024-08-28 13:53:04] GET flat_disconnect_fee : 0 [2024-08-28 13:53:04] GET disconnect_fee_after : 0 [2024-08-28 13:53:04] GET disconnect_fee : 0 [2024-08-28 13:53:04] GET minute_to_seconds : 60 [2024-08-28 13:53:04] Return cost 0.0275 [2024-08-28 13:53:04] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:53:04] dataVariable_array': Array [2024-08-28 13:53:04] GET flat_disconnect_fee : 0 [2024-08-28 13:53:04] GET disconnect_fee_after : 0 [2024-08-28 13:53:04] GET disconnect_fee : 0 [2024-08-28 13:53:04] GET minute_to_seconds : 60 [2024-08-28 13:53:04] Return cost 0.0075 [2024-08-28 13:53:04] dataVariable_array': Array [2024-08-28 13:53:04] GET flat_disconnect_fee : 0 [2024-08-28 13:53:04] GET disconnect_fee_after : 0 [2024-08-28 13:53:04] GET disconnect_fee : 0 [2024-08-28 13:53:04] GET minute_to_seconds : 60 [2024-08-28 13:53:04] Return cost 0.0234 [2024-08-28 13:53:04] dataVariable_array': Array [2024-08-28 13:53:04] GET flat_disconnect_fee : 0 [2024-08-28 13:53:04] GET disconnect_fee_after : 0 [2024-08-28 13:53:04] GET disconnect_fee : 0 [2024-08-28 13:53:04] GET minute_to_seconds : 60 [2024-08-28 13:53:04] Return cost 0.0234 [2024-08-28 13:53:04] Debit :0.0275 Cost : 0 Provider Cost : 0.0234 [2024-08-28 13:53:04] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:53:04] *********calltype::::::**************STANDARD************* [2024-08-28 13:53:04] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:53:04] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:53:04] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:04] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.329 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:04] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1694.9868 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:04] 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 ('a310f35e-f830-463b-af09-9199a01c3087','419','0','27876300014 <27876300014>','27217730138','5',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:52:58','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:03','4340','920','740','740','740','4.50','','','') [2024-08-28 13:53:04] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:04] 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:04] 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:04] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:53:04] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:04] dataVariable_array': Array [2024-08-28 13:53:04] GET flat_disconnect_fee : 0 [2024-08-28 13:53:04] GET disconnect_fee_after : 0 [2024-08-28 13:53:04] GET disconnect_fee : 0 [2024-08-28 13:53:04] GET minute_to_seconds : 60 [2024-08-28 13:53:04] Return cost 0.0234 [2024-08-28 13:53:04] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:04] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:04] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.1299 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:04] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2088 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:04] 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 ('a310f35e-f830-463b-af09-9199a01c3087','405','1','27876300014 <27876300014>','27217730138','5','NORMAL_CLEARING [16]','2024-08-28 13:52:58','0.0234','0.0075','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:03','97','','','') [2024-08-28 13:53:04] 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:04] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:53:04] *************************** CDR ends ******************************** [2024-08-28 13:53:10] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:10] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 5 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 84.176724137931 [jitter_max_variance] => 381.77777777778 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20.086206896552 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 40764 [media_bytes] => 40764 [packet_count] => 237 [media_packet_count] => 237 [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] => 3c935d4f-641a-43f1-b243-315c191ea9f4 [session_id] => 18558 [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] => 036abe28-d170-4d1d-834a-899f088d5f4b [switch_m_sdp] => v=0 o=bk 1204884 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34758 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/036abe28-d170-4d1d-834a-899f088d5f4b.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] => 036abe28-d170-4d1d-834a-899f088d5f4b [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724832205 1724832206 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 20980 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.20: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.20 [local_media_port] => 20980 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 317000041 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.88 [remote_media_port] => 30298 [last_bridge_to] => 036abe28-d170-4d1d-834a-899f088d5f4b [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 036abe28-d170-4d1d-834a-899f088d5f4b [signal_bond] => 036abe28-d170-4d1d-834a-899f088d5f4b [sip_local_network_addr] => 102.220.232.20 [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.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKgXa3Q5g8at64D [sip_recover_via] => SIP/2.0/UDP 102.220.232.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKgXa3Q5g8at64D [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=X5KHa0X8X971m [sip_full_to] => ;tag=eK4X4attKUvtc [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.20 [sip_from_host] => 102.220.232.20 [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] => eK4X4attKUvtc [sip_from_tag] => X5KHa0X8X971m [sip_cseq] => 87872800 [sip_call_id] => b0d77e28-dfe7-123d-e78d-44a8423e9921 [switch_r_sdp] => v=0 o=FreeSWITCH 1724822885 1724822886 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 30298 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/036abe28-d170-4d1d-834a-899f088d5f4b.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] => 76844 [record_samples] => 38400 [record_seconds] => 4 [record_ms] => 4800 [record_completion_cause] => success-silence [bridge_hangup_cause] => NORMAL_CLEARING [call_uuid] => 3c935d4f-641a-43f1-b243-315c191ea9f4 [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:05 [profile_start_stamp] => 2024-08-28 13:53:05 [answer_stamp] => 2024-08-28 13:53:06 [bridge_stamp] => 2024-08-28 13:53:05 [progress_media_stamp] => 2024-08-28 13:53:05 [end_stamp] => 2024-08-28 13:53:10 [start_epoch] => 1724853185 [start_uepoch] => 1724853185253539 [profile_start_epoch] => 1724853185 [profile_start_uepoch] => 1724853185253539 [answer_epoch] => 1724853186 [answer_uepoch] => 1724853186113549 [bridge_epoch] => 1724853185 [bridge_uepoch] => 1724853185933549 [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] => 1724853185 [progress_media_uepoch] => 1724853185913542 [end_epoch] => 1724853190 [end_uepoch] => 1724853190953548 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/036abe28-d170-4d1d-834a-899f088d5f4b.wav [caller_id] => "27876300014" <27876300014> [duration] => 5 [billsec] => 4 [progresssec] => 0 [answersec] => 1 [waitsec] => 0 [progress_mediasec] => 0 [flow_billsec] => 5 [mduration] => 5700 [billmsec] => 4840 [progressmsec] => 0 [answermsec] => 860 [waitmsec] => 680 [progress_mediamsec] => 660 [flow_billmsec] => 5700 [uduration] => 5700009 [billusec] => 4839999 [progressusec] => 0 [answerusec] => 860010 [waitusec] => 680010 [progress_mediausec] => 660003 [flow_billusec] => 5700009 [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] => 5 [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] => 84.18 [rtp_audio_in_jitter_max_variance] => 381.78 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.09 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 40764 [rtp_audio_out_media_bytes] => 40764 [rtp_audio_out_packet_count] => 237 [rtp_audio_out_media_packet_count] => 237 [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/036abe28-d170-4d1d-834a-899f088d5f4b.wav [app_stamp] => 1724853186119457 ) ) ) [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] => 3c935d4f-641a-43f1-b243-315c191ea9f4 [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] => 036abe28-d170-4d1d-834a-899f088d5f4b [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853185253539 [profile_created_time] => 1724853185253539 [progress_time] => 0 [progress_media_time] => 1724853185913542 [answered_time] => 1724853186113549 [bridged_time] => 1724853185933549 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853190953548 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:10] Going to call_notification [2024-08-28 13:53:10] ========== Print all logs ========== [2024-08-28 13:53:10] sip_hangup_disposition : send_bye [2024-08-28 13:53:10] ==================================================== [2024-08-28 13:53:10] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:53:10] [call_notification] : source_main : 27217730138 [2024-08-28 13:53:10] [call_notification] : destination : 27876300014 [2024-08-28 13:53:10] [call_notification] : get_notification_info : null [2024-08-28 13:53:10] call_notification end [2024-08-28 13:53:10] Done to call_notification [2024-08-28 13:53:10] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:10] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 14 [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] => 42312 [media_bytes] => 42312 [packet_count] => 246 [media_packet_count] => 246 [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] => 036abe28-d170-4d1d-834a-899f088d5f4b [session_id] => 18557 [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.20 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853185093543 [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.20: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 1204884 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34758 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] => 036abe28-d170-4d1d-834a-899f088d5f4b [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:05 [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/036abe28-d170-4d1d-834a-899f088d5f4b.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.12990 [monthly_call_used_limit] => 1443.20880 [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] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [originated_legs] => 3c935d4f-641a-43f1-b243-315c191ea9f4;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724822885 1724822886 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 30298 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.20 [local_media_port] => 20984 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 2465612873 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34758 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => 3c935d4f-641a-43f1-b243-315c191ea9f4;NONE [last_bridge_to] => 3c935d4f-641a-43f1-b243-315c191ea9f4 [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => 3c935d4f-641a-43f1-b243-315c191ea9f4 [signal_bond] => 3c935d4f-641a-43f1-b243-315c191ea9f4 [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724832201 1724832203 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 20984 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/036abe28-d170-4d1d-834a-899f088d5f4b.wav [current_application] => record_session [sip_to_tag] => vvtr84c500HFS [sip_from_tag] => bef9d96c0p [sip_cseq] => 2 [sip_call_id] => 68267044-208f8d5b-9ea9b3b9-9e56c173 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bKd587.7b48cc64.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bc70760571-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=bef9d96c0p [sip_full_to] => ;tag=vvtr84c500HFS [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] => 77164 [record_samples] => 38560 [record_seconds] => 4 [record_ms] => 4820 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:05 [profile_start_stamp] => 2024-08-28 13:53:05 [answer_stamp] => 2024-08-28 13:53:06 [bridge_stamp] => 2024-08-28 13:53:05 [progress_media_stamp] => 2024-08-28 13:53:05 [end_stamp] => 2024-08-28 13:53:10 [start_epoch] => 1724853185 [start_uepoch] => 1724853185093543 [profile_start_epoch] => 1724853185 [profile_start_uepoch] => 1724853185093543 [answer_epoch] => 1724853186 [answer_uepoch] => 1724853186133541 [bridge_epoch] => 1724853185 [bridge_uepoch] => 1724853185933549 [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] => 1724853185 [progress_media_uepoch] => 1724853185933549 [end_epoch] => 1724853190 [end_uepoch] => 1724853190953548 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/036abe28-d170-4d1d-834a-899f088d5f4b.wav [caller_id] => "Ext 114" <27876300014> [duration] => 5 [billsec] => 4 [progresssec] => 0 [answersec] => 1 [waitsec] => 0 [progress_mediasec] => 0 [flow_billsec] => 5 [mduration] => 5860 [billmsec] => 4820 [progressmsec] => 0 [answermsec] => 1040 [waitmsec] => 840 [progress_mediamsec] => 840 [flow_billmsec] => 5860 [uduration] => 5860005 [billusec] => 4820007 [progressusec] => 0 [answerusec] => 1039998 [waitusec] => 840006 [progress_mediausec] => 840006 [flow_billusec] => 5860005 [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] => 14 [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] => 42312 [rtp_audio_out_media_bytes] => 42312 [rtp_audio_out_packet_count] => 246 [rtp_audio_out_media_packet_count] => 246 [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] => 1724853185245974 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853185246209 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853185246451 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853185246671 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853185246882 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:05 [app_stamp] => 1724853185247052 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853185247214 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853185247378 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853185247548 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853185247717 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853185247882 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853185248049 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853185248219 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853185248389 ) [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] => 1724853185248559 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853185248738 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853185248912 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853185249087 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853185249558 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853185249984 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853185250171 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853185250357 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/036abe28-d170-4d1d-834a-899f088d5f4b.wav [app_stamp] => 1724853185250546 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853185250733 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853185250922 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853185251113 ) [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] => 1724853185251304 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853185251498 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853185251691 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853185251884 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853185252078 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853185252275 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.12990 [app_stamp] => 1724853185252469 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.20880 [app_stamp] => 1724853185252665 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853185252863 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853185253062 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853185253264 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853185253467 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853185253670 ) [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] => 1724853185253874 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853185254082 ) [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] => 1724853185254562 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853186138245 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/036abe28-d170-4d1d-834a-899f088d5f4b.wav [app_stamp] => 1724853186138567 ) ) ) [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:05 ) [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.12990 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.20880 ) [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] => 036abe28-d170-4d1d-834a-899f088d5f4b [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] => 3c935d4f-641a-43f1-b243-315c191ea9f4 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853185093543 [profile_created_time] => 1724853185093543 [progress_time] => 0 [progress_media_time] => 1724853185933549 [answered_time] => 1724853186133541 [bridged_time] => 1724853185933549 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853190953548 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:10] Going to call_notification [2024-08-28 13:53:10] ========== Print all logs ========== [2024-08-28 13:53:10] sip_hangup_disposition : recv_bye [2024-08-28 13:53:10] ==================================================== [2024-08-28 13:53:10] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:53:10] [call_notification] : source_main : 27876300014 [2024-08-28 13:53:10] [call_notification] : destination : 0217730138 [2024-08-28 13:53:10] [call_notification] : get_notification_info : null [2024-08-28 13:53:10] call_notification end [2024-08-28 13:53:10] Done to call_notification [2024-08-28 13:53:10] Origination Rates Array::: [2024-08-28 13:53:10] Array ( ) [2024-08-28 13:53:10] *********************** Trunk in package_id: ************* [2024-08-28 13:53:10] dataVariable_array': Array [2024-08-28 13:53:10] GET flat_disconnect_fee : 0 [2024-08-28 13:53:10] GET disconnect_fee_after : 0 [2024-08-28 13:53:10] GET disconnect_fee : 0 [2024-08-28 13:53:10] GET minute_to_seconds : 60 [2024-08-28 13:53:10] Return cost 0.0220 [2024-08-28 13:53:10] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:53:10] dataVariable_array': Array [2024-08-28 13:53:10] GET flat_disconnect_fee : 0 [2024-08-28 13:53:10] GET disconnect_fee_after : 0 [2024-08-28 13:53:10] GET disconnect_fee : 0 [2024-08-28 13:53:10] GET minute_to_seconds : 60 [2024-08-28 13:53:10] Return cost 0.0060 [2024-08-28 13:53:10] dataVariable_array': Array [2024-08-28 13:53:10] GET flat_disconnect_fee : 0 [2024-08-28 13:53:10] GET disconnect_fee_after : 0 [2024-08-28 13:53:10] GET disconnect_fee : 0 [2024-08-28 13:53:10] GET minute_to_seconds : 60 [2024-08-28 13:53:10] Return cost 0.0187 [2024-08-28 13:53:10] dataVariable_array': Array [2024-08-28 13:53:10] GET flat_disconnect_fee : 0 [2024-08-28 13:53:10] GET disconnect_fee_after : 0 [2024-08-28 13:53:10] GET disconnect_fee : 0 [2024-08-28 13:53:10] GET minute_to_seconds : 60 [2024-08-28 13:53:10] Return cost 0.0187 [2024-08-28 13:53:10] Debit :0.0220 Cost : 0 Provider Cost : 0.0187 [2024-08-28 13:53:10] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:53:10] *********calltype::::::**************STANDARD************* [2024-08-28 13:53:10] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:53:10] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:53:10] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:10] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.351 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:10] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.0088 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:10] 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 ('036abe28-d170-4d1d-834a-899f088d5f4b','419','0','27876300014 <27876300014>','27217730138','4',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:53:05','0.0220','0.0187',159,'187','','^27217730.*','RSA Goldtel Geographic','0.3300000000','405','^27217730.*','RSA Goldtel Geographic','0.2805000000','^27217730.*','RSA Goldtel Geographic','0.0900000000','0.0060','Outbound','STANDARD','','0','27876300014','0','2024-08-28 13:53:09','4820','1040','840','840','840','4.50','','','') [2024-08-28 13:53:10] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:10] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0220,@amount := balance-0.0220) WHERE id=419 [2024-08-28 13:53:10] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+-0.0187,@amount := balance--0.0187) WHERE id=159 [2024-08-28 13:53:10] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:53:10] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:10] dataVariable_array': Array [2024-08-28 13:53:10] GET flat_disconnect_fee : 0 [2024-08-28 13:53:10] GET disconnect_fee_after : 0 [2024-08-28 13:53:10] GET disconnect_fee : 0 [2024-08-28 13:53:10] GET minute_to_seconds : 60 [2024-08-28 13:53:10] Return cost 0.0187 [2024-08-28 13:53:10] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:10] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:10] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.1486 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:10] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2275 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:10] 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 ('036abe28-d170-4d1d-834a-899f088d5f4b','405','1','27876300014 <27876300014>','27217730138','4','NORMAL_CLEARING [16]','2024-08-28 13:53:05','0.0187','0.0060','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:09','97','','','') [2024-08-28 13:53:10] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.0187,@amount := balance-0.0187) WHERE id=405 [2024-08-28 13:53:10] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:53:10] *************************** CDR ends ******************************** [2024-08-28 13:53:25] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:25] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 19780 [media_bytes] => 19780 [packet_count] => 115 [media_packet_count] => 115 [skip_packet_count] => 15 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 7.9207920792079 [jitter_max_variance] => 17.021276595745 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20.196078431373 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 21328 [media_bytes] => 21328 [packet_count] => 124 [media_packet_count] => 124 [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] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [session_id] => 18559 [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.20 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853202433544 [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.20: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 1204939 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34846 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] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [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:22 [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/17d7162f-4c11-4382-b67d-14fde68fd0b0.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.18140 [monthly_call_used_limit] => 1443.26030 [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] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [originated_legs] => eb860734-ae2e-49b6-9585-9030e5cf92b7;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724831638 1724831639 IN IP4 196.31.25.86 s=FreeSWITCH c=IN IP4 196.31.25.86 t=0 0 m=audio 21562 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.20 [local_media_port] => 29392 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 2465436618 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34846 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => eb860734-ae2e-49b6-9585-9030e5cf92b7;NONE [last_bridge_to] => eb860734-ae2e-49b6-9585-9030e5cf92b7 [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => eb860734-ae2e-49b6-9585-9030e5cf92b7 [signal_bond] => eb860734-ae2e-49b6-9585-9030e5cf92b7 [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724823811 1724823813 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 29392 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/17d7162f-4c11-4382-b67d-14fde68fd0b0.wav [current_application] => record_session [sip_to_tag] => 00ZUFHgKN4atQ [sip_from_tag] => b38bcdb0ap [sip_cseq] => 2 [sip_call_id] => b145b48e-4aa3389c-413e918-b6b87e52 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bK3448.727f47f1.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bc8575ec18-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=b38bcdb0ap [sip_full_to] => ;tag=00ZUFHgKN4atQ [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] => 38124 [record_samples] => 19040 [record_seconds] => 2 [record_ms] => 2380 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:22 [profile_start_stamp] => 2024-08-28 13:53:22 [answer_stamp] => 2024-08-28 13:53:23 [bridge_stamp] => 2024-08-28 13:53:23 [progress_media_stamp] => 2024-08-28 13:53:23 [end_stamp] => 2024-08-28 13:53:25 [start_epoch] => 1724853202 [start_uepoch] => 1724853202433544 [profile_start_epoch] => 1724853202 [profile_start_uepoch] => 1724853202433544 [answer_epoch] => 1724853203 [answer_uepoch] => 1724853203373541 [bridge_epoch] => 1724853203 [bridge_uepoch] => 1724853203173546 [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] => 1724853203 [progress_media_uepoch] => 1724853203173546 [end_epoch] => 1724853205 [end_uepoch] => 1724853205753549 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/17d7162f-4c11-4382-b67d-14fde68fd0b0.wav [caller_id] => "Ext 114" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3320 [billmsec] => 2380 [progressmsec] => 0 [answermsec] => 940 [waitmsec] => 740 [progress_mediamsec] => 740 [flow_billmsec] => 3320 [uduration] => 3320005 [billusec] => 2380008 [progressusec] => 0 [answerusec] => 939997 [waitusec] => 740002 [progress_mediausec] => 740002 [flow_billusec] => 3320005 [rtp_audio_in_raw_bytes] => 19780 [rtp_audio_in_media_bytes] => 19780 [rtp_audio_in_packet_count] => 115 [rtp_audio_in_media_packet_count] => 115 [rtp_audio_in_skip_packet_count] => 15 [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] => 7.92 [rtp_audio_in_jitter_max_variance] => 17.02 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.20 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 21328 [rtp_audio_out_media_bytes] => 21328 [rtp_audio_out_packet_count] => 124 [rtp_audio_out_media_packet_count] => 124 [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] => 1724853202507914 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853202508119 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853202508300 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853202508484 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853202508670 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:22 [app_stamp] => 1724853202508849 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853202509022 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853202509199 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853202509378 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853202509556 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853202509736 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853202509914 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853202510098 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853202510292 ) [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] => 1724853202510470 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853202510643 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853202510825 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853202511002 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853202511477 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853202511904 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853202512091 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853202512272 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/17d7162f-4c11-4382-b67d-14fde68fd0b0.wav [app_stamp] => 1724853202512457 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853202512640 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853202512828 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853202513012 ) [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] => 1724853202513198 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853202513383 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853202513571 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853202513761 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853202513949 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853202514140 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.18140 [app_stamp] => 1724853202514334 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.26030 [app_stamp] => 1724853202514525 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853202514717 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853202514914 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853202515110 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853202515307 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853202515506 ) [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] => 1724853202515703 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853202515902 ) [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] => 1724853202516362 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853203379522 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/17d7162f-4c11-4382-b67d-14fde68fd0b0.wav [app_stamp] => 1724853203379839 ) ) ) [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:22 ) [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.18140 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.26030 ) [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] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [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] => eb860734-ae2e-49b6-9585-9030e5cf92b7 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853202433544 [profile_created_time] => 1724853202433544 [progress_time] => 0 [progress_media_time] => 1724853203173546 [answered_time] => 1724853203373541 [bridged_time] => 1724853203173546 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853205753549 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:25] Going to call_notification [2024-08-28 13:53:25] ========== Print all logs ========== [2024-08-28 13:53:25] sip_hangup_disposition : recv_bye [2024-08-28 13:53:25] ==================================================== [2024-08-28 13:53:25] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:53:25] [call_notification] : source_main : 27876300014 [2024-08-28 13:53:25] [call_notification] : destination : 0217730138 [2024-08-28 13:53:25] [call_notification] : get_notification_info : null [2024-08-28 13:53:25] call_notification end [2024-08-28 13:53:25] Done to call_notification [2024-08-28 13:53:25] Origination Rates Array::: [2024-08-28 13:53:25] Array ( ) [2024-08-28 13:53:25] *********************** Trunk in package_id: ************* [2024-08-28 13:53:25] dataVariable_array': Array [2024-08-28 13:53:25] GET flat_disconnect_fee : 0 [2024-08-28 13:53:25] GET disconnect_fee_after : 0 [2024-08-28 13:53:25] GET disconnect_fee : 0 [2024-08-28 13:53:25] GET minute_to_seconds : 60 [2024-08-28 13:53:25] Return cost 0.0110 [2024-08-28 13:53:25] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:53:25] dataVariable_array': Array [2024-08-28 13:53:25] GET flat_disconnect_fee : 0 [2024-08-28 13:53:25] GET disconnect_fee_after : 0 [2024-08-28 13:53:25] GET disconnect_fee : 0 [2024-08-28 13:53:25] GET minute_to_seconds : 60 [2024-08-28 13:53:25] Return cost 0.0030 [2024-08-28 13:53:25] dataVariable_array': Array [2024-08-28 13:53:25] GET flat_disconnect_fee : 0 [2024-08-28 13:53:25] GET disconnect_fee_after : 0 [2024-08-28 13:53:25] GET disconnect_fee : 0 [2024-08-28 13:53:25] GET minute_to_seconds : 60 [2024-08-28 13:53:25] Return cost 0.0094 [2024-08-28 13:53:25] dataVariable_array': Array [2024-08-28 13:53:25] GET flat_disconnect_fee : 0 [2024-08-28 13:53:25] GET disconnect_fee_after : 0 [2024-08-28 13:53:25] GET disconnect_fee : 0 [2024-08-28 13:53:25] GET minute_to_seconds : 60 [2024-08-28 13:53:25] Return cost 0.0094 [2024-08-28 13:53:25] Debit :0.0110 Cost : 0 Provider Cost : 0.0094 [2024-08-28 13:53:25] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:53:25] *********calltype::::::**************STANDARD************* [2024-08-28 13:53:25] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:53:25] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:53:25] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:25] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:25] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.4005 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:25] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 21500 [media_bytes] => 21500 [packet_count] => 125 [media_packet_count] => 125 [skip_packet_count] => 5 [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] => 19608 [media_bytes] => 19608 [packet_count] => 114 [media_packet_count] => 114 [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] => eb860734-ae2e-49b6-9585-9030e5cf92b7 [session_id] => 18560 [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] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [switch_m_sdp] => v=0 o=bk 1204939 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34846 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/17d7162f-4c11-4382-b67d-14fde68fd0b0.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] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724822894 1724822895 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 30308 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.20: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.20 [local_media_port] => 30308 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 317684922 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.86 [remote_media_port] => 21562 [last_bridge_to] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [signal_bond] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [sip_local_network_addr] => 102.220.232.20 [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.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKKrpDXp3j2m9vg [sip_recover_via] => SIP/2.0/UDP 102.220.232.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKKrpDXp3j2m9vg [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=19rmHc1pjD1cK [sip_full_to] => ;tag=ctjN3BgrHSp0j [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.20 [sip_from_host] => 102.220.232.20 [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] => ctjN3BgrHSp0j [sip_from_tag] => 19rmHc1pjD1cK [sip_cseq] => 87872809 [sip_call_id] => bb216fba-dfe7-123d-e78d-44a8423e9921 [switch_r_sdp] => v=0 o=FreeSWITCH 1724831638 1724831639 IN IP4 196.31.25.86 s=FreeSWITCH c=IN IP4 196.31.25.86 t=0 0 m=audio 21562 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/17d7162f-4c11-4382-b67d-14fde68fd0b0.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] => eb860734-ae2e-49b6-9585-9030e5cf92b7 [record_file_size] => 37804 [record_samples] => 18880 [record_seconds] => 2 [record_ms] => 2360 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:22 [profile_start_stamp] => 2024-08-28 13:53:22 [answer_stamp] => 2024-08-28 13:53:23 [bridge_stamp] => 2024-08-28 13:53:23 [progress_media_stamp] => 2024-08-28 13:53:23 [end_stamp] => 2024-08-28 13:53:25 [start_epoch] => 1724853202 [start_uepoch] => 1724853202513543 [profile_start_epoch] => 1724853202 [profile_start_uepoch] => 1724853202513543 [answer_epoch] => 1724853203 [answer_uepoch] => 1724853203353542 [bridge_epoch] => 1724853203 [bridge_uepoch] => 1724853203173546 [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] => 1724853203 [progress_media_uepoch] => 1724853203153544 [end_epoch] => 1724853205 [end_uepoch] => 1724853205753549 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/17d7162f-4c11-4382-b67d-14fde68fd0b0.wav [caller_id] => "27876300014" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3240 [billmsec] => 2400 [progressmsec] => 0 [answermsec] => 840 [waitmsec] => 660 [progress_mediamsec] => 640 [flow_billmsec] => 3240 [uduration] => 3240006 [billusec] => 2400007 [progressusec] => 0 [answerusec] => 839999 [waitusec] => 660003 [progress_mediausec] => 640001 [flow_billusec] => 3240006 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 21500 [rtp_audio_in_media_bytes] => 21500 [rtp_audio_in_packet_count] => 125 [rtp_audio_in_media_packet_count] => 125 [rtp_audio_in_skip_packet_count] => 5 [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] => 19608 [rtp_audio_out_media_bytes] => 19608 [rtp_audio_out_packet_count] => 114 [rtp_audio_out_media_packet_count] => 114 [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/17d7162f-4c11-4382-b67d-14fde68fd0b0.wav [app_stamp] => 1724853203367339 ) ) ) [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] => eb860734-ae2e-49b6-9585-9030e5cf92b7 [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] => 17d7162f-4c11-4382-b67d-14fde68fd0b0 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853202513543 [profile_created_time] => 1724853202513543 [progress_time] => 0 [progress_media_time] => 1724853203153544 [answered_time] => 1724853203353542 [bridged_time] => 1724853203173546 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853205753549 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:25] Going to call_notification [2024-08-28 13:53:25] ========== Print all logs ========== [2024-08-28 13:53:25] sip_hangup_disposition : send_bye [2024-08-28 13:53:25] ==================================================== [2024-08-28 13:53:25] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:53:25] [call_notification] : source_main : 27217730138 [2024-08-28 13:53:25] [call_notification] : destination : 27876300014 [2024-08-28 13:53:25] [call_notification] : get_notification_info : null [2024-08-28 13:53:25] call_notification end [2024-08-28 13:53:25] Done to call_notification [2024-08-28 13:53:25] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.0583 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:25] 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 ('17d7162f-4c11-4382-b67d-14fde68fd0b0','419','0','27876300014 <27876300014>','27217730138','2',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:53:22','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:24','2380','940','740','740','740','4.50','','','') [2024-08-28 13:53:25] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:25] 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:25] 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:25] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:53:25] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:25] dataVariable_array': Array [2024-08-28 13:53:25] GET flat_disconnect_fee : 0 [2024-08-28 13:53:25] GET disconnect_fee_after : 0 [2024-08-28 13:53:25] GET disconnect_fee : 0 [2024-08-28 13:53:25] GET minute_to_seconds : 60 [2024-08-28 13:53:25] Return cost 0.0094 [2024-08-28 13:53:25] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:25] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:25] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.1908 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:25] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2697 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:25] 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 ('17d7162f-4c11-4382-b67d-14fde68fd0b0','405','1','27876300014 <27876300014>','27217730138','2','NORMAL_CLEARING [16]','2024-08-28 13:53:22','0.0094','0.0030','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:24','97','','','') [2024-08-28 13:53:25] 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:25] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:53:25] *************************** CDR ends ******************************** [2024-08-28 13:53:29] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:29] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 17200 [media_bytes] => 17200 [packet_count] => 100 [media_packet_count] => 100 [skip_packet_count] => 14 [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] => 18060 [media_bytes] => 18060 [packet_count] => 105 [media_packet_count] => 105 [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] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [session_id] => 18561 [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.20 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853206513542 [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.20: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 1204953 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34874 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] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [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:26 [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/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.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.19080 [monthly_call_used_limit] => 1443.26970 [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] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [originated_legs] => d747ec44-afda-418c-a163-a41ca55526f5;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724824143 1724824144 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 29062 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.20 [local_media_port] => 26028 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 2465612894 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 34874 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => d747ec44-afda-418c-a163-a41ca55526f5;NONE [last_bridge_to] => d747ec44-afda-418c-a163-a41ca55526f5 [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => d747ec44-afda-418c-a163-a41ca55526f5 [signal_bond] => d747ec44-afda-418c-a163-a41ca55526f5 [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724827179 1724827181 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 26028 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/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.wav [current_application] => record_session [sip_to_tag] => 2jjDK7HtFpQZe [sip_from_tag] => bde0c1e79p [sip_cseq] => 2 [sip_call_id] => 5694f7fd-eaf0379-3af5605b-74260f15 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bK311e.aca7ba63.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bcb46c8e20-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=bde0c1e79p [sip_full_to] => ;tag=2jjDK7HtFpQZe [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] => 33004 [record_samples] => 16480 [record_seconds] => 2 [record_ms] => 2060 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:26 [profile_start_stamp] => 2024-08-28 13:53:26 [answer_stamp] => 2024-08-28 13:53:27 [bridge_stamp] => 2024-08-28 13:53:27 [progress_media_stamp] => 2024-08-28 13:53:27 [end_stamp] => 2024-08-28 13:53:29 [start_epoch] => 1724853206 [start_uepoch] => 1724853206513542 [profile_start_epoch] => 1724853206 [profile_start_uepoch] => 1724853206513542 [answer_epoch] => 1724853207 [answer_uepoch] => 1724853207833551 [bridge_epoch] => 1724853207 [bridge_uepoch] => 1724853207653549 [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] => 1724853207 [progress_media_uepoch] => 1724853207653549 [end_epoch] => 1724853209 [end_uepoch] => 1724853209913548 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.wav [caller_id] => "Ext 114" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3400 [billmsec] => 2080 [progressmsec] => 0 [answermsec] => 1320 [waitmsec] => 1140 [progress_mediamsec] => 1140 [flow_billmsec] => 3400 [uduration] => 3400006 [billusec] => 2079997 [progressusec] => 0 [answerusec] => 1320009 [waitusec] => 1140007 [progress_mediausec] => 1140007 [flow_billusec] => 3400006 [rtp_audio_in_raw_bytes] => 17200 [rtp_audio_in_media_bytes] => 17200 [rtp_audio_in_packet_count] => 100 [rtp_audio_in_media_packet_count] => 100 [rtp_audio_in_skip_packet_count] => 14 [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] => 18060 [rtp_audio_out_media_bytes] => 18060 [rtp_audio_out_packet_count] => 105 [rtp_audio_out_media_packet_count] => 105 [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] => 1724853206582351 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853206582586 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853206582837 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853206583041 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853206583261 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:53:26 [app_stamp] => 1724853206583477 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853206583697 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853206583906 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853206584115 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853206584327 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853206584541 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853206584758 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853206584974 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853206585191 ) [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] => 1724853206585410 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853206585630 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853206585850 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853206586076 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853206586593 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853206587048 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853206587274 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853206587509 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.wav [app_stamp] => 1724853206587744 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853206587980 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853206588216 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853206588454 ) [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] => 1724853206588693 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853206588932 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853206589178 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853206589397 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853206589590 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853206589779 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.19080 [app_stamp] => 1724853206589972 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.26970 [app_stamp] => 1724853206590164 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853206590363 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853206590566 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853206590763 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853206590961 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853206591164 ) [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] => 1724853206591366 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853206591571 ) [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] => 1724853206592036 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853207835664 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.wav [app_stamp] => 1724853207835966 ) ) ) [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:26 ) [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|C[2024-08-28 13:53:29] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' T:|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.19080 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.26970 ) [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] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [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] => d747ec44-afda-418c-a163-a41ca55526f5 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853206513542 [profile_created_time] => 1724853206513542 [progress_time] => 0 [progress_media_time] => 1724853207653549 [answered_time] => 1724853207833551 [bridged_time] => 1724853207653549 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853209913548 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:29] Going to call_notification [2024-08-28 13:53:29] ========== Print all logs ========== [2024-08-28 13:53:29] sip_hangup_disposition : recv_bye [2024-08-28 13:53:29] ==================================================== [2024-08-28 13:53:29] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 [2024-08-28 13:53:29] [call_notification] : source_main : 27876300014 [2024-08-28 13:53:29] [call_notification] : destination : 0217730138 [2024-08-28 13:53:29] [call_notification] : get_notification_info : null [2024-08-28 13:53:29] call_notification end [2024-08-28 13:53:29] Done to call_notification [2024-08-28 13:53:29] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 18404 [media_bytes] => 18404 [packet_count] => 107 [media_packet_count] => 107 [skip_packet_count] => 8 [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] => 17028 [media_bytes] => 17028 [packet_count] => 99 [media_packet_count] => 99 [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] => d747ec44-afda-418c-a163-a41ca55526f5 [session_id] => 18562 [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] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [switch_m_sdp] => v=0 o=bk 1204953 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 34874 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/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.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] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724827378 1724827379 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 25828 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.20: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.20 [local_media_port] => 25828 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 4276366222 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.87 [remote_media_port] => 29062 [last_bridge_to] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [signal_bond] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [sip_local_network_addr] => 102.220.232.20 [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.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKpK2Q27NXSFcNK [sip_recover_via] => SIP/2.0/UDP 102.220.232.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKpK2Q27NXSFcNK [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=3UB6m22XcZDja [sip_full_to] => ;tag=Q6eKDS85ZZ37m [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.20 [sip_from_host] => 102.220.232.20 [sip_to_user] => 27217730138 [sip_to_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_contac[2024-08-28 13:53:29] Origination Rates Array::: t_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] => Q6eKDS85ZZ37m [sip_from_tag] => 3UB6m22XcZDja [sip_cseq] => 87872811 [sip_call_id] => bd8f54fd-dfe7-123d-e78d-44a8423e9921 [switch_r_sdp] => v=0 o=FreeSWITCH 1724824143 1724824144 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 29062 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/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.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] => 33004 [record_samples] => 16480 [record_seconds] => 2 [record_ms] => 2060 [record_completion_cause] => success-silence [bridge_hangup_cause] => NORMAL_CLEARING [call_uuid] => d747ec44-afda-418c-a163-a41ca55526f5 [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:53:26 [profile_start_stamp] => 2024-08-28 13:53:26 [answer_stamp] => 2024-08-28 13:53:27 [bridge_stamp] => 2024-08-28 13:53:27 [progress_media_stamp] => 2024-08-28 13:53:27 [end_stamp] => 2024-08-28 13:53:29 [start_epoch] => 1724853206 [start_uepoch] => 1724853206573542 [profile_start_epoch] => 1724853206 [profile_start_uepoch] => 1724853206573542 [answer_epoch] => 1724853207 [answer_uepoch] => 1724853207813549 [bridge_epoch] => 1724853207 [bridge_uepoch] => 1724853207653549 [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] => 1724853207 [progress_media_uepoch] => 1724853207633542 [end_epoch] => 1724853209 [end_uepoch] => 1724853209913548 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.wav [caller_id] => "27876300014" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3340 [billmsec] => 2100 [progressmsec] => 0 [answermsec] => 1240 [waitmsec] => 1080 [progress_mediamsec] => 1060 [flow_billmsec] => 3340 [uduration] => 3340006 [billusec] => 2099999 [progressusec] => 0 [answerusec] => 1240007 [waitusec] => 1080007 [progress_mediausec] => 1060000 [flow_billusec] => 3340006 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 18404 [rtp_audio_in_media_bytes] => 18404 [rtp_audio_in_packet_count] => 107 [rtp_audio_in_media_packet_count] => 107 [rtp_audio_in_skip_packet_count] => 8 [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] => 17028 [rtp_audio_out_media_bytes] => 17028 [rtp_audio_out_packet_count] => 99 [rtp_audio_out_media_packet_count] => 99 [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/5142a2cb-4e3b-4d22-9b2c-e202196ca8f6.wav [app_stamp] => 1724853207819345 ) ) ) [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] => d747ec44-afda-418c-a163-a41ca55526f5 [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] => 5142a2cb-4e3b-4d22-9b2c-e202196ca8f6 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853206573542 [profile_created_time] => 1724853206573542 [progress_time] => 0 [progress_media_time] => 1724853207633542 [answered_time] => 1724853207813549 [bridged_time] => 1724853207653549 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853209913548 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:53:29] Going to call_notification [2024-08-28 13:53:29] ========== Print all logs ========== [2024-08-28 13:53:29] sip_hangup_disposition : send_bye [2024-08-28 13:53:29] ==================================================== [2024-08-28 13:53:29] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:53:29] Array ( ) [2024-08-28 13:53:29] [call_notification] : source_main : 27217730138 [2024-08-28 13:53:29] *********************** Trunk in package_id: ************* [2024-08-28 13:53:29] [call_notification] : destination : 27876300014 [2024-08-28 13:53:29] dataVariable_array': Array [2024-08-28 13:53:29] [call_notification] : get_notification_info : null [2024-08-28 13:53:29] GET flat_disconnect_fee : 0 [2024-08-28 13:53:29] call_notification end [2024-08-28 13:53:29] GET disconnect_fee_after : 0 [2024-08-28 13:53:29] Done to call_notification [2024-08-28 13:53:29] GET disconnect_fee : 0 [2024-08-28 13:53:29] GET minute_to_seconds : 60 [2024-08-28 13:53:29] Return cost 0.0110 [2024-08-28 13:53:29] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:53:29] dataVariable_array': Array [2024-08-28 13:53:29] GET flat_disconnect_fee : 0 [2024-08-28 13:53:29] GET disconnect_fee_after : 0 [2024-08-28 13:53:29] GET disconnect_fee : 0 [2024-08-28 13:53:29] GET minute_to_seconds : 60 [2024-08-28 13:53:29] Return cost 0.0030 [2024-08-28 13:53:29] dataVariable_array': Array [2024-08-28 13:53:29] GET flat_disconnect_fee : 0 [2024-08-28 13:53:29] GET disconnect_fee_after : 0 [2024-08-28 13:53:29] GET disconnect_fee : 0 [2024-08-28 13:53:29] GET minute_to_seconds : 60 [2024-08-28 13:53:29] Return cost 0.0094 [2024-08-28 13:53:29] dataVariable_array': Array [2024-08-28 13:53:29] GET flat_disconnect_fee : 0 [2024-08-28 13:53:29] GET disconnect_fee_after : 0 [2024-08-28 13:53:29] GET disconnect_fee : 0 [2024-08-28 13:53:29] GET minute_to_seconds : 60 [2024-08-28 13:53:29] Return cost 0.0094 [2024-08-28 13:53:29] Debit :0.0110 Cost : 0 Provider Cost : 0.0094 [2024-08-28 13:53:29] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:53:29] *********calltype::::::**************STANDARD************* [2024-08-28 13:53:29] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:53:29] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:53:29] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:29] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.4115 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:29] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.0693 WHERE id=419 AND `type`= '0' [2024-08-28 13:53:29] 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 ('5142a2cb-4e3b-4d22-9b2c-e202196ca8f6','419','0','27876300014 <27876300014>','27217730138','2',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:53:26','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:28','2080','1320','1140','1140','1140','4.50','','','') [2024-08-28 13:53:29] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:53:29] 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:29] 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:29] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:53:29] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:29] dataVariable_array': Array [2024-08-28 13:53:29] GET flat_disconnect_fee : 0 [2024-08-28 13:53:29] GET disconnect_fee_after : 0 [2024-08-28 13:53:29] GET disconnect_fee : 0 [2024-08-28 13:53:29] GET minute_to_seconds : 60 [2024-08-28 13:53:29] Return cost 0.0094 [2024-08-28 13:53:29] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:53:29] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:53:29] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.2002 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:29] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2791 WHERE id=405 AND `type`= '1' [2024-08-28 13:53:29] 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 ('5142a2cb-4e3b-4d22-9b2c-e202196ca8f6','405','1','27876300014 <27876300014>','27217730138','2','NORMAL_CLEARING [16]','2024-08-28 13:53:26','0.0094','0.0030','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:53:28','97','','','') [2024-08-28 13:53:29] 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:29] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:53:29] *************************** CDR ends ******************************** [2024-08-28 13:54:17] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:17] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:17] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 17716 [media_bytes] => 17716 [packet_count] => 103 [media_packet_count] => 103 [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] => 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] => 19264 [media_bytes] => 19264 [packet_count] => 112 [media_packet_count] => 112 [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] => 02729293-8413-40ff-82e4-2db1eddb9b28 [session_id] => 18563 [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.20 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853254493544 [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.20: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 1205153 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 35196 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] => 02729293-8413-40ff-82e4-2db1eddb9b28 [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:14 [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/02729293-8413-40ff-82e4-2db1eddb9b28.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.20960 [monthly_call_used_limit] => 1443.28850 [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] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [originated_legs] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724831785 1724831786 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 21468 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.20 [local_media_port] => 31852 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 2465436670 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 35196 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e;NONE [last_bridge_to] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e [signal_bond] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724821403 1724821405 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 31852 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/02729293-8413-40ff-82e4-2db1eddb9b28.wav [current_application] => record_session [sip_to_tag] => 9H3tZ47jUmK2F [sip_from_tag] => ba85b8728p [sip_cseq] => 2 [sip_call_id] => 99b2d6a1-26461a95-b8fc5abf-790ef68e [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bK347e.6f2c7e66.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bc933e45e-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=ba85b8728p [sip_full_to] => ;tag=9H3tZ47jUmK2F [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] => 35884 [record_samples] => 17920 [record_seconds] => 2 [record_ms] => 2240 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:54:14 [profile_start_stamp] => 2024-08-28 13:54:14 [answer_stamp] => 2024-08-28 13:54:15 [bridge_stamp] => 2024-08-28 13:54:15 [progress_media_stamp] => 2024-08-28 13:54:15 [end_stamp] => 2024-08-28 13:54:17 [start_epoch] => 1724853254 [start_uepoch] => 1724853254493544 [profile_start_epoch] => 1724853254 [profile_start_uepoch] => 1724853254493544 [answer_epoch] => 1724853255 [answer_uepoch] => 1724853255633548 [bridge_epoch] => 1724853255 [bridge_uepoch] => 1724853255593544 [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] => 1724853255 [progress_media_uepoch] => 1724853255573542 [end_epoch] => 1724853257 [end_uepoch] => 1724853257893550 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/02729293-8413-40ff-82e4-2db1eddb9b28.wav [caller_id] => "Ext 114" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3400 [billmsec] => 2260 [progressmsec] => 0 [answermsec] => 1140 [waitmsec] => 1100 [progress_mediamsec] => 1080 [flow_billmsec] => 3400 [uduration] => 3400006 [billusec] => 2260002 [progressusec] => 0 [answerusec] => 1140004 [waitusec] => 1100000 [progress_mediausec] => 1079998 [flow_billusec] => 3400006 [rtp_audio_in_raw_bytes] => 17716 [rtp_audio_in_media_bytes] => 17716 [rtp_audio_in_packet_count] => 103 [rtp_audio_in_media_packet_count] => 103 [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] => 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] => 19264 [rtp_audio_out_media_bytes] => 19264 [rtp_audio_out_packet_count] => 112 [rtp_audio_out_media_packet_count] => 112 [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] => 1724853254632500 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853254632699 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853254632881 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853254633066 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853254633246 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:54:14 [app_stamp] => 1724853254633417 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853254633615 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853254633824 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853254634039 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853254634259 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853254634480 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853254634686 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853254634853 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853254635019 ) [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] => 1724853254635189 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853254635366 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853254635540 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853254635717 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853254642786 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853254643213 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853254643436 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853254643669 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/02729293-8413-40ff-82e4-2db1eddb9b28.wav [app_stamp] => 1724853254643909 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853254644143 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853254644377 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853254644610 ) [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] => 1724853254644861 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853254645101 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853254645353 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853254645596 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853254645841 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853254646091 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.20960 [app_stamp] => 1724853254646355 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.28850 [app_stamp] => 1724853254646608 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853254646812 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853254647009 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853254647205 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853254647401 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853254647598 ) [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] => 1724853254647799 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853254648000 ) [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] => 1724853254648460 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853255652010 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/02729293-8413-40ff-82e4-2db1eddb9b28.wav [app_stamp] => 1724853255652332 ) ) ) [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:14 ) [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.20960 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.28850 ) [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] => 02729293-8413-40ff-82e4-2db1eddb9b28 [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] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853254493544 [profile_created_time] => 1724853254493544 [progress_time] => 0 [progress_media_time] => 1724853255573542 [answered_time] => 1724853255633548 [bridged_time] => 1724853255593544 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853257893550 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:54:17] Going to call_notification [2024-08-28 13:54:17] ========== Print all logs ========== [2024-08-28 13:54:17] sip_hangup_disposition : recv_bye [2024-08-28 13:54:17] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 19608 [media_bytes] => 19608 [packet_count] => 114 [media_packet_count] => 114 [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] => 17716 [media_bytes] => 17716 [packet_count] => 103 [media_packet_count] => 103 [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] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e [session_id] => 18564 [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] => 02729293-8413-40ff-82e4-2db1eddb9b28 [switch_m_sdp] => v=0 o=bk 1205153 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 35196 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/02729293-8413-40ff-82e4-2db1eddb9b28.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] => 02729293-8413-40ff-82e4-2db1eddb9b28 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724830502 1724830503 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 22752 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.20: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.20 [local_media_port] => 22752 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 4276296622 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.87 [remote_media_port] => 21468 [last_bridge_to] => 02729293-8413-40ff-82e4-2db1eddb9b28 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 02729293-8413-40ff-82e4-2db1eddb9b28 [signal_bond] => 02729293-8413-40ff-82e4-2db1eddb9b28 [sip_local_network_addr] => 102.220.232.20 [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.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKSee27r87gaFDp [sip_recover_via] => SIP/2.0/UDP 102.220.232.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKSee27r87gaFDp [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=aUvK1ZrprX9mB [sip_full_to] => ;tag=KBvvyNtav5QeN [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.20 [sip_from_host] => 102.220.232.20 [sip_to_user] => 27217730138 [sip_to_uri] => 27217730138@gtsbc.goldtelcloud.co.za [sip_to_host] => gtsbc.goldtelcloud.co.za [sip_contac[2024-08-28 13:54:17] ==================================================== t_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] => KBvvyNtav5QeN [sip_from_tag] => aUvK1ZrprX9mB [sip_cseq] => 87872835 [sip_call_id] => da342925-dfe7-123d-e78d-44a8423e9921 [switch_r_sdp] => v=0 o=FreeSWITCH 1724831785 1724831786 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 21468 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/02729293-8413-40ff-82e4-2db1eddb9b28.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] => 35244 [record_samples] => 17600 [record_seconds] => 2 [record_ms] => 2200 [record_completion_cause] => success-silence [bridge_hangup_cause] => NORMAL_CLEARING [call_uuid] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:54:14 [profile_start_stamp] => 2024-08-28 13:54:14 [answer_stamp] => 2024-08-28 13:54:15 [bridge_stamp] => 2024-08-28 13:54:15 [progress_media_stamp] => 2024-08-28 13:54:15 [end_stamp] => 2024-08-28 13:54:17 [start_epoch] => 1724853254 [start_uepoch] => 1724853254633538 [profile_start_epoch] => 1724853254 [profile_start_uepoch] => 1724853254633538 [answer_epoch] => 1724853255 [answer_uepoch] => 1724853255633548 [bridge_epoch] => 1724853255 [bridge_uepoch] => 1724853255593544 [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] => 1724853255 [progress_media_uepoch] => 1724853255573542 [end_epoch] => 1724853257 [end_uepoch] => 1724853257893550 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/02729293-8413-40ff-82e4-2db1eddb9b28.wav [caller_id] => "27876300014" <27876300014> [duration] => 3 [billsec] => 2 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 3 [mduration] => 3260 [billmsec] => 2260 [progressmsec] => 0 [answermsec] => 1000 [waitmsec] => 960 [progress_mediamsec] => 940 [flow_billmsec] => 3260 [uduration] => 3260012 [billusec] => 2260002 [progressusec] => 0 [answerusec] => 1000010 [waitusec] => 960006 [progress_mediausec] => 940004 [flow_billusec] => 3260012 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 19608 [rtp_audio_in_media_bytes] => 19608 [rtp_audio_in_packet_count] => 114 [rtp_audio_in_media_packet_count] => 114 [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] => 17716 [rtp_audio_out_media_bytes] => 17716 [rtp_audio_out_packet_count] => 103 [rtp_audio_out_media_packet_count] => 103 [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/02729293-8413-40ff-82e4-2db1eddb9b28.wav [app_stamp] => 1724853255638127 ) ) ) [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] => 335e7c53-89fe-49bb-a7a1-3b86fbe4ec2e [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] => 02729293-8413-40ff-82e4-2db1eddb9b28 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) [2024-08-28 13:54:17] GET dialer info : SELECT * FROM dialer_device_info WHERE username=0217730138 ) ) ) [times] => Array ( [created_time] => 1724853254633538 [profile_created_time] => 1724853254633538 [progress_time] => 0 [progress_media_time] => 1724853255573542 [answered_time] => 1724853255633548 [bridged_time] => 1724853255593544 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853257893550 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:54:17] Going to call_notification [2024-08-28 13:54:17] ========== Print all logs ========== [2024-08-28 13:54:17] sip_hangup_disposition : send_bye [2024-08-28 13:54:17] ==================================================== [2024-08-28 13:54:17] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:54:17] [call_notification] : source_main : 27876300014 [2024-08-28 13:54:17] [call_notification] : destination : 0217730138 [2024-08-28 13:54:17] [call_notification] : get_notification_info : null [2024-08-28 13:54:17] call_notification end [2024-08-28 13:54:17] Done to call_notification [2024-08-28 13:54:17] Origination Rates Array::: [2024-08-28 13:54:17] [call_notification] : source_main : 27217730138 [2024-08-28 13:54:17] [call_notification] : destination : 27876300014 [2024-08-28 13:54:17] [call_notification] : get_notification_info : null [2024-08-28 13:54:17] call_notification end [2024-08-28 13:54:17] Done to call_notification [2024-08-28 13:54:17] Array ( ) [2024-08-28 13:54:17] *********************** Trunk in package_id: ************* [2024-08-28 13:54:17] dataVariable_array': Array [2024-08-28 13:54:17] GET flat_disconnect_fee : 0 [2024-08-28 13:54:17] GET disconnect_fee_after : 0 [2024-08-28 13:54:17] GET disconnect_fee : 0 [2024-08-28 13:54:17] GET minute_to_seconds : 60 [2024-08-28 13:54:17] Return cost 0.0110 [2024-08-28 13:54:17] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:54:17] dataVariable_array': Array [2024-08-28 13:54:17] GET flat_disconnect_fee : 0 [2024-08-28 13:54:17] GET disconnect_fee_after : 0 [2024-08-28 13:54:17] GET disconnect_fee : 0 [2024-08-28 13:54:17] GET minute_to_seconds : 60 [2024-08-28 13:54:17] Return cost 0.0030 [2024-08-28 13:54:17] dataVariable_array': Array [2024-08-28 13:54:17] GET flat_disconnect_fee : 0 [2024-08-28 13:54:17] GET disconnect_fee_after : 0 [2024-08-28 13:54:17] GET disconnect_fee : 0 [2024-08-28 13:54:17] GET minute_to_seconds : 60 [2024-08-28 13:54:17] Return cost 0.0094 [2024-08-28 13:54:17] dataVariable_array': Array [2024-08-28 13:54:17] GET flat_disconnect_fee : 0 [2024-08-28 13:54:17] GET disconnect_fee_after : 0 [2024-08-28 13:54:17] GET disconnect_fee : 0 [2024-08-28 13:54:17] GET minute_to_seconds : 60 [2024-08-28 13:54:17] Return cost 0.0094 [2024-08-28 13:54:17] Debit :0.0110 Cost : 0 Provider Cost : 0.0094 [2024-08-28 13:54:17] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:54:17] *********calltype::::::**************STANDARD************* [2024-08-28 13:54:17] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:54:17] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:54:17] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:54:17] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.4335 WHERE id=419 AND `type`= '0' [2024-08-28 13:54:17] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.0913 WHERE id=419 AND `type`= '0' [2024-08-28 13:54: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 ('02729293-8413-40ff-82e4-2db1eddb9b28','419','0','27876300014 <27876300014>','27217730138','2',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:54:14','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:16','2260','1140','1100','1080','1080','4.50','','','') [2024-08-28 13:54:17] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:17] 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:17] 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:17] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:54:17] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:54:17] dataVariable_array': Array [2024-08-28 13:54:17] GET flat_disconnect_fee : 0 [2024-08-28 13:54:17] GET disconnect_fee_after : 0 [2024-08-28 13:54:17] GET disconnect_fee : 0 [2024-08-28 13:54:17] GET minute_to_seconds : 60 [2024-08-28 13:54:17] Return cost 0.0094 [2024-08-28 13:54:17] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:54:17] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:54:17] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.219 WHERE id=405 AND `type`= '1' [2024-08-28 13:54:17] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.2979 WHERE id=405 AND `type`= '1' [2024-08-28 13:54: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 ('02729293-8413-40ff-82e4-2db1eddb9b28','405','1','27876300014 <27876300014>','27217730138','2','NORMAL_CLEARING [16]','2024-08-28 13:54:14','0.0094','0.0030','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:54:16','97','','','') [2024-08-28 13:54:17] 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:17] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:54:17] *************************** CDR ends ******************************** [2024-08-28 13:54:48] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:48] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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] => 245444 [media_bytes] => 245272 [packet_count] => 1427 [media_packet_count] => 1426 [skip_packet_count] => 28 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 1 [largest_jb_size] => 0 [jitter_min_variance] => 29.591199432221 [jitter_max_variance] => 202 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20.056777856636 [flaw_total] => 3 [quality_percentage] => 99 [mos] => 4.492027 [errorLog] => Array ( [0] => Array ( [start] => 1724853262093544 [stop] => 1724853265093544 [flaws] => 2 [consecutiveFlaws] => 1 [durationMS] => 3000 ) ) ) [outbound] => Array ( [raw_bytes] => 246648 [media_bytes] => 246648 [packet_count] => 1434 [media_packet_count] => 1434 [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] => de02d2a1-fd53-4ee4-a4da-d47adf73030d [session_id] => 18566 [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] => 129b906c-fa45-47cc-ae93-ba553138dec5 [switch_m_sdp] => v=0 o=bk 1205166 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 35218 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/129b906c-fa45-47cc-ae93-ba553138dec5.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] => 129b906c-fa45-47cc-ae93-ba553138dec5 [video_media_flow] => inactive [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724835070 1724835071 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 18188 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.20: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.20 [local_media_port] => 18188 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 316828018 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.31.25.87 [remote_media_port] => 28032 [call_uuid] => 129b906c-fa45-47cc-ae93-ba553138dec5 [last_bridge_to] => 129b906c-fa45-47cc-ae93-ba553138dec5 [bridge_channel] => sofia/default/27876300014@196.7.219.43:8356 [bridge_uuid] => 129b906c-fa45-47cc-ae93-ba553138dec5 [signal_bond] => 129b906c-fa45-47cc-ae93-ba553138dec5 [sip_local_network_addr] => 102.220.232.20 [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_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.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKv9ScDaUj84H5r [sip_recover_via] => SIP/2.0/UDP 102.220.232.20:7777;received=102.220.232.20;rport=7777;branch=z9hG4bKv9ScDaUj84H5r [sip_from_display] => 27876300014 [sip_full_from] => "27876300014" ;tag=cDF54NtXjFptj [sip_full_to] => ;tag=p8SSNa3pttcKD [sip_from_user] => 27876300014 [sip_from_uri] => 27876300014@102.220.232.20 [sip_from_host] => 102.220.232.20 [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] => p8SSNa3pttcKD [sip_from_tag] => cDF54NtXjFptj [sip_cseq] => 87872837 [sip_call_id] => dc99e8ab-dfe7-123d-e78d-44a8423e9921 [switch_r_sdp] => v=0 o=FreeSWITCH 1724825225 1724825226 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 28032 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/129b906c-fa45-47cc-ae93-ba553138dec5.wav [current_application] => record_session [last_sent_callee_id_name] => 27876300014 [last_sent_callee_id_number] => 27876300014 [sip_reason] => Q.850;cause=16;text="NORMAL_CLEARING" [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.31.25.91 [sip_bye_h_P-Accountcode] => 3786491283 [sip_bye_h_P-effective_caller_id_name] => [sip_bye_h_P-effective_caller_id_number] => 27217730138 [last_bridge_role] => originatee [sip_user_agent] => GoldtelSolutions [sip_hangup_disposition] => recv_bye [record_file_size] => 463084 [record_samples] => 231520 [record_seconds] => 28 [record_ms] => 28940 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:54:18 [profile_start_stamp] => 2024-08-28 13:54:18 [answer_stamp] => 2024-08-28 13:54:19 [bridge_stamp] => 2024-08-28 13:54:19 [progress_media_stamp] => 2024-08-28 13:54:19 [end_stamp] => 2024-08-28 13:54:48 [start_epoch] => 1724853258 [start_uepoch] => 1724853258653544 [profile_start_epoch] => 1724853258 [profile_start_uepoch] => 1724853258653544 [answer_epoch] => 1724853259 [answer_uepoch] => 1724853259633541 [bridge_epoch] => 1724853259 [bridge_uepoch] => 1724853259593541 [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] => 1724853259 [progress_media_uepoch] => 1724853259573542 [end_epoch] => 1724853288 [end_uepoch] => 1724853288593549 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/129b906c-fa45-47cc-ae93-ba553138dec5.wav [caller_id] => "27876300014" <27876300014> [duration] => 30 [billsec] => 29 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 30 [mduration] => 29940 [billmsec] => 28960 [progressmsec] => 0 [answermsec] => 980 [waitmsec] => 940 [progress_mediamsec] => 920 [flow_billmsec] => 29940 [uduration] => 29940005 [billusec] => 28960008 [progressusec] => 0 [answerusec] => 979997 [waitusec] => 939997 [progress_mediausec] => 919998 [flow_billusec] => 29940005 [rtp_audio_in_raw_bytes] => 245444 [rtp_audio_in_media_bytes] => 245272 [rtp_audio_in_packet_count] => 1427 [rtp_audio_in_media_packet_count] => 1426 [rtp_audio_in_skip_packet_count] => 28 [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] => 1 [rtp_audio_in_largest_jb_size] => 0 [rtp_audio_in_jitter_min_variance] => 29.59 [rtp_audio_in_jitter_max_variance] => 202.00 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.06 [rtp_audio_in_flaw_total] => 3 [rtp_audio_in_quality_percentage] => 99.00 [rtp_audio_in_mos] => 4.49 [rtp_audio_out_raw_bytes] => 246648 [rtp_audio_out_media_bytes] => 246648 [rtp_audio_out_packet_count] => 1434 [rtp_audio_out_media_packet_count] => 1434 [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/129b906c-fa45-47cc-ae93-ba553138dec5.wav [app_stamp] => 1724853259641131 ) ) ) [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] => de02d2a1-fd53-4ee4-a4da-d47adf73030d [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] => 129b906c-fa45-47cc-ae93-ba553138dec5 [source] => mod_sofia [context] => default [chan_name] => sofia/default/27876300014@196.7.219.43:8356 ) ) ) ) [times] => Array ( [created_time] => 1724853258653544 [profile_created_time] => 1724853258653544 [progress_time] => 0 [progress_media_time] => 1724853259573542 [answered_time] => 1724853259633541 [bridged_time] => 1724853259593541 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853288593549 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:54:48] Going to call_notification [2024-08-28 13:54:48] ========== Print all logs ========== [2024-08-28 13:54:48] sip_hangup_disposition : recv_bye [2024-08-28 13:54:48] ==================================================== [2024-08-28 13:54:48] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27217730138 [2024-08-28 13:54:48] [call_notification] : source_main : 27876300014 [2024-08-28 13:54:48] [call_notification] : destination : 27217730138 [2024-08-28 13:54:48] [call_notification] : get_notification_info : null [2024-08-28 13:54:48] call_notification end [2024-08-28 13:54:48] Done to call_notification [2024-08-28 13:54:48] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:48] Array ( [core-uuid] => 287b085d-fbb1-4e87-ba7b-482820f7f60f [switchname] => ss2-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;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] => 246820 [media_bytes] => 246820 [packet_count] => 1435 [media_packet_count] => 1435 [skip_packet_count] => 16 [jitter_packet_count] => 0 [dtmf_packet_count] => 0 [cng_packet_count] => 0 [flush_packet_count] => 0 [largest_jb_size] => 0 [jitter_min_variance] => 30.333800841515 [jitter_max_variance] => 547.94520547945 [jitter_loss_rate] => 0 [jitter_burst_rate] => 0 [mean_interval] => 20.140252454418 [flaw_total] => 0 [quality_percentage] => 100 [mos] => 4.5 ) [outbound] => Array ( [raw_bytes] => 245100 [media_bytes] => 245100 [packet_count] => 1425 [media_packet_count] => 1425 [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] => 129b906c-fa45-47cc-ae93-ba553138dec5 [session_id] => 18565 [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.20 [sip_network_ip] => 102.220.232.100 [sip_network_port] => 5060 [sip_invite_stamp] => 1724853258593544 [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.20: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 1205166 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 35218 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] => 129b906c-fa45-47cc-ae93-ba553138dec5 [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: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/129b906c-fa45-47cc-ae93-ba553138dec5.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] => 1 [limit_usage_Goldtel_gw_Goldtel] => 1 [originated_legs] => de02d2a1-fd53-4ee4-a4da-d47adf73030d;Outbound Call;5060 [switch_m_sdp] => v=0 o=FreeSWITCH 1724825225 1724825226 IN IP4 196.31.25.87 s=FreeSWITCH c=IN IP4 196.31.25.87 t=0 0 m=audio 28032 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.20 [local_media_port] => 19322 [advertised_media_ip] => 102.220.232.20 [rtp_use_timer_name] => soft [rtp_use_pt] => 8 [rtp_use_ssrc] => 2465612946 [rtp_2833_send_payload] => 101 [rtp_2833_recv_payload] => 101 [remote_media_ip] => 196.7.219.43 [remote_media_port] => 35218 [originate_disposition] => SUCCESS [DIALSTATUS] => SUCCESS [originate_causes] => de02d2a1-fd53-4ee4-a4da-d47adf73030d;NONE [last_bridge_to] => de02d2a1-fd53-4ee4-a4da-d47adf73030d [bridge_channel] => sofia/default/27217730138 [bridge_uuid] => de02d2a1-fd53-4ee4-a4da-d47adf73030d [signal_bond] => de02d2a1-fd53-4ee4-a4da-d47adf73030d [rtp_local_sdp_str] => v=0 o=FreeSWITCH 1724833937 1724833939 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 19322 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/129b906c-fa45-47cc-ae93-ba553138dec5.wav [current_application] => record_session [sip_to_tag] => B4Nc3t9SN6Z7p [sip_from_tag] => b3f8d55e0p [sip_cseq] => 2 [sip_call_id] => b8162f64-7ee53c58-886adadc-ab6f216 [sip_full_via] => SIP/2.0/UDP 102.220.232.100:5060;branch=z9hG4bKbe5c.d2d18915.2,SIP/2.0/UDP 196.7.219.43:8356;branch=z9hG4bK60bc767c61e8-30-194c7c [sip_from_display] => Ext 114 [sip_full_from] => "Ext 114" ;tag=b3f8d55e0p [sip_full_to] => ;tag=B4Nc3t9SN6Z7p [last_sent_callee_id_name] => Outbound Call [last_sent_callee_id_number] => 27217730138 [sip_reason] => Q.850;cause=16;text="NORMAL_CLEARING" [sip_hangup_phrase] => OK [sip_bye_h_P-hint] => rr-enforced [sip_bye_h_X-AUTH-IP] => 196.31.25.91 [sip_bye_h_P-Accountcode] => 3786491283 [sip_bye_h_P-effective_caller_id_name] => [sip_bye_h_P-effective_caller_id_number] => 27217730138 [last_bridge_hangup_cause] => NORMAL_CLEARING [last_bridge_proto_specific_hangup_cause] => sip:200 [bridge_hangup_cause] => NORMAL_CLEARING [record_file_size] => 463404 [record_samples] => 231680 [record_seconds] => 28 [record_ms] => 28960 [record_completion_cause] => success-silence [hangup_cause] => NORMAL_CLEARING [hangup_cause_q850] => 16 [digits_dialed] => none [start_stamp] => 2024-08-28 13:54:18 [profile_start_stamp] => 2024-08-28 13:54:18 [answer_stamp] => 2024-08-28 13:54:19 [bridge_stamp] => 2024-08-28 13:54:19 [progress_media_stamp] => 2024-08-28 13:54:19 [end_stamp] => 2024-08-28 13:54:48 [start_epoch] => 1724853258 [start_uepoch] => 1724853258593544 [profile_start_epoch] => 1724853258 [profile_start_uepoch] => 1724853258593544 [answer_epoch] => 1724853259 [answer_uepoch] => 1724853259653551 [bridge_epoch] => 1724853259 [bridge_uepoch] => 1724853259593541 [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] => 1724853259 [progress_media_uepoch] => 1724853259593541 [end_epoch] => 1724853288 [end_uepoch] => 1724853288613541 [last_app] => record_session [last_arg] => /usr/local/freeswitch/recordings/129b906c-fa45-47cc-ae93-ba553138dec5.wav [caller_id] => "Ext 114" <27876300014> [duration] => 30 [billsec] => 29 [progresssec] => 0 [answersec] => 1 [waitsec] => 1 [progress_mediasec] => 1 [flow_billsec] => 30 [mduration] => 30020 [billmsec] => 28960 [progressmsec] => 0 [answermsec] => 1060 [waitmsec] => 1000 [progress_mediamsec] => 1000 [flow_billmsec] => 30020 [uduration] => 30019997 [billusec] => 28959990 [progressusec] => 0 [answerusec] => 1060007 [waitusec] => 999997 [progress_mediausec] => 999997 [flow_billusec] => 30019997 [sip_hangup_disposition] => send_bye [rtp_audio_in_raw_bytes] => 246820 [rtp_audio_in_media_bytes] => 246820 [rtp_audio_in_packet_count] => 1435 [rtp_audio_in_media_packet_count] => 1435 [rtp_audio_in_skip_packet_count] => 16 [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] => 30.33 [rtp_audio_in_jitter_max_variance] => 547.95 [rtp_audio_in_jitter_loss_rate] => 0.00 [rtp_audio_in_jitter_burst_rate] => 0.00 [rtp_audio_in_mean_interval] => 20.14 [rtp_audio_in_flaw_total] => 0 [rtp_audio_in_quality_percentage] => 100.00 [rtp_audio_in_mos] => 4.50 [rtp_audio_out_raw_bytes] => 245100 [rtp_audio_out_media_bytes] => 245100 [rtp_audio_out_packet_count] => 1425 [rtp_audio_out_media_packet_count] => 1425 [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] => 1724853258660899 ) [1] => Array ( [app_name] => set [app_data] => execute_on_answer_1=sched_hangup +3600 normal_clearing [app_stamp] => 1724853258661140 ) [2] => Array ( [app_name] => set [app_data] => notify_flag=0 [app_stamp] => 1724853258661358 ) [3] => Array ( [app_name] => set [app_data] => notify_credit_limit=45.00000 [app_stamp] => 1724853258661575 ) [4] => Array ( [app_name] => set [app_data] => type=0 [app_stamp] => 1724853258661777 ) [5] => Array ( [app_name] => set [app_data] => callstart=2024-08-28 13:54:18 [app_stamp] => 1724853258661944 ) [6] => Array ( [app_name] => set [app_data] => hangup_after_bridge=true [app_stamp] => 1724853258662108 ) [7] => Array ( [app_name] => set [app_data] => continue_on_fail=TRUE [app_stamp] => 1724853258662309 ) [8] => Array ( [app_name] => set [app_data] => account_id=419 [app_stamp] => 1724853258662524 ) [9] => Array ( [app_name] => set [app_data] => parent_id=405 [app_stamp] => 1724853258662736 ) [10] => Array ( [app_name] => set [app_data] => entity_id=0 [app_stamp] => 1724853258662922 ) [11] => Array ( [app_name] => set [app_data] => call_processed=internal [app_stamp] => 1724853258663089 ) [12] => Array ( [app_name] => set [app_data] => call_direction=outbound [app_stamp] => 1724853258663257 ) [13] => Array ( [app_name] => set [app_data] => accountname=default [app_stamp] => 1724853258663426 ) [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] => 1724853258663598 ) [15] => Array ( [app_name] => set [app_data] => original_caller_id_name=27876300014 [app_stamp] => 1724853258663768 ) [16] => Array ( [app_name] => set [app_data] => original_caller_id_number=27876300014 [app_stamp] => 1724853258663944 ) [17] => Array ( [app_name] => limit [app_data] => db 8773282952 user_8773282952 16 [app_stamp] => 1724853258664117 ) [18] => Array ( [app_name] => limit [app_data] => db 6840389175 user_6840389175 20 [app_stamp] => 1724853258664582 ) [19] => Array ( [app_name] => export [app_data] => is_recording=1 [app_stamp] => 1724853258665015 ) [20] => Array ( [app_name] => export [app_data] => media_bug_answer_req=true [app_stamp] => 1724853258665243 ) [21] => Array ( [app_name] => export [app_data] => record_sample_rate=8000 [app_stamp] => 1724853258665478 ) [22] => Array ( [app_name] => export [app_data] => execute_on_answer_2=record_session /usr/local/freeswitch/recordings/129b906c-fa45-47cc-ae93-ba553138dec5.wav [app_stamp] => 1724853258665719 ) [23] => Array ( [app_name] => set [app_data] => effective_caller_id_name=27876300014 [app_stamp] => 1724853258665953 ) [24] => Array ( [app_name] => set [app_data] => effective_caller_id_number=27876300014 [app_stamp] => 1724853258666191 ) [25] => Array ( [app_name] => set [app_data] => calltype=STANDARD [app_stamp] => 1724853258666443 ) [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] => 1724853258666680 ) [27] => Array ( [app_name] => set [app_data] => trunk_id=97 [app_stamp] => 1724853258666919 ) [28] => Array ( [app_name] => set [app_data] => provider_id=159 [app_stamp] => 1724853258667166 ) [29] => Array ( [app_name] => set [app_data] => rate_flag=0 [app_stamp] => 1724853258667410 ) [30] => Array ( [app_name] => set [app_data] => daily_call_credit_limit=10000.00000 [app_stamp] => 1724853258667660 ) [31] => Array ( [app_name] => set [app_data] => monthly_call_credit_limit=20000.00000 [app_stamp] => 1724853258667905 ) [32] => Array ( [app_name] => set [app_data] => daily_call_used_limit=35.21900 [app_stamp] => 1724853258668155 ) [33] => Array ( [app_name] => set [app_data] => monthly_call_used_limit=1443.29790 [app_stamp] => 1724853258668407 ) [34] => Array ( [app_name] => set [app_data] => quality_trunk_seq=97 [app_stamp] => 1724853258668658 ) [35] => Array ( [app_name] => set [app_data] => force_trunk_flag=20654379 [app_stamp] => 1724853258668914 ) [36] => Array ( [app_name] => export [app_data] => presence_data=trunk_id=97 [app_stamp] => 1724853258669169 ) [37] => Array ( [app_name] => set [app_data] => intcall=0 [app_stamp] => 1724853258669429 ) [38] => Array ( [app_name] => export [app_data] => presence_id=27217730138 [app_stamp] => 1724853258669683 ) [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] => 1724853258669943 ) [40] => Array ( [app_name] => limit [app_data] => db Goldtel gw_Goldtel 20 [app_stamp] => 1724853258670204 ) [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] => 1724853258670721 ) [42] => Array ( [app_name] => sched_hangup [app_data] => +3600 normal_clearing [app_stamp] => 1724853259654329 ) [43] => Array ( [app_name] => record_session [app_data] => /usr/local/freeswitch/recordings/129b906c-fa45-47cc-ae93-ba553138dec5.wav [app_stamp] => 1724853259654642 ) ) ) [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: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.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] => 129b906c-fa45-47cc-ae93-ba553138dec5 [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] => de02d2a1-fd53-4ee4-a4da-d47adf73030d [source] => mod_sofia [context] => default [chan_name] => sofia/default/27217730138 ) ) ) ) [times] => Array ( [created_time] => 1724853258593544 [profile_created_time] => 1724853258593544 [progress_time] => 0 [progress_media_time] => 1724853259593541 [answered_time] => 1724853259653551 [bridged_time] => 1724853259593541 [last_hold_time] => 0 [hold_accum_time] => 0 [hangup_time] => 1724853288613541 [resurrect_time] => 0 [transfer_time] => 0 ) ) ) ) [2024-08-28 13:54:48] Going to call_notification [2024-08-28 13:54:48] ========== Print all logs ========== [2024-08-28 13:54:48] sip_hangup_disposition : send_bye [2024-08-28 13:54:48] ==================================================== [2024-08-28 13:54:48] GET dialer info : SELECT * FROM dialer_device_info WHERE username=27876300014 [2024-08-28 13:54:48] [call_notification] : source_main : 0217730138 [2024-08-28 13:54:48] [call_notification] : destination : 27876300014 [2024-08-28 13:54:48] [call_notification] : get_notification_info : null [2024-08-28 13:54:48] call_notification end [2024-08-28 13:54:48] Done to call_notification [2024-08-28 13:54:48] Origination Rates Array::: [2024-08-28 13:54:48] Array ( ) [2024-08-28 13:54:48] *********************** Trunk in package_id: ************* [2024-08-28 13:54:48] dataVariable_array': Array [2024-08-28 13:54:48] GET flat_disconnect_fee : 0 [2024-08-28 13:54:48] GET disconnect_fee_after : 0 [2024-08-28 13:54:48] GET disconnect_fee : 0 [2024-08-28 13:54:48] GET minute_to_seconds : 60 [2024-08-28 13:54:48] Return cost 0.1595 [2024-08-28 13:54:48] ******** IN RESELLER shadow_billing_id *****0 [2024-08-28 13:54:48] dataVariable_array': Array [2024-08-28 13:54:48] GET flat_disconnect_fee : 0 [2024-08-28 13:54:48] GET disconnect_fee_after : 0 [2024-08-28 13:54:48] GET disconnect_fee : 0 [2024-08-28 13:54:48] GET minute_to_seconds : 60 [2024-08-28 13:54:48] Return cost 0.0435 [2024-08-28 13:54:48] dataVariable_array': Array [2024-08-28 13:54:48] GET flat_disconnect_fee : 0 [2024-08-28 13:54:48] GET disconnect_fee_after : 0 [2024-08-28 13:54:48] GET disconnect_fee : 0 [2024-08-28 13:54:48] GET minute_to_seconds : 60 [2024-08-28 13:54:48] Return cost 0.1356 [2024-08-28 13:54:48] dataVariable_array': Array [2024-08-28 13:54:48] GET flat_disconnect_fee : 0 [2024-08-28 13:54:48] GET disconnect_fee_after : 0 [2024-08-28 13:54:48] GET disconnect_fee : 0 [2024-08-28 13:54:48] GET minute_to_seconds : 60 [2024-08-28 13:54:48] Return cost 0.1356 [2024-08-28 13:54:48] Debit :0.1595 Cost : 0 Provider Cost : 0.1356 [2024-08-28 13:54:48] *********************** OUTBOUND CALL ENTRY START ************* [2024-08-28 13:54:48] *********calltype::::::**************STANDARD************* [2024-08-28 13:54:48] *********hangup_cuase::::::**************NORMAL_CLEARING************* [2024-08-28 13:54:48] GET configuration : SELECT * FROM accounts WHERE id=419 [2024-08-28 13:54:48] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:54:48] Daily call limit update UPDATE accounts SET daily_call_used_limit = 41.604 WHERE id=419 AND `type`= '0' [2024-08-28 13:54:48] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1695.2618 WHERE id=419 AND `type`= '0' [2024-08-28 13:54:48] 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 ('129b906c-fa45-47cc-ae93-ba553138dec5','419','0','27876300014 <27876300014>','27217730138','29',97,'102.220.232.100','196.7.219.43','NORMAL_CLEARING [16]','2024-08-28 13:54:18','0.1595','0.1356',159,'187','','^27217730.*','RSA Goldtel Geographic','0.3300000000','405','^27217730.*','RSA Goldtel Geographic','0.2805000000','^27217730.*','RSA Goldtel Geographic','0.0900000000','0.0435','Outbound','STANDARD','','0','27876300014','0','2024-08-28 13:54:47','28960','1060','1000','1000','1000','4.50','','','') [2024-08-28 13:54:48] addon quality base routing SELECT * FROM `addons` WHERE `package_name` = 'quality_base_routing' [2024-08-28 13:54:48] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.1595,@amount := balance-0.1595) WHERE id=419 [2024-08-28 13:54:48] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+-0.1356,@amount := balance--0.1356) WHERE id=159 [2024-08-28 13:54:48] *************** IN PARENT DATA SECTION ******** [2024-08-28 13:54:48] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:54:48] dataVariable_array': Array [2024-08-28 13:54:48] GET flat_disconnect_fee : 0 [2024-08-28 13:54:48] GET disconnect_fee_after : 0 [2024-08-28 13:54:48] GET disconnect_fee : 0 [2024-08-28 13:54:48] GET minute_to_seconds : 60 [2024-08-28 13:54:48] Return cost 0.1356 [2024-08-28 13:54:48] GET configuration : SELECT * FROM accounts WHERE id=405 [2024-08-28 13:54:48] GET DID data : SELECT country_id FROM dids WHERE number= [2024-08-28 13:54:48] Daily call limit update UPDATE accounts SET daily_call_used_limit = 35.364 WHERE id=405 AND `type`= '1' [2024-08-28 13:54:48] Monthly call limit update UPDATE accounts SET monthly_call_used_limit = 1443.4429 WHERE id=405 AND `type`= '1' [2024-08-28 13:54:48] 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 ('129b906c-fa45-47cc-ae93-ba553138dec5','405','1','27876300014 <27876300014>','27217730138','29','NORMAL_CLEARING [16]','2024-08-28 13:54:18','0.1356','0.0435','189','','^27217730.*','RSA Goldtel Geographic','0.2805000000','0','0','',0,'Outbound','STANDARD','','0','2024-08-28 13:54:47','97','','','') [2024-08-28 13:54:48] Balance update : UPDATE accounts SET balance=IF(posttoexternal=1,@amount := balance+0.1356,@amount := balance-0.1356) WHERE id=405 [2024-08-28 13:54:48] *********************** OUTBOUND CALL ENTRY END ************* [2024-08-28 13:54:48] *************************** CDR ends ********************************