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. freeswitch@ip-172-31-36-75>
  4. 2022-01-11 13:05:47.280080 93.10% [NOTICE] switch_channel.c:1123 New Channel sofia/ExternalSIPProfile/1604785422@46.101.114.158 [a4da267e-8e7b-4558-b5c8-5a6680d20769]
  5. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 1040)
  6. 2022-01-11 13:05:47.280080 93.10% [INFO] sofia.c:10462 sofia/ExternalSIPProfile/1604785422@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 08aeb990-ed82-123a-56a8-ba05d31eb9f9
  7. 2022-01-11 13:05:47.280080 93.10% [DEBUG] sofia.c:10556 verifying acl "ExternalSIPProfile" for ip/port 46.101.114.158:0.
  8. 2022-01-11 13:05:47.280080 93.10% [DEBUG] sofia.c:10585 IP 46.101.114.158 Approved by acl "ExternalSIPProfile[]". Access Granted.
  9. 2022-01-11 13:05:47.280080 93.10% [DEBUG] sofia.c:7499 Channel sofia/ExternalSIPProfile/1604785422@46.101.114.158 entering state [received][100]
  10. 2022-01-11 13:05:47.280080 93.10% [DEBUG] sofia.c:7509 Remote SDP:
  11. v=0
  12. o=FreeSWITCH 1641875045 1641875046 IN IP4 46.101.114.158
  13. s=FreeSWITCH
  14. c=IN IP4 46.101.114.158
  15. t=0 0
  16. m=audio 31302 RTP/AVP 0 101
  17. a=rtpmap:0 PCMU/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=ptime:20
  21.  
  22. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  23. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  24. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  26. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  27. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:3870 Set Codec sofia/ExternalSIPProfile/1604785422@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_codec.c:111 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Original read codec set to PCMU:0
  29. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  30. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_media.c:5973 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2022-01-11 13:05:47.280080 93.10% [DEBUG] sofia.c:7933 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State Change CS_NEW -> CS_INIT
  32. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:600 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State NEW
  33. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 1040)
  34. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:624 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State INIT
  35. 2022-01-11 13:05:47.280080 93.10% [DEBUG] mod_sofia.c:97 sofia/ExternalSIPProfile/1604785422@46.101.114.158 SOFIA INIT
  36. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:40 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Standard INIT
  37. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:48 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  38. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:624 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State INIT going to sleep
  39. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 1040)
  40. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_channel.c:2380 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Callstate Change DOWN -> RINGING
  41. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:640 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State ROUTING
  42. 2022-01-11 13:05:47.280080 93.10% [DEBUG] mod_sofia.c:158 sofia/ExternalSIPProfile/1604785422@46.101.114.158 SOFIA ROUTING
  43. 2022-01-11 13:05:47.280080 93.10% [DEBUG] switch_core_state_machine.c:230 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Standard ROUTING
  44. 2022-01-11 13:05:47.280080 93.10% [INFO] mod_dialplan_xml.c:639 Processing 1604785422 <1604785422>->10444 in context default
  45. 2022-01-11 13:05:47.340077 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes')
  46. 2022-01-11 13:05:47.340077 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  47. 2022-01-11 13:05:47.360059 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  48. 2022-01-11 13:05:47.360059 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10444
  49. 2022-01-11 13:05:47.360059 93.10% [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
  50. 2022-01-11 13:05:47.360059 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10444' AND status=0 limit 1
  51. 2022-01-11 13:05:47.360059 93.10% [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
  52. 2022-01-11 13:05:47.360059 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PK-Default-Gateway
  53. 2022-01-11 13:05:47.360059 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2022-01-11 13:05:47.360059 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '65.0.92.207' limit 1
  55. 2022-01-11 13:05:47.360059 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '19' and username = '10444' limit 1
  56. 2022-01-11 13:05:47.360059 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 1604785422 / 1604785422
  57. 2022-01-11 13:05:47.360059 93.10% [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
  58. 2022-01-11 13:05:47.360059 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2022-01-11 13:05:47.360059 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  60. 2022-01-11 13:05:47.360059 93.10% [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
  61. 2022-01-11 13:05:47.380053 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  62. 2022-01-11 13:05:47.380053 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  63. 2022-01-11 13:05:47.380053 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT balance FROM accounts WHERE id =4
  64. 2022-01-11 13:05:47.380053 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10444" AND (accountid = 0 OR status = 1) LIMIT 1
  65. 2022-01-11 13:05:47.380053 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  66. 2022-01-11 13:05:47.380053 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 4
  67. 2022-01-11 13:05:47.380053 93.10% [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
  68. 2022-01-11 13:05:47.400063 93.10% [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
  69. 2022-01-11 13:05:47.400063 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10444
  70. 2022-01-11 13:05:47.400063 93.10% [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
  71. 2022-01-11 13:05:47.400063 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  72. 2022-01-11 13:05:47.400063 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  73. 2022-01-11 13:05:47.400063 93.10% [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
  74. 2022-01-11 13:05:47.400063 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  75. 2022-01-11 13:05:47.400063 93.10% [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
  76. 2022-01-11 13:05:47.400063 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  77. 2022-01-11 13:05:47.400063 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  78. 2022-01-11 13:05:47.400063 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  79. 2022-01-11 13:05:47.400063 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT balance FROM accounts WHERE id =4
  80. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 427.4
  81. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  82. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  83. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  84. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  85. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  86. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  87. 2022-01-11 13:05:47.420056 93.10% [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
  88. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  89. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  90. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  91. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  92. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  93. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  94. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  95. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10444
  96. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  97. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  98. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  99. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT balance FROM accounts WHERE id =4
  100. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your427.4 balance Accountid 3 !!!
  101. 2022-01-11 13:05:47.420056 93.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 1000000
  102. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000000 minutes
  103. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  104. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  105. 2022-01-11 13:05:47.420056 93.10% [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-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  107. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  108. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  109. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  110. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  111. 2022-01-11 13:05:47.420056 93.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : callpk.astppbilling.org
  112. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 1000000
  113. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  114. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  115. 2022-01-11 13:05:47.420056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  116. 2022-01-11 13:05:47.420056 93.10% [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 = "6239515281" AND accounts.status = 0
  117. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
  118. 2022-01-11 13:05:47.420056 93.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : callpk.astppbilling.org
  119. 2022-01-11 13:05:47.420056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 4  and status = 0 limit 1
  120. 2022-01-11 13:05:47.440056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  121. 2022-01-11 13:05:47.440056 93.10% [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="6239515281"  AND domains.domain="callpk.astppbilling.org" limit 1
  122. 2022-01-11 13:05:47.440056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 8 limit 1
  123. 2022-01-11 13:05:47.440056 93.10% [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-11 13:05:47.440056 93.10% [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-11 13:05:47.440056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  126. 2022-01-11 13:05:47.440056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  127. 2022-01-11 13:05:47.440056 93.10% [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="6239515281"  AND domains.domain="callpk.astppbilling.org" limit 1
  128. 2022-01-11 13:05:47.440056 93.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec :
  129. 2022-01-11 13:05:47.440056 93.10% [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="6239515281"  AND domains.domain="callpk.astppbilling.org" limit 1
  130. 2022-01-11 13:05:47.440056 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 8
  131. 2022-01-11 13:05:47.440056 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 8 limit 1
  132. 2022-01-11 13:05:47.460052 93.10% [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-11 13:05:47.460052 93.10% [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-11 13:05:47.460052 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  135. 2022-01-11 13:05:47.460052 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  136. 2022-01-11 13:05:47.460052 93.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  137. 2022-01-11 13:05:47.460052 93.10% [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="6239515281"  AND domains.domain="callpk.astppbilling.org" limit 1
  138. 2022-01-11 13:05:47.460052 93.10% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec :
  139. 2022-01-11 13:05:47.460052 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  140. 2022-01-11 13:05:47.460052 93.10% [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="6239515281"  AND domains.domain="callpk.astppbilling.org" limit 1
  141. 2022-01-11 13:05:47.460052 93.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 8 limit 1
  142. 2022-01-11 13:05:47.460052 93.10% [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=+60000000 normal_clearing"/>
  151. <action application="set" data="callstart=2022-01-11 13:05:47"/>
  152. <action application="set" data="hangup_after_bridge=true"/>
  153. <action application="set" data="continue_on_fail=ACCOUNT_INACTIVE_DELETED,ACCOUNT_EXPIRE,ALLOTTED_TIMEOUT,AUTHENTICATION_FAIL,BEARERCAPABILITY_NOTAUTH,BEARERCAPABILITY_NOTAVAIL,BEARERCAPABILITY_NOTIMPL,CALL_REJECTED,CHAN_NOT_IMPLEMENTED,CHANNEL_UNACCEPTABLE,DESTINATION_OUT_OF_ORDER,DESTINATION_BLOCKED,DID_DESTINATION_NOT_FOUND,FACILITY_REJECTED,FACILITY_NOT_SUBSCRIBED,FACILITY_NOT_IMPLEMENTED,FRAUD_CALL_PER_ACCOUNT,FRAUD_COST_PER_ACCOUNT,FRAUD_COST_PER_DESTINATION,INVALID_NUMBER_FORMAT,INCOMPATIBLE_DESTINATION,MANAGER_REQUEST,MEDIA_TIMEOUT,MANDATORY_IE_MISSING [96],NO_ROUTE_DESTINATION,NORMAL_CLEARING,NETWORK_OUT_OF_ORDER,NORMAL_UNSPECIFIED,NORMAL_CIRCUIT_CONGESTION,NORMAL_TEMPORARY_FAILURE,NO_SUFFICIENT_FUND,NO_USER_RESPONSE,NO_ANSWER,NUMBER_CHANGED,ORIGINATOR_CANCEL,ORIGINATION_RATE_NOT_FOUND,OUTGOING_CALL_BARRED,PROGRESS_TIMEOUT,RECOVERY_ON_TIMER_EXPIRE,RESELLER_COST_CHEAP,SERVICE_NOT_IMPLEMENTED,SERVICE_UNAVAILABLE,SUCCESS,SWITCH_CONGESTION,TERMINATION_RATE_NOT_FOUND,UNSPECIFIED,UNALLOCATED_NUMBER,USER_BUSY,USER_NOT_REGISTERED,REQUESTED_CHAN_UNAVAIL,SUBSCRIBER_ABSENT"/>
  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="export" data="domain_name=callpk.astppbilling.org"/>
  173. <action application="export" data="sip_to_host=callpk.astppbilling.org"/>
  174. <action application="export" data="presence_data=x|||admin's(8243029697)|||||||||DID|||46.101.114.158"/>
  175. <action application="export" data="call_type=0"/>
  176. <action application="set" data="calltype=DID-LOCAL"/>
  177. <action application="db" data="insert/pickup_any_group_${callgroup}/6239515281/${uuid}"/>
  178. <action application="set" data="dialed_extension=transfer_call"/>
  179. <action application="export" data="dialed_extension=transfer_call"/>
  180. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  181. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  182. <action application="set" data="hangup_after_bridge=true"/>
  183. <action application="export" data="did_user_domain=callpk.astppbilling.org"/>
  184. <action application="db" data="insert/pickup_any_group_${callgroup}/6239515281/${uuid}"/>
  185. <action application="set" data="dialed_extension=transfer_call"/>
  186. <action application="export" data="dialed_extension=transfer_call"/>
  187. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  188. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  189. <action application="set" data="transfer_ringback=$${hold_music}"/>
  190. <action application="set" data="hangup_after_bridge=true"/>
  191. <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=60 ] user/6239515281@callpk.astppbilling.org"/>
  192. <action application="set" data="on_busy_flag=1"/>
  193. <action application="set" data="on_busy_destination="/>
  194. <action application="set" data="no_answer_flag=1"/>
  195. <action application="set" data="no_answer_destination="/>
  196. <action application="set" data="not_register_flag=1"/>
  197. <action application="set" data="not_register_destination="/>
  198. <action application="set" data="opensips_flag=1"/>
  199. <action application="set" data="variable_sip_to_host=callpk.astppbilling.org"/>
  200. <action application="set" data="opensips_domain=127.0.0.1"/>
  201. <action application="set" data="leg_timeout=60"/>
  202. <action application="set" data="userinfo_id=4"/>
  203. <action application="set" data="sip_destination_number=6239515281"/>
  204. <action application="set" data="did_number=6239515281"/>
  205. <action application="set" data="user_domain=callpk.astppbilling.org"/>
  206. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  207. <action application="set" data="on_busy_flag=1"/>
  208. <action application="set" data="on_busy_destination="/>
  209. <action application="set" data="no_answer_flag=1"/>
  210. <action application="set" data="no_answer_destination="/>
  211. <action application="set" data="not_register_flag=1"/>
  212. <action application="set" data="not_register_destination="/>
  213. <action application="set" data="opensips_flag=1"/>
  214. <action application="set" data="variable_sip_to_host=callpk.astppbilling.org"/>
  215. <action application="set" data="opensips_domain=127.0.0.1"/>
  216. <action application="set" data="leg_timeout=60"/>
  217. <action application="set" data="userinfo_id=4"/>
  218. <action application="set" data="sip_destination_number=6239515281"/>
  219. <action application="set" data="destination_number=10444"/>
  220. <action application="set" data="did_number=10444"/>
  221. <action application="set" data="user_domain=callpk.astppbilling.org"/>
  222. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  223. <condition field="${cond(${user_data 6239515281@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  224. <action application="answer"/>
  225. <action application="export" data="voicemail_alternate_greet_id=10444"/>
  226. <action application="voicemail" data="default $${domain_name} 6239515281"/>
  227. <anti-action application="hangup" data="${originate_disposition}"/>
  228. </condition>
  229. </condition>
  230. </extension>
  231. </context>
  232. </section>
  233. </document>
  234. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 parsing [default->10444] continue=false
  235. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Regex (PASS) [10444] destination_number(10444) =~ /10444/ break=on-false
  236. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(effective_destination_number=10444)
  237. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  238. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+60000000 normal_clearing)
  239. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(callstart=2022-01-11 13:05:47)
  240. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(hangup_after_bridge=true)
  241. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(continue_on_fail=ACCOUNT_INACTIVE_DELETED,ACCOUNT_EXPIRE,ALLOTTED_TIMEOUT,AUTHENTICATION_FAIL,BEARERCAPABILITY_NOTAUTH,BEARERCAPABILITY_NOTAVAIL,BEARERCAPABILITY_NOTIMPL,CALL_REJECTED,CHAN_NOT_IMPLEMENTED,CHANNEL_UNACCEPTABLE,DESTINATION_OUT_OF_ORDER,DESTINATION_BLOCKED,DID_DESTINATION_NOT_FOUND,FACILITY_REJECTED,FACILITY_NOT_SUBSCRIBED,FACILITY_NOT_IMPLEMENTED,FRAUD_CALL_PER_ACCOUNT,FRAUD_COST_PER_ACCOUNT,FRAUD_COST_PER_DESTINATION,INVALID_NUMBER_FORMAT,INCOMPATIBLE_DESTINATION,MANAGER_REQUEST,MEDIA_TIMEOUT,MANDATORY_IE_MISSING [96],NO_ROUTE_DESTINATION,NORMAL_CLEARING,NETWORK_OUT_OF_ORDER,NORMAL_UNSPECIFIED,NORMAL_CIRCUIT_CONGESTION,NORMAL_TEMPORARY_FAILURE,NO_SUFFICIENT_FUND,NO_USER_RESPONSE,NO_ANSWER,NUMBER_CHANGED,ORIGINATOR_CANCEL,ORIGINATION_RATE_NOT_FOUND,OUTGOING_CALL_BARRED,PROGRESS_TIMEOUT,RECOVERY_ON_TIMER_EXPIRE,RESELLER_COST_CHEAP,SERVICE_NOT_IMPLEMENTED,SERVICE_UNAVAILABLE,SUCCESS,SWITCH_CONGESTION,TERMINATION_RATE_NOT_FOUND,UNSPECIFIED,UNALLOCATED_NUMBER,USER_BUSY,USER_NOT_REGISTERED,REQUESTED_CHAN_UNAVAIL,SUBSCRIBER_ABSENT)
  242. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(account_id=3)
  243. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(parent_id=0)
  244. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(entity_id=3)
  245. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(call_processed=internal)
  246. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(call_direction=inbound)
  247. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(accountname=Entdemo)
  248. Dialplan: sofia/ExternalSIPProfile/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)
  249. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(origination_rates=0)
  250. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(original_caller_id_name=1604785422)
  251. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(original_caller_id_number=1604785422)
  252. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(is_recording=1)
  253. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(media_bug_answer_req=true)
  254. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(RECORD_STEREO=true)
  255. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(record_sample_rate=8000)
  256. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_4.wav)
  257. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(effective_caller_id_name=1604785422)
  258. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(effective_caller_id_number=1604785422)
  259. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(receiver_accid=4)
  260. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(domain_name=callpk.astppbilling.org)
  261. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(sip_to_host=callpk.astppbilling.org)
  262. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(presence_data=x|||admin's(8243029697)|||||||||DID|||46.101.114.158)
  263. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(call_type=0)
  264. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(calltype=DID-LOCAL)
  265. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6239515281/${uuid})
  266. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(dialed_extension=transfer_call)
  267. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(dialed_extension=transfer_call)
  268. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  269. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  270. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(hangup_after_bridge=true)
  271. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(did_user_domain=callpk.astppbilling.org)
  272. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6239515281/${uuid})
  273. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(dialed_extension=transfer_call)
  274. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action export(dialed_extension=transfer_call)
  275. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  276. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  277. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  278. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(hangup_after_bridge=true)
  279. Dialplan: sofia/ExternalSIPProfile/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=60 ] user/6239515281@callpk.astppbilling.org)
  280. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(on_busy_flag=1)
  281. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(on_busy_destination=)
  282. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(no_answer_flag=1)
  283. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(no_answer_destination=)
  284. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(not_register_flag=1)
  285. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(not_register_destination=)
  286. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(opensips_flag=1)
  287. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(variable_sip_to_host=callpk.astppbilling.org)
  288. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  289. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(leg_timeout=60)
  290. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(userinfo_id=4)
  291. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(sip_destination_number=6239515281)
  292. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(did_number=6239515281)
  293. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(user_domain=callpk.astppbilling.org)
  294. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  295. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(on_busy_flag=1)
  296. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(on_busy_destination=)
  297. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(no_answer_flag=1)
  298. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(no_answer_destination=)
  299. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(not_register_flag=1)
  300. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(not_register_destination=)
  301. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(opensips_flag=1)
  302. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(variable_sip_to_host=callpk.astppbilling.org)
  303. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  304. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(leg_timeout=60)
  305. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(userinfo_id=4)
  306. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(sip_destination_number=6239515281)
  307. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(destination_number=10444)
  308. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(did_number=10444)
  309. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action set(user_domain=callpk.astppbilling.org)
  310. Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  311. |--- Dialplan: Processing recursive conditions level:1 [10444_recur_1] require-nested=TRUE
  312. |--- Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 Regex (FAIL) [10444_recur_1] ${cond(${user_data 6239515281@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  313. |--- Dialplan: sofia/ExternalSIPProfile/1604785422@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  314. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_core_state_machine.c:281 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  315. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_core_state_machine.c:640 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State ROUTING going to sleep
  316. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 1040)
  317. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_core_state_machine.c:647 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State EXECUTE
  318. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_sofia.c:213 sofia/ExternalSIPProfile/1604785422@46.101.114.158 SOFIA EXECUTE
  319. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_core_state_machine.c:323 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Standard EXECUTE
  320. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(effective_destination_number=10444)
  321. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [effective_destination_number]=[10444]
  322. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  323. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  324. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(bridge_pre_execute_bleg_data=+60000000 normal_clearing)
  325. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [bridge_pre_execute_bleg_data]=[+60000000 normal_clearing]
  326. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(callstart=2022-01-11 13:05:47)
  327. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [callstart]=[2022-01-11 13:05:47]
  328. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(hangup_after_bridge=true)
  329. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [hangup_after_bridge]=[true]
  330. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(continue_on_fail=ACCOUNT_INACTIVE_DELETED,ACCOUNT_EXPIRE,ALLOTTED_TIMEOUT,AUTHENTICATION_FAIL,BEARERCAPABILITY_NOTAUTH,BEARERCAPABILITY_NOTAVAIL,BEARERCAPABILITY_NOTIMPL,CALL_REJECTED,CHAN_NOT_IMPLEMENTED,CHANNEL_UNACCEPTABLE,DESTINATION_OUT_OF_ORDER,DESTINATION_BLOCKED,DID_DESTINATION_NOT_FOUND,FACILITY_REJECTED,FACILITY_NOT_SUBSCRIBED,FACILITY_NOT_IMPLEMENTED,FRAUD_CALL_PER_ACCOUNT,FRAUD_COST_PER_ACCOUNT,FRAUD_COST_PER_DESTINATION,INVALID_NUMBER_FORMAT,INCOMPATIBLE_DESTINATION,MANAGER_REQUEST,MEDIA_TIMEOUT,MANDATORY_IE_MISSING [96],NO_ROUTE_DESTINATION,NORMAL_CLEARING,NETWORK_OUT_OF_ORDER,NORMAL_UNSPECIFIED,NORMAL_CIRCUIT_CONGESTION,NORMAL_TEMPORARY_FAILURE,NO_SUFFICIENT_FUND,NO_USER_RESPONSE,NO_ANSWER,NUMBER_CHANGED,ORIGINATOR_CANCEL,ORIGINATION_RATE_NOT_FOUND,OUTGOING_CALL_BARRED,PROGRESS_TIMEOUT,RECOVERY_ON_TIMER_EXPIRE,RESELLER_COST_CHEAP,SERVICE_NOT_IMPLEMENTED,SERVICE_UNAVAILABLE,SUCCESS,SWITCH_CONGESTION,TERMINATION_RATE_NOT_FOUND,UNSPECIFIED,UNALLOCATED_NUMBER,USER_BUSY,USER_NOT_REGISTERED,REQUESTED_CHAN_UNAVAIL,SUBSCRIBER_ABSENT)
  331. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [continue_on_fail]=[ACCOUNT_INACTIVE_DELETED,ACCOUNT_EXPIRE,ALLOTTED_TIMEOUT,AUTHENTICATION_FAIL,BEARERCAPABILITY_NOTAUTH,BEARERCAPABILITY_NOTAVAIL,BEARERCAPABILITY_NOTIMPL,CALL_REJECTED,CHAN_NOT_IMPLEMENTED,CHANNEL_UNACCEPTABLE,DESTINATION_OUT_OF_ORDER,DESTINATION_BLOCKED,DID_DESTINATION_NOT_FOUND,FACILITY_REJECTED,FACILITY_NOT_SUBSCRIBED,FACILITY_NOT_IMPLEMENTED,FRAUD_CALL_PER_ACCOUNT,FRAUD_COST_PER_ACCOUNT,FRAUD_COST_PER_DESTINATION,INVALID_NUMBER_FORMAT,INCOMPATIBLE_DESTINATION,MANAGER_REQUEST,MEDIA_TIMEOUT,MANDATORY_IE_MISSING [96],NO_ROUTE_DESTINATION,NORMAL_CLEARING,NETWORK_OUT_OF_ORDER,NORMAL_UNSPECIFIED,NORMAL_CIRCUIT_CONGESTION,NORMAL_TEMPORARY_FAILURE,NO_SUFFICIENT_FUND,NO_USER_RESPONSE,NO_ANSWER,NUMBER_CHANGED,ORIGINATOR_CANCEL,ORIGINATION_RATE_NOT_FOUND,OUTGOING_CALL_BARRED,PROGRESS_TIMEOUT,RECOVERY_ON_TIMER_EXPIRE,RESELLER_COST_CHEAP,SERVICE_NOT_IMPLEMENTED,SERVICE_UNAVAILABLE,SUCCESS,SWITCH_CONGESTION,TERMINATION_RATE_NOT_FOUND,UNSPECIFIED,UNALLOCATED_NUMBER,USER_BUSY,USER_NOT_REGISTERED,REQUESTED_CHAN_UNAVAIL,SUBSCRIBER_ABSENT]
  332. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(account_id=3)
  333. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [account_id]=[3]
  334. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(parent_id=0)
  335. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [parent_id]=[0]
  336. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(entity_id=3)
  337. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [entity_id]=[3]
  338. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(call_processed=internal)
  339. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [call_processed]=[internal]
  340. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(call_direction=inbound)
  341. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [call_direction]=[inbound]
  342. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(accountname=Entdemo)
  343. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [accountname]=[Entdemo]
  344. EXECUTE [depth=0] sofia/ExternalSIPProfile/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)
  345. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/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]
  346. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(origination_rates=0)
  347. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [origination_rates]=[0]
  348. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(original_caller_id_name=1604785422)
  349. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [original_caller_id_name]=[1604785422]
  350. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(original_caller_id_number=1604785422)
  351. 2022-01-11 13:05:47.480054 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [original_caller_id_number]=[1604785422]
  352. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(is_recording=1)
  353. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  354. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(media_bug_answer_req=true)
  355. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  356. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(RECORD_STEREO=true)
  357. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  358. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(record_sample_rate=8000)
  359. 2022-01-11 13:05:47.480054 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  360. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/a4da267e-8e7b-4558-b5c8-5a6680d20769DID-LOCAL_4.wav)
  361. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/a4da267e-8e7b-4558-b5c8-5a6680d20769DID-LOCAL_4.wav]
  362. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(effective_caller_id_name=1604785422)
  363. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [effective_caller_id_name]=[1604785422]
  364. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(effective_caller_id_number=1604785422)
  365. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [effective_caller_id_number]=[1604785422]
  366. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(receiver_accid=4)
  367. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [receiver_accid]=[4]
  368. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(domain_name=callpk.astppbilling.org)
  369. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[callpk.astppbilling.org]
  370. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(sip_to_host=callpk.astppbilling.org)
  371. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[callpk.astppbilling.org]
  372. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(presence_data=x|||admin's(8243029697)|||||||||DID|||46.101.114.158)
  373. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||admin's(8243029697)|||||||||DID|||46.101.114.158]
  374. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(call_type=0)
  375. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  376. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(calltype=DID-LOCAL)
  377. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [calltype]=[DID-LOCAL]
  378. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 db(insert/pickup_any_group_/6239515281/a4da267e-8e7b-4558-b5c8-5a6680d20769)
  379. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(dialed_extension=transfer_call)
  380. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [dialed_extension]=[transfer_call]
  381. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(dialed_extension=transfer_call)
  382. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  383. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  384. 2022-01-11 13:05:47.500051 93.10% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  385. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  386. 2022-01-11 13:05:47.500051 93.10% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  387. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(hangup_after_bridge=true)
  388. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [hangup_after_bridge]=[true]
  389. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(did_user_domain=callpk.astppbilling.org)
  390. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[callpk.astppbilling.org]
  391. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 db(insert/pickup_any_group_/6239515281/a4da267e-8e7b-4558-b5c8-5a6680d20769)
  392. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(dialed_extension=transfer_call)
  393. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [dialed_extension]=[transfer_call]
  394. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 export(dialed_extension=transfer_call)
  395. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  396. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  397. 2022-01-11 13:05:47.500051 93.10% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  398. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  399. 2022-01-11 13:05:47.500051 93.10% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  400. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(transfer_ringback=local_stream://moh)
  401. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  402. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(hangup_after_bridge=true)
  403. 2022-01-11 13:05:47.500051 93.10% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [hangup_after_bridge]=[true]
  404. EXECUTE [depth=0] sofia/ExternalSIPProfile/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=60 ] user/6239515281@callpk.astppbilling.org)
  405. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [is_recording]=[1] to event
  406. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  407. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  408. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  409. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/a4da267e-8e7b-4558-b5c8-5a6680d20769DID-LOCAL_4.wav] to event
  410. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [domain_name]=[callpk.astppbilling.org] to event
  411. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[callpk.astppbilling.org] to event
  412. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||admin's(8243029697)|||||||||DID|||46.101.114.158] to event
  413. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  414. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  415. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[callpk.astppbilling.org] to event
  416. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  417. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  418. 2022-01-11 13:05:47.500051 93.10% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  419. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [is_recording]=[1] to event
  420. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  421. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  422. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  423. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/a4da267e-8e7b-4558-b5c8-5a6680d20769DID-LOCAL_4.wav] to event
  424. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [domain_name]=[callpk.astppbilling.org] to event
  425. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[callpk.astppbilling.org] to event
  426. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||admin's(8243029697)|||||||||DID|||46.101.114.158] to event
  427. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  428. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  429. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[callpk.astppbilling.org] to event
  430. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_channel.c:1269 sofia/ExternalSIPProfile/1604785422@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  431. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  432. 2022-01-11 13:05:47.520053 93.10% [NOTICE] switch_channel.c:1123 New Channel sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 [7d559233-7b5e-4cb5-ab64-7e922141ad64]
  433. 2022-01-11 13:05:47.520053 93.10% [DEBUG] mod_sofia.c:5121 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State Change CS_NEW -> CS_INIT
  434. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_ivr_originate.c:3151 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 Setting leg timeout to 60
  435. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Running State Change CS_INIT (Cur 2 Tot 1041)
  436. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:624 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State INIT
  437. 2022-01-11 13:05:47.520053 93.10% [DEBUG] mod_sofia.c:97 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 SOFIA INIT
  438. 2022-01-11 13:05:47.520053 93.10% [INFO] sofia_glue.c:1651 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 sending invite call-id: (null)
  439. 2022-01-11 13:05:47.520053 93.10% [DEBUG] sofia_glue.c:1654 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  440. Local SDP:
  441. v=0
  442. o=FreeSWITCH 1641884241 1641884242 IN IP4 172.31.36.75
  443. s=FreeSWITCH
  444. c=IN IP4 172.31.36.75
  445. t=0 0
  446. m=audio 22106 RTP/AVP 0 101
  447. a=rtpmap:0 PCMU/8000
  448. a=rtpmap:101 telephone-event/8000
  449. a=fmtp:101 0-15
  450. a=ptime:20
  451. a=sendrecv
  452.  
  453. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:40 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 Standard INIT
  454. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:48 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State Change CS_INIT -> CS_ROUTING
  455. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:624 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State INIT going to sleep
  456. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Running State Change CS_ROUTING (Cur 2 Tot 1041)
  457. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:640 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State ROUTING
  458. 2022-01-11 13:05:47.520053 93.10% [DEBUG] mod_sofia.c:158 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 SOFIA ROUTING
  459. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_ivr_originate.c:67 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  460. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:640 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State ROUTING going to sleep
  461. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 1041)
  462. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:659 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State CONSUME_MEDIA
  463. 2022-01-11 13:05:47.520053 93.10% [DEBUG] switch_core_state_machine.c:659 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State CONSUME_MEDIA going to sleep
  464. 2022-01-11 13:05:47.520053 93.10% [DEBUG] sofia.c:7499 Channel sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 entering state [calling][0]
  465. 2022-01-11 13:06:00.240105 93.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [6666@65.0.92.207] from ip 117.247.91.162
  466. 2022-01-11 13:06:00.280076 93.23% [WARNING] sofia_reg.c:3223 Can't find user [6666@65.0.92.207] from 117.247.91.162
  467. You must define a domain called '65.0.92.207' in your directory and add a user with the id="6666" attribute
  468. and you must configure your device to use the proper domain in its authentication credentials.
  469. 2022-01-11 13:06:00.280076 93.23% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [6666@65.0.92.207] from ip 117.247.91.162
  470. 2022-01-11 13:06:19.540058 94.00% [DEBUG] sofia.c:7499 Channel sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 entering state [terminated][408]
  471. 2022-01-11 13:06:19.540058 94.00% [NOTICE] sofia.c:8738 Hangup sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE]
  472. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Running State Change CS_HANGUP (Cur 2 Tot 1041)
  473. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:844 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Callstate Change DOWN -> HANGUP
  474. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:846 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State HANGUP
  475. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_sofia.c:468 Channel sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
  476. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:59 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
  477. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:846 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State HANGUP going to sleep
  478. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:616 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State Change CS_HANGUP -> CS_REPORTING
  479. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Running State Change CS_REPORTING (Cur 2 Tot 1041)
  480. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_core_state_machine.c:932 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State REPORTING
  481. 2022-01-11 13:06:19.540058 94.00% [INFO] mod_json_cdr.c:271 Process [7d559233-7b5e-4cb5-ab64-7e922141ad64.cdr.json]
  482. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE]
  483. 2022-01-11 13:06:19.540058 94.00% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [RECOVERY_ON_TIMER_EXPIRE]
  484. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE]
  485. 2022-01-11 13:06:19.540058 94.00% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: RECOVERY_ON_TIMER_EXPIRE
  486. 2022-01-11 13:06:19.540058 94.00% [DEBUG] switch_channel.c:4981 Continue on fail [ACCOUNT_INACTIVE_DELETED,ACCOUNT_EXPIRE,ALLOTTED_TIMEOUT,AUTHENTICATION_FAIL,BEARERCAPABILITY_NOTAUTH,BEARERCAPABILITY_NOTAVAIL,BEARERCAPABILITY_NOTIMPL,CALL_REJECTED,CHAN_NOT_IMPLEMENTED,CHANNEL_UNACCEPTABLE,DESTINATION_OUT_OF_ORDER,DESTINATION_BLOCKED,DID_DESTINATION_NOT_FOUND,FACILITY_REJECTED,FACILITY_NOT_SUBSCRIBED,FACILITY_NOT_IMPLEMENTED,FRAUD_CALL_PER_ACCOUNT,FRAUD_COST_PER_ACCOUNT,FRAUD_COST_PER_DESTINATION,INVALID_NUMBER_FORMAT,INCOMPATIBLE_DESTINATION,MANAGER_REQUEST,MEDIA_TIMEOUT,MANDATORY_IE_MISSING [96],NO_ROUTE_DESTINATION,NORMAL_CLEARING,NETWORK_OUT_OF_ORDER,NORMAL_UNSPECIFIED,NORMAL_CIRCUIT_CONGESTION,NORMAL_TEMPORARY_FAILURE,NO_SUFFICIENT_FUND,NO_USER_RESPONSE,NO_ANSWER,NUMBER_CHANGED,ORIGINATOR_CANCEL,ORIGINATION_RATE_NOT_FOUND,OUTGOING_CALL_BARRED,PROGRESS_TIMEOUT,RECOVERY_ON_TIMER_EXPIRE,RESELLER_COST_CHEAP,SERVICE_NOT_IMPLEMENTED,SERVICE_UNAVAILABLE,SUCCESS,SWITCH_CONGESTION,TERMINATION_RATE_NOT_FOUND,UNSPECIFIED,UNALLOCATED_NUMBER,USER_BUSY,USER_NOT_REGISTERED,REQUESTED_CHAN_UNAVAIL,SUBSCRIBER_ABSENT]:  Cause: RECOVERY_ON_TIMER_EXPIRE
  487. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(on_busy_flag=1)
  488. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [on_busy_flag]=[1]
  489. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(on_busy_destination=)
  490. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [on_busy_destination]=[UNDEF]
  491. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(no_answer_flag=1)
  492. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [no_answer_flag]=[1]
  493. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(no_answer_destination=)
  494. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [no_answer_destination]=[UNDEF]
  495. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(not_register_flag=1)
  496. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [not_register_flag]=[1]
  497. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(not_register_destination=)
  498. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [not_register_destination]=[UNDEF]
  499. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(opensips_flag=1)
  500. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [opensips_flag]=[1]
  501. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(variable_sip_to_host=callpk.astppbilling.org)
  502. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [variable_sip_to_host]=[callpk.astppbilling.org]
  503. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(opensips_domain=127.0.0.1)
  504. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [opensips_domain]=[127.0.0.1]
  505. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(leg_timeout=60)
  506. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [leg_timeout]=[60]
  507. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(userinfo_id=4)
  508. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [userinfo_id]=[4]
  509. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(sip_destination_number=6239515281)
  510. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [sip_destination_number]=[6239515281]
  511. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(did_number=6239515281)
  512. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [did_number]=[6239515281]
  513. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(user_domain=callpk.astppbilling.org)
  514. 2022-01-11 13:06:19.540058 94.00% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [user_domain]=[callpk.astppbilling.org]
  515. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  516. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes')
  517. 2022-01-11 13:06:19.580050 93.90% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions RECOVERY_ON_TIMER_EXPIRE This Is SIP Number : 6239515281
  518. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 answer()
  519. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_state_machine.c:168 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
  520. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_state_machine.c:932 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State REPORTING going to sleep
  521. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_state_machine.c:607 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State Change CS_REPORTING -> CS_DESTROY
  522. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_session.c:1753 Session 1041 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Locked, Waiting on external entities
  523. 2022-01-11 13:06:19.580050 93.90% [NOTICE] switch_core_session.c:1771 Session 1041 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Ended
  524. 2022-01-11 13:06:19.580050 93.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 [CS_DESTROY]
  525. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_state_machine.c:735 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) Running State Change CS_DESTROY (Cur 1 Tot 1041)
  526. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_state_machine.c:745 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State DESTROY
  527. 2022-01-11 13:06:19.580050 93.90% [DEBUG] mod_sofia.c:379 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 SOFIA DESTROY
  528. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_state_machine.c:175 sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337 Standard DESTROY
  529. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_state_machine.c:745 (sofia/ExternalSIPProfile/6239515281@192.168.1.13:56337) State DESTROY going to sleep
  530. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/ExternalSIPProfile/1604785422@46.101.114.158] 172.31.36.75 port 17394 -> 46.101.114.158 port 31302 codec: 0 ms: 20
  531. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_rtp.c:4641 Not using a timer
  532. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_media.c:9089 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Set 2833 dtmf send payload to 101
  533. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_media.c:9096 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Set 2833 dtmf receive payload to 101
  534. 2022-01-11 13:06:19.580050 93.90% [DEBUG] switch_core_media.c:9119 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Set rtp dtmf delay to 40
  535. 2022-01-11 13:06:19.580050 93.90% [DEBUG] mod_sofia.c:913 Local SDP sofia/ExternalSIPProfile/1604785422@46.101.114.158:
  536. v=0
  537. o=FreeSWITCH 1641888985 1641888986 IN IP4 172.31.36.75
  538. s=FreeSWITCH
  539. c=IN IP4 172.31.36.75
  540. t=0 0
  541. m=audio 17394 RTP/AVP 0 101
  542. a=rtpmap:0 PCMU/8000
  543. a=rtpmap:101 telephone-event/8000
  544. a=fmtp:101 0-15
  545. a=ptime:20
  546. a=sendrecv
  547.  
  548. 2022-01-11 13:06:19.580050 93.90% [NOTICE] mod_dptools.c:1419 Channel [sofia/ExternalSIPProfile/1604785422@46.101.114.158] has been answered
  549. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 record_session(/var/lib/freeswitch/recordings/a4da267e-8e7b-4558-b5c8-5a6680d20769DID-LOCAL_4.wav)
  550. 2022-01-11 13:06:19.580050 93.90% [DEBUG] sofia.c:7499 Channel sofia/ExternalSIPProfile/1604785422@46.101.114.158 entering state [completed][200]
  551. 2022-01-11 13:06:19.600055 93.90% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  552. 2022-01-11 13:06:19.600055 93.90% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/ExternalSIPProfile/1604785422@46.101.114.158
  553. 2022-01-11 13:06:19.600055 93.90% [DEBUG] switch_channel.c:3950 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Callstate Change RINGING -> ACTIVE
  554. 2022-01-11 13:06:19.600055 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes')
  555. 2022-01-11 13:06:19.621473 93.90% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] dialed_user for voicemail::: 6239515281
  556. 2022-01-11 13:06:19.621473 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_sip_devices] Query :SELECT id,name_greeting,busy_greeting,temporary_greeting,unavailable_greeting from sip_devices WHERE username = 6239515281 and accountid = 4 and status=0 LIMIT 1
  557. 2022-01-11 13:06:19.621473 93.90% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :6239515281
  558. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 voicemail(default callpk.astppbilling.org 6239515281)
  559. 2022-01-11 13:06:19.621473 93.90% [WARNING] mod_voicemail.c:3455 User [6239515281@callpk.astppbilling.org] have voicemail disabled
  560. 2022-01-11 13:06:19.621473 93.90% [DEBUG] switch_cpp.cpp:1209 sofia/ExternalSIPProfile/1604785422@46.101.114.158 destroy/unlink session from object
  561. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(on_busy_flag=1)
  562. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [on_busy_flag]=[1]
  563. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(on_busy_destination=)
  564. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [on_busy_destination]=[UNDEF]
  565. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(no_answer_flag=1)
  566. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [no_answer_flag]=[1]
  567. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(no_answer_destination=)
  568. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [no_answer_destination]=[UNDEF]
  569. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(not_register_flag=1)
  570. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [not_register_flag]=[1]
  571. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(not_register_destination=)
  572. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [not_register_destination]=[UNDEF]
  573. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(opensips_flag=1)
  574. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [opensips_flag]=[1]
  575. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(variable_sip_to_host=callpk.astppbilling.org)
  576. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [variable_sip_to_host]=[callpk.astppbilling.org]
  577. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(opensips_domain=127.0.0.1)
  578. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [opensips_domain]=[127.0.0.1]
  579. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(leg_timeout=60)
  580. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [leg_timeout]=[60]
  581. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(userinfo_id=4)
  582. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [userinfo_id]=[4]
  583. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(sip_destination_number=6239515281)
  584. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [sip_destination_number]=[6239515281]
  585. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(destination_number=10444)
  586. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [destination_number]=[10444]
  587. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(did_number=10444)
  588. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [did_number]=[10444]
  589. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 set(user_domain=callpk.astppbilling.org)
  590. 2022-01-11 13:06:19.621473 93.90% [DEBUG] mod_dptools.c:1685 SET sofia/ExternalSIPProfile/1604785422@46.101.114.158 [user_domain]=[callpk.astppbilling.org]
  591. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  592. 2022-01-11 13:06:19.660053 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes')
  593. 2022-01-11 13:06:19.660053 93.90% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions RECOVERY_ON_TIMER_EXPIRE This Is SIP Number : 6239515281
  594. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 answer()
  595. 2022-01-11 13:06:19.660053 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes')
  596. 2022-01-11 13:06:19.681004 93.90% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] dialed_user for voicemail::: 6239515281
  597. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_sip_devices] Query :SELECT id,name_greeting,busy_greeting,temporary_greeting,unavailable_greeting from sip_devices WHERE username = 6239515281 and accountid = 4 and status=0 LIMIT 1
  598. 2022-01-11 13:06:19.681004 93.90% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :6239515281
  599. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 voicemail(default callpk.astppbilling.org 6239515281)
  600. 2022-01-11 13:06:19.681004 93.90% [WARNING] mod_voicemail.c:3455 User [6239515281@callpk.astppbilling.org] have voicemail disabled
  601. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_cpp.cpp:1209 sofia/ExternalSIPProfile/1604785422@46.101.114.158 destroy/unlink session from object
  602. EXECUTE [depth=0] sofia/ExternalSIPProfile/1604785422@46.101.114.158 hangup(RECOVERY_ON_TIMER_EXPIRE)
  603. 2022-01-11 13:06:19.681004 93.90% [NOTICE] mod_dptools.c:1387 Hangup sofia/ExternalSIPProfile/1604785422@46.101.114.158 [CS_EXECUTE] [RECOVERY_ON_TIMER_EXPIRE]
  604. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_session.c:2983 sofia/ExternalSIPProfile/1604785422@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  605. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:647 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State EXECUTE going to sleep
  606. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 1041)
  607. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_channel.c:3990 sofia/ExternalSIPProfile/1604785422@46.101.114.158 skip receive message [VIDEO_SYNC] (channel is hungup already)
  608. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/a4da267e-8e7b-4558-b5c8-5a6680d20769DID-LOCAL_4.wav
  609. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_ivr_async.c:1664 Discarding empty file /var/lib/freeswitch/recordings/a4da267e-8e7b-4558-b5c8-5a6680d20769DID-LOCAL_4.wav
  610. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/ExternalSIPProfile/1604785422@46.101.114.158
  611. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:844 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  612. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:846 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State HANGUP
  613. 2022-01-11 13:06:19.681004 93.90% [DEBUG] mod_sofia.c:462 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Overriding SIP cause 504 with 408 from the other leg
  614. 2022-01-11 13:06:19.681004 93.90% [DEBUG] mod_sofia.c:468 Channel sofia/ExternalSIPProfile/1604785422@46.101.114.158 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
  615. 2022-01-11 13:06:19.681004 93.90% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/ExternalSIPProfile/1604785422@46.101.114.158
  616. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:59 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
  617. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:846 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State HANGUP going to sleep
  618. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:616 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  619. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:581 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 1041)
  620. 2022-01-11 13:06:19.681004 93.90% [DEBUG] switch_core_state_machine.c:932 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State REPORTING
  621. 2022-01-11 13:06:19.681004 93.90% [INFO] mod_json_cdr.c:271 Process [a4da267e-8e7b-4558-b5c8-5a6680d20769.cdr.json]
  622. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_state_machine.c:168 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
  623. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_state_machine.c:932 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State REPORTING going to sleep
  624. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_state_machine.c:607 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  625. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_session.c:1753 Session 1040 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Locked, Waiting on external entities
  626. 2022-01-11 13:06:19.760068 93.90% [NOTICE] switch_core_session.c:1771 Session 1040 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Ended
  627. 2022-01-11 13:06:19.760068 93.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/ExternalSIPProfile/1604785422@46.101.114.158 [CS_DESTROY]
  628. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_state_machine.c:735 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 1041)
  629. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_state_machine.c:745 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State DESTROY
  630. 2022-01-11 13:06:19.760068 93.90% [DEBUG] mod_sofia.c:379 sofia/ExternalSIPProfile/1604785422@46.101.114.158 SOFIA DESTROY
  631. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_state_machine.c:175 sofia/ExternalSIPProfile/1604785422@46.101.114.158 Standard DESTROY
  632. 2022-01-11 13:06:19.760068 93.90% [DEBUG] switch_core_state_machine.c:745 (sofia/ExternalSIPProfile/1604785422@46.101.114.158) State DESTROY going to sleep
  633. freeswitch@ip-172-31-36-75>
  634. freeswitch@ip-172-31-36-75>
  635. freeswitch@ip-172-31-36-75> /exit
  636.