From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-36-75>
  2. freeswitch@ip-172-31-36-75>
  3. 2022-01-05 08:19:00.953337 98.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1604785422@46.101.114.158 [6e19afde-c518-4aa1-9f3d-6b36b43539ed]
  4. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1604785422@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 154)
  5. 2022-01-05 08:19:00.953337 98.87% [INFO] sofia.c:10462 sofia/default/1604785422@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.7 -release-19-883d2cb662 64bit call-id: fa6d5fcf-e8a2-123a-8e92-ba05d31eb9f9
  6. 2022-01-05 08:19:00.953337 98.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  7. 2022-01-05 08:19:00.953337 98.87% [DEBUG] sofia.c:10585 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
  8. 2022-01-05 08:19:00.953337 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/1604785422@46.101.114.158 entering state [received][100]
  9. 2022-01-05 08:19:00.953337 98.87% [DEBUG] sofia.c:7509 Remote SDP:
  10. v=0
  11. o=FreeSWITCH 1641350930 1641350931 IN IP4 46.101.114.158
  12. s=FreeSWITCH
  13. c=IN IP4 46.101.114.158
  14. t=0 0
  15. m=audio 19810 RTP/AVP 8 101
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-16
  19. a=ptime:20
  20.  
  21. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  25. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1604785422@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  26. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_codec.c:111 sofia/default/1604785422@46.101.114.158 Original read codec set to PCMA:8
  27. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  28. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_media.c:5973 sofia/default/1604785422@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  29. 2022-01-05 08:19:00.953337 98.87% [DEBUG] sofia.c:7933 (sofia/default/1604785422@46.101.114.158) State Change CS_NEW -> CS_INIT
  30. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1604785422@46.101.114.158) State NEW
  31. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1604785422@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 154)
  32. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1604785422@46.101.114.158) State INIT
  33. 2022-01-05 08:19:00.953337 98.87% [DEBUG] mod_sofia.c:97 sofia/default/1604785422@46.101.114.158 SOFIA INIT
  34. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/1604785422@46.101.114.158 Standard INIT
  35. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1604785422@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  36. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1604785422@46.101.114.158) State INIT going to sleep
  37. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1604785422@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 154)
  38. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_channel.c:2380 (sofia/default/1604785422@46.101.114.158) Callstate Change DOWN -> RINGING
  39. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1604785422@46.101.114.158) State ROUTING
  40. 2022-01-05 08:19:00.953337 98.87% [DEBUG] mod_sofia.c:158 sofia/default/1604785422@46.101.114.158 SOFIA ROUTING
  41. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/1604785422@46.101.114.158 Standard ROUTING
  42. 2022-01-05 08:19:00.953337 98.87% [INFO] mod_dialplan_xml.c:639 Processing 1604785422 <1604785422>->10444 in context default
  43. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  44. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  45. 2022-01-05 08:19:00.953337 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  46. 2022-01-05 08:19:00.953337 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10444
  47. 2022-01-05 08:19:00.953337 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10444' limit 1
  48. 2022-01-05 08:19:00.973319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10444' AND status=0 limit 1
  49. 2022-01-05 08:19:00.973319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10444' and status=0 LIMIT 1
  50. 2022-01-05 08:19:00.993317 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PK-Default-Gateway
  51. 2022-01-05 08:19:00.993317 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  52. 2022-01-05 08:19:00.993317 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '65.0.92.207' limit 1
  53. 2022-01-05 08:19:00.993317 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1604785422 / 1604785422
  54. 2022-01-05 08:19:00.993317 98.87% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10444" LIMIT 1
  55. 2022-01-05 08:19:00.993317 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10444" LIMIT 1
  56. 2022-01-05 08:19:00.993317 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2022-01-05 08:19:00.993317 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  58. 2022-01-05 08:19:00.993317 98.87% [DEBUG] switch_cpp.cpp:1465 [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("46.101.114.158") 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 "10444"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  59. 2022-01-05 08:19:01.013319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  60. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  61. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT balance FROM accounts WHERE id =4
  62. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10444" AND (accountid = 0 OR status = 1) LIMIT 1
  63. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  64. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 4
  65. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [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 = '^10444.*' OR patterns = '^1044.*' OR patterns = '^104.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
  66. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [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 ="10444" AND A.accountid = '3' limit 1
  67. 2022-01-05 08:19:01.013319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10444
  68. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10444" LIMIT 1
  69. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10444" LIMIT 1
  70. 2022-01-05 08:19:01.013319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2022-01-05 08:19:01.013319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  72. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '10444' OR number = '1044' OR number = '104' OR number = '10' OR number = '1' OR number ='--') OR (number = '10444*' OR number = '1044*' OR number = '104*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '1604785422' OR number = '160478542' OR number = '16047854' OR number = '1604785' OR number = '160478' OR number = '16047' OR number = '1604' OR number = '160' OR number = '16' OR number = '1' OR number ='--') OR (number = '1604785422*' OR number = '160478542*' OR number = '16047854*' OR number = '1604785*' OR number = '160478*' OR number = '16047*' OR number = '1604*' OR number = '160*' OR number = '16*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  73. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  74. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10444' OR routing_prefix = '1044' OR routing_prefix = '104' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  75. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  76. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  77. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  78. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT balance FROM accounts WHERE id =4
  79. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 391.7
  80. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  81. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  82. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  83. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  84. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  85. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  86. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10444" LIMIT 1
  87. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10444" LIMIT 1
  88. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  89. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  90. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  91. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  92. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  93. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  94. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  95. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10444
  96. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  97. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  98. 2022-01-05 08:19:01.033319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  99. 2022-01-05 08:19:01.033319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT balance FROM accounts WHERE id =4
  100. 2022-01-05 08:19:01.053319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your391.7 balance Accountid 3 !!!
  101. 2022-01-05 08:19:01.053319 98.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  102. 2022-01-05 08:19:01.053319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  103. 2022-01-05 08:19:01.053319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  104. 2022-01-05 08:19:01.053319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  105. 2022-01-05 08:19:01.053319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
  106. 2022-01-05 08:19:01.053319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  107. 2022-01-05 08:19:01.053319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  108. 2022-01-05 08:19:01.053319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  109. 2022-01-05 08:19:01.053319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  110. 2022-01-05 08:19:01.053319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  111. 2022-01-05 08:19:01.073318 98.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : callpk.astppbilling.org
  112. 2022-01-05 08:19:01.073318 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  113. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  114. 2022-01-05 08:19:01.073318 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  115. 2022-01-05 08:19:01.073318 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  116. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "8243029697" AND accounts.status = 0
  117. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  118. 2022-01-05 08:19:01.073318 98.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : callpk.astppbilling.org
  119. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 4  and status = 0 limit 1
  120. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  121. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="8243029697"  AND domains.domain="callpk.astppbilling.org" limit 1
  122. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
  123. 2022-01-05 08:19:01.073318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  124. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  125. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  126. 2022-01-05 08:19:01.093319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  127. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec 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="8243029697"  AND domains.domain="callpk.astppbilling.org" limit 1
  128. 2022-01-05 08:19:01.093319 98.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec :
  129. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="8243029697"  AND domains.domain="callpk.astppbilling.org" limit 1
  130. 2022-01-05 08:19:01.093319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 3
  131. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
  132. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  133. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  134. 2022-01-05 08:19:01.093319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  135. 2022-01-05 08:19:01.093319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  136. 2022-01-05 08:19:01.093319 98.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  137. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec 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="8243029697"  AND domains.domain="callpk.astppbilling.org" limit 1
  138. 2022-01-05 08:19:01.093319 98.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec :
  139. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  140. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="8243029697"  AND domains.domain="callpk.astppbilling.org" limit 1
  141. 2022-01-05 08:19:01.093319 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
  142. 2022-01-05 08:19:01.113318 98.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  143. <document type="freeswitch/xml">
  144. <section name="dialplan" description="ASTPP Dialplan">
  145. <context name="default">
  146. <extension name="10444">
  147. <condition field="destination_number" expression="10444">
  148. <action application="set" data="effective_destination_number=10444"/>
  149. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  150. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  151. <action application="set" data="callstart=2022-01-05 08:19:01"/>
  152. <action application="set" data="hangup_after_bridge=true"/>
  153. <action application="set" data="continue_on_fail=0"/>
  154. <action application="set" data="account_id=3"/>
  155. <action application="set" data="parent_id=0"/>
  156. <action application="set" data="entity_id=3"/>
  157. <action application="set" data="call_processed=internal"/>
  158. <action application="set" data="call_direction=inbound"/>
  159. <action application="set" data="accountname=Entdemo"/>
  160. <action application="set" data="origination_rates_did=ID:1|CODE:^10444.*|DESTINATION:10444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4"/>
  161. <action application="set" data="origination_rates=0"/>
  162. <action application="set" data="original_caller_id_name=1604785422"/>
  163. <action application="set" data="original_caller_id_number=1604785422"/>
  164. <action application="export" data="is_recording=1"/>
  165. <action application="export" data="media_bug_answer_req=true"/>
  166. <action application="export" data="RECORD_STEREO=true"/>
  167. <action application="export" data="record_sample_rate=8000"/>
  168. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_4.wav"/>
  169. <action application="set" data="effective_caller_id_name=1604785422"/>
  170. <action application="set" data="effective_caller_id_number=1604785422"/>
  171. <action application="set" data="receiver_accid=4"/>
  172. <action application="set" data="did_id=1"/>
  173. <action application="set" data="transfer_call_type=4"/>
  174. <action application="set" data="transfer_extensions=10777777555"/>
  175. <action application="set" data="busy_status=1"/>
  176. <action application="set" data="no_answer_status=0"/>
  177. <action application="set" data="always_status=1"/>
  178. <action application="set" data="transfer_status=0"/>
  179. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  180. <action application="export" data="domain_name=callpk.astppbilling.org"/>
  181. <action application="export" data="sip_to_host=callpk.astppbilling.org"/>
  182. <action application="export" data="presence_data=x|||admin's(8243029697)|||||||||DID|||46.101.114.158"/>
  183. <action application="export" data="call_type=0"/>
  184. <action application="set" data="calltype=DID-LOCAL"/>
  185. <action application="db" data="insert/pickup_any_group_${callgroup}/8243029697/${uuid}"/>
  186. <action application="set" data="dialed_extension=transfer_call"/>
  187. <action application="export" data="dialed_extension=transfer_call"/>
  188. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  189. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  190. <action application="set" data="hangup_after_bridge=true"/>
  191. <action application="export" data="did_user_domain=callpk.astppbilling.org"/>
  192. <action application="db" data="insert/pickup_any_group_${callgroup}/8243029697/${uuid}"/>
  193. <action application="set" data="dialed_extension=transfer_call"/>
  194. <action application="export" data="dialed_extension=transfer_call"/>
  195. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  196. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  197. <action application="set" data="transfer_ringback=$${hold_music}"/>
  198. <action application="set" data="hangup_after_bridge=true"/>
  199. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[leg_timeout=20 ] user/8243029697@callpk.astppbilling.org"/>
  200. <action application="set" data="on_busy_flag=1"/>
  201. <action application="set" data="on_busy_destination="/>
  202. <action application="set" data="no_answer_flag=1"/>
  203. <action application="set" data="no_answer_destination="/>
  204. <action application="set" data="not_register_flag=1"/>
  205. <action application="set" data="not_register_destination="/>
  206. <action application="set" data="opensips_flag=1"/>
  207. <action application="set" data="variable_sip_to_host=callpk.astppbilling.org"/>
  208. <action application="set" data="opensips_domain=127.0.0.1"/>
  209. <action application="set" data="leg_timeout=20"/>
  210. <action application="set" data="userinfo_id=4"/>
  211. <action application="set" data="sip_destination_number=8243029697"/>
  212. <action application="set" data="did_number=8243029697"/>
  213. <action application="set" data="user_domain=callpk.astppbilling.org"/>
  214. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  215. <action application="set" data="on_busy_flag=1"/>
  216. <action application="set" data="on_busy_destination="/>
  217. <action application="set" data="no_answer_flag=1"/>
  218. <action application="set" data="no_answer_destination="/>
  219. <action application="set" data="not_register_flag=1"/>
  220. <action application="set" data="not_register_destination="/>
  221. <action application="set" data="opensips_flag=1"/>
  222. <action application="set" data="variable_sip_to_host=callpk.astppbilling.org"/>
  223. <action application="set" data="opensips_domain=127.0.0.1"/>
  224. <action application="set" data="leg_timeout=20"/>
  225. <action application="set" data="userinfo_id=4"/>
  226. <action application="set" data="sip_destination_number=8243029697"/>
  227. <action application="set" data="destination_number=10444"/>
  228. <action application="set" data="did_number=10444"/>
  229. <action application="set" data="user_domain=callpk.astppbilling.org"/>
  230. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  231. <condition field="${cond(${user_data 8243029697@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  232. <action application="answer"/>
  233. <action application="export" data="voicemail_alternate_greet_id=10444"/>
  234. <action application="voicemail" data="default $${domain_name} 8243029697"/>
  235. <anti-action application="hangup" data="${originate_disposition}"/>
  236. </condition>
  237. </condition>
  238. </extension>
  239. </context>
  240. </section>
  241. </document>
  242. Dialplan: sofia/default/1604785422@46.101.114.158 parsing [default->10444] continue=false
  243. Dialplan: sofia/default/1604785422@46.101.114.158 Regex (PASS) [10444] destination_number(10444) =~ /10444/ break=on-false
  244. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(effective_destination_number=10444)
  245. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  246. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  247. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(callstart=2022-01-05 08:19:01)
  248. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(hangup_after_bridge=true)
  249. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(continue_on_fail=0)
  250. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(account_id=3)
  251. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(parent_id=0)
  252. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(entity_id=3)
  253. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(call_processed=internal)
  254. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(call_direction=inbound)
  255. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(accountname=Entdemo)
  256. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^10444.*|DESTINATION:10444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
  257. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(origination_rates=0)
  258. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(original_caller_id_name=1604785422)
  259. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(original_caller_id_number=1604785422)
  260. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(is_recording=1)
  261. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(media_bug_answer_req=true)
  262. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(RECORD_STEREO=true)
  263. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(record_sample_rate=8000)
  264. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_4.wav)
  265. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(effective_caller_id_name=1604785422)
  266. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(effective_caller_id_number=1604785422)
  267. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(receiver_accid=4)
  268. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(did_id=1)
  269. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(transfer_call_type=4)
  270. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(transfer_extensions=10777777555)
  271. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(busy_status=1)
  272. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(no_answer_status=0)
  273. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(always_status=1)
  274. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(transfer_status=0)
  275. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  276. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(domain_name=callpk.astppbilling.org)
  277. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(sip_to_host=callpk.astppbilling.org)
  278. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(presence_data=x|||admin's(8243029697)|||||||||DID|||46.101.114.158)
  279. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(call_type=0)
  280. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(calltype=DID-LOCAL)
  281. Dialplan: sofia/default/1604785422@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/8243029697/${uuid})
  282. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(dialed_extension=transfer_call)
  283. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(dialed_extension=transfer_call)
  284. Dialplan: sofia/default/1604785422@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  285. Dialplan: sofia/default/1604785422@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  286. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(hangup_after_bridge=true)
  287. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(did_user_domain=callpk.astppbilling.org)
  288. Dialplan: sofia/default/1604785422@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/8243029697/${uuid})
  289. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(dialed_extension=transfer_call)
  290. Dialplan: sofia/default/1604785422@46.101.114.158 Action export(dialed_extension=transfer_call)
  291. Dialplan: sofia/default/1604785422@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  292. Dialplan: sofia/default/1604785422@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  293. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  294. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(hangup_after_bridge=true)
  295. Dialplan: sofia/default/1604785422@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[leg_timeout=20 ] user/8243029697@callpk.astppbilling.org)
  296. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(on_busy_flag=1)
  297. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(on_busy_destination=)
  298. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(no_answer_flag=1)
  299. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(no_answer_destination=)
  300. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(not_register_flag=1)
  301. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(not_register_destination=)
  302. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(opensips_flag=1)
  303. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(variable_sip_to_host=callpk.astppbilling.org)
  304. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  305. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(leg_timeout=20)
  306. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(userinfo_id=4)
  307. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(sip_destination_number=8243029697)
  308. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(did_number=8243029697)
  309. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(user_domain=callpk.astppbilling.org)
  310. Dialplan: sofia/default/1604785422@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  311. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(on_busy_flag=1)
  312. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(on_busy_destination=)
  313. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(no_answer_flag=1)
  314. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(no_answer_destination=)
  315. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(not_register_flag=1)
  316. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(not_register_destination=)
  317. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(opensips_flag=1)
  318. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(variable_sip_to_host=callpk.astppbilling.org)
  319. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  320. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(leg_timeout=20)
  321. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(userinfo_id=4)
  322. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(sip_destination_number=8243029697)
  323. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(destination_number=10444)
  324. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(did_number=10444)
  325. Dialplan: sofia/default/1604785422@46.101.114.158 Action set(user_domain=callpk.astppbilling.org)
  326. Dialplan: sofia/default/1604785422@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  327. |--- Dialplan: Processing recursive conditions level:1 [10444_recur_1] require-nested=TRUE
  328. |--- Dialplan: sofia/default/1604785422@46.101.114.158 Regex (FAIL) [10444_recur_1] ${cond(${user_data 8243029697@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  329. |--- Dialplan: sofia/default/1604785422@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  330. 2022-01-05 08:19:01.113318 98.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1604785422@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  331. 2022-01-05 08:19:01.113318 98.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1604785422@46.101.114.158) State ROUTING going to sleep
  332. 2022-01-05 08:19:01.113318 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1604785422@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 154)
  333. 2022-01-05 08:19:01.113318 98.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1604785422@46.101.114.158) State EXECUTE
  334. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_sofia.c:213 sofia/default/1604785422@46.101.114.158 SOFIA EXECUTE
  335. 2022-01-05 08:19:01.113318 98.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/1604785422@46.101.114.158 Standard EXECUTE
  336. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(effective_destination_number=10444)
  337. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [effective_destination_number]=[10444]
  338. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  339. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  340. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  341. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  342. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(callstart=2022-01-05 08:19:01)
  343. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [callstart]=[2022-01-05 08:19:01]
  344. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(hangup_after_bridge=true)
  345. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [hangup_after_bridge]=[true]
  346. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(continue_on_fail=0)
  347. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [continue_on_fail]=[0]
  348. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(account_id=3)
  349. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [account_id]=[3]
  350. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(parent_id=0)
  351. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [parent_id]=[0]
  352. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(entity_id=3)
  353. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [entity_id]=[3]
  354. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(call_processed=internal)
  355. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [call_processed]=[internal]
  356. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(call_direction=inbound)
  357. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [call_direction]=[inbound]
  358. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(accountname=Entdemo)
  359. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [accountname]=[Entdemo]
  360. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(origination_rates_did=ID:1|CODE:^10444.*|DESTINATION:10444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
  361. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^10444.*|DESTINATION:10444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4]
  362. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(origination_rates=0)
  363. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [origination_rates]=[0]
  364. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(original_caller_id_name=1604785422)
  365. 2022-01-05 08:19:01.113318 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [original_caller_id_name]=[1604785422]
  366. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(original_caller_id_number=1604785422)
  367. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [original_caller_id_number]=[1604785422]
  368. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(is_recording=1)
  369. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  370. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(media_bug_answer_req=true)
  371. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  372. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(RECORD_STEREO=true)
  373. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  374. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(record_sample_rate=8000)
  375. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  376. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/6e19afde-c518-4aa1-9f3d-6b36b43539edDID-LOCAL_4.wav)
  377. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/6e19afde-c518-4aa1-9f3d-6b36b43539edDID-LOCAL_4.wav]
  378. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(effective_caller_id_name=1604785422)
  379. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [effective_caller_id_name]=[1604785422]
  380. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(effective_caller_id_number=1604785422)
  381. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [effective_caller_id_number]=[1604785422]
  382. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(receiver_accid=4)
  383. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [receiver_accid]=[4]
  384. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(did_id=1)
  385. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [did_id]=[1]
  386. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(transfer_call_type=4)
  387. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [transfer_call_type]=[4]
  388. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(transfer_extensions=10777777555)
  389. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [transfer_extensions]=[10777777555]
  390. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(busy_status=1)
  391. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [busy_status]=[1]
  392. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(no_answer_status=0)
  393. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [no_answer_status]=[0]
  394. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(always_status=1)
  395. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [always_status]=[1]
  396. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(transfer_status=0)
  397. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [transfer_status]=[0]
  398. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(variable_sip_to_host=172.31.36.75)
  399. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [variable_sip_to_host]=[172.31.36.75]
  400. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(domain_name=callpk.astppbilling.org)
  401. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[callpk.astppbilling.org]
  402. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(sip_to_host=callpk.astppbilling.org)
  403. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[callpk.astppbilling.org]
  404. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(presence_data=x|||admin's(8243029697)|||||||||DID|||46.101.114.158)
  405. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||admin's(8243029697)|||||||||DID|||46.101.114.158]
  406. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(call_type=0)
  407. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  408. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(calltype=DID-LOCAL)
  409. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [calltype]=[DID-LOCAL]
  410. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 db(insert/pickup_any_group_/8243029697/6e19afde-c518-4aa1-9f3d-6b36b43539ed)
  411. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(dialed_extension=transfer_call)
  412. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [dialed_extension]=[transfer_call]
  413. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(dialed_extension=transfer_call)
  414. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  415. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  416. 2022-01-05 08:19:01.133312 98.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  417. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  418. 2022-01-05 08:19:01.133312 98.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  419. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(hangup_after_bridge=true)
  420. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [hangup_after_bridge]=[true]
  421. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(did_user_domain=callpk.astppbilling.org)
  422. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[callpk.astppbilling.org]
  423. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 db(insert/pickup_any_group_/8243029697/6e19afde-c518-4aa1-9f3d-6b36b43539ed)
  424. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(dialed_extension=transfer_call)
  425. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [dialed_extension]=[transfer_call]
  426. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 export(dialed_extension=transfer_call)
  427. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  428. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  429. 2022-01-05 08:19:01.133312 98.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  430. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  431. 2022-01-05 08:19:01.133312 98.87% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  432. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(transfer_ringback=local_stream://moh)
  433. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  434. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 set(hangup_after_bridge=true)
  435. 2022-01-05 08:19:01.133312 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1604785422@46.101.114.158 [hangup_after_bridge]=[true]
  436. EXECUTE [depth=0] sofia/default/1604785422@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[leg_timeout=20 ] user/8243029697@callpk.astppbilling.org)
  437. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [is_recording]=[1] to event
  438. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  439. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  440. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  441. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/6e19afde-c518-4aa1-9f3d-6b36b43539edDID-LOCAL_4.wav] to event
  442. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [domain_name]=[callpk.astppbilling.org] to event
  443. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[callpk.astppbilling.org] to event
  444. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||admin's(8243029697)|||||||||DID|||46.101.114.158] to event
  445. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  446. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  447. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[callpk.astppbilling.org] to event
  448. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  449. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  450. 2022-01-05 08:19:01.133312 98.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  451. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [is_recording]=[1] to event
  452. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  453. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  454. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  455. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/6e19afde-c518-4aa1-9f3d-6b36b43539edDID-LOCAL_4.wav] to event
  456. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [domain_name]=[callpk.astppbilling.org] to event
  457. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[callpk.astppbilling.org] to event
  458. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||admin's(8243029697)|||||||||DID|||46.101.114.158] to event
  459. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  460. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  461. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[callpk.astppbilling.org] to event
  462. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_channel.c:1269 sofia/default/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  463. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  464. 2022-01-05 08:19:01.153316 98.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8243029697@150.129.107.251:58060 [fd5c3609-f61b-4b1c-adb1-5055ce62947d]
  465. 2022-01-05 08:19:01.153316 98.87% [DEBUG] mod_sofia.c:5121 (sofia/default/8243029697@150.129.107.251:58060) State Change CS_NEW -> CS_INIT
  466. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_ivr_originate.c:3151 sofia/default/8243029697@150.129.107.251:58060 Setting leg timeout to 20
  467. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8243029697@150.129.107.251:58060) Running State Change CS_INIT (Cur 2 Tot 155)
  468. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8243029697@150.129.107.251:58060) State INIT
  469. 2022-01-05 08:19:01.153316 98.87% [DEBUG] mod_sofia.c:97 sofia/default/8243029697@150.129.107.251:58060 SOFIA INIT
  470. 2022-01-05 08:19:01.153316 98.87% [DEBUG] sofia_glue.c:1620 sip:8243029697@117.247.91.162:49410;rinstance=e6fc125c75ee8b50;transport=TCP Setting proxy route to sofia/default/8243029697@150.129.107.251:58060
  471. 2022-01-05 08:19:01.153316 98.87% [INFO] sofia_glue.c:1651 sofia/default/8243029697@150.129.107.251:58060 sending invite call-id: (null)
  472. 2022-01-05 08:19:01.153316 98.87% [DEBUG] sofia_glue.c:1654 sofia/default/8243029697@150.129.107.251:58060 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  473. Local SDP:
  474. v=0
  475. o=FreeSWITCH 1641339883 1641339884 IN IP4 65.0.92.207
  476. s=FreeSWITCH
  477. c=IN IP4 65.0.92.207
  478. t=0 0
  479. m=audio 30858 RTP/AVP 8 101
  480. a=rtpmap:8 PCMA/8000
  481. a=rtpmap:101 telephone-event/8000
  482. a=fmtp:101 0-15
  483. a=ptime:20
  484. a=sendrecv
  485.  
  486. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/8243029697@150.129.107.251:58060 Standard INIT
  487. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8243029697@150.129.107.251:58060) State Change CS_INIT -> CS_ROUTING
  488. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8243029697@150.129.107.251:58060) State INIT going to sleep
  489. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8243029697@150.129.107.251:58060) Running State Change CS_ROUTING (Cur 2 Tot 155)
  490. 2022-01-05 08:19:01.153316 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/8243029697@150.129.107.251:58060 entering state [calling][0]
  491. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8243029697@150.129.107.251:58060) State ROUTING
  492. 2022-01-05 08:19:01.153316 98.87% [DEBUG] mod_sofia.c:158 sofia/default/8243029697@150.129.107.251:58060 SOFIA ROUTING
  493. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/8243029697@150.129.107.251:58060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  494. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8243029697@150.129.107.251:58060) State ROUTING going to sleep
  495. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8243029697@150.129.107.251:58060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 155)
  496. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8243029697@150.129.107.251:58060) State CONSUME_MEDIA
  497. 2022-01-05 08:19:01.153316 98.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/8243029697@150.129.107.251:58060) State CONSUME_MEDIA going to sleep
  498. 2022-01-05 08:19:01.433335 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/8243029697@150.129.107.251:58060 entering state [proceeding][180]
  499. 2022-01-05 08:19:01.433335 98.87% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/8243029697@150.129.107.251:58060!
  500. 2022-01-05 08:19:01.433335 98.87% [DEBUG] switch_channel.c:3494 (sofia/default/8243029697@150.129.107.251:58060) Callstate Change DOWN -> RINGING
  501. 2022-01-05 08:19:01.453343 97.53% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/1604785422@46.101.114.158!
  502. 2022-01-05 08:19:01.453343 97.53% [DEBUG] sofia.c:7499 Channel sofia/default/1604785422@46.101.114.158 entering state [early][180]
  503. 2022-01-05 08:19:01.453343 97.53% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/1604785422@46.101.114.158!
  504. 2022-01-05 08:19:12.533343 93.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/90001165092207@65.0.92.207 [213d241a-9f24-475c-9d82-9024957be809]
  505. 2022-01-05 08:19:12.533343 93.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90001165092207@65.0.92.207) Running State Change CS_NEW (Cur 3 Tot 156)
  506. 2022-01-05 08:19:12.533343 93.53% [INFO] sofia.c:10462 sofia/default/90001165092207@65.0.92.207 receiving invite from 143.244.57.84:61221 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 840263944-835100925-153007867
  507. 2022-01-05 08:19:12.533343 93.53% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 143.244.57.84:0.
  508. 2022-01-05 08:19:12.533343 93.53% [DEBUG] sofia.c:2419 detaching session 213d241a-9f24-475c-9d82-9024957be809
  509. 2022-01-05 08:19:12.533343 93.53% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [900011972597254357@65.0.92.207] from ip 143.244.57.84
  510. 2022-01-05 08:19:12.533343 93.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/90001165092207@65.0.92.207) State NEW
  511. 2022-01-05 08:19:21.013344 93.47% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/8243029697@150.129.107.251:58060 [CS_CONSUME_MEDIA] [NO_ANSWER]
  512. 2022-01-05 08:19:21.013344 93.47% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [NO_ANSWER]
  513. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 19 [NO_ANSWER]
  514. 2022-01-05 08:19:21.013344 93.47% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NO_ANSWER
  515. 2022-01-05 08:19:21.013344 93.47% [NOTICE] switch_channel.c:5050 Hangup sofia/default/1604785422@46.101.114.158 [CS_EXECUTE] [NO_ANSWER]
  516. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_session.c:2983 sofia/default/1604785422@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  517. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1604785422@46.101.114.158) State EXECUTE going to sleep
  518. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1604785422@46.101.114.158) Running State Change CS_HANGUP (Cur 3 Tot 156)
  519. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1604785422@46.101.114.158) Callstate Change RINGING -> HANGUP
  520. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1604785422@46.101.114.158) State HANGUP
  521. 2022-01-05 08:19:21.013344 93.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/1604785422@46.101.114.158 hanging up, cause: NO_ANSWER
  522. 2022-01-05 08:19:21.013344 93.47% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  523. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/1604785422@46.101.114.158 Standard HANGUP, cause: NO_ANSWER
  524. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1604785422@46.101.114.158) State HANGUP going to sleep
  525. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1604785422@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  526. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1604785422@46.101.114.158) Running State Change CS_REPORTING (Cur 3 Tot 156)
  527. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1604785422@46.101.114.158) State REPORTING
  528. 2022-01-05 08:19:21.013344 93.47% [INFO] mod_json_cdr.c:271 Process [6e19afde-c518-4aa1-9f3d-6b36b43539ed.cdr.json]
  529. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8243029697@150.129.107.251:58060) Running State Change CS_HANGUP (Cur 3 Tot 156)
  530. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8243029697@150.129.107.251:58060) Callstate Change RINGING -> HANGUP
  531. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8243029697@150.129.107.251:58060) State HANGUP
  532. 2022-01-05 08:19:21.013344 93.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/8243029697@150.129.107.251:58060 hanging up, cause: NO_ANSWER
  533. 2022-01-05 08:19:21.013344 93.47% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/8243029697@150.129.107.251:58060
  534. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/8243029697@150.129.107.251:58060 Standard HANGUP, cause: NO_ANSWER
  535. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8243029697@150.129.107.251:58060) State HANGUP going to sleep
  536. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8243029697@150.129.107.251:58060) State Change CS_HANGUP -> CS_REPORTING
  537. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8243029697@150.129.107.251:58060) Running State Change CS_REPORTING (Cur 3 Tot 156)
  538. 2022-01-05 08:19:21.013344 93.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8243029697@150.129.107.251:58060) State REPORTING
  539. 2022-01-05 08:19:21.013344 93.47% [INFO] mod_json_cdr.c:271 Process [fd5c3609-f61b-4b1c-adb1-5055ce62947d.cdr.json]
  540. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/8243029697@150.129.107.251:58060 Standard REPORTING, cause: NO_ANSWER
  541. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8243029697@150.129.107.251:58060) State REPORTING going to sleep
  542. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8243029697@150.129.107.251:58060) State Change CS_REPORTING -> CS_DESTROY
  543. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_session.c:1753 Session 155 (sofia/default/8243029697@150.129.107.251:58060) Locked, Waiting on external entities
  544. 2022-01-05 08:19:21.033333 93.47% [NOTICE] switch_core_session.c:1771 Session 155 (sofia/default/8243029697@150.129.107.251:58060) Ended
  545. 2022-01-05 08:19:21.033333 93.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8243029697@150.129.107.251:58060 [CS_DESTROY]
  546. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8243029697@150.129.107.251:58060) Running State Change CS_DESTROY (Cur 2 Tot 156)
  547. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8243029697@150.129.107.251:58060) State DESTROY
  548. 2022-01-05 08:19:21.033333 93.47% [DEBUG] mod_sofia.c:379 sofia/default/8243029697@150.129.107.251:58060 SOFIA DESTROY
  549. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/8243029697@150.129.107.251:58060 Standard DESTROY
  550. 2022-01-05 08:19:21.033333 93.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8243029697@150.129.107.251:58060) State DESTROY going to sleep
  551. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/1604785422@46.101.114.158 Standard REPORTING, cause: NO_ANSWER
  552. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1604785422@46.101.114.158) State REPORTING going to sleep
  553. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1604785422@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  554. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_session.c:1753 Session 154 (sofia/default/1604785422@46.101.114.158) Locked, Waiting on external entities
  555. 2022-01-05 08:19:21.053314 93.47% [NOTICE] switch_core_session.c:1771 Session 154 (sofia/default/1604785422@46.101.114.158) Ended
  556. 2022-01-05 08:19:21.053314 93.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1604785422@46.101.114.158 [CS_DESTROY]
  557. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1604785422@46.101.114.158) Running State Change CS_DESTROY (Cur 1 Tot 156)
  558. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1604785422@46.101.114.158) State DESTROY
  559. 2022-01-05 08:19:21.053314 93.47% [DEBUG] mod_sofia.c:379 sofia/default/1604785422@46.101.114.158 SOFIA DESTROY
  560. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/1604785422@46.101.114.158 Standard DESTROY
  561. 2022-01-05 08:19:21.053314 93.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1604785422@46.101.114.158) State DESTROY going to sleep
  562. 2022-01-05 08:19:22.553335 93.27% [WARNING] switch_core_state_machine.c:684 213d241a-9f24-475c-9d82-9024957be809 sofia/default/90001165092207@65.0.92.207 Abandoned
  563. 2022-01-05 08:19:22.553335 93.27% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/90001165092207@65.0.92.207 [CS_NEW] [WRONG_CALL_STATE]
  564. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90001165092207@65.0.92.207) Running State Change CS_HANGUP (Cur 1 Tot 156)
  565. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/90001165092207@65.0.92.207) Callstate Change DOWN -> HANGUP
  566. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/90001165092207@65.0.92.207) State HANGUP
  567. 2022-01-05 08:19:22.553335 93.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/90001165092207@65.0.92.207 hanging up, cause: WRONG_CALL_STATE
  568. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/90001165092207@65.0.92.207 Standard HANGUP, cause: WRONG_CALL_STATE
  569. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/90001165092207@65.0.92.207) State HANGUP going to sleep
  570. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/90001165092207@65.0.92.207) State Change CS_HANGUP -> CS_REPORTING
  571. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90001165092207@65.0.92.207) Running State Change CS_REPORTING (Cur 1 Tot 156)
  572. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/90001165092207@65.0.92.207) State REPORTING
  573. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/90001165092207@65.0.92.207 Standard REPORTING, cause: WRONG_CALL_STATE
  574. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/90001165092207@65.0.92.207) State REPORTING going to sleep
  575. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/90001165092207@65.0.92.207) State Change CS_REPORTING -> CS_DESTROY
  576. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_session.c:1753 Session 156 (sofia/default/90001165092207@65.0.92.207) Locked, Waiting on external entities
  577. 2022-01-05 08:19:22.553335 93.27% [NOTICE] switch_core_session.c:1771 Session 156 (sofia/default/90001165092207@65.0.92.207) Ended
  578. 2022-01-05 08:19:22.553335 93.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/90001165092207@65.0.92.207 [CS_DESTROY]
  579. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/90001165092207@65.0.92.207) Running State Change CS_DESTROY (Cur 0 Tot 156)
  580. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/90001165092207@65.0.92.207) State DESTROY
  581. 2022-01-05 08:19:22.553335 93.27% [DEBUG] mod_sofia.c:379 sofia/default/90001165092207@65.0.92.207 SOFIA DESTROY
  582. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/90001165092207@65.0.92.207 Standard DESTROY
  583. 2022-01-05 08:19:22.553335 93.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/90001165092207@65.0.92.207) State DESTROY going to sleep
  584. freeswitch@ip-172-31-36-75> /exit
  585.  
  586. root@ip-172-31-36-75:/home/admin#