2022-02-17 14:36:44.895860 89.43% [INFO] mod_dialplan_xml.c:639 Processing 70007070 <70007070>->300772111111 in context default 2022-02-17 14:36:44.895860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-17 14:36:44.915845 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 61dcc992-92d3-4c2e-a3e7-fb55f3cd9b1e FreeSWITCH-Hostname: x1 FreeSWITCH-Switchname: x1 FreeSWITCH-IPv4: 10.0.16.10 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2022-02-17%2014%3A36%3A44 Event-Date-GMT: Thu,%2017%20Feb%202022%2006%3A36%3A44%20GMT Event-Date-Timestamp: 1645079804895860 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 179887262 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/70007070%4010.0.16.25 Unique-ID: 16439df6-ff97-47e7-99a0-15663d931030 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 70007070%4010.0.16.25 Channel-Call-UUID: 16439df6-ff97-47e7-99a0-15663d931030 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 70007070 Caller-Dialplan: XML Caller-Caller-ID-Name: 70007070 Caller-Caller-ID-Number: 70007070 Caller-Orig-Caller-ID-Name: 70007070 Caller-Orig-Caller-ID-Number: 70007070 Caller-Network-Addr: 10.0.16.25 Caller-ANI: 70007070 Caller-Destination-Number: 300772111111 Caller-Unique-ID: 16439df6-ff97-47e7-99a0-15663d931030 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/70007070%4010.0.16.25 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1645079804895860 Caller-Channel-Created-Time: 1645079804895860 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 16439df6-ff97-47e7-99a0-15663d931030 variable_session_id: 3406602 variable_sip_from_user: 70007070 variable_sip_from_uri: 70007070%4010.0.16.25 variable_sip_from_host: 10.0.16.25 variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/70007070%4010.0.16.25 variable_sip_call_id: 021422F31881400000F2C5FE%40LOCALT variable_sip_local_network_addr: 10.0.16.26 variable_sip_network_ip: 10.0.16.25 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1645079804895860 variable_sip_received_ip: 10.0.16.25 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 70007070 variable_sip_from_tag: ED98303033303330569BC70D variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%4010.0.16.26%3A5060 variable_recovery_profile_name: default variable_sip_full_route: %3Csip%3A10.0.16.26%3A5060%3Blr%3Btransport%3Dudp%3E variable_sip_full_via: SIP/2.0/UDP%2010.0.16.25%3A5060%3Bbranch%3Dz9hG4bK38714CAA6F999A53DE73A5CF6FBD190A%3Brport%3D5060 variable_sip_from_display: 70007070 variable_sip_full_from: %2270007070%22%20%3Csip%3A70007070%4010.0.16.25%3E%3Btag%3DED98303033303330569BC70D variable_sip_full_to: %3Csip%3A300772111111%4010.0.16.26%3E variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20PRACK,%20REFER,%20SUBSCRIBE,%20NOTIFY variable_sip_req_user: 300772111111 variable_sip_req_port: 5060 variable_sip_req_uri: 300772111111%4010.0.16.26%3A5060 variable_sip_req_host: 10.0.16.26 variable_sip_to_user: 300772111111 variable_sip_to_uri: 300772111111%4010.0.16.26 variable_sip_to_host: 10.0.16.26 variable_sip_contact_user: 70007070 variable_sip_contact_port: 5060 variable_sip_contact_uri: 70007070%4010.0.16.25%3A5060 variable_sip_contact_host: 10.0.16.25 variable_sip_user_agent: TBSIP variable_sip_via_host: 10.0.16.25 variable_sip_via_port: 5060 variable_sip_via_rport: 5060 variable_max_forwards: 69 variable_presence_id: 70007070%4010.0.16.25 variable_sip_date_epoch_time: 1645108101 variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2050528916%201%20IN%20IP4%2010.0.16.25%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2010.0.16.25%0D%0At%3D0%200%0D%0Am%3Daudio%2026788%20RTP/AVP%208%200%204%2018%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 10.0.16.25 variable_remote_media_port: 26788 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 16439df6-ff97-47e7-99a0-15663d931030 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 70007070 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 70007070 Hunt-Caller-ID-Number: 70007070 Hunt-Orig-Caller-ID-Name: 70007070 Hunt-Orig-Caller-ID-Number: 70007070 Hunt-Network-Addr: 10.0.16.25 Hunt-ANI: 70007070 Hunt-Destination-Number: 300772111111 Hunt-Unique-ID: 16439df6-ff97-47e7-99a0-15663d931030 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/70007070%4010.0.16.25 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1645079804895860 Hunt-Channel-Created-Time: 1645079804895860 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false 2022-02-17 14:36:44.915845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_name: 2022-02-17 14:36:44.915845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] tag_name: 2022-02-17 14:36:44.915845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_value: 2022-02-17 14:36:44.915845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] section: dialplan 2022-02-17 14:36:44.915845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Dialed number : 300772111111 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '300772111111' AND status=0 limit 1 2022-02-17 14:36:44.915845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Caller Id name / number : 70007070 / 70007070 2022-02-17 14:36:44.915845 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="300772111111" LIMIT 1 2022-02-17 14:36:44.915845 89.43% [DEBUG] sofia.c:7573 Channel sofia/default/99757070 entering state [proceeding][183] 2022-02-17 14:36:44.915845 89.43% [DEBUG] sofia.c:7585 Remote SDP: v=0 o=- 50528913 1 IN IP4 10.0.16.25 s=- c=IN IP4 10.0.16.25 t=0 0 m=audio 26784 RTP/AVP 0 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-02-17 14:36:44.915845 89.43% [NOTICE] sofia.c:7588 Pre-Answer sofia/default/99757070! 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="300772111111" limit 1 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_channel.c:3622 (sofia/default/99757070) Callstate Change DOWN -> EARLY 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:5630 Set telephone-event payload to 101@8000 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:3916 Set Codec sofia/default/99757070 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_codec.c:111 sofia/default/99757070 Original read codec set to PCMU:0 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:5979 Set telephone-event payload to 101@8000 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:6037 sofia/default/99757070 Set 2833 dtmf send payload to 101 recv payload to 101 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:8928 AUDIO RTP [sofia/default/99757070] 10.0.16.26 port 20630 -> 10.0.16.25 port 26784 codec: 0 ms: 20 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_rtp.c:4632 Starting timer [soft] 160 bytes per 20ms 2022-02-17 14:36:44.915845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Call direction : outbound 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("10.0.16.25") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "300772111111" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:9241 sofia/default/99757070 Set 2833 dtmf send payload to 101 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:9248 sofia/default/99757070 Set 2833 dtmf receive payload to 101 2022-02-17 14:36:44.915845 89.43% [DEBUG] switch_core_media.c:9271 sofia/default/99757070 Set rtp dtmf delay to 40 2022-02-17 14:36:44.935844 89.43% [INFO] switch_ivr_originate.c:3841 Sending early media 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_core_media.c:8928 AUDIO RTP [sofia/default/72721818@10.0.16.25] 10.0.16.26 port 19306 -> 10.0.16.25 port 26782 codec: 0 ms: 20 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_rtp.c:4632 Starting timer [soft] 160 bytes per 20ms 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_core_media.c:9241 sofia/default/72721818@10.0.16.25 Set 2833 dtmf send payload to 101 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_core_media.c:9248 sofia/default/72721818@10.0.16.25 Set 2833 dtmf receive payload to 101 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_core_media.c:9271 sofia/default/72721818@10.0.16.25 Set rtp dtmf delay to 40 2022-02-17 14:36:44.935844 89.43% [DEBUG] mod_sofia.c:2618 Ring SDP: v=0 o=FreeSWITCH 1645060498 1645060499 IN IP4 10.0.16.26 s=FreeSWITCH c=IN IP4 10.0.16.26 t=0 0 m=audio 19306 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-02-17 14:36:44.935844 89.43% [NOTICE] mod_sofia.c:2621 Pre-Answer sofia/default/72721818@10.0.16.25! 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_channel.c:3622 (sofia/default/72721818@10.0.16.25) Callstate Change RINGING -> EARLY 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/99757070] Peer UUID: f4a37d63-13ec-4f26-b9f2-08fce3e7befd 2022-02-17 14:36:44.935844 89.43% [DEBUG] sofia.c:7573 Channel sofia/default/72721818@10.0.16.25 entering state [early][183] 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_ivr_bridge.c:1794 (sofia/default/99757070) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99757070) Running State Change CS_EXCHANGE_MEDIA (Cur 208 Tot 3406602) 2022-02-17 14:36:44.935844 89.43% [DEBUG] switch_core_state_machine.c:655 (sofia/default/99757070) State EXCHANGE_MEDIA 2022-02-17 14:36:44.935844 89.43% [DEBUG] mod_sofia.c:676 SOFIA EXCHANGE_MEDIA 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/99044296@10.0.16.25 Standard REPORTING, cause: NORMAL_CLEARING 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_state_machine.c:937 (sofia/default/99044296@10.0.16.25) State REPORTING going to sleep 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_state_machine.c:612 (sofia/default/99044296@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_session.c:1753 Session 3406010 (sofia/default/99044296@10.0.16.25) Locked, Waiting on external entities 2022-02-17 14:36:44.955845 89.43% [NOTICE] switch_core_session.c:1771 Session 3406010 (sofia/default/99044296@10.0.16.25) Ended 2022-02-17 14:36:44.955845 89.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/99044296@10.0.16.25 [CS_DESTROY] 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_state_machine.c:740 (sofia/default/99044296@10.0.16.25) Running State Change CS_DESTROY (Cur 207 Tot 3406602) 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_state_machine.c:750 (sofia/default/99044296@10.0.16.25) State DESTROY 2022-02-17 14:36:44.955845 89.43% [DEBUG] mod_sofia.c:379 sofia/default/99044296@10.0.16.25 SOFIA DESTROY 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/99044296@10.0.16.25 Standard DESTROY 2022-02-17 14:36:44.955845 89.43% [DEBUG] switch_core_state_machine.c:750 (sofia/default/99044296@10.0.16.25) State DESTROY going to sleep 2022-02-17 14:36:44.975845 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 300772111111 2022-02-17 14:36:44.975845 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 72111111 2022-02-17 14:36:44.975845 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [Accountcode : 8882998066] 2022-02-17 14:36:44.975845 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8882998066" AND deleted = 0 limit 1 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^72111111.*' OR blocked_patterns = '^7211111.*' OR blocked_patterns = '^721111.*' OR blocked_patterns = '^72111.*' OR blocked_patterns = '^7211.*' OR blocked_patterns = '^721.*' OR blocked_patterns = '^72.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 451 limit 1 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="72111111" AND A.accountid = '451' limit 1 2022-02-17 14:36:44.995876 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 72111111 2022-02-17 14:36:44.995876 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="72111111" LIMIT 1 2022-02-17 14:36:44.995876 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] New Call direction : inbound 2022-02-17 14:36:44.995876 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="72111111" AND (accountid = 0 OR status = 1) LIMIT 1 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :339 2022-02-17 14:36:44.995876 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^72111111.*' OR patterns = '^7211111.*' OR patterns = '^721111.*' OR patterns = '^72111.*' OR patterns = '^7211.*' OR patterns = '^721.*' OR patterns = '^72.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 339 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '72111111' OR number = '7211111' OR number = '721111' OR number = '72111' OR number = '7211' OR number = '721' OR number = '72' OR number = '7' OR number ='--') OR (number = '72111111*' OR number = '7211111*' OR number = '721111*' OR number = '72111*' OR number = '7211*' OR number = '721*' OR number = '72*' OR number = '7*' OR number ='--') OR (number = '70007070' OR number = '7000707' OR number = '700070' OR number = '70007' OR number = '7000' OR number = '700' OR number = '70' OR number = '7' OR number ='--') OR (number = '70007070*' OR number = '7000707*' OR number = '700070*' OR number = '70007*' OR number = '7000*' OR number = '700*' OR number = '70*' OR number = '7*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] Call Barring Status : -1 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '72111111' OR routing_prefix = '7211111' OR routing_prefix = '721111' OR routing_prefix = '72111' OR routing_prefix = '7211' OR routing_prefix = '721' OR routing_prefix = '72' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Account Information =================== 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] User id : 451 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Account code : 8882998066 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Balance : 99999599.9 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Ratecard id : 1 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] CID Pool : 0 2022-02-17 14:36:45.015867 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] ======================================================== 2022-02-17 14:36:45.015867 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH1: 1 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :inbound 2022-02-17 14:36:45.015867 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:45.015867 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="72111111" LIMIT 1 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: inbound 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information =================== 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 22235 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 0.00000 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : 72111111 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 451 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================ 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your99999599.9 balance Accountid 451 !!! 2022-02-17 14:36:45.035860 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 30 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Call Max length duration : 30 minutes 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] INB_FREE:TRUE 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] free_inbound:0 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 451 AND status=0 LIMIT 1 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "339" AND deleted = 0 limit 1 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :outbound 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^72111111.*' OR pattern = '^7211111.*' OR pattern = '^721111.*' OR pattern = '^72111.*' OR pattern = '^7211.*' OR pattern = '^721.*' OR pattern = '^72.*' OR pattern = '^7.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=451) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: outbound 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information =================== 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 101 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 0.00000 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : Lime 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 451 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Trunk ID: 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] Routing type: 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================ 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your99999599.9 balance Accountid 451 !!! 2022-02-17 14:36:45.035860 89.43% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 30 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Actual CustomerInfo XML:451 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Userinfo XML:451 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Actual CustomerInfo XML : 451 2022-02-17 14:36:45.035860 89.43% [INFO] switch_cpp.cpp:1477 [ASTPP] maxlength::::::::: 30 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_3 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/70007070@10.0.16.25 parsing [default->72111111] continue=false Dialplan: sofia/default/70007070@10.0.16.25 Regex (PASS) [72111111] destination_number(300772111111) =~ /300772111111/ break=on-false Dialplan: sofia/default/70007070@10.0.16.25 Action set(effective_destination_number=72111111) Dialplan: sofia/default/70007070@10.0.16.25 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/70007070@10.0.16.25 Action set(bridge_pre_execute_bleg_data=+1800 normal_clearing) Dialplan: sofia/default/70007070@10.0.16.25 Action set(callstart=2022-02-17 06:36:45) Dialplan: sofia/default/70007070@10.0.16.25 Action set(hangup_after_bridge=true) Dialplan: sofia/default/70007070@10.0.16.25 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/70007070@10.0.16.25 Action set(account_id=451) Dialplan: sofia/default/70007070@10.0.16.25 Action set(parent_id=0) Dialplan: sofia/default/70007070@10.0.16.25 Action set(entity_id=0) Dialplan: sofia/default/70007070@10.0.16.25 Action set(call_processed=internal) Dialplan: sofia/default/70007070@10.0.16.25 Action set(call_direction=inbound) Dialplan: sofia/default/70007070@10.0.16.25 Action set(accountname=Tsahilgaan holboo ) Dialplan: sofia/default/70007070@10.0.16.25 Action set(origination_rates_did=ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339) Dialplan: sofia/default/70007070@10.0.16.25 Action set(origination_rates=ID:101|CODE:^72.*|DESTINATION:Lime|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:128|ACCID:451) Dialplan: sofia/default/70007070@10.0.16.25 Action set(original_caller_id_name=70007070) Dialplan: sofia/default/70007070@10.0.16.25 Action set(original_caller_id_number=70007070) Dialplan: sofia/default/70007070@10.0.16.25 Action limit(db 8882998066 user_8882998066 100 !SWITCH_CONGESTION) Dialplan: sofia/default/70007070@10.0.16.25 Action limit(db 339 user_339 2 !SWITCH_CONGESTION) Dialplan: sofia/default/70007070@10.0.16.25 Action set(effective_caller_id_name=70007070) Dialplan: sofia/default/70007070@10.0.16.25 Action set(effective_caller_id_number=70007070) Dialplan: sofia/default/70007070@10.0.16.25 Action set(receiver_accid=339) Dialplan: sofia/default/70007070@10.0.16.25 Action limit(db 72111111 did_72111111 2 !SWITCH_CONGESTION) Dialplan: sofia/default/70007070@10.0.16.25 Action export(presence_data=x|||Mongolian Telecom Company(8882998066)|||^72111111.* // 72111111 // 0.00000||||||DID) Dialplan: sofia/default/70007070@10.0.16.25 Action export(call_type=3) Dialplan: sofia/default/70007070@10.0.16.25 Action set(calltype=OTHER) Dialplan: sofia/default/70007070@10.0.16.25 Action lua(onlime.lua 72111111) Dialplan: sofia/default/70007070@10.0.16.25 Action export(read_rate=8000) Dialplan: sofia/default/70007070@10.0.16.25 Action export(write_rate=8000) Dialplan: sofia/default/70007070@10.0.16.25 Action lua(astpp-busytone.lua) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:286 (sofia/default/70007070@10.0.16.25) State Change CS_ROUTING -> CS_EXECUTE 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:645 (sofia/default/70007070@10.0.16.25) State ROUTING going to sleep 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:586 (sofia/default/70007070@10.0.16.25) Running State Change CS_EXECUTE (Cur 207 Tot 3406602) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:652 (sofia/default/70007070@10.0.16.25) State EXECUTE 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_sofia.c:213 sofia/default/70007070@10.0.16.25 SOFIA EXECUTE 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:328 sofia/default/70007070@10.0.16.25 Standard EXECUTE EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(effective_destination_number=72111111) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [effective_destination_number]=[72111111] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(bridge_pre_execute_bleg_data=+1800 normal_clearing) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [bridge_pre_execute_bleg_data]=[+1800 normal_clearing] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(callstart=2022-02-17 06:36:45) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [callstart]=[2022-02-17 06:36:45] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(hangup_after_bridge=true) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(continue_on_fail=TRUE) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(account_id=451) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [account_id]=[451] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(parent_id=0) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [parent_id]=[0] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(entity_id=0) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [entity_id]=[0] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(call_processed=internal) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(call_direction=inbound) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(accountname=Tsahilgaan holboo ) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [accountname]=[Tsahilgaan holboo ] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(origination_rates_did=ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [origination_rates_did]=[ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(origination_rates=ID:101|CODE:^72.*|DESTINATION:Lime|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:128|ACCID:451) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [origination_rates]=[ID:101|CODE:^72.*|DESTINATION:Lime|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:128|ACCID:451] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(original_caller_id_name=70007070) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [original_caller_id_name]=[70007070] 2022-02-17 14:36:45.035860 89.43% [NOTICE] sofia.c:1094 Hangup sofia/default/72722828@10.0.16.25 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(original_caller_id_number=70007070) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [original_caller_id_number]=[70007070] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 limit(db 8882998066 user_8882998066 100 !SWITCH_CONGESTION) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/72722828@10.0.16.25] 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:655 (sofia/default/72722828@10.0.16.25) State EXCHANGE_MEDIA going to sleep 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:586 (sofia/default/72722828@10.0.16.25) Running State Change CS_HANGUP (Cur 207 Tot 3406602) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_limit.c:124 incr called: 8882998066_user_8882998066 max:100, interval:0 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:849 (sofia/default/72722828@10.0.16.25) Callstate Change ACTIVE -> HANGUP 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:851 (sofia/default/72722828@10.0.16.25) State HANGUP 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_sofia.c:473 Channel sofia/default/72722828@10.0.16.25 hanging up, cause: NORMAL_CLEARING 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_db.c:194 Usage for 8882998066_user_8882998066 is now 3/100 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_ivr_bridge.c:820 sofia/default/72722828@10.0.16.25 ending bridge by request from write function EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 limit(db 339 user_339 2 !SWITCH_CONGESTION) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/72722828@10.0.16.25 Standard HANGUP, cause: NORMAL_CLEARING 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:851 (sofia/default/72722828@10.0.16.25) State HANGUP going to sleep 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:621 (sofia/default/72722828@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:586 (sofia/default/72722828@10.0.16.25) Running State Change CS_REPORTING (Cur 207 Tot 3406602) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_core_state_machine.c:937 (sofia/default/72722828@10.0.16.25) State REPORTING 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_limit.c:124 incr called: 339_user_339 max:2, interval:0 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_db.c:194 Usage for 339_user_339 is now 1/2 2022-02-17 14:36:45.035860 89.43% [INFO] mod_json_cdr.c:273 Process [470e796a-38c9-4910-9dee-5872954a560a.cdr.json] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(effective_caller_id_name=70007070) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [effective_caller_id_name]=[70007070] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(effective_caller_id_number=70007070) 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [effective_caller_id_number]=[70007070] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(receiver_accid=339) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/99414322@10.0.16.25] 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [receiver_accid]=[339] 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/72722828@10.0.16.25 skip receive message [UNBRIDGE] (channel is hungup already) 2022-02-17 14:36:45.035860 89.43% [NOTICE] switch_ivr_bridge.c:1945 Hangup sofia/default/99414322@10.0.16.25 [CS_EXECUTE] [NORMAL_CLEARING] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 limit(db 72111111 did_72111111 2 !SWITCH_CONGESTION) 2022-02-17 14:36:45.035860 89.43% [DEBUG] switch_limit.c:124 incr called: 72111111_did_72111111 max:2, interval:0 2022-02-17 14:36:45.035860 89.43% [DEBUG] mod_db.c:194 Usage for 72111111_did_72111111 is now 1/2 2022-02-17 14:36:45.035860 89.43% [WARNING] switch_core_db.c:92 SQLite is BUSY, sane=299 [delete from limit_data where uuid='d6db751e-6f3c-4f32-99a7-6952ed5dcf83'] 2022-02-17 14:36:45.035860 89.43% [WARNING] switch_core_db.c:92 SQLite is BUSY, sane=299 [insert into limit_data (hostname, realm, id, uuid) values('x1','72111111','did_72111111','16439df6-ff97-47e7-99a0-15663d931030');] 2022-02-17 14:36:45.055850 89.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/72722828@10.0.16.25 Standard REPORTING, cause: NORMAL_CLEARING 2022-02-17 14:36:45.055850 89.43% [DEBUG] switch_core_state_machine.c:937 (sofia/default/72722828@10.0.16.25) State REPORTING going to sleep 2022-02-17 14:36:45.055850 89.43% [DEBUG] switch_core_state_machine.c:612 (sofia/default/72722828@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY 2022-02-17 14:36:45.055850 89.43% [DEBUG] switch_core_session.c:1753 Session 3406531 (sofia/default/72722828@10.0.16.25) Locked, Waiting on external entities 2022-02-17 14:36:45.115863 89.43% [DEBUG] switch_ivr_bridge.c:655 sofia/default/99757070 Bridge execute app sched_hangup(+5400 normal_clearing) 2022-02-17 14:36:45.135862 89.43% [DEBUG] switch_ivr.c:632 sofia/default/99757070 Command Execute [depth=0] sched_hangup(+5400 normal_clearing) EXECUTE [depth=0] sofia/default/99757070 sched_hangup(+5400 normal_clearing) 2022-02-17 14:36:45.135862 89.43% [DEBUG] switch_scheduler.c:263 Added task 1485093 switch_ivr_schedule_hangup (f4a37d63-13ec-4f26-b9f2-08fce3e7befd) to run at 1645085205 2022-02-17 14:36:45.135862 89.43% [WARNING] switch_core_db.c:92 SQLite is BUSY, sane=298 [insert into limit_data (hostname, realm, id, uuid) values('x1','72111111','did_72111111','16439df6-ff97-47e7-99a0-15663d931030');] 2022-02-17 14:36:45.135862 89.43% [NOTICE] switch_core_session.c:1771 Session 3406531 (sofia/default/72722828@10.0.16.25) Ended 2022-02-17 14:36:45.135862 89.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/72722828@10.0.16.25 [CS_DESTROY] 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_session.c:3100 sofia/default/99414322@10.0.16.25 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:652 (sofia/default/99414322@10.0.16.25) State EXECUTE going to sleep 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99414322@10.0.16.25) Running State Change CS_HANGUP (Cur 206 Tot 3406602) 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:740 (sofia/default/72722828@10.0.16.25) Running State Change CS_DESTROY (Cur 206 Tot 3406602) 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:750 (sofia/default/72722828@10.0.16.25) State DESTROY 2022-02-17 14:36:45.155863 89.43% [DEBUG] mod_sofia.c:379 sofia/default/72722828@10.0.16.25 SOFIA DESTROY 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/72722828@10.0.16.25 Standard DESTROY 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:750 (sofia/default/72722828@10.0.16.25) State DESTROY going to sleep 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:849 (sofia/default/99414322@10.0.16.25) Callstate Change ACTIVE -> HANGUP 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:851 (sofia/default/99414322@10.0.16.25) State HANGUP 2022-02-17 14:36:45.155863 89.43% [DEBUG] mod_sofia.c:467 sofia/default/99414322@10.0.16.25 Overriding SIP cause 480 with 200 from the other leg 2022-02-17 14:36:45.155863 89.43% [DEBUG] mod_sofia.c:473 Channel sofia/default/99414322@10.0.16.25 hanging up, cause: NORMAL_CLEARING 2022-02-17 14:36:45.155863 89.43% [DEBUG] mod_sofia.c:527 Sending BYE to sofia/default/99414322@10.0.16.25 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/99414322@10.0.16.25 Standard HANGUP, cause: NORMAL_CLEARING 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:851 (sofia/default/99414322@10.0.16.25) State HANGUP going to sleep 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:621 (sofia/default/99414322@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99414322@10.0.16.25) Running State Change CS_REPORTING (Cur 206 Tot 3406602) 2022-02-17 14:36:45.155863 89.43% [DEBUG] switch_core_state_machine.c:937 (sofia/default/99414322@10.0.16.25) State REPORTING 2022-02-17 14:36:45.155863 89.43% [INFO] mod_json_cdr.c:273 Process [d6db751e-6f3c-4f32-99a7-6952ed5dcf83.cdr.json] 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/99414322@10.0.16.25 Standard REPORTING, cause: NORMAL_CLEARING 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_state_machine.c:937 (sofia/default/99414322@10.0.16.25) State REPORTING going to sleep 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_state_machine.c:612 (sofia/default/99414322@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_session.c:1753 Session 3406529 (sofia/default/99414322@10.0.16.25) Locked, Waiting on external entities 2022-02-17 14:36:45.175851 89.43% [NOTICE] switch_core_session.c:1771 Session 3406529 (sofia/default/99414322@10.0.16.25) Ended 2022-02-17 14:36:45.175851 89.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/99414322@10.0.16.25 [CS_DESTROY] 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_state_machine.c:740 (sofia/default/99414322@10.0.16.25) Running State Change CS_DESTROY (Cur 205 Tot 3406602) 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_state_machine.c:750 (sofia/default/99414322@10.0.16.25) State DESTROY 2022-02-17 14:36:45.175851 89.43% [DEBUG] mod_sofia.c:379 sofia/default/99414322@10.0.16.25 SOFIA DESTROY 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/99414322@10.0.16.25 Standard DESTROY 2022-02-17 14:36:45.175851 89.43% [DEBUG] switch_core_state_machine.c:750 (sofia/default/99414322@10.0.16.25) State DESTROY going to sleep 2022-02-17 14:36:45.215862 89.43% [DEBUG] switch_rtp.c:7968 Correct audio ip/port confirmed. 2022-02-17 14:36:45.235861 89.43% [DEBUG] sofia.c:7573 Channel sofia/default/99757070 entering state [proceeding][183] 2022-02-17 14:36:45.235861 89.43% [DEBUG] sofia.c:7582 Duplicate SDP v=0 o=- 50528913 1 IN IP4 10.0.16.25 s=- c=IN IP4 10.0.16.25 t=0 0 m=audio 26784 RTP/AVP 0 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-02-17 14:36:45.235861 89.43% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:45.235861 89.43% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-02-17 14:36:45.235861 89.43% [DEBUG] switch_core_media.c:5630 Set telephone-event payload to 101@8000 2022-02-17 14:36:45.235861 89.43% [DEBUG] switch_core_media.c:5979 Set telephone-event payload to 101@8000 2022-02-17 14:36:45.235861 89.43% [DEBUG] switch_core_media.c:6037 sofia/default/99757070 Set 2833 dtmf send payload to 101 recv payload to 101 2022-02-17 14:36:45.235861 89.43% [DEBUG] switch_core_media.c:8910 Audio params are unchanged for sofia/default/99757070. 2022-02-17 14:36:45.235861 89.43% [DEBUG] sofia.c:7573 Channel sofia/default/70101188 entering state [completing][200] 2022-02-17 14:36:45.235861 89.43% [DEBUG] sofia.c:7582 Duplicate SDP v=0 o=- 50528885 1 IN IP4 10.0.16.25 s=- c=IN IP4 10.0.16.25 t=0 0 m=audio 26752 RTP/AVP 0 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 export(presence_data=x|||Mongolian Telecom Company(8882998066)|||^72111111.* // 72111111 // 0.00000||||||DID) 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Mongolian Telecom Company(8882998066)|||^72111111.* // 72111111 // 0.00000||||||DID] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 export(call_type=3) 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[3] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(calltype=OTHER) 2022-02-17 14:36:45.255863 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [calltype]=[OTHER] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 lua(onlime.lua 72111111) 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('ringback', '%(2000,4000,440.0,480.0)') 2022-02-17 14:36:45.255863 89.43% [DEBUG] mod_curl.c:200 method: post, url: http://10.0.16.15:3002/fstoken, content-type: application/json 2022-02-17 14:36:45.255863 89.43% [DEBUG] mod_curl.c:252 Post data: {"destination":"72111111", "channel":"72111111_16439df6-ff97-47e7-99a0-15663d931030", "uid": "70007070"} 2022-02-17 14:36:45.255863 89.43% [INFO] switch_cpp.cpp:1477 {"token":"0067e048a1b9a2e4c0a813981df5268e728IACAmH1FwMPsiu41gs7QiNX+8hePKtycCFsjsg7jaTPcyQ61OgMAAAAAEADthD2vfT4PYgEAAQCRPg9i","forward":""} EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 set(continue_on_fail=true) 2022-02-17 14:36:45.255863 89.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/70007070@10.0.16.25 [continue_on_fail]=[true] EXECUTE [depth=0] sofia/default/70007070@10.0.16.25 bridge({agora_token=0067e048a1b9a2e4c0a813981df5268e728IACAmH1FwMPsiu41gs7QiNX+8hePKtycCFsjsg7jaTPcyQ61OgMAAAAAEADthD2vfT4PYgEAAQCRPg9i,agora_uid=70007070,ignore_early_media=true}agora/7e048a1b9a2e4c0a813981df5268e728/72111111_16439df6-ff97-47e7-99a0-15663d931030/1000000000) 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_channel.c:1269 sofia/default/70007070@10.0.16.25 EXPORTING[export_vars] [presence_data]=[x|||Mongolian Telecom Company(8882998066)|||^72111111.* // 72111111 // 0.00000||||||DID] to event 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_channel.c:1269 sofia/default/70007070@10.0.16.25 EXPORTING[export_vars] [call_type]=[3] to event 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-02-17 14:36:45.255863 89.43% [DEBUG] agora_rtc.c:1550 () State Change CS_NEW -> CS_INIT 2022-02-17 14:36:45.255863 89.43% [NOTICE] switch_channel.c:1123 New Channel agora.rtc/1000000000 [d9625473-86aa-4bff-92ad-2aee1a2da192] 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_INIT (Cur 206 Tot 3406603) 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:629 (agora.rtc/1000000000) State INIT 2022-02-17 14:36:45.255863 89.43% [DEBUG] mod_opus.c:619 Opus encoder: set bitrate to local settings [72000bps] 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:40 agora.rtc/1000000000 Standard INIT 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:48 (agora.rtc/1000000000) State Change CS_INIT -> CS_ROUTING 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:629 (agora.rtc/1000000000) State INIT going to sleep 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_ROUTING (Cur 206 Tot 3406603) 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:645 (agora.rtc/1000000000) State ROUTING 2022-02-17 14:36:45.255863 89.43% [INFO] agora_rtc.c:662 agora.rtc/1000000000 RTC ROUTING 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_ivr_originate.c:67 (agora.rtc/1000000000) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:645 (agora.rtc/1000000000) State ROUTING going to sleep 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_CONSUME_MEDIA (Cur 206 Tot 3406603) 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:664 (agora.rtc/1000000000) State CONSUME_MEDIA 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_core_state_machine.c:664 (agora.rtc/1000000000) State CONSUME_MEDIA going to sleep 2022-02-17 14:36:45.255863 89.43% [DEBUG] sofia.c:7573 Channel sofia/default/70101188 entering state [ready][200] 2022-02-17 14:36:45.255863 89.43% [NOTICE] sofia.c:8702 Channel [sofia/default/70101188] has been answered 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_channel.c:3950 (sofia/default/70101188) Callstate Change EARLY -> ACTIVE 2022-02-17 14:36:45.255863 89.43% [DEBUG] agora_rtc.c:1331 answer 2022-02-17 14:36:45.255863 89.43% [ERR] agora_ep.c:257 answer 2022-02-17 14:36:45.255863 89.43% [NOTICE] switch_ivr_bridge.c:731 Channel [agora.rtc/7270005370101188] has been answered 2022-02-17 14:36:45.255863 89.43% [DEBUG] switch_channel.c:3950 (agora.rtc/7270005370101188) Callstate Change EARLY -> ACTIVE 2022-02-17 14:36:45.275847 89.43% [INFO] mod_verto.c:606 WRITE 10.0.16.15:39102 [{"jsonrpc":"2.0","id":2334130,"method":"verto.event","params":{"eventChannel":"Agora.callstate.fb093cb4-186d-4237-bc14-4f4206885e69","data":{"func":"answer","agoraChannel":"ec7eebb2-04d1-4acb-9cfb-260c6e1f217b","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","agoraToken":"0067e048a1b9a2e4c0a813981df5268e728IAAkld1LzTMgKJyNlAiy/f49rSkNnILtah2/m2UW0bom/eO4wZYAAAAAEADthD2vdD4PYgEAAQCIPg9i","fsChannel":"ec7eebb2-04d1-4acb-9cfb-260c6e1f217b","cidName":"72700053","cidNumber":"72700053","destNumber":"7270005370101188","sessid":"fb093cb4-186d-4237-bc14-4f4206885e69","video":"false"},"eventSerno":8014,"subscribedChannel":"Agora.callstate.fb093cb4-186d-4237-bc14-4f4206885e69"}}] 2022-02-17 14:36:45.275847 89.43% [INFO] mod_verto.c:606 WRITE 10.0.16.15:39152 [{"jsonrpc":"2.0","id":2334129,"method":"verto.event","params":{"eventChannel":"Agora.callstate.935ac655-9261-43fb-9c68-cc3b50448cca","data":{"func":"invite","agoraChannel":"72111111_16439df6-ff97-47e7-99a0-15663d931030","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","agoraToken":"0067e048a1b9a2e4c0a813981df5268e728IACAmH1FwMPsiu41gs7QiNX+8hePKtycCFsjsg7jaTPcyQ61OgMAAAAAEADthD2vfT4PYgEAAQCRPg9i","fsChannel":"d9625473-86aa-4bff-92ad-2aee1a2da192","cidName":"70007070","cidNumber":"70007070","destNumber":"7e048a1b9a2e4c0a813981df5268e728/72111111_16439df6-ff97-47e7-99a0-15663d931030/1000000000","sessid":"935ac655-9261-43fb-9c68-cc3b50448cca","video":"false"},"eventSerno":2346,"subscribedChannel":"Agora.callstate.935ac655-9261-43fb-9c68-cc3b50448cca"}}] 2022-02-17 14:36:45.295861 89.43% [DEBUG] switch_rtp.c:7968 Correct audio ip/port confirmed. 2022-02-17 14:36:45.635860 89.50% [DEBUG] switch_scheduler.c:147 Deleting task 1485060 switch_ivr_schedule_hangup (470e796a-38c9-4910-9dee-5872954a560a) 2022-02-17 14:36:45.975860 89.50% [NOTICE] sofia.c:1094 Hangup sofia/default/96651016@10.0.16.25 [CS_EXECUTE] [NORMAL_CLEARING] 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/96651016@10.0.16.25] 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_ivr_bridge.c:820 sofia/default/96651016@10.0.16.25 ending bridge by request from write function 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [agora.rtc/1000000000] 2022-02-17 14:36:45.975860 89.50% [NOTICE] switch_ivr_bridge.c:1030 Hangup agora.rtc/1000000000 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:655 (agora.rtc/1000000000) State EXCHANGE_MEDIA going to sleep 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_HANGUP (Cur 206 Tot 3406603) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:849 (agora.rtc/1000000000) Callstate Change ACTIVE -> HANGUP 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:851 (agora.rtc/1000000000) State HANGUP 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:59 agora.rtc/1000000000 Standard HANGUP, cause: NORMAL_CLEARING 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:851 (agora.rtc/1000000000) State HANGUP going to sleep 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:621 (agora.rtc/1000000000) State Change CS_HANGUP -> CS_REPORTING 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_REPORTING (Cur 206 Tot 3406603) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:937 (agora.rtc/1000000000) State REPORTING 2022-02-17 14:36:45.975860 89.50% [INFO] mod_json_cdr.c:273 Process [5dd172e2-e757-47cd-a6d5-00985654b1a6.cdr.json] 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_ivr_bridge.c:1893 agora.rtc/1000000000 skip receive message [UNBRIDGE] (channel is hungup already) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_ivr_bridge.c:1896 sofia/default/96651016@10.0.16.25 skip receive message [UNBRIDGE] (channel is hungup already) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_session.c:3100 sofia/default/96651016@10.0.16.25 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_cpp.cpp:1216 sofia/default/96651016@10.0.16.25 destroy/unlink session from object 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_session.c:3100 sofia/default/96651016@10.0.16.25 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:652 (sofia/default/96651016@10.0.16.25) State EXECUTE going to sleep 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/96651016@10.0.16.25) Running State Change CS_HANGUP (Cur 206 Tot 3406603) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:849 (sofia/default/96651016@10.0.16.25) Callstate Change ACTIVE -> HANGUP 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:851 (sofia/default/96651016@10.0.16.25) State HANGUP 2022-02-17 14:36:45.975860 89.50% [DEBUG] mod_sofia.c:473 Channel sofia/default/96651016@10.0.16.25 hanging up, cause: NORMAL_CLEARING 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/96651016@10.0.16.25 Standard HANGUP, cause: NORMAL_CLEARING 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:851 (sofia/default/96651016@10.0.16.25) State HANGUP going to sleep 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:621 (sofia/default/96651016@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/96651016@10.0.16.25) Running State Change CS_REPORTING (Cur 206 Tot 3406603) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:937 (sofia/default/96651016@10.0.16.25) State REPORTING 2022-02-17 14:36:45.975860 89.50% [INFO] mod_json_cdr.c:273 Process [400ade0b-79ca-4557-a303-b062909c0e8c.cdr.json] 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:168 agora.rtc/1000000000 Standard REPORTING, cause: NORMAL_CLEARING 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:937 (agora.rtc/1000000000) State REPORTING going to sleep 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:612 (agora.rtc/1000000000) State Change CS_REPORTING -> CS_DESTROY 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_session.c:1753 Session 3406513 (agora.rtc/1000000000) Locked, Waiting on external entities 2022-02-17 14:36:45.975860 89.50% [NOTICE] switch_core_session.c:1771 Session 3406513 (agora.rtc/1000000000) Ended 2022-02-17 14:36:45.975860 89.50% [NOTICE] switch_core_session.c:1775 Close Channel agora.rtc/1000000000 [CS_DESTROY] 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:740 (agora.rtc/1000000000) Running State Change CS_DESTROY (Cur 205 Tot 3406603) 2022-02-17 14:36:45.975860 89.50% [DEBUG] switch_core_state_machine.c:750 (agora.rtc/1000000000) State DESTROY 2022-02-17 14:36:45.975860 89.50% [DEBUG] agora_rtc.c:710 agora.rtc/1000000000 RTC DESTROY 2022-02-17 14:36:45.975860 89.50% [INFO] agora_rtc.c:711 agora.rtc/1000000000 end write video to agora cloud package: 0 2022-02-17 14:36:45.975860 89.50% [INFO] agora_rtc.c:712 agora.rtc/1000000000 end write audio to agora cloud package: 0 2022-02-17 14:36:45.975860 89.50% [INFO] agora_rtc.c:713 agora.rtc/1000000000 end read video from agora cloud package: 0 2022-02-17 14:36:45.975860 89.50% [INFO] agora_rtc.c:714 agora.rtc/1000000000 end read audio from agora cloud package: 6268 2022-02-17 14:36:45.975860 89.50% [DEBUG] agora_rtc.c:719 waiting for audio/video write thread 99 ... 2022-02-17 14:36:45.975860 89.50% [INFO] agora_glue.cpp:442 onDisconnected 2022-02-17 14:36:45.975860 89.50% [INFO] mod_verto.c:606 WRITE 10.0.16.15:39152 [{"jsonrpc":"2.0","id":2334131,"method":"verto.event","params":{"eventChannel":"Agora.callstate.935ac655-9261-43fb-9c68-cc3b50448cca","data":{"func":"bye","agoraChannel":"72116774_400ade0b-79ca-4557-a303-b062909c0e8c","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","agoraToken":"0067e048a1b9a2e4c0a813981df5268e728IAAn+Lao7H718Ks1tT5vTkKYBurS8942yDWJFmnrh40iPJxI0+MAAAAAEADthD2vUj4PYgEAAQBmPg9i","fsChannel":"5dd172e2-e757-47cd-a6d5-00985654b1a6","cidName":"96651016","cidNumber":"96651016","destNumber":"7e048a1b9a2e4c0a813981df5268e728/72116774_400ade0b-79ca-4557-a303-b062909c0e8c/1000000000","sessid":"935ac655-9261-43fb-9c68-cc3b50448cca","video":"false","byeCause":"NORMAL_CLEARING","byeCode":"16"},"eventSerno":2347,"subscribedChannel":"Agora.callstate.935ac655-9261-43fb-9c68-cc3b50448cca"}}] 2022-02-17 14:36:45.995860 89.50% [DEBUG] mod_opus.c:725 Opus decoder stats: Frames[0] PLC[0] FEC[0] 2022-02-17 14:36:45.995860 89.50% [DEBUG] mod_opus.c:740 Opus encoder stats: Frames[1572] Bytes encoded[140052] Encoded length ms[31440] Average encoded bitrate bps[36142] 2022-02-17 14:36:45.995860 89.50% [DEBUG] agora_ep.c:189 agora.rtc/1000000000 Agora RTC DESTROY 2022-02-17 14:36:45.995860 89.50% [DEBUG] switch_core_state_machine.c:175 agora.rtc/1000000000 Standard DESTROY 2022-02-17 14:36:45.995860 89.50% [DEBUG] switch_core_state_machine.c:750 (agora.rtc/1000000000) State DESTROY going to sleep 2022-02-17 14:36:46.095863 89.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/72100777@10.0.16.25 [adf98950-f242-470c-81c3-b423545cbe87] 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/72100777@10.0.16.25) Running State Change CS_NEW (Cur 206 Tot 3406604) 2022-02-17 14:36:46.095863 89.50% [INFO] sofia.c:10568 sofia/default/72100777@10.0.16.25 receiving invite from 10.0.16.25:5060 version: 1.10.8-dev git a40e1f7 2021-11-03 08:05:14Z 64bit call-id=021422F31981400000F2C5FF@LOCALT 2022-02-17 14:36:46.095863 89.50% [DEBUG] sofia.c:10665 verifying acl "default" for ip/port 10.0.16.25:0. 2022-02-17 14:36:46.095863 89.50% [DEBUG] sofia.c:10694 IP 10.0.16.25 Approved by acl "default[]". Access Granted. 2022-02-17 14:36:46.095863 89.50% [DEBUG] sofia.c:7573 Channel sofia/default/72100777@10.0.16.25 entering state [received][100] 2022-02-17 14:36:46.095863 89.50% [DEBUG] sofia.c:7585 Remote SDP: v=0 o=- 50528918 1 IN IP4 10.0.16.25 s=- c=IN IP4 10.0.16.25 t=0 0 m=audio 26790 RTP/AVP 0 8 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5630 Set telephone-event payload to 101@8000 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:3916 Set Codec sofia/default/72100777@10.0.16.25 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_codec.c:111 sofia/default/72100777@10.0.16.25 Original read codec set to PCMU:0 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:5979 Set telephone-event payload to 101@8000 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_media.c:6037 sofia/default/72100777@10.0.16.25 Set 2833 dtmf send payload to 101 recv payload to 101 2022-02-17 14:36:46.095863 89.50% [DEBUG] sofia.c:8009 (sofia/default/72100777@10.0.16.25) State Change CS_NEW -> CS_INIT 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:605 (sofia/default/72100777@10.0.16.25) State NEW 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/72100777@10.0.16.25) Running State Change CS_INIT (Cur 206 Tot 3406604) 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:629 (sofia/default/72100777@10.0.16.25) State INIT 2022-02-17 14:36:46.095863 89.50% [DEBUG] mod_sofia.c:97 sofia/default/72100777@10.0.16.25 SOFIA INIT 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/72100777@10.0.16.25 Standard INIT 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/72100777@10.0.16.25) State Change CS_INIT -> CS_ROUTING 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:629 (sofia/default/72100777@10.0.16.25) State INIT going to sleep 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/72100777@10.0.16.25) Running State Change CS_ROUTING (Cur 206 Tot 3406604) 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_channel.c:2380 (sofia/default/72100777@10.0.16.25) Callstate Change DOWN -> RINGING 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:645 (sofia/default/72100777@10.0.16.25) State ROUTING 2022-02-17 14:36:46.095863 89.50% [DEBUG] mod_sofia.c:158 sofia/default/72100777@10.0.16.25 SOFIA ROUTING 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/72100777@10.0.16.25 Standard ROUTING 2022-02-17 14:36:46.095863 89.50% [INFO] mod_dialplan_xml.c:639 Processing 72100777 <72100777>->7210077799332983 in context default 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-02-17 14:36:46.095863 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 61dcc992-92d3-4c2e-a3e7-fb55f3cd9b1e FreeSWITCH-Hostname: x1 FreeSWITCH-Switchname: x1 FreeSWITCH-IPv4: 10.0.16.10 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2022-02-17%2014%3A36%3A46 Event-Date-GMT: Thu,%2017%20Feb%202022%2006%3A36%3A46%20GMT Event-Date-Timestamp: 1645079806095863 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 179887394 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/72100777%4010.0.16.25 Unique-ID: adf98950-f242-470c-81c3-b423545cbe87 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 72100777%4010.0.16.25 Channel-Call-UUID: adf98950-f242-470c-81c3-b423545cbe87 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 72100777 Caller-Dialplan: XML Caller-Caller-ID-Name: 72100777 Caller-Caller-ID-Number: 72100777 Caller-Orig-Caller-ID-Name: 72100777 Caller-Orig-Caller-ID-Number: 72100777 Caller-Network-Addr: 10.0.16.25 Caller-ANI: 72100777 Caller-Destination-Number: 7210077799332983 Caller-Unique-ID: adf98950-f242-470c-81c3-b423545cbe87 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/72100777%4010.0.16.25 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1645079806095863 Caller-Channel-Created-Time: 1645079806095863 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: adf98950-f242-470c-81c3-b423545cbe87 variable_session_id: 3406604 variable_sip_from_user: 72100777 variable_sip_from_uri: 72100777%4010.0.16.25 variable_sip_from_host: 10.0.16.25 variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/72100777%4010.0.16.25 variable_sip_call_id: 021422F31981400000F2C5FF%40LOCALT variable_sip_local_network_addr: 10.0.16.26 variable_sip_network_ip: 10.0.16.25 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1645079806095863 variable_sip_received_ip: 10.0.16.25 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 72100777 variable_sip_from_tag: 9968303033303330639BC70D variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%4010.0.16.26%3A5060 variable_recovery_profile_name: default variable_sip_full_route: %3Csip%3A10.0.16.26%3A5060%3Blr%3Btransport%3Dudp%3E variable_sip_full_via: SIP/2.0/UDP%2010.0.16.25%3A5060%3Bbranch%3Dz9hG4bKB13D17F3F0F25397CE7B7404678219ED%3Brport%3D5060 variable_sip_from_display: 72100777 variable_sip_full_from: %2272100777%22%20%3Csip%3A72100777%4010.0.16.25%3E%3Btag%3D9968303033303330639BC70D variable_sip_full_to: %3Csip%3A7210077799332983%4010.0.16.26%3E variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20PRACK,%20REFER,%20SUBSCRIBE,%20NOTIFY variable_sip_req_user: 7210077799332983 variable_sip_req_port: 5060 variable_sip_req_uri: 7210077799332983%4010.0.16.26%3A5060 variable_sip_req_host: 10.0.16.26 variable_sip_to_user: 7210077799332983 variable_sip_to_uri: 7210077799332983%4010.0.16.26 variable_sip_to_host: 10.0.16.26 variable_sip_contact_user: 72100777 variable_sip_contact_port: 5060 variable_sip_contact_uri: 72100777%4010.0.16.25%3A5060 variable_sip_contact_host: 10.0.16.25 variable_sip_user_agent: TBSIP variable_sip_via_host: 10.0.16.25 variable_sip_via_port: 5060 variable_sip_via_rport: 5060 variable_max_forwards: 68 variable_presence_id: 72100777%4010.0.16.25 variable_sip_date_epoch_time: 1645108102 variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2050528918%201%20IN%20IP4%2010.0.16.25%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2010.0.16.25%0D%0At%3D0%200%0D%0Am%3Daudio%2026790%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 10.0.16.25 variable_remote_media_port: 26790 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: adf98950-f242-470c-81c3-b423545cbe87 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 72100777 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 72100777 Hunt-Caller-ID-Number: 72100777 Hunt-Orig-Caller-ID-Name: 72100777 Hunt-Orig-Caller-ID-Number: 72100777 Hunt-Network-Addr: 10.0.16.25 Hunt-ANI: 72100777 Hunt-Destination-Number: 7210077799332983 Hunt-Unique-ID: adf98950-f242-470c-81c3-b423545cbe87 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/72100777%4010.0.16.25 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1645079806095863 Hunt-Channel-Created-Time: 1645079806095863 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false 2022-02-17 14:36:46.095863 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] tag_name: 2022-02-17 14:36:46.095863 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_name: 2022-02-17 14:36:46.095863 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] section: dialplan 2022-02-17 14:36:46.095863 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_value: 2022-02-17 14:36:46.095863 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Dialed number : 7210077799332983 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7210077799332983' AND status=0 limit 1 2022-02-17 14:36:46.095863 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Caller Id name / number : 72100777 / 72100777 2022-02-17 14:36:46.095863 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-02-17 14:36:46.095863 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:46.115856 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7210077799332983" LIMIT 1 2022-02-17 14:36:46.115856 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7210077799332983" limit 1 2022-02-17 14:36:46.115856 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Call direction : outbound 2022-02-17 14:36:46.115856 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("10.0.16.25") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "7210077799332983" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-02-17 14:36:46.135883 89.50% [DEBUG] switch_scheduler.c:147 Deleting task 1485064 switch_ivr_schedule_hangup (5dd172e2-e757-47cd-a6d5-00985654b1a6) 2022-02-17 14:36:46.175859 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 7210077799332983 2022-02-17 14:36:46.175859 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 99332983 2022-02-17 14:36:46.175859 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [Accountcode : 7500167972] 2022-02-17 14:36:46.175859 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7500167972" AND deleted = 0 limit 1 2022-02-17 14:36:46.175859 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^99332983.*' OR blocked_patterns = '^9933298.*' OR blocked_patterns = '^993329.*' OR blocked_patterns = '^99332.*' OR blocked_patterns = '^9933.*' OR blocked_patterns = '^993.*' OR blocked_patterns = '^99.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 1462 limit 1 2022-02-17 14:36:46.175859 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="99332983" AND A.accountid = '1462' limit 1 2022-02-17 14:36:46.175859 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 99332983 2022-02-17 14:36:46.175859 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-02-17 14:36:46.175859 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:46.195847 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="99332983" LIMIT 1 2022-02-17 14:36:46.195847 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="99332983" limit 1 2022-02-17 14:36:46.195847 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] New Call direction : outbound 2022-02-17 14:36:46.195847 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-02-17 14:36:46.195847 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:46.195847 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="99332983" AND (accountid = 0 OR status = 1) LIMIT 1 2022-02-17 14:36:46.195847 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^99332983.*' OR patterns = '^9933298.*' OR patterns = '^993329.*' OR patterns = '^99332.*' OR patterns = '^9933.*' OR patterns = '^993.*' OR patterns = '^99.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 1462 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '99332983' OR number = '9933298' OR number = '993329' OR number = '99332' OR number = '9933' OR number = '993' OR number = '99' OR number = '9' OR number ='--') OR (number = '99332983*' OR number = '9933298*' OR number = '993329*' OR number = '99332*' OR number = '9933*' OR number = '993*' OR number = '99*' OR number = '9*' OR number ='--') OR (number = '72100777' OR number = '7210077' OR number = '721007' OR number = '72100' OR number = '7210' OR number = '721' OR number = '72' OR number = '7' OR number ='--') OR (number = '72100777*' OR number = '7210077*' OR number = '721007*' OR number = '72100*' OR number = '7210*' OR number = '721*' OR number = '72*' OR number = '7*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] Call Barring Status : -1 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '99332983' OR routing_prefix = '9933298' OR routing_prefix = '993329' OR routing_prefix = '99332' OR routing_prefix = '9933' OR routing_prefix = '993' OR routing_prefix = '99' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Account Information =================== 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] User id : 1462 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Account code : 7500167972 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Balance : 5801209.6 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Ratecard id : 41 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] CID Pool : 0 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] ======================================================== 2022-02-17 14:36:46.215860 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH1: 1 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 41 AND status = 0 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :outbound 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^99332983.*' OR pattern = '^9933298.*' OR pattern = '^993329.*' OR pattern = '^99332.*' OR pattern = '^9933.*' OR pattern = '^993.*' OR pattern = '^99.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 41 OR accountid=1462) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: outbound 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information =================== 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 177 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 40.00000 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : Mobicom 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 0 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 1462 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Trunk ID: 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Routing type: 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================ 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your5801209.6 balance Accountid 1462 !!! 2022-02-17 14:36:46.215860 89.50% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 90 mins! 2022-02-17 14:36:46.215860 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Call Max length duration : 90 minutes 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id : 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=41 ORDER by id asc 2022-02-17 14:36:46.215860 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^99332983.*' OR pattern = '^9933298.*' OR pattern = '^993329.*' OR pattern = '^99332.*' OR pattern = '^9933.*' OR pattern = '^993.*' OR pattern = '^99.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (9,27,35,37,39,41,43,45,47,49,51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Termination Rates Information =================== 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 141 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Code : ^99.* 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Destination : Мобиком 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Free Seconds : 0 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Prefix : ^99.* 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Strip : 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Prepend : 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Carrier id : 35 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] carrier_name : SBC 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] dialplan_variable : 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Failover gateway : 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Vendor id : 87 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Max channels : 0 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] Trunk Name : SBC 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1462 AND status=0 LIMIT 1 2022-02-17 14:36:46.235853 89.50% [INFO] switch_cpp.cpp:1477 [ASTPP] maxlength::::::::: 90 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 41 AND status = 0 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 87) AND status=0 limit 1 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/72100777@10.0.16.25 parsing [default->99332983] continue=false Dialplan: sofia/default/72100777@10.0.16.25 Regex (PASS) [99332983] destination_number(7210077799332983) =~ /7210077799332983/ break=on-false Dialplan: sofia/default/72100777@10.0.16.25 Action set(effective_destination_number=99332983) Dialplan: sofia/default/72100777@10.0.16.25 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/72100777@10.0.16.25 Action set(bridge_pre_execute_bleg_data=+5400 normal_clearing) Dialplan: sofia/default/72100777@10.0.16.25 Action set(callstart=2022-02-17 06:36:46) Dialplan: sofia/default/72100777@10.0.16.25 Action set(hangup_after_bridge=true) Dialplan: sofia/default/72100777@10.0.16.25 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/72100777@10.0.16.25 Action set(account_id=1462) Dialplan: sofia/default/72100777@10.0.16.25 Action set(parent_id=0) Dialplan: sofia/default/72100777@10.0.16.25 Action set(entity_id=0) Dialplan: sofia/default/72100777@10.0.16.25 Action set(call_processed=internal) Dialplan: sofia/default/72100777@10.0.16.25 Action set(call_direction=outbound) Dialplan: sofia/default/72100777@10.0.16.25 Action set(accountname=sbc) Dialplan: sofia/default/72100777@10.0.16.25 Action set(origination_rates=ID:177|CODE:^99.*|DESTINATION:Mobicom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:40.00000|INC:6|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:0|ACCID:1462) Dialplan: sofia/default/72100777@10.0.16.25 Action set(original_caller_id_name=72100777) Dialplan: sofia/default/72100777@10.0.16.25 Action set(original_caller_id_number=72100777) Dialplan: sofia/default/72100777@10.0.16.25 Action limit(db 7500167972 user_7500167972 10 !SWITCH_CONGESTION) Dialplan: sofia/default/72100777@10.0.16.25 Action set(effective_caller_id_name=72100777) Dialplan: sofia/default/72100777@10.0.16.25 Action set(effective_caller_id_number=72100777) Dialplan: sofia/default/72100777@10.0.16.25 Action set(calltype=STANDARD) Dialplan: sofia/default/72100777@10.0.16.25 Action set(termination_rates=ID:141|CODE:^99.*|DESTINATION:Мобиком|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:20.00000|INC:1|INITIALBLOCK:1|TRUNK:35|PROVIDER:87) Dialplan: sofia/default/72100777@10.0.16.25 Action set(trunk_id=35) Dialplan: sofia/default/72100777@10.0.16.25 Action set(provider_id=87) Dialplan: sofia/default/72100777@10.0.16.25 Action set(rate_flag=0) Dialplan: sofia/default/72100777@10.0.16.25 Action set(force_trunk_flag=0) Dialplan: sofia/default/72100777@10.0.16.25 Action export(presence_data=trunk_id=35) Dialplan: sofia/default/72100777@10.0.16.25 Action set(intcall=0) Dialplan: sofia/default/72100777@10.0.16.25 Action export(presence_data=x|||Stora.mn(7500167972)|||^99.* // Mobicom // 40.00000 // trunk_id=|||SBC // ^99.* // Мобиком // 20.00000 // trunk_id=35|||STD) Dialplan: sofia/default/72100777@10.0.16.25 Action bridge([leg_timeout=0]sofia/gateway/SBC/99332983) Dialplan: sofia/default/72100777@10.0.16.25 Action export(read_rate=8000) Dialplan: sofia/default/72100777@10.0.16.25 Action export(write_rate=8000) Dialplan: sofia/default/72100777@10.0.16.25 Action lua(astpp-busytone.lua) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:286 (sofia/default/72100777@10.0.16.25) State Change CS_ROUTING -> CS_EXECUTE 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:645 (sofia/default/72100777@10.0.16.25) State ROUTING going to sleep 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/72100777@10.0.16.25) Running State Change CS_EXECUTE (Cur 206 Tot 3406604) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:652 (sofia/default/72100777@10.0.16.25) State EXECUTE 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_sofia.c:213 sofia/default/72100777@10.0.16.25 SOFIA EXECUTE 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:328 sofia/default/72100777@10.0.16.25 Standard EXECUTE EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(effective_destination_number=99332983) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [effective_destination_number]=[99332983] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(bridge_pre_execute_bleg_data=+5400 normal_clearing) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [bridge_pre_execute_bleg_data]=[+5400 normal_clearing] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(callstart=2022-02-17 06:36:46) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [callstart]=[2022-02-17 06:36:46] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(hangup_after_bridge=true) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(continue_on_fail=TRUE) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(account_id=1462) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [account_id]=[1462] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(parent_id=0) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [parent_id]=[0] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(entity_id=0) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [entity_id]=[0] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(call_processed=internal) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(call_direction=outbound) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(accountname=sbc) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [accountname]=[sbc] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(origination_rates=ID:177|CODE:^99.*|DESTINATION:Mobicom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:40.00000|INC:6|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:0|ACCID:1462) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [origination_rates]=[ID:177|CODE:^99.*|DESTINATION:Mobicom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:40.00000|INC:6|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:0|ACCID:1462] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(original_caller_id_name=72100777) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [original_caller_id_name]=[72100777] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(original_caller_id_number=72100777) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [original_caller_id_number]=[72100777] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 limit(db 7500167972 user_7500167972 10 !SWITCH_CONGESTION) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_limit.c:124 incr called: 7500167972_user_7500167972 max:10, interval:0 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_db.c:194 Usage for 7500167972_user_7500167972 is now 1/10 EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(effective_caller_id_name=72100777) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [effective_caller_id_name]=[72100777] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(effective_caller_id_number=72100777) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [effective_caller_id_number]=[72100777] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(calltype=STANDARD) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(termination_rates=ID:141|CODE:^99.*|DESTINATION:Мобиком|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:20.00000|INC:1|INITIALBLOCK:1|TRUNK:35|PROVIDER:87) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [termination_rates]=[ID:141|CODE:^99.*|DESTINATION:Мобиком|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:20.00000|INC:1|INITIALBLOCK:1|TRUNK:35|PROVIDER:87] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(trunk_id=35) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [trunk_id]=[35] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(provider_id=87) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [provider_id]=[87] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(rate_flag=0) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(force_trunk_flag=0) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 export(presence_data=trunk_id=35) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=35] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 set(intcall=0) 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/72100777@10.0.16.25 [intcall]=[0] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 export(presence_data=x|||Stora.mn(7500167972)|||^99.* // Mobicom // 40.00000 // trunk_id=|||SBC // ^99.* // Мобиком // 20.00000 // trunk_id=35|||STD) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Stora.mn(7500167972)|||^99.* // Mobicom // 40.00000 // trunk_id=|||SBC // ^99.* // Мобиком // 20.00000 // trunk_id=35|||STD] EXECUTE [depth=0] sofia/default/72100777@10.0.16.25 bridge([leg_timeout=0]sofia/gateway/SBC/99332983) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_channel.c:1269 sofia/default/72100777@10.0.16.25 EXPORTING[export_vars] [presence_data]=[x|||Stora.mn(7500167972)|||^99.* // Mobicom // 40.00000 // trunk_id=|||SBC // ^99.* // Мобиком // 20.00000 // trunk_id=35|||STD] to event 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_channel.c:1269 sofia/default/72100777@10.0.16.25 EXPORTING[export_vars] [presence_data]=[x|||Stora.mn(7500167972)|||^99.* // Mobicom // 40.00000 // trunk_id=|||SBC // ^99.* // Мобиком // 20.00000 // trunk_id=35|||STD] to event 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-02-17 14:36:46.235853 89.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/99332983 [c8d6e227-656e-449a-9017-3c3c93ba484c] 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_sofia.c:5142 (sofia/default/99332983) State Change CS_NEW -> CS_INIT 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99332983) Running State Change CS_INIT (Cur 207 Tot 3406605) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:629 (sofia/default/99332983) State INIT 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_sofia.c:97 sofia/default/99332983 SOFIA INIT 2022-02-17 14:36:46.235853 89.50% [INFO] sofia_glue.c:1655 sofia/default/99332983 sending invite call-id: (null) 2022-02-17 14:36:46.235853 89.50% [DEBUG] sofia_glue.c:1658 sofia/default/99332983 sending invite version: 1.10.8-dev git a40e1f7 2021-11-03 08:05:14Z 64bit Local SDP: v=0 o=FreeSWITCH 1645062542 1645062543 IN IP4 10.0.16.26 s=FreeSWITCH c=IN IP4 10.0.16.26 t=0 0 m=audio 17264 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/99332983 Standard INIT 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/99332983) State Change CS_INIT -> CS_ROUTING 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:629 (sofia/default/99332983) State INIT going to sleep 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99332983) Running State Change CS_ROUTING (Cur 207 Tot 3406605) 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:645 (sofia/default/99332983) State ROUTING 2022-02-17 14:36:46.235853 89.50% [DEBUG] mod_sofia.c:158 sofia/default/99332983 SOFIA ROUTING 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/99332983) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:645 (sofia/default/99332983) State ROUTING going to sleep 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99332983) Running State Change CS_CONSUME_MEDIA (Cur 207 Tot 3406605) 2022-02-17 14:36:46.235853 89.50% [DEBUG] sofia.c:7573 Channel sofia/default/99332983 entering state [calling][0] 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:664 (sofia/default/99332983) State CONSUME_MEDIA 2022-02-17 14:36:46.235853 89.50% [DEBUG] switch_core_state_machine.c:664 (sofia/default/99332983) State CONSUME_MEDIA going to sleep 2022-02-17 14:36:46.375862 89.60% [INFO] mod_verto.c:1639 READ 10.0.16.15:39152 [{"jsonrpc":"2.0","method":"jsapi","id":0,"params":{"command":"agora","sessid":"935ac655-9261-43fb-9c68-cc3b50448cca","data":{"func":"ring","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","fsChannel":"d9625473-86aa-4bff-92ad-2aee1a2da192","cidNumber":"1000000000","cidName":"1000000000","video":"false","otherVariables":{}}}}] 2022-02-17 14:36:46.375862 89.60% [NOTICE] agora_sig.c:118 Ring-Ready agora.rtc/1000000000! 2022-02-17 14:36:46.375862 89.60% [DEBUG] switch_channel.c:3494 (agora.rtc/1000000000) Callstate Change DOWN -> RINGING 2022-02-17 14:36:46.375862 89.60% [INFO] mod_verto.c:606 WRITE 10.0.16.15:39152 [{"jsonrpc":"2.0","id":0,"result":{"func":"ring","message":"+OK","fsChannel":"d9625473-86aa-4bff-92ad-2aee1a2da192","sessid":"935ac655-9261-43fb-9c68-cc3b50448cca"}}] 2022-02-17 14:36:46.375862 89.60% [INFO] switch_ivr_originate.c:1295 Sending early media 2022-02-17 14:36:46.375862 89.60% [DEBUG] switch_core_media.c:8928 AUDIO RTP [sofia/default/70007070@10.0.16.25] 10.0.16.26 port 16680 -> 10.0.16.25 port 26788 codec: 8 ms: 20 2022-02-17 14:36:46.375862 89.60% [DEBUG] switch_rtp.c:4632 Starting timer [soft] 160 bytes per 20ms 2022-02-17 14:36:46.395863 89.60% [DEBUG] switch_core_media.c:9241 sofia/default/70007070@10.0.16.25 Set 2833 dtmf send payload to 101 2022-02-17 14:36:46.395863 89.60% [DEBUG] switch_core_media.c:9248 sofia/default/70007070@10.0.16.25 Set 2833 dtmf receive payload to 101 2022-02-17 14:36:46.395863 89.60% [DEBUG] switch_core_media.c:9271 sofia/default/70007070@10.0.16.25 Set rtp dtmf delay to 40 2022-02-17 14:36:46.395863 89.60% [DEBUG] mod_sofia.c:2618 Ring SDP: v=0 o=FreeSWITCH 1645063126 1645063127 IN IP4 10.0.16.26 s=FreeSWITCH c=IN IP4 10.0.16.26 t=0 0 m=audio 16680 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 2022-02-17 14:36:46.395863 89.60% [NOTICE] mod_sofia.c:2621 Pre-Answer sofia/default/70007070@10.0.16.25! 2022-02-17 14:36:46.395863 89.60% [DEBUG] switch_channel.c:3622 (sofia/default/70007070@10.0.16.25) Callstate Change RINGING -> EARLY 2022-02-17 14:36:46.395863 89.60% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms 2022-02-17 14:36:46.395863 89.60% [DEBUG] switch_core_codec.c:223 sofia/default/70007070@10.0.16.25 Push codec L16:100 2022-02-17 14:36:46.395863 89.60% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(2000,4000,440.0,480.0)] 2022-02-17 14:36:46.415862 89.60% [DEBUG] sofia.c:7573 Channel sofia/default/70007070@10.0.16.25 entering state [early][183] 2022-02-17 14:36:46.775859 89.60% [DEBUG] switch_rtp.c:8213 RTP RECV DTMF 6:800 2022-02-17 14:36:46.775859 89.60% [INFO] switch_channel.c:527 RECV DTMF 6:800 2022-02-17 14:36:46.775859 89.60% [DEBUG] switch_rtp.c:5779 Send start packet for [6] ts=721902432 dur=160/160/800 seq=12064 lw=721902432 2022-02-17 14:36:46.795861 89.60% [DEBUG] switch_rtp.c:5678 Send middle packet for [6] ts=721902432 dur=320/320/800 seq=12065 lw=721902592 2022-02-17 14:36:46.815845 89.60% [DEBUG] switch_rtp.c:5678 Send middle packet for [6] ts=721902432 dur=480/480/800 seq=12066 lw=721902752 2022-02-17 14:36:46.835859 89.60% [DEBUG] switch_rtp.c:5678 Send middle packet for [6] ts=721902432 dur=640/640/800 seq=12067 lw=721902912 2022-02-17 14:36:46.855863 89.60% [DEBUG] switch_rtp.c:5678 Send end packet for [6] ts=721902432 dur=800/800/800 seq=12068 lw=721902912 2022-02-17 14:36:46.855863 89.60% [DEBUG] switch_rtp.c:5678 Send end packet for [6] ts=721902432 dur=800/800/800 seq=12069 lw=721902912 2022-02-17 14:36:46.855863 89.60% [DEBUG] switch_rtp.c:5678 Send end packet for [6] ts=721902432 dur=800/800/800 seq=12070 lw=721902912 2022-02-17 14:36:46.855863 89.60% [DEBUG] switch_rtp.c:5626 Queue digit delay of 40ms 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/96651016@10.0.16.25 Standard REPORTING, cause: NORMAL_CLEARING 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_state_machine.c:937 (sofia/default/96651016@10.0.16.25) State REPORTING going to sleep 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_state_machine.c:612 (sofia/default/96651016@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_session.c:1753 Session 3406512 (sofia/default/96651016@10.0.16.25) Locked, Waiting on external entities 2022-02-17 14:36:47.175865 89.60% [NOTICE] switch_core_session.c:1771 Session 3406512 (sofia/default/96651016@10.0.16.25) Ended 2022-02-17 14:36:47.175865 89.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/96651016@10.0.16.25 [CS_DESTROY] 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_state_machine.c:740 (sofia/default/96651016@10.0.16.25) Running State Change CS_DESTROY (Cur 206 Tot 3406605) 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_state_machine.c:750 (sofia/default/96651016@10.0.16.25) State DESTROY 2022-02-17 14:36:47.175865 89.60% [DEBUG] mod_sofia.c:379 sofia/default/96651016@10.0.16.25 SOFIA DESTROY 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/96651016@10.0.16.25 Standard DESTROY 2022-02-17 14:36:47.175865 89.60% [DEBUG] switch_core_state_machine.c:750 (sofia/default/96651016@10.0.16.25) State DESTROY going to sleep 2022-02-17 14:36:47.395858 89.70% [NOTICE] sofia.c:1094 Hangup sofia/default/723818000119@10.0.16.25 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/723818000119@10.0.16.25] 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:655 (sofia/default/723818000119@10.0.16.25) State EXCHANGE_MEDIA going to sleep 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:586 (sofia/default/723818000119@10.0.16.25) Running State Change CS_HANGUP (Cur 206 Tot 3406605) 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:849 (sofia/default/723818000119@10.0.16.25) Callstate Change ACTIVE -> HANGUP 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:851 (sofia/default/723818000119@10.0.16.25) State HANGUP 2022-02-17 14:36:47.395858 89.70% [DEBUG] mod_sofia.c:473 Channel sofia/default/723818000119@10.0.16.25 hanging up, cause: NORMAL_CLEARING 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/723818000119@10.0.16.25 Standard HANGUP, cause: NORMAL_CLEARING 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:851 (sofia/default/723818000119@10.0.16.25) State HANGUP going to sleep 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:621 (sofia/default/723818000119@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:586 (sofia/default/723818000119@10.0.16.25) Running State Change CS_REPORTING (Cur 206 Tot 3406605) 2022-02-17 14:36:47.395858 89.70% [DEBUG] switch_core_state_machine.c:937 (sofia/default/723818000119@10.0.16.25) State REPORTING 2022-02-17 14:36:47.415847 89.70% [INFO] mod_json_cdr.c:273 Process [14ace003-b10c-4fd1-8022-2f22c338e498.cdr.json] 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/723818000119@10.0.16.25 Standard REPORTING, cause: NORMAL_CLEARING 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:937 (sofia/default/723818000119@10.0.16.25) State REPORTING going to sleep 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:612 (sofia/default/723818000119@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_session.c:1753 Session 3406280 (sofia/default/723818000119@10.0.16.25) Locked, Waiting on external entities 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_ivr_bridge.c:820 sofia/default/723818000119@10.0.16.25 ending bridge by request from write function 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/97022248@10.0.16.25] 2022-02-17 14:36:47.415847 89.70% [NOTICE] switch_ivr_bridge.c:1945 Hangup sofia/default/97022248@10.0.16.25 [CS_EXECUTE] [NORMAL_CLEARING] 2022-02-17 14:36:47.415847 89.70% [NOTICE] switch_core_session.c:1771 Session 3406280 (sofia/default/723818000119@10.0.16.25) Ended 2022-02-17 14:36:47.415847 89.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/723818000119@10.0.16.25 [CS_DESTROY] 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_session.c:3100 sofia/default/97022248@10.0.16.25 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:652 (sofia/default/97022248@10.0.16.25) State EXECUTE going to sleep 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:586 (sofia/default/97022248@10.0.16.25) Running State Change CS_HANGUP (Cur 205 Tot 3406605) 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:740 (sofia/default/723818000119@10.0.16.25) Running State Change CS_DESTROY (Cur 205 Tot 3406605) 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:849 (sofia/default/97022248@10.0.16.25) Callstate Change ACTIVE -> HANGUP 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:851 (sofia/default/97022248@10.0.16.25) State HANGUP 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:750 (sofia/default/723818000119@10.0.16.25) State DESTROY 2022-02-17 14:36:47.415847 89.70% [DEBUG] mod_sofia.c:379 sofia/default/723818000119@10.0.16.25 SOFIA DESTROY 2022-02-17 14:36:47.415847 89.70% [DEBUG] mod_sofia.c:467 sofia/default/97022248@10.0.16.25 Overriding SIP cause 480 with 200 from the other leg 2022-02-17 14:36:47.415847 89.70% [DEBUG] mod_sofia.c:473 Channel sofia/default/97022248@10.0.16.25 hanging up, cause: NORMAL_CLEARING 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/723818000119@10.0.16.25 Standard DESTROY 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:750 (sofia/default/723818000119@10.0.16.25) State DESTROY going to sleep 2022-02-17 14:36:47.415847 89.70% [DEBUG] mod_sofia.c:527 Sending BYE to sofia/default/97022248@10.0.16.25 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/97022248@10.0.16.25 Standard HANGUP, cause: NORMAL_CLEARING 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:851 (sofia/default/97022248@10.0.16.25) State HANGUP going to sleep 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:621 (sofia/default/97022248@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:586 (sofia/default/97022248@10.0.16.25) Running State Change CS_REPORTING (Cur 205 Tot 3406605) 2022-02-17 14:36:47.415847 89.70% [DEBUG] switch_core_state_machine.c:937 (sofia/default/97022248@10.0.16.25) State REPORTING 2022-02-17 14:36:47.415847 89.70% [INFO] mod_json_cdr.c:273 Process [fd5eacd4-b507-493b-93a7-67ed61b63c27.cdr.json] 2022-02-17 14:36:47.635864 89.70% [DEBUG] switch_scheduler.c:147 Deleting task 1484939 switch_ivr_schedule_hangup (14ace003-b10c-4fd1-8022-2f22c338e498) 2022-02-17 14:36:47.675846 89.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/88591981@10.0.16.25 [f1075883-6b32-4c52-834e-10456ab3fe2a] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_state_machine.c:586 (sofia/default/88591981@10.0.16.25) Running State Change CS_NEW (Cur 206 Tot 3406606) 2022-02-17 14:36:47.675846 89.70% [INFO] sofia.c:10568 sofia/default/88591981@10.0.16.25 receiving invite from 10.0.16.25:5060 version: 1.10.8-dev git a40e1f7 2021-11-03 08:05:14Z 64bit call-id=021422F31B81400000F2C601@LOCALT 2022-02-17 14:36:47.675846 89.70% [DEBUG] sofia.c:10665 verifying acl "default" for ip/port 10.0.16.25:0. 2022-02-17 14:36:47.675846 89.70% [DEBUG] sofia.c:10694 IP 10.0.16.25 Approved by acl "default[]". Access Granted. 2022-02-17 14:36:47.675846 89.70% [DEBUG] sofia.c:7573 Channel sofia/default/88591981@10.0.16.25 entering state [received][100] 2022-02-17 14:36:47.675846 89.70% [DEBUG] sofia.c:7585 Remote SDP: v=0 o=- 50528922 1 IN IP4 10.0.16.25 s=- c=IN IP4 10.0.16.25 t=0 0 m=audio 26796 RTP/AVP 8 0 4 18 101 a=rtpmap:101 telephone-event/8000 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMA:8:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-02-17 14:36:47.675846 89.70% [DEBUG] switch_core_media.c:5630 Set telephone-event