2021-01-04 08:41:58.072256 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/32101137253100@3.7.253.100 [CS_NEW] [WRONG_CALL_STATE] 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:585 (sofia/default/32101137253100@3.7.253.100) Running State Change CS_HANGUP (Cur 1 Tot 33863) 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:848 (sofia/default/32101137253100@3.7.253.100) Callstate Change DOWN -> HANGUP 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:850 (sofia/default/32101137253100@3.7.253.100) State HANGUP 2021-01-04 08:41:58.072256 [DEBUG] mod_sofia.c:453 Channel sofia/default/32101137253100@3.7.253.100 hanging up, cause: WRONG_CALL_STATE 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:60 sofia/default/32101137253100@3.7.253.100 Standard HANGUP, cause: WRONG_CALL_STATE 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:850 (sofia/default/32101137253100@3.7.253.100) State HANGUP going to sleep 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:620 (sofia/default/32101137253100@3.7.253.100) State Change CS_HANGUP -> CS_REPORTING 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:585 (sofia/default/32101137253100@3.7.253.100) Running State Change CS_REPORTING (Cur 1 Tot 33863) 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:936 (sofia/default/32101137253100@3.7.253.100) State REPORTING 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:174 sofia/default/32101137253100@3.7.253.100 Standard REPORTING, cause: WRONG_CALL_STATE 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:936 (sofia/default/32101137253100@3.7.253.100) State REPORTING going to sleep 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:611 (sofia/default/32101137253100@3.7.253.100) State Change CS_REPORTING -> CS_DESTROY 2021-01-04 08:41:58.072256 [DEBUG] switch_core_session.c:1726 Session 33863 (sofia/default/32101137253100@3.7.253.100) Locked, Waiting on external entities 2021-01-04 08:41:58.072256 [NOTICE] switch_core_session.c:1744 Session 33863 (sofia/default/32101137253100@3.7.253.100) Ended 2021-01-04 08:41:58.072256 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/32101137253100@3.7.253.100 [CS_DESTROY] 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:739 (sofia/default/32101137253100@3.7.253.100) Running State Change CS_DESTROY (Cur 0 Tot 33863) 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:749 (sofia/default/32101137253100@3.7.253.100) State DESTROY 2021-01-04 08:41:58.072256 [DEBUG] mod_sofia.c:364 sofia/default/32101137253100@3.7.253.100 SOFIA DESTROY 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:181 sofia/default/32101137253100@3.7.253.100 Standard DESTROY 2021-01-04 08:41:58.072256 [DEBUG] switch_core_state_machine.c:749 (sofia/default/32101137253100@3.7.253.100) State DESTROY going to sleep 2021-01-04 08:41:58.532271 [NOTICE] switch_channel.c:1118 New Channel sofia/default/1001@3.7.253.100 [31b04374-104b-4e18-9ecf-2567b07ab793] 2021-01-04 08:41:58.532271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1001@3.7.253.100) Running State Change CS_NEW (Cur 1 Tot 33864) 2021-01-04 08:41:58.532271 [DEBUG] sofia.c:10280 sofia/default/1001@3.7.253.100 receiving invite from 185.16.38.33:61732 version: 1.10.5 -release-17-25569c1631 64bit 2021-01-04 08:41:58.532271 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.16.38.33:0. 2021-01-04 08:41:58.532271 [DEBUG] sofia.c:2434 detaching session 31b04374-104b-4e18-9ecf-2567b07ab793 2021-01-04 08:41:58.532271 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [99901500006448303370@3.7.253.100] from ip 185.16.38.33 2021-01-04 08:41:58.532271 [DEBUG] switch_core_state_machine.c:604 (sofia/default/1001@3.7.253.100) State NEW 2021-01-04 08:41:58.652282 [DEBUG] sofia.c:2544 Re-attaching to session 31b04374-104b-4e18-9ecf-2567b07ab793 2021-01-04 08:41:58.672251 [DEBUG] sofia.c:10280 sofia/default/1001@3.7.253.100 receiving invite from 185.16.38.33:61732 version: 1.10.5 -release-17-25569c1631 64bit 2021-01-04 08:41:58.672251 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.16.38.33:0. 2021-01-04 08:41:58.672251 [WARNING] sofia_reg.c:2930 Can't find user [1001@3.7.253.100] from 185.16.38.33 You must define a domain called '3.7.253.100' in your directory and add a user with the id="1001" attribute and you must configure your device to use the proper domain in its authentication credentials. 2021-01-04 08:41:58.672251 [NOTICE] sofia.c:2432 Hangup sofia/default/1001@3.7.253.100 [CS_NEW] [CALL_REJECTED] 2021-01-04 08:41:58.672251 [WARNING] sofia_reg.c:1739 SIP auth failure (INVITE) on sofia profile 'default' for [99901500006448303370@3.7.253.100] from ip 185.16.38.33 2021-01-04 08:41:58.672251 [DEBUG] sofia.c:1548 Channel is already hungup. 2021-01-04 08:41:58.672251 [DEBUG] sofia.c:1548 Channel is already hungup. 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1001@3.7.253.100) Running State Change CS_HANGUP (Cur 1 Tot 33864) 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:848 (sofia/default/1001@3.7.253.100) Callstate Change DOWN -> HANGUP 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1001@3.7.253.100) State HANGUP 2021-01-04 08:41:58.672251 [DEBUG] mod_sofia.c:453 Channel sofia/default/1001@3.7.253.100 hanging up, cause: CALL_REJECTED 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:60 sofia/default/1001@3.7.253.100 Standard HANGUP, cause: CALL_REJECTED 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1001@3.7.253.100) State HANGUP going to sleep 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:620 (sofia/default/1001@3.7.253.100) State Change CS_HANGUP -> CS_REPORTING 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1001@3.7.253.100) Running State Change CS_REPORTING (Cur 1 Tot 33864) 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1001@3.7.253.100) State REPORTING 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:174 sofia/default/1001@3.7.253.100 Standard REPORTING, cause: CALL_REJECTED 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1001@3.7.253.100) State REPORTING going to sleep 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:611 (sofia/default/1001@3.7.253.100) State Change CS_REPORTING -> CS_DESTROY 2021-01-04 08:41:58.672251 [DEBUG] switch_core_session.c:1726 Session 33864 (sofia/default/1001@3.7.253.100) Locked, Waiting on external entities 2021-01-04 08:41:58.672251 [NOTICE] switch_core_session.c:1744 Session 33864 (sofia/default/1001@3.7.253.100) Ended 2021-01-04 08:41:58.672251 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/1001@3.7.253.100 [CS_DESTROY] 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1001@3.7.253.100) Running State Change CS_DESTROY (Cur 0 Tot 33864) 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1001@3.7.253.100) State DESTROY 2021-01-04 08:41:58.672251 [DEBUG] mod_sofia.c:364 sofia/default/1001@3.7.253.100 SOFIA DESTROY 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:181 sofia/default/1001@3.7.253.100 Standard DESTROY 2021-01-04 08:41:58.672251 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1001@3.7.253.100) State DESTROY going to sleep 2021-01-04 08:41:59.932272 [NOTICE] switch_channel.c:1118 New Channel sofia/default/393212118@13.127.159.248 [9dcb7e8b-2b35-41f3-8248-57465b621a85] 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_NEW (Cur 1 Tot 33865) 2021-01-04 08:41:59.932272 [DEBUG] sofia.c:10280 sofia/default/393212118@13.127.159.248 receiving invite from 13.127.159.248:5060 version: 1.10.5 -release-17-25569c1631 64bit 2021-01-04 08:41:59.932272 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 13.127.159.248:0. 2021-01-04 08:41:59.932272 [DEBUG] sofia.c:10403 IP 13.127.159.248 Approved by acl "default[]". Access Granted. 2021-01-04 08:41:59.932272 [DEBUG] sofia.c:7326 Channel sofia/default/393212118@13.127.159.248 entering state [received][100] 2021-01-04 08:41:59.932272 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=FreeSWITCH 1609723659 1609723660 IN IP4 13.127.159.248 s=FreeSWITCH c=IN IP4 13.127.159.248 t=0 0 m=audio 26060 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-01-04 08:41:59.932272 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-01-04 08:41:59.932272 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-01-04 08:41:59.932272 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-01-04 08:41:59.932272 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2021-01-04 08:41:59.932272 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/393212118@13.127.159.248 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-01-04 08:41:59.932272 [DEBUG] switch_core_codec.c:111 sofia/default/393212118@13.127.159.248 Original read codec set to PCMA:8 2021-01-04 08:41:59.932272 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2021-01-04 08:41:59.932272 [DEBUG] switch_core_media.c:5911 sofia/default/393212118@13.127.159.248 Set 2833 dtmf send payload to 101 recv payload to 101 2021-01-04 08:41:59.932272 [DEBUG] sofia.c:7760 (sofia/default/393212118@13.127.159.248) State Change CS_NEW -> CS_INIT 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:604 (sofia/default/393212118@13.127.159.248) State NEW 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_INIT (Cur 1 Tot 33865) 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:628 (sofia/default/393212118@13.127.159.248) State INIT 2021-01-04 08:41:59.932272 [DEBUG] mod_sofia.c:93 sofia/default/393212118@13.127.159.248 SOFIA INIT 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:40 sofia/default/393212118@13.127.159.248 Standard INIT 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:48 (sofia/default/393212118@13.127.159.248) State Change CS_INIT -> CS_ROUTING 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:628 (sofia/default/393212118@13.127.159.248) State INIT going to sleep 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_ROUTING (Cur 1 Tot 33865) 2021-01-04 08:41:59.932272 [DEBUG] switch_channel.c:2332 (sofia/default/393212118@13.127.159.248) Callstate Change DOWN -> RINGING 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:644 (sofia/default/393212118@13.127.159.248) State ROUTING 2021-01-04 08:41:59.932272 [DEBUG] mod_sofia.c:154 sofia/default/393212118@13.127.159.248 SOFIA ROUTING 2021-01-04 08:41:59.932272 [DEBUG] switch_core_state_machine.c:236 sofia/default/393212118@13.127.159.248 Standard ROUTING 2021-01-04 08:41:59.932272 [INFO] mod_dialplan_xml.c:637 Processing 4727985745 <393212118>->442342343234 in context default 2021-01-04 08:41:59.952251 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-01-04 08:41:59.952251 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-01-04 08:41:59.972247 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0 2021-01-04 08:41:59.972247 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 442342343234 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '442342343234' limit 1 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '442342343234' AND status=0 limit 1 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '442342343234' and status=0 LIMIT 1 2021-01-04 08:41:59.972247 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID 2021-01-04 08:41:59.972247 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 4727985745 / 393212118 2021-01-04 08:41:59.972247 [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 ="442342343234" LIMIT 1 2021-01-04 08:41:59.972247 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound 2021-01-04 08:41:59.972247 [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("13.127.159.248") 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 "442342343234" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2021-01-04 08:41:59.972247 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 4727985745] 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =442342343234 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1 2021-01-04 08:41:59.972247 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [IS_CALL_INTERNATIONAL] Call (442342343234) marked as international call!! 2021-01-04 08:41:59.972247 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [IS_CALL_INTERNATIONAL] Call (442342343234) marked as international call!! 2021-01-04 08:41:59.972247 [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 ="442342343234" AND A.accountid = '2' limit 1 2021-01-04 08:41:59.972247 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 442342343234 2021-01-04 08:41:59.972247 [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 ="442342343234" LIMIT 1 2021-01-04 08:41:59.972247 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="442342343234" AND (accountid = 0 OR status = 1) LIMIT 1 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-01-04 08:41:59.972247 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :2 2021-01-04 08:41:59.972247 [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 (patterns = '^442342343234.*' OR patterns = '^44234234323.*' OR patterns = '^4423423432.*' OR patterns = '^442342343.*' OR patterns = '^44234234.*' OR patterns = '^4423423.*' OR patterns = '^442342.*' OR patterns = '^44234.*' OR patterns = '^4423.*' OR patterns = '^442.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Package ID : 7 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Product ID : 6 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Package Type : 1 Call Direction : inbound [0:inbound,1:outbound,2:both] 2021-01-04 08:41:59.992253 [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 = '442342343234' OR number = '44234234323' OR number = '4423423432' OR number = '442342343' OR number = '44234234' OR number = '4423423' OR number = '442342' OR number = '44234' OR number = '4423' OR number = '442' OR number = '44' OR number = '4' OR number ='--') OR (number = '442342343234*' OR number = '44234234323*' OR number = '4423423432*' OR number = '442342343*' OR number = '44234234*' OR number = '4423423*' OR number = '442342*' OR number = '44234*' OR number = '4423*' OR number = '442*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '393212118' OR number = '39321211' OR number = '3932121' OR number = '393212' OR number = '39321' OR number = '3932' OR number = '393' OR number = '39' OR number = '3' OR number ='--') OR (number = '393212118*' OR number = '39321211*' OR number = '3932121*' OR number = '393212*' OR number = '39321*' OR number = '3932*' OR number = '393*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '442342343234' OR routing_prefix = '44234234323' OR routing_prefix = '4423423432' OR routing_prefix = '442342343' OR routing_prefix = '44234234' OR routing_prefix = '4423423' OR routing_prefix = '442342' OR routing_prefix = '44234' OR routing_prefix = '4423' OR routing_prefix = '442' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 2 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 4727985745 2021-01-04 08:41:59.992253 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [IS_CALL_INTERNATIONAL] Call (442342343234) marked as international call!! 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound 2021-01-04 08:41:59.992253 [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 ="442342343234" LIMIT 1 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 442342343234 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 200 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 2 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2021-01-04 08:41:59.992253 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [IS_CALL_INTERNATIONAL] Call (442342343234) marked as international call!! 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 2 !!! 2021-01-04 08:41:59.992253 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1 2021-01-04 08:41:59.992253 [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 = 2 AND status=0 LIMIT 1 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "2" AND deleted = 0 limit 1 2021-01-04 08:41:59.992253 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [IS_CALL_INTERNATIONAL] Call (442342343234) marked as international call!! 2021-01-04 08:41:59.992253 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [IS_CALL_INTERNATIONAL] Call (442342343234) marked as international call!! 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:2 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:2 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 2 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2021-01-04 08:41:59.992253 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaindefault.mtpbx.astppbilling.org 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2021-01-04 08:41:59.992253 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaindefault.mtpbx.astppbilling.org 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_10 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_type : 10 2021-01-04 08:41:59.992253 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_type : IVR 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 1 and status=0 LIMIT 1 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1 2021-01-04 08:41:59.992253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/393212118@13.127.159.248 parsing [default->442342343234] continue=false Dialplan: sofia/default/393212118@13.127.159.248 Regex (PASS) [442342343234] destination_number(442342343234) =~ /442342343234/ break=on-false Dialplan: sofia/default/393212118@13.127.159.248 Action set(effective_destination_number=442342343234) Dialplan: sofia/default/393212118@13.127.159.248 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/393212118@13.127.159.248 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/393212118@13.127.159.248 Action set(callstart=2021-01-04 08:42:00) Dialplan: sofia/default/393212118@13.127.159.248 Action set(hangup_after_bridge=true) Dialplan: sofia/default/393212118@13.127.159.248 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/393212118@13.127.159.248 Action set(account_id=2) Dialplan: sofia/default/393212118@13.127.159.248 Action set(parent_id=0) Dialplan: sofia/default/393212118@13.127.159.248 Action set(entity_id=0) Dialplan: sofia/default/393212118@13.127.159.248 Action set(call_processed=internal) Dialplan: sofia/default/393212118@13.127.159.248 Action set(call_direction=inbound) Dialplan: sofia/default/393212118@13.127.159.248 Action set(accountname=test) Dialplan: sofia/default/393212118@13.127.159.248 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/393212118@13.127.159.248 Action set(origination_rates_did=ID:2|CODE:^442342343234.*|DESTINATION:442342343234|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:2) Dialplan: sofia/default/393212118@13.127.159.248 Action set(origination_rates=0) Dialplan: sofia/default/393212118@13.127.159.248 Action set(original_caller_id_name=4727985745) Dialplan: sofia/default/393212118@13.127.159.248 Action set(original_caller_id_number=393212118) Dialplan: sofia/default/393212118@13.127.159.248 Action limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION) Dialplan: sofia/default/393212118@13.127.159.248 Action set(effective_caller_id_name=4727985745) Dialplan: sofia/default/393212118@13.127.159.248 Action set(effective_caller_id_number=393212118) Dialplan: sofia/default/393212118@13.127.159.248 Action set(receiver_accid=2) Dialplan: sofia/default/393212118@13.127.159.248 Action export(domain_name=default.mtpbx.astppbilling.org) Dialplan: sofia/default/393212118@13.127.159.248 Action export(sip_to_host=default.mtpbx.astppbilling.org) Dialplan: sofia/default/393212118@13.127.159.248 Action export(presence_data=x|||default(4727985745)|||^442342343234.* // 442342343234 // 0.00000||||||DID|||13.127.159.248) Dialplan: sofia/default/393212118@13.127.159.248 Action export(call_type=10) Dialplan: sofia/default/393212118@13.127.159.248 Action set(did_calltype=10) Dialplan: sofia/default/393212118@13.127.159.248 Action set(did_extensions=1) Dialplan: sofia/default/393212118@13.127.159.248 Action export(is_recording=1) Dialplan: sofia/default/393212118@13.127.159.248 Action export(media_bug_answer_req=true) Dialplan: sofia/default/393212118@13.127.159.248 Action export(RECORD_STEREO=true) Dialplan: sofia/default/393212118@13.127.159.248 Action export(record_sample_rate=8000) Dialplan: sofia/default/393212118@13.127.159.248 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/393212118@13.127.159.248 Action set(ringback=0) Dialplan: sofia/default/393212118@13.127.159.248 Action set(module_name=pbx) Dialplan: sofia/default/393212118@13.127.159.248 Action set(sip_h_P-call_type=custom_forward) Dialplan: sofia/default/393212118@13.127.159.248 Action set(sip_h_P-Accountcode=2) Dialplan: sofia/default/393212118@13.127.159.248 Action set(variable_sip_to_host=default.mtpbx.astppbilling.org) Dialplan: sofia/default/393212118@13.127.159.248 Action set(userinfo_id=2) Dialplan: sofia/default/393212118@13.127.159.248 Action set(variable_sip_to_host=default.mtpbx.astppbilling.org) Dialplan: sofia/default/393212118@13.127.159.248 Action set(original_did_number=442342343234) Dialplan: sofia/default/393212118@13.127.159.248 Action answer() Dialplan: sofia/default/393212118@13.127.159.248 Action ivr(test0) Dialplan: sofia/default/393212118@13.127.159.248 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua) 2021-01-04 08:42:00.012252 [DEBUG] switch_core_state_machine.c:287 (sofia/default/393212118@13.127.159.248) State Change CS_ROUTING -> CS_EXECUTE 2021-01-04 08:42:00.012252 [DEBUG] switch_core_state_machine.c:644 (sofia/default/393212118@13.127.159.248) State ROUTING going to sleep 2021-01-04 08:42:00.012252 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_EXECUTE (Cur 1 Tot 33865) 2021-01-04 08:42:00.012252 [DEBUG] switch_core_state_machine.c:651 (sofia/default/393212118@13.127.159.248) State EXECUTE 2021-01-04 08:42:00.012252 [DEBUG] mod_sofia.c:209 sofia/default/393212118@13.127.159.248 SOFIA EXECUTE 2021-01-04 08:42:00.012252 [DEBUG] switch_core_state_machine.c:329 sofia/default/393212118@13.127.159.248 Standard EXECUTE EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(effective_destination_number=442342343234) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [effective_destination_number]=[442342343234] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(callstart=2021-01-04 08:42:00) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [callstart]=[2021-01-04 08:42:00] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(hangup_after_bridge=true) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(continue_on_fail=TRUE) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(account_id=2) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [account_id]=[2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(parent_id=0) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [parent_id]=[0] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(entity_id=0) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [entity_id]=[0] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(call_processed=internal) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(call_direction=inbound) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(accountname=test) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [accountname]=[test] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(filename1=astpp.pbx.lua) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(origination_rates_did=ID:2|CODE:^442342343234.*|DESTINATION:442342343234|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:2) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [origination_rates_did]=[ID:2|CODE:^442342343234.*|DESTINATION:442342343234|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(origination_rates=0) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(original_caller_id_name=4727985745) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [original_caller_id_name]=[4727985745] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(original_caller_id_number=393212118) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [original_caller_id_number]=[393212118] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION) 2021-01-04 08:42:00.012252 [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0 2021-01-04 08:42:00.012252 [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1 EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(effective_caller_id_name=4727985745) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [effective_caller_id_name]=[4727985745] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(effective_caller_id_number=393212118) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [effective_caller_id_number]=[393212118] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(receiver_accid=2) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [receiver_accid]=[2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(domain_name=default.mtpbx.astppbilling.org) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[default.mtpbx.astppbilling.org] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(sip_to_host=default.mtpbx.astppbilling.org) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[default.mtpbx.astppbilling.org] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(presence_data=x|||default(4727985745)|||^442342343234.* // 442342343234 // 0.00000||||||DID|||13.127.159.248) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^442342343234.* // 442342343234 // 0.00000||||||DID|||13.127.159.248] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(call_type=10) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[10] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(did_calltype=10) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [did_calltype]=[10] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(did_extensions=1) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [did_extensions]=[1] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(is_recording=1) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(media_bug_answer_req=true) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(RECORD_STEREO=true) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(record_sample_rate=8000) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav) 2021-01-04 08:42:00.012252 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(ringback=0) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [ringback]=[0] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(module_name=pbx) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [module_name]=[pbx] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(sip_h_P-call_type=custom_forward) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [sip_h_P-call_type]=[custom_forward] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(sip_h_P-Accountcode=2) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [sip_h_P-Accountcode]=[2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(variable_sip_to_host=default.mtpbx.astppbilling.org) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [variable_sip_to_host]=[default.mtpbx.astppbilling.org] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(userinfo_id=2) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [userinfo_id]=[2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(variable_sip_to_host=default.mtpbx.astppbilling.org) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [variable_sip_to_host]=[default.mtpbx.astppbilling.org] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(original_did_number=442342343234) 2021-01-04 08:42:00.012252 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [original_did_number]=[442342343234] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 answer() 2021-01-04 08:42:00.012252 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/393212118@13.127.159.248] 172.31.13.192 port 31852 -> 13.127.159.248 port 26060 codec: 8 ms: 20 2021-01-04 08:42:00.012252 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2021-01-04 08:42:00.032249 [DEBUG] switch_core_media.c:8977 sofia/default/393212118@13.127.159.248 Set 2833 dtmf send payload to 101 2021-01-04 08:42:00.032249 [DEBUG] switch_core_media.c:8984 sofia/default/393212118@13.127.159.248 Set 2833 dtmf receive payload to 101 2021-01-04 08:42:00.032249 [DEBUG] switch_core_media.c:9007 sofia/default/393212118@13.127.159.248 Set rtp dtmf delay to 40 2021-01-04 08:42:00.032249 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/393212118@13.127.159.248: v=0 o=FreeSWITCH 1609717868 1609717869 IN IP4 3.7.253.100 s=FreeSWITCH c=IN IP4 3.7.253.100 t=0 0 m=audio 31852 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-01-04 08:42:00.032249 [DEBUG] sofia.c:7326 Channel sofia/default/393212118@13.127.159.248 entering state [completed][200] 2021-01-04 08:42:00.032249 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/393212118@13.127.159.248] has been answered EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 record_session(/var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav) 2021-01-04 08:42:00.032249 [DEBUG] switch_ivr_async.c:1351 Record session sample rate: 8000 -> 8000 2021-01-04 08:42:00.032249 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/393212118@13.127.159.248 2021-01-04 08:42:00.032249 [DEBUG] sofia.c:7326 Channel sofia/default/393212118@13.127.159.248 entering state [ready][200] 2021-01-04 08:42:00.032249 [DEBUG] switch_channel.c:3865 (sofia/default/393212118@13.127.159.248) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 ivr(test0) 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:883 building menu 'test0' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/' 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_menu.c:486 Executing IVR menu test0 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-01-04 08:42:00.052250 [DEBUG] switch_ivr_async.c:1640 No silence detection configured; assuming start of speech 2021-01-04 08:42:00.312273 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2021-01-04 08:42:00.312273 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2021-01-04 08:42:02.572301 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 1:960 2021-01-04 08:42:02.572301 [INFO] switch_channel.c:522 RECV DTMF 1:960 2021-01-04 08:42:02.572301 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/pbx/IVR_AUDIO_040121073835.wav 2021-01-04 08:42:02.572301 [DEBUG] switch_ivr_menu.c:378 waiting for 19/20 digits t/o 2000 2021-01-04 08:42:04.572324 [DEBUG] switch_ivr_menu.c:425 digits '1' 2021-01-04 08:42:04.572324 [DEBUG] switch_ivr_menu.c:580 IVR action on menu 'test0' matched '1' param 'transfer 4727985745 XML ${domain_name}' 2021-01-04 08:42:04.572324 [DEBUG] switch_ivr_menu.c:584 switch_ivr_menu_execute todo=[2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 transfer(4727985745 XML default.mtpbx.astppbilling.org) 2021-01-04 08:42:04.572324 [DEBUG] switch_ivr.c:2243 (sofia/default/393212118@13.127.159.248) State Change CS_EXECUTE -> CS_ROUTING 2021-01-04 08:42:04.572324 [NOTICE] switch_ivr.c:2250 Transfer sofia/default/393212118@13.127.159.248 to XML[4727985745@default.mtpbx.astppbilling.org] 2021-01-04 08:42:04.572324 [DEBUG] switch_ivr_menu.c:562 action regex [1] [/^(\d{2,20})$/] [0] 2021-01-04 08:42:04.572324 [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)' 2021-01-04 08:42:04.572324 [DEBUG] switch_core_state_machine.c:651 (sofia/default/393212118@13.127.159.248) State EXECUTE going to sleep 2021-01-04 08:42:04.572324 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_ROUTING (Cur 1 Tot 33865) 2021-01-04 08:42:04.572324 [DEBUG] switch_channel.c:2332 (sofia/default/393212118@13.127.159.248) Callstate Change ACTIVE -> RINGING 2021-01-04 08:42:04.572324 [DEBUG] switch_core_state_machine.c:644 (sofia/default/393212118@13.127.159.248) State ROUTING 2021-01-04 08:42:04.572324 [DEBUG] mod_sofia.c:154 sofia/default/393212118@13.127.159.248 SOFIA ROUTING 2021-01-04 08:42:04.572324 [DEBUG] switch_core_state_machine.c:236 sofia/default/393212118@13.127.159.248 Standard ROUTING 2021-01-04 08:42:04.572324 [INFO] mod_dialplan_xml.c:637 Processing 4727985745 <393212118>->4727985745 in context default.mtpbx.astppbilling.org 2021-01-04 08:42:04.612253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-01-04 08:42:04.612253 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-01-04 08:42:04.632252 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0 2021-01-04 08:42:04.632252 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 4727985745 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '4727985745' limit 1 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '4727985745' AND status=0 limit 1 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '4727985745' and status=0 LIMIT 1 2021-01-04 08:42:04.632252 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID 2021-01-04 08:42:04.632252 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 4727985745 / 393212118 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2021-01-04 08:42:04.632252 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaindefault.mtpbx.astppbilling.org 2021-01-04 08:42:04.632252 [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 ="4727985745" LIMIT 1 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4727985745" AND domains.domain="default.mtpbx.astppbilling.org" limit 1 2021-01-04 08:42:04.632252 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : local 2021-01-04 08:42:04.632252 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 2] 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =4727985745 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "2" AND deleted = 0 limit 1 2021-01-04 08:42:04.632252 [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 ="4727985745" AND A.accountid = '2' limit 1 2021-01-04 08:42:04.632252 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 4727985745 2021-01-04 08:42:04.632252 [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 ="4727985745" LIMIT 1 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4727985745" AND domains.domain="default.mtpbx.astppbilling.org" limit 1 2021-01-04 08:42:04.632252 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : local 2021-01-04 08:42:04.632252 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="4727985745" AND (accountid = 0 OR status = 1) LIMIT 1 2021-01-04 08:42:04.632252 [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 (patterns = '^4727985745.*' OR patterns = '^472798574.*' OR patterns = '^47279857.*' OR patterns = '^4727985.*' OR patterns = '^472798.*' OR patterns = '^47279.*' OR patterns = '^4727.*' OR patterns = '^472.*' OR patterns = '^47.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-01-04 08:42:04.652250 [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 = '4727985745' OR number = '472798574' OR number = '47279857' OR number = '4727985' OR number = '472798' OR number = '47279' OR number = '4727' OR number = '472' OR number = '47' OR number = '4' OR number ='--') OR (number = '4727985745*' OR number = '472798574*' OR number = '47279857*' OR number = '4727985*' OR number = '472798*' OR number = '47279*' OR number = '4727*' OR number = '472*' OR number = '47*' OR number = '4*' OR number ='--') OR (number = '393212118' OR number = '39321211' OR number = '3932121' OR number = '393212' OR number = '39321' OR number = '3932' OR number = '393' OR number = '39' OR number = '3' OR number ='--') OR (number = '393212118*' OR number = '39321211*' OR number = '3932121*' OR number = '393212*' OR number = '39321*' OR number = '3932*' OR number = '393*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4727985745' OR routing_prefix = '472798574' OR routing_prefix = '47279857' OR routing_prefix = '4727985' OR routing_prefix = '472798' OR routing_prefix = '47279' OR routing_prefix = '4727' OR routing_prefix = '472' OR routing_prefix = '47' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 2 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 4727985745 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 65.5 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-01-04 08:42:04.652250 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1 2021-01-04 08:42:04.652250 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!1 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your65.5 balance Accountid 2 !!! 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 65.5 minutes 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4727985745" AND domains.domain="default.mtpbx.astppbilling.org" limit 1 2021-01-04 08:42:04.652250 [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 = 2 AND status=0 LIMIT 1 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 65.5 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : local 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1 limit 1 2021-01-04 08:42:04.652250 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaindefault.mtpbx.astppbilling.org 2021-01-04 08:42:04.652250 [WARNING] switch_cpp.cpp:1447 [ASTPP] [LOCAL CALL] is_recording1 2021-01-04 08:42:04.652250 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts 2021-01-04 08:42:04.652250 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START: 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 1 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1 limit 1 2021-01-04 08:42:04.652250 [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 2021-01-04 08:42:04.652250 [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 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] call_forwarding_flag : 1 2021-01-04 08:42:04.652250 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call forwarding Disable 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START: 2021-01-04 08:42:04.652250 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/393212118@13.127.159.248 parsing [default.mtpbx.astppbilling.org->4727985745] continue=false Dialplan: sofia/default/393212118@13.127.159.248 Regex (PASS) [4727985745] destination_number(4727985745) =~ /4727985745/ break=on-false Dialplan: sofia/default/393212118@13.127.159.248 Action set(effective_destination_number=4727985745) Dialplan: sofia/default/393212118@13.127.159.248 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/393212118@13.127.159.248 Action set(bridge_pre_execute_bleg_data=+3930 normal_clearing) Dialplan: sofia/default/393212118@13.127.159.248 Action set(callstart=2021-01-04 08:42:04) Dialplan: sofia/default/393212118@13.127.159.248 Action set(hangup_after_bridge=true) Dialplan: sofia/default/393212118@13.127.159.248 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/393212118@13.127.159.248 Action set(account_id=2) Dialplan: sofia/default/393212118@13.127.159.248 Action set(parent_id=0) Dialplan: sofia/default/393212118@13.127.159.248 Action set(entity_id=0) Dialplan: sofia/default/393212118@13.127.159.248 Action set(call_processed=internal) Dialplan: sofia/default/393212118@13.127.159.248 Action set(call_direction=local) Dialplan: sofia/default/393212118@13.127.159.248 Action set(accountname=default) Dialplan: sofia/default/393212118@13.127.159.248 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/393212118@13.127.159.248 Action set(origination_rates=ID:0|CODE:^4727985745.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:1|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2) Dialplan: sofia/default/393212118@13.127.159.248 Action set(original_caller_id_name=4727985745) Dialplan: sofia/default/393212118@13.127.159.248 Action set(original_caller_id_number=393212118) Dialplan: sofia/default/393212118@13.127.159.248 Action limit(db 2 user_2 1 !SWITCH_CONGESTION) Dialplan: sofia/default/393212118@13.127.159.248 Action limit(hash inbound 4727985745 1 !USER_BUSY) Dialplan: sofia/default/393212118@13.127.159.248 Action set(effective_caller_id_name=4727985745) Dialplan: sofia/default/393212118@13.127.159.248 Action set(effective_caller_id_number=393212118) Dialplan: sofia/default/393212118@13.127.159.248 Action set(calltype=LOCAL) Dialplan: sofia/default/393212118@13.127.159.248 Action set(receiver_accid=2) Dialplan: sofia/default/393212118@13.127.159.248 Action db(insert/pickup_any_group_${callgroup}/4727985745/${uuid}) Dialplan: sofia/default/393212118@13.127.159.248 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/393212118@13.127.159.248 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/393212118@13.127.159.248 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/393212118@13.127.159.248 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/393212118@13.127.159.248 Action set(hangup_after_bridge=true) Dialplan: sofia/default/393212118@13.127.159.248 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=2}[leg_timeout=60 ] user/4727985745@default.mtpbx.astppbilling.org) Dialplan: sofia/default/393212118@13.127.159.248 Action set(on_busy_flag=1) Dialplan: sofia/default/393212118@13.127.159.248 Action set(on_busy_destination=) Dialplan: sofia/default/393212118@13.127.159.248 Action set(no_answer_flag=1) Dialplan: sofia/default/393212118@13.127.159.248 Action set(no_answer_destination=) Dialplan: sofia/default/393212118@13.127.159.248 Action set(not_register_flag=1) Dialplan: sofia/default/393212118@13.127.159.248 Action set(not_register_destination=) Dialplan: sofia/default/393212118@13.127.159.248 Action set(opensips_flag=1) Dialplan: sofia/default/393212118@13.127.159.248 Action set(variable_sip_to_host=default.mtpbx.astppbilling.org) Dialplan: sofia/default/393212118@13.127.159.248 Action set(opensips_domain=127.0.0.1) Dialplan: sofia/default/393212118@13.127.159.248 Action set(leg_timeout=60) Dialplan: sofia/default/393212118@13.127.159.248 Action set(userinfo_id=2) Dialplan: sofia/default/393212118@13.127.159.248 Action set(sip_destination_number=4727985745) Dialplan: sofia/default/393212118@13.127.159.248 Action set(did_number=4727985745) Dialplan: sofia/default/393212118@13.127.159.248 Action set(user_domain=default.mtpbx.astppbilling.org) Dialplan: sofia/default/393212118@13.127.159.248 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [4727985745_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/393212118@13.127.159.248 Regex (FAIL) [4727985745_recur_1] ${cond(${user_data 4727985745@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/393212118@13.127.159.248 ANTI-Action hangup(${originate_disposition}) 2021-01-04 08:42:04.712246 [DEBUG] switch_core_state_machine.c:287 (sofia/default/393212118@13.127.159.248) State Change CS_ROUTING -> CS_EXECUTE 2021-01-04 08:42:04.712246 [DEBUG] switch_core_state_machine.c:644 (sofia/default/393212118@13.127.159.248) State ROUTING going to sleep 2021-01-04 08:42:04.712246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_EXECUTE (Cur 1 Tot 33865) 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:2334 (sofia/default/393212118@13.127.159.248) Callstate Change RINGING -> ACTIVE 2021-01-04 08:42:04.712246 [DEBUG] switch_core_state_machine.c:651 (sofia/default/393212118@13.127.159.248) State EXECUTE 2021-01-04 08:42:04.712246 [DEBUG] mod_sofia.c:209 sofia/default/393212118@13.127.159.248 SOFIA EXECUTE 2021-01-04 08:42:04.712246 [DEBUG] switch_core_state_machine.c:329 sofia/default/393212118@13.127.159.248 Standard EXECUTE EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(effective_destination_number=4727985745) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [effective_destination_number]=[4727985745] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(bridge_pre_execute_bleg_data=+3930 normal_clearing) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [bridge_pre_execute_bleg_data]=[+3930 normal_clearing] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(callstart=2021-01-04 08:42:04) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [callstart]=[2021-01-04 08:42:04] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(hangup_after_bridge=true) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(continue_on_fail=TRUE) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(account_id=2) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [account_id]=[2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(parent_id=0) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [parent_id]=[0] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(entity_id=0) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [entity_id]=[0] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(call_processed=internal) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(call_direction=local) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [call_direction]=[local] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(accountname=default) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [accountname]=[default] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(filename1=astpp.pbx.lua) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(origination_rates=ID:0|CODE:^4727985745.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:1|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [origination_rates]=[ID:0|CODE:^4727985745.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:1|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(original_caller_id_name=4727985745) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [original_caller_id_name]=[4727985745] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(original_caller_id_number=393212118) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [original_caller_id_number]=[393212118] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 limit(db 2 user_2 1 !SWITCH_CONGESTION) 2021-01-04 08:42:04.712246 [DEBUG] switch_limit.c:124 incr called: 2_user_2 max:1, interval:0 2021-01-04 08:42:04.712246 [DEBUG] mod_db.c:194 Usage for 2_user_2 is now 1/1 EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 limit(hash inbound 4727985745 1 !USER_BUSY) 2021-01-04 08:42:04.712246 [DEBUG] switch_limit.c:124 incr called: inbound_4727985745 max:1, interval:0 2021-01-04 08:42:04.712246 [DEBUG] mod_hash.c:196 Usage for inbound_4727985745 is now 1/1 EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(effective_caller_id_name=4727985745) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [effective_caller_id_name]=[4727985745] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(effective_caller_id_number=393212118) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [effective_caller_id_number]=[393212118] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(calltype=LOCAL) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [calltype]=[LOCAL] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(receiver_accid=2) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [receiver_accid]=[2] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 db(insert/pickup_any_group_/4727985745/9dcb7e8b-2b35-41f3-8248-57465b621a85) EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(dialed_extension=transfer_call) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 export(dialed_extension=transfer_call) 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2021-01-04 08:42:04.712246 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2021-01-04 08:42:04.712246 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 set(hangup_after_bridge=true) 2021-01-04 08:42:04.712246 [DEBUG] mod_dptools.c:1672 SET sofia/default/393212118@13.127.159.248 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/393212118@13.127.159.248 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=2}[leg_timeout=60 ] user/4727985745@default.mtpbx.astppbilling.org) 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1906 (sofia/default/393212118@13.127.159.248) Callstate Change ACTIVE -> RING_WAIT 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [domain_name]=[default.mtpbx.astppbilling.org] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [sip_to_host]=[default.mtpbx.astppbilling.org] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^442342343234.* // 442342343234 // 0.00000||||||DID|||13.127.159.248] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [call_type]=[10] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [is_recording]=[1] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2021-01-04 08:42:04.712246 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2021-01-04 08:42:04.712246 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [domain_name]=[default.mtpbx.astppbilling.org] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [sip_to_host]=[default.mtpbx.astppbilling.org] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^442342343234.* // 442342343234 // 0.00000||||||DID|||13.127.159.248] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [call_type]=[10] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [is_recording]=[1] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_channel.c:1264 sofia/default/393212118@13.127.159.248 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2021-01-04 08:42:04.732249 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2021-01-04 08:42:04.732249 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4727985745@117.247.91.162:47162 [71d2d84e-5c23-48a5-815c-ea2c75e067cd] 2021-01-04 08:42:04.732249 [DEBUG] mod_sofia.c:5089 (sofia/default/4727985745@117.247.91.162:47162) State Change CS_NEW -> CS_INIT 2021-01-04 08:42:04.732249 [DEBUG] switch_ivr_originate.c:3111 sofia/default/4727985745@117.247.91.162:47162 Setting leg timeout to 60 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4727985745@117.247.91.162:47162) Running State Change CS_INIT (Cur 2 Tot 33866) 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4727985745@117.247.91.162:47162) State INIT 2021-01-04 08:42:04.732249 [DEBUG] mod_sofia.c:93 sofia/default/4727985745@117.247.91.162:47162 SOFIA INIT 2021-01-04 08:42:04.732249 [DEBUG] sofia_glue.c:1587 sip:4727985745@117.247.91.162:34152;rinstance=441fb32f9922b1fb;transport=TCP Setting proxy route to sofia/default/4727985745@117.247.91.162:47162 2021-01-04 08:42:04.732249 [DEBUG] sofia_glue.c:1618 sofia/default/4727985745@117.247.91.162:47162 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1609726642 1609726643 IN IP4 3.7.253.100 s=FreeSWITCH c=IN IP4 3.7.253.100 t=0 0 m=audio 23082 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 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:40 sofia/default/4727985745@117.247.91.162:47162 Standard INIT 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4727985745@117.247.91.162:47162) State Change CS_INIT -> CS_ROUTING 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4727985745@117.247.91.162:47162) State INIT going to sleep 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4727985745@117.247.91.162:47162) Running State Change CS_ROUTING (Cur 2 Tot 33866) 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4727985745@117.247.91.162:47162) State ROUTING 2021-01-04 08:42:04.732249 [DEBUG] mod_sofia.c:154 sofia/default/4727985745@117.247.91.162:47162 SOFIA ROUTING 2021-01-04 08:42:04.732249 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4727985745@117.247.91.162:47162) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4727985745@117.247.91.162:47162) State ROUTING going to sleep 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4727985745@117.247.91.162:47162) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 33866) 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4727985745@117.247.91.162:47162) State CONSUME_MEDIA 2021-01-04 08:42:04.732249 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4727985745@117.247.91.162:47162) State CONSUME_MEDIA going to sleep 2021-01-04 08:42:04.732249 [DEBUG] sofia.c:7326 Channel sofia/default/4727985745@117.247.91.162:47162 entering state [calling][0] 2021-01-04 08:42:05.832266 [DEBUG] sofia.c:7326 Channel sofia/default/4727985745@117.247.91.162:47162 entering state [proceeding][180] 2021-01-04 08:42:05.832266 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/4727985745@117.247.91.162:47162! 2021-01-04 08:42:05.832266 [DEBUG] switch_channel.c:3437 (sofia/default/4727985745@117.247.91.162:47162) Callstate Change DOWN -> RINGING 2021-01-04 08:42:05.852252 [DEBUG] switch_ivr_originate.c:1333 Raw Codec Activation Success L16@8000hz 1 channel 20ms 2021-01-04 08:42:05.852252 [DEBUG] switch_core_codec.c:223 sofia/default/393212118@13.127.159.248 Push codec L16:100 2021-01-04 08:42:05.872257 [DEBUG] switch_ivr_originate.c:1407 Play Ringback Tone [0] 2021-01-04 08:42:07.612224 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [998@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:07.772267 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [1748@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:07.852272 [WARNING] sofia_reg.c:2930 Can't find user [998@3.7.253.100] from 185.163.46.149 You must define a domain called '3.7.253.100' in your directory and add a user with the id="998" attribute and you must configure your device to use the proper domain in its authentication credentials. 2021-01-04 08:42:07.852272 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [998@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:07.992268 [WARNING] sofia_reg.c:2930 Can't find user [1748@3.7.253.100] from 185.163.46.149 You must define a domain called '3.7.253.100' in your directory and add a user with the id="1748" attribute and you must configure your device to use the proper domain in its authentication credentials. 2021-01-04 08:42:07.992268 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [1748@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:08.032272 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [4747@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:08.272274 [WARNING] sofia_reg.c:2930 Can't find user [4747@3.7.253.100] from 185.163.46.149 You must define a domain called '3.7.253.100' in your directory and add a user with the id="4747" attribute and you must configure your device to use the proper domain in its authentication credentials. 2021-01-04 08:42:08.272274 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [4747@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:08.772269 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [3997@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:09.012364 [WARNING] sofia_reg.c:2930 Can't find user [3997@3.7.253.100] from 185.163.46.149 You must define a domain called '3.7.253.100' in your directory and add a user with the id="3997" attribute and you must configure your device to use the proper domain in its authentication credentials. 2021-01-04 08:42:09.012364 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [3997@3.7.253.100] from ip 185.163.46.149 2021-01-04 08:42:10.552251 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [5547@3.7.253.100] from ip 45.82.223.34 2021-01-04 08:42:10.712249 [WARNING] sofia_reg.c:2930 Can't find user [5547@3.7.253.100] from 45.82.223.34 You must define a domain called '3.7.253.100' in your directory and add a user with the id="5547" attribute and you must configure your device to use the proper domain in its authentication credentials. 2021-01-04 08:42:10.712249 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [5547@3.7.253.100] from ip 45.82.223.34 2021-01-04 08:42:10.952269 [DEBUG] sofia.c:7326 Channel sofia/default/4727985745@117.247.91.162:47162 entering state [completing][200] 2021-01-04 08:42:10.952269 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=Z 0 3 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8002 RTP/AVP 8 3 110 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2021-01-04 08:42:10.952269 [DEBUG] sofia.c:7326 Channel sofia/default/4727985745@117.247.91.162:47162 entering state [ready][200] 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/4727985745@117.247.91.162:47162 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-01-04 08:42:10.952269 [DEBUG] switch_core_codec.c:111 sofia/default/4727985745@117.247.91.162:47162 Original read codec set to PCMA:8 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:5911 sofia/default/4727985745@117.247.91.162:47162 Set 2833 dtmf send payload to 101 recv payload to 101 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/4727985745@117.247.91.162:47162] 172.31.13.192 port 23082 -> 117.247.91.162 port 8002 codec: 8 ms: 20 2021-01-04 08:42:10.952269 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:8977 sofia/default/4727985745@117.247.91.162:47162 Set 2833 dtmf send payload to 101 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:8984 sofia/default/4727985745@117.247.91.162:47162 Set 2833 dtmf receive payload to 101 2021-01-04 08:42:10.952269 [DEBUG] switch_core_media.c:9007 sofia/default/4727985745@117.247.91.162:47162 Set rtp dtmf delay to 40 2021-01-04 08:42:10.952269 [NOTICE] sofia.c:8504 Channel [sofia/default/4727985745@117.247.91.162:47162] has been answered EXECUTE [depth=1] sofia/default/4727985745@117.247.91.162:47162 record_session(/var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav) 2021-01-04 08:42:10.952269 [DEBUG] switch_core_codec.c:248 sofia/default/393212118@13.127.159.248 Restore previous codec PCMA:8. 2021-01-04 08:42:10.952269 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/4727985745@117.247.91.162:47162] 2021-01-04 08:42:10.972246 [DEBUG] switch_channel.c:2130 (sofia/default/393212118@13.127.159.248) Callstate Change RING_WAIT -> ACTIVE 2021-01-04 08:42:10.972246 [DEBUG] switch_ivr_originate.c:3111 sofia/default/4727985745@117.247.91.162:47162 Setting leg timeout to 60 2021-01-04 08:42:10.972246 [DEBUG] switch_ivr_async.c:1351 Record session sample rate: 8000 -> 8000 2021-01-04 08:42:10.972246 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/4727985745@117.247.91.162:47162 2021-01-04 08:42:10.972246 [DEBUG] switch_channel.c:3865 (sofia/default/4727985745@117.247.91.162:47162) Callstate Change RINGING -> ACTIVE 2021-01-04 08:42:10.972246 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/4727985745@117.247.91.162:47162] 2021-01-04 08:42:10.972246 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/4727985745@117.247.91.162:47162) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-01-04 08:42:10.972246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4727985745@117.247.91.162:47162) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 33866) 2021-01-04 08:42:10.972246 [DEBUG] switch_core_state_machine.c:654 (sofia/default/4727985745@117.247.91.162:47162) State EXCHANGE_MEDIA 2021-01-04 08:42:10.972246 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2021-01-04 08:42:10.972246 [DEBUG] switch_ivr_async.c:1640 No silence detection configured; assuming start of speech 2021-01-04 08:42:11.052283 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2021-01-04 08:42:11.052283 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2021-01-04 08:42:11.152271 [DEBUG] switch_ivr_bridge.c:655 sofia/default/4727985745@117.247.91.162:47162 Bridge execute app sched_hangup(+3930 normal_clearing) 2021-01-04 08:42:11.172253 [DEBUG] switch_ivr.c:632 sofia/default/4727985745@117.247.91.162:47162 Command Execute [depth=0] sched_hangup(+3930 normal_clearing) EXECUTE [depth=0] sofia/default/4727985745@117.247.91.162:47162 sched_hangup(+3930 normal_clearing) 2021-01-04 08:42:11.172253 [DEBUG] switch_scheduler.c:252 Added task 121 switch_ivr_schedule_hangup (71d2d84e-5c23-48a5-815c-ea2c75e067cd) to run at 1609753661 2021-01-04 08:42:11.392252 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7047@3.7.253.100] from ip 45.82.223.34 2021-01-04 08:42:11.552237 [WARNING] sofia_reg.c:2930 Can't find user [7047@3.7.253.100] from 45.82.223.34 You must define a domain called '3.7.253.100' in your directory and add a user with the id="7047" attribute and you must configure your device to use the proper domain in its authentication credentials. 2021-01-04 08:42:11.552237 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'default' for [7047@3.7.253.100] from ip 45.82.223.34 2021-01-04 08:42:13.512290 [NOTICE] sofia.c:1089 Hangup sofia/default/4727985745@117.247.91.162:47162 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2021-01-04 08:42:13.512290 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/4727985745@117.247.91.162:47162] 2021-01-04 08:42:13.512290 [DEBUG] switch_core_state_machine.c:654 (sofia/default/4727985745@117.247.91.162:47162) State EXCHANGE_MEDIA going to sleep 2021-01-04 08:42:13.512290 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4727985745@117.247.91.162:47162) Running State Change CS_HANGUP (Cur 2 Tot 33866) 2021-01-04 08:42:13.512290 [DEBUG] switch_ivr_async.c:1445 Stop recording file /var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav 2021-01-04 08:42:13.512290 [DEBUG] switch_ivr_bridge.c:820 sofia/default/4727985745@117.247.91.162:47162 ending bridge by request from write function 2021-01-04 08:42:13.532247 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/393212118@13.127.159.248] 2021-01-04 08:42:13.532247 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/4727985745@117.247.91.162:47162 skip receive message [UNBRIDGE] (channel is hungup already) 2021-01-04 08:42:13.532247 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/393212118@13.127.159.248 [CS_EXECUTE] [NORMAL_CLEARING] 2021-01-04 08:42:13.532247 [DEBUG] mod_hash.c:296 Usage for inbound_4727985745 is now 0 2021-01-04 08:42:13.532247 [DEBUG] switch_core_session.c:2905 sofia/default/393212118@13.127.159.248 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:651 (sofia/default/393212118@13.127.159.248) State EXECUTE going to sleep 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_HANGUP (Cur 2 Tot 33866) 2021-01-04 08:42:13.532247 [DEBUG] switch_ivr_async.c:1445 Stop recording file /var/lib/freeswitch/recordings/9dcb7e8b-2b35-41f3-8248-57465b621a85.wav 2021-01-04 08:42:13.532247 [DEBUG] switch_ivr_async.c:1520 Channel is hung up 2021-01-04 08:42:13.532247 [DEBUG] switch_core_media_bug.c:1295 Removing BUG from sofia/default/4727985745@117.247.91.162:47162 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4727985745@117.247.91.162:47162) Callstate Change ACTIVE -> HANGUP 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4727985745@117.247.91.162:47162) State HANGUP 2021-01-04 08:42:13.532247 [DEBUG] mod_sofia.c:453 Channel sofia/default/4727985745@117.247.91.162:47162 hanging up, cause: NORMAL_CLEARING 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:60 sofia/default/4727985745@117.247.91.162:47162 Standard HANGUP, cause: NORMAL_CLEARING 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4727985745@117.247.91.162:47162) State HANGUP going to sleep 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4727985745@117.247.91.162:47162) State Change CS_HANGUP -> CS_REPORTING 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4727985745@117.247.91.162:47162) Running State Change CS_REPORTING (Cur 2 Tot 33866) 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4727985745@117.247.91.162:47162) State REPORTING 2021-01-04 08:42:13.532247 [INFO] mod_json_cdr.c:271 Process [71d2d84e-5c23-48a5-815c-ea2c75e067cd.cdr.json] 2021-01-04 08:42:13.532247 [DEBUG] switch_ivr_async.c:1520 Channel is hung up 2021-01-04 08:42:13.532247 [DEBUG] switch_core_media_bug.c:1295 Removing BUG from sofia/default/393212118@13.127.159.248 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:848 (sofia/default/393212118@13.127.159.248) Callstate Change ACTIVE -> HANGUP 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393212118@13.127.159.248) State HANGUP 2021-01-04 08:42:13.532247 [DEBUG] mod_sofia.c:447 sofia/default/393212118@13.127.159.248 Overriding SIP cause 480 with 200 from the other leg 2021-01-04 08:42:13.532247 [DEBUG] mod_sofia.c:453 Channel sofia/default/393212118@13.127.159.248 hanging up, cause: NORMAL_CLEARING 2021-01-04 08:42:13.532247 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/393212118@13.127.159.248 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:60 sofia/default/393212118@13.127.159.248 Standard HANGUP, cause: NORMAL_CLEARING 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393212118@13.127.159.248) State HANGUP going to sleep 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:620 (sofia/default/393212118@13.127.159.248) State Change CS_HANGUP -> CS_REPORTING 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:585 (sofia/default/393212118@13.127.159.248) Running State Change CS_REPORTING (Cur 2 Tot 33866) 2021-01-04 08:42:13.532247 [DEBUG] switch_core_state_machine.c:936 (sofia/default/393212118@13.127.159.248) State REPORTING 2021-01-04 08:42:13.532247 [INFO] mod_json_cdr.c:271 Process [9dcb7e8b-2b35-41f3-8248-57465b621a85.cdr.json] 2021-01-04 08:42:13.552249 [DEBUG] switch_core_state_machine.c:174 sofia/default/4727985745@117.247.91.162:47162 Standard REPORTING, cause: NORMAL_CLEARING 2021-01-04 08:42:13.552249 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4727985745@117.247.91.162:47162) State REPORTING going to sleep 2021-01-04 08:42:13.552249 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4727985745@117.247.91.162:47162) State Change CS_REPORTING -> CS_DESTROY 2021-01-04 08:42:13.552249 [DEBUG] switch_core_session.c:1726 Session 33866 (sofia/default/4727985745@117.247.91.162:47162) Locked, Waiting on external entities 2021-01-04 08:42:13.552249 [NOTICE] switch_core_session.c:1744 Session 33866 (sofia/default/4727985745@117.247.91.162:47162) Ended 2021-01-04 08:42:13.552249 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/4727985745@117.247.91.162:47162 [CS_DESTROY] 2021-01-04 08:42:13.552249 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4727985745@117.247.91.162:47162) Running State Change CS_DESTROY (Cur 1 Tot 33866) 2021-01-04 08:42:13.552249 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4727985745@117.247.91.162:47162) State DESTROY 2021-01-04 08:42:13.552249 [DEBUG] mod_sofia.c:364 sofia/default/4727985745@117.247.91.162:47162 SOFIA DESTROY 2021-01-04 08:42:13.552249 [DEBUG] switch_core_state_machine.c:181 sofia/default/4727985745@117.247.91.162:47162 Standard DESTROY 2021-01-04 08:42:13.552249 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4727985745@117.247.91.162:47162) State DESTROY going to sleep 2021-01-04 08:42:13.572303 [DEBUG] switch_core_state_machine.c:174 sofia/default/393212118@13.127.159.248 Standard REPORTING, cause: NORMAL_CLEARING 2021-01-04 08:42:13.572303 [DEBUG] switch_core_state_machine.c:936 (sofia/default/393212118@13.127.159.248) State REPORTING going to sleep 2021-01-04 08:42:13.572303 [DEBUG] switch_core_state_machine.c:611 (sofia/default/393212118@13.127.159.248) State Change CS_REPORTING -> CS_DESTROY 2021-01-04 08:42:13.572303 [DEBUG] switch_core_session.c:1726 Session 33865 (sofia/default/393212118@13.127.159.248) Locked, Waiting on external entities 2021-01-04 08:42:13.572303 [NOTICE] switch_core_session.c:1744 Session 33865 (sofia/default/393212118@13.127.159.248) Ended 2021-01-04 08:42:13.572303 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/393212118@13.127.159.248 [CS_DESTROY] 2021-01-04 08:42:13.572303 [DEBUG] switch_core_state_machine.c:739 (sofia/default/393212118@13.127.159.248) Running State Change CS_DESTROY (Cur 0 Tot 33866) 2021-01-04 08:42:13.572303 [DEBUG] switch_core_state_machine.c:749 (sofia/default/393212118@13.127.159.248) State DESTROY 2021-01-04 08:42:13.572303 [DEBUG] mod_sofia.c:364 sofia/default/393212118@13.127.159.248 SOFIA DESTROY 2021-01-04 08:42:13.572303 [DEBUG] switch_core_state_machine.c:181 sofia/default/393212118@13.127.159.248 Standard DESTROY 2021-01-04 08:42:13.572303 [DEBUG] switch_core_state_machine.c:749 (sofia/default/393212118@13.127.159.248) State DESTROY going to sleep 2021-01-04 08:42:13.672268 [DEBUG] switch_scheduler.c:147 Deleting task 121 switch_ivr_schedule_hangup (71d2d84e-5c23-48a5-815c-ea2c75e067cd)