2022-05-17 10:49:07.929232 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.132 [a14193ad-936d-43c0-9d03-f27ead3f8853] 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_NEW (Cur 7 Tot 23770) 2022-05-17 10:49:07.929232 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.132 receiving invite from 185.249.40.132:5060 version: 1.10.5 -release-17-25569c1631 64bit 2022-05-17 10:49:07.929232 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.132:0. 2022-05-17 10:49:07.929232 [DEBUG] sofia.c:10403 IP 185.249.40.132 Approved by acl "default[]". Access Granted. 2022-05-17 10:49:07.929232 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [received][100] 2022-05-17 10:49:07.929232 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=root 368110890 368110890 IN IP4 185.249.40.132 s=Asterisk PBX 1.8.32.11 c=IN IP4 185.249.40.132 t=0 0 m=audio 10232 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-05-17 10:49:07.929232 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-17 10:49:07.929232 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-17 10:49:07.929232 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-17 10:49:07.929232 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-17 10:49:07.929232 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.132 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-17 10:49:07.929232 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.132 Original read codec set to PCMA:8 2022-05-17 10:49:07.929232 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-17 10:49:07.929232 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-17 10:49:07.929232 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.132) State Change CS_NEW -> CS_INIT 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.132) State NEW 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_INIT (Cur 7 Tot 23770) 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT 2022-05-17 10:49:07.929232 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.132 SOFIA INIT 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.132 Standard INIT 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.132) State Change CS_INIT -> CS_ROUTING 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT going to sleep 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_ROUTING (Cur 7 Tot 23770) 2022-05-17 10:49:07.929232 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.132) Callstate Change DOWN -> RINGING 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING 2022-05-17 10:49:07.929232 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.132 SOFIA ROUTING 2022-05-17 10:49:07.929232 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.132 Standard ROUTING 2022-05-17 10:49:07.929232 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31855000149 in context default 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-17 10:49:07.929232 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 1570752e-33b2-4fd5-ae87-2429c1fe8547 FreeSWITCH-Hostname: multitenant-1 FreeSWITCH-Switchname: multitenant-1 FreeSWITCH-IPv4: 185.249.40.236 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2022-05-17%2010%3A49%3A07 Event-Date-GMT: Tue,%2017%20May%202022%2008%3A49%3A07%20GMT Event-Date-Timestamp: 1652777347929232 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 1800169 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/31652033157%40185.249.40.132 Unique-ID: a14193ad-936d-43c0-9d03-f27ead3f8853 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 31652033157%40185.249.40.132 Channel-Call-UUID: a14193ad-936d-43c0-9d03-f27ead3f8853 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: 31652033157 Caller-Dialplan: XML Caller-Caller-ID-Name: 31652033157 Caller-Caller-ID-Number: 31652033157 Caller-Orig-Caller-ID-Name: 31652033157 Caller-Orig-Caller-ID-Number: 31652033157 Caller-Network-Addr: 185.249.40.132 Caller-ANI: 31652033157 Caller-Destination-Number: 31855000149 Caller-Unique-ID: a14193ad-936d-43c0-9d03-f27ead3f8853 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/31652033157%40185.249.40.132 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1652777347929232 Caller-Channel-Created-Time: 1652777347929232 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: a14193ad-936d-43c0-9d03-f27ead3f8853 variable_session_id: 23770 variable_sip_from_user: 31652033157 variable_sip_from_uri: 31652033157%40185.249.40.132 variable_sip_from_host: 185.249.40.132 variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/31652033157%40185.249.40.132 variable_sip_call_id: 3ab78c8c09f96d1556b5b16269b54e02%40185.249.40.132%3A5060 variable_sip_local_network_addr: 185.249.40.236 variable_sip_network_ip: 185.249.40.132 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1652777347929232 variable_sip_received_ip: 185.249.40.132 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: 31652033157 variable_sip_from_tag: as78784aaf variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060 variable_recovery_profile_name: default variable_sip_P-Asserted-Identity: 31652033157 variable_sip_cid_type: pid variable_sip_full_via: SIP/2.0/UDP%20185.249.40.132%3A5060%3Bbranch%3Dz9hG4bK119eb7ab variable_sip_from_display: 31652033157 variable_sip_full_from: %2231652033157%22%20%3Csip%3A31652033157%40185.249.40.132%3E%3Btag%3Das78784aaf variable_sip_full_to: %3Csip%3A31855000149%40185.249.40.236%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 31855000149 variable_sip_req_port: 5060 variable_sip_req_uri: 31855000149%40185.249.40.236%3A5060 variable_sip_req_host: 185.249.40.236 variable_sip_to_user: 31855000149 variable_sip_to_port: 5060 variable_sip_to_uri: 31855000149%40185.249.40.236%3A5060 variable_sip_to_host: 185.249.40.236 variable_sip_contact_user: 31652033157 variable_sip_contact_port: 5060 variable_sip_contact_uri: 31652033157%40185.249.40.132%3A5060 variable_sip_contact_host: 185.249.40.132 variable_sip_user_agent: MOR%20Softswitch variable_sip_via_host: 185.249.40.132 variable_sip_via_port: 5060 variable_max_forwards: 70 variable_presence_id: 31652033157%40185.249.40.132 variable_sip_Privacy: none variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20368110890%20368110890%20IN%20IP4%20185.249.40.132%0D%0As%3DAsterisk%20PBX%201.8.32.11%0D%0Ac%3DIN%20IP4%20185.249.40.132%0D%0At%3D0%200%0D%0Am%3Daudio%2010232%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A variable_ep_codec_string: 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: 185.249.40.132 variable_remote_media_port: 10232 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: a14193ad-936d-43c0-9d03-f27ead3f8853 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 31652033157 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 31652033157 Hunt-Caller-ID-Number: 31652033157 Hunt-Orig-Caller-ID-Name: 31652033157 Hunt-Orig-Caller-ID-Number: 31652033157 Hunt-Network-Addr: 185.249.40.132 Hunt-ANI: 31652033157 Hunt-Destination-Number: 31855000149 Hunt-Unique-ID: a14193ad-936d-43c0-9d03-f27ead3f8853 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/31652033157%40185.249.40.132 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1652777347929232 Hunt-Channel-Created-Time: 1652777347929232 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-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value: 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name: 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name: 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31855000149 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855000149' limit 1 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855000149' AND status=0 limit 1 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855000149' and status=0 LIMIT 1 2022-05-17 10:49:07.929232 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31652033157 / 31652033157 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" LIMIT 1 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [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("185.249.40.132") 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 "31855000149" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-05-17 10:49:07.929232 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9712192016] 2022-05-17 10:49:07.929232 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9712192016" AND deleted = 0 limit 1 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855000149" AND (accountid = 0 OR status = 1) LIMIT 1 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 160 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [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 P.is_terminated = 0 AND (patterns = '^31855000149.*' OR patterns = '^3185500014.*' OR patterns = '^318550001.*' OR patterns = '^31855000.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" AND A.accountid = '7' limit 1 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855000149 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" LIMIT 1 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31855000149' OR number = '3185500014' OR number = '318550001' OR number = '31855000' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855000149*' OR number = '3185500014*' OR number = '318550001*' OR number = '31855000*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855000149' OR routing_prefix = '3185500014' OR routing_prefix = '318550001' OR routing_prefix = '31855000' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9712192016 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" LIMIT 1 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 43 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855000149 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 7 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 7 !!! 2022-05-17 10:49:07.949254 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE 2022-05-17 10:49:07.949254 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1 2022-05-17 10:49:07.949254 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:7 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:7 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 7 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1 2022-05-17 10:49:07.969589 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 134271.yoursipcloud.com 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "42" AND accounts.status = 0 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1 2022-05-17 10:49:07.969589 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 134271.yoursipcloud.com 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 160 and status = 0 limit 1 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 42 and status = 0 LIMIT 1 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0=== 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0=== 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "100" 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1 2022-05-17 10:49:07.969589 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Dlr Str : [sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com| 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2022-05-17 10:49:07.969589 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/31652033157@185.249.40.132 parsing [default->31855000149] continue=false Dialplan: sofia/default/31652033157@185.249.40.132 Regex (PASS) [31855000149] destination_number(31855000149) =~ /31855000149/ break=on-false Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_destination_number=31855000149) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(callstart=2022-05-17 08:49:07) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(hangup_after_bridge=true) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(account_id=7) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(parent_id=0) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(entity_id=3) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_processed=internal) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_direction=inbound) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(accountname=ip) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates=0) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_name=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_number=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action limit(db 9712192016 user_9712192016 10 ) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_name=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_number=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(receiver_accid=160) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(domain_name=134271.yoursipcloud.com) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(sip_to_host=134271.yoursipcloud.com) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(call_type=7) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_calltype=7) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_extensions=42) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_key=exec) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(ringback=) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(module_name=pbx) Dialplan: sofia/default/31652033157@185.249.40.132 Action db(insert/pickup_any_group_${callgroup}/42/${uuid}) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(ring_group_transfer=true) Dialplan: sofia/default/31652033157@185.249.40.132 Action bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_did_number=31855000149) 2022-05-17 10:49:07.969589 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.132) State Change CS_ROUTING -> CS_EXECUTE 2022-05-17 10:49:07.969589 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING going to sleep 2022-05-17 10:49:07.969589 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_EXECUTE (Cur 7 Tot 23770) 2022-05-17 10:49:07.969589 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.132) State EXECUTE 2022-05-17 10:49:07.969589 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.132 SOFIA EXECUTE 2022-05-17 10:49:07.969589 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.132 Standard EXECUTE EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_destination_number=31855000149) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_destination_number]=[31855000149] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(callstart=2022-05-17 08:49:07) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [callstart]=[2022-05-17 08:49:07] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(hangup_after_bridge=true) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(continue_on_fail=TRUE) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(account_id=7) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [account_id]=[7] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(parent_id=0) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [parent_id]=[0] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(entity_id=3) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [entity_id]=[3] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_processed=internal) 2022-05-17 10:49:07.969589 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_direction=inbound) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(accountname=ip) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [accountname]=[ip] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(filename1=astpp.pbx.lua) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates_did]=[ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates=0) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_name=31652033157) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_name]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_number=31652033157) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_number]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 limit(db 9712192016 user_9712192016 10 ) 2022-05-17 10:49:07.989204 [DEBUG] switch_limit.c:124 incr called: 9712192016_user_9712192016 max:10, interval:0 2022-05-17 10:49:07.989204 [DEBUG] mod_db.c:194 Usage for 9712192016_user_9712192016 is now 1/10 EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_name=31652033157) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_name]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_number=31652033157) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_number]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(receiver_accid=160) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [receiver_accid]=[160] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(domain_name=134271.yoursipcloud.com) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[134271.yoursipcloud.com] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(sip_to_host=134271.yoursipcloud.com) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[134271.yoursipcloud.com] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(call_type=7) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_calltype=7) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_calltype]=[7] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_extensions=42) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_extensions]=[42] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_key=exec) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_key]=[exec] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(ringback=) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [ringback]=[UNDEF] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(module_name=pbx) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [module_name]=[pbx] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 db(insert/pickup_any_group_/42/a14193ad-936d-43c0-9d03-f27ead3f8853) EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(dialed_extension=transfer_call) 2022-05-17 10:49:07.989204 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(dialed_extension=transfer_call) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-05-17 10:49:07.989204 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-05-17 10:49:07.989204 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(ring_group_transfer=true) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/default/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132] to event 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [call_type]=[7] to event 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2022-05-17 10:49:07.989204 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2022-05-17 10:49:07.989204 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2022-05-17 10:49:07.989204 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [eb952e75-9ed5-4498-b095-0526d0c8569b] 2022-05-17 10:49:07.989204 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT 2022-05-17 10:49:07.989204 [DEBUG] switch_ivr_originate.c:3111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Setting leg timeout to 5 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 8 Tot 23771) 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT 2022-05-17 10:49:07.989204 [DEBUG] mod_sofia.c:93 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA INIT 2022-05-17 10:49:07.989204 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191@134271.yoursipcloud.com:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1652754909 1652754910 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 22438 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard INIT 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT going to sleep 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 8 Tot 23771) 2022-05-17 10:49:07.989204 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [calling][0] 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING 2022-05-17 10:49:07.989204 [DEBUG] mod_sofia.c:154 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA ROUTING 2022-05-17 10:49:07.989204 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING going to sleep 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 23771) 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep 2022-05-17 10:49:07.989204 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.236 [b6aeed30-a71e-4f99-8ce8-c321ed3a0c70] 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_NEW (Cur 9 Tot 23772) 2022-05-17 10:49:07.989204 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.236 receiving invite from 185.249.40.236:5060 version: 1.10.5 -release-17-25569c1631 64bit 2022-05-17 10:49:07.989204 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.236:0. 2022-05-17 10:49:07.989204 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [received][100] 2022-05-17 10:49:07.989204 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=FreeSWITCH 1652754909 1652754910 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 22438 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-05-17 10:49:07.989204 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-17 10:49:07.989204 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-17 10:49:07.989204 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-17 10:49:07.989204 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-17 10:49:07.989204 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-17 10:49:07.989204 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.236 Original read codec set to PCMA:8 2022-05-17 10:49:07.989204 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-17 10:49:07.989204 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-17 10:49:07.989204 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.236) State Change CS_NEW -> CS_INIT 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.236) State NEW 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_INIT (Cur 9 Tot 23772) 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT 2022-05-17 10:49:07.989204 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.236 SOFIA INIT 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.236 Standard INIT 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.236) State Change CS_INIT -> CS_ROUTING 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT going to sleep 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_ROUTING (Cur 9 Tot 23772) 2022-05-17 10:49:07.989204 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.236) Callstate Change DOWN -> RINGING 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING 2022-05-17 10:49:07.989204 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.236 SOFIA ROUTING 2022-05-17 10:49:07.989204 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.236 Standard ROUTING 2022-05-17 10:49:07.989204 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31854832191 in context default 2022-05-17 10:49:07.989204 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-05-17 10:49:07.989204 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons