From Prashant Kumar, 4 Months ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2. +OK log level  [7]
  3. freeswitch@betaAlpesh>
  4. freeswitch@betaAlpesh>
  5. freeswitch@betaAlpesh>
  6. 2023-12-15 03:25:31.907525 92.70% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9603535741@3.110.187.230 [8a052e9e-89f8-4456-8533-13f2d3255fcf]
  7. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 110)
  8. 2023-12-15 03:25:31.907525 92.70% [INFO] sofia.c:10459 sofia/default/9603535741@3.110.187.230 receiving invite from 65.109.231.66:5060 version: 1.10.10-release  64bit call-id: 71780c6d-159c-123d-9793-021eb38071a8
  9. 2023-12-15 03:25:31.907525 92.70% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 65.109.231.66:0.
  10. 2023-12-15 03:25:31.907525 92.70% [DEBUG] sofia.c:10582 IP 65.109.231.66 Approved by acl "default[]". Access Granted.
  11. 2023-12-15 03:25:31.907525 92.70% [DEBUG] sofia.c:7493 Channel sofia/default/9603535741@3.110.187.230 entering state [received][100]
  12. 2023-12-15 03:25:31.907525 92.70% [DEBUG] sofia.c:7503 Remote SDP:
  13. v=0
  14. o=FreeSWITCH 1702591809 1702591810 IN IP4 3.110.187.230
  15. s=FreeSWITCH
  16. c=IN IP4 3.110.187.230
  17. t=0 0
  18. m=audio 18922 RTP/AVP 8 18 101
  19. a=rtpmap:8 PCMA/8000
  20. a=rtpmap:18 G729/8000
  21. a=rtpmap:101 telephone-event/8000
  22. a=fmtp:101 0-15
  23. a=ptime:20
  24.  
  25. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  26. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  27. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  31. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/9603535741@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  32. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_codec.c:111 sofia/default/9603535741@3.110.187.230 Original read codec set to PCMA:8
  33. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  34. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_media.c:5856 sofia/default/9603535741@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101
  35. 2023-12-15 03:25:31.907525 92.70% [DEBUG] sofia.c:7927 (sofia/default/9603535741@3.110.187.230) State Change CS_NEW -> CS_INIT
  36. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9603535741@3.110.187.230) State NEW
  37. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 110)
  38. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9603535741@3.110.187.230) State INIT
  39. 2023-12-15 03:25:31.907525 92.70% [DEBUG] mod_sofia.c:97 sofia/default/9603535741@3.110.187.230 SOFIA INIT
  40. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/9603535741@3.110.187.230 Standard INIT
  41. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9603535741@3.110.187.230) State Change CS_INIT -> CS_ROUTING
  42. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9603535741@3.110.187.230) State INIT going to sleep
  43. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 110)
  44. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_channel.c:2399 (sofia/default/9603535741@3.110.187.230) Callstate Change DOWN -> RINGING
  45. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9603535741@3.110.187.230) State ROUTING
  46. 2023-12-15 03:25:31.907525 92.70% [DEBUG] mod_sofia.c:158 sofia/default/9603535741@3.110.187.230 SOFIA ROUTING
  47. 2023-12-15 03:25:31.907525 92.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/9603535741@3.110.187.230 Standard ROUTING
  48. 2023-12-15 03:25:31.907525 92.70% [INFO] mod_dialplan_xml.c:639 Processing 9603535741 <9603535741>->1200040 in context default
  49. 2023-12-15 03:25:31.927517 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  50. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  51. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  52. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2023-12-15 03:25:31.927517 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  54. 2023-12-15 03:25:31.927517 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1200040
  55. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1200040' limit 1
  56. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  57. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1200040' and status=0 LIMIT 1
  58. 2023-12-15 03:25:31.927517 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+AutomationBeta
  59. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '65.109.231.66' limit 1
  61. 2023-12-15 03:25:31.927517 92.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  62. 2023-12-15 03:25:31.927517 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "9603535741" / 9603535741
  63. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  64. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 120004 AND status=0 limit 1
  65. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  66. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  67. 2023-12-15 03:25:31.927517 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  68. 2023-12-15 03:25:31.927517 92.70% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1200040" LIMIT 1
  69. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  71. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 3.110.187.230
  72. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  73. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1
  74. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  75. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  76. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  77. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  78. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 6
  79. 2023-12-15 03:25:31.947499 92.70% [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 P.is_terminated = 0 AND (patterns = '^1200040.*' OR patterns = '^120004.*' OR patterns = '^12000.*' OR patterns = '^1200.*' OR patterns = '^120.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  80. 2023-12-15 03:25:31.947499 92.70% [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 ="1200040" AND A.accountid = '3' limit 1
  81. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1200040
  82. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  83. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  84. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  85. 2023-12-15 03:25:31.947499 92.70% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1200040" LIMIT 1
  86. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  88. 2023-12-15 03:25:31.947499 92.70% [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 = '1200040' OR number = '120004' OR number = '12000' OR number = '1200' OR number = '120' OR number = '12' OR number = '1' OR number ='--') OR (number = '1200040*' OR number = '120004*' OR number = '12000*' OR number = '1200*' OR number = '120*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '9603535741' OR number = '960353574' OR number = '96035357' OR number = '9603535' OR number = '960353' OR number = '96035' OR number = '9603' OR number = '960' OR number = '96' OR number = '9' OR number ='--') OR (number = '9603535741*' OR number = '960353574*' OR number = '96035357*' OR number = '9603535*' OR number = '960353*' OR number = '96035*' OR number = '9603*' OR number = '960*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  89. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  90. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1200040' OR routing_prefix = '120004' OR routing_prefix = '12000' OR routing_prefix = '1200' OR routing_prefix = '120' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  91. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  92. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  93. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  94. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  95. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49981.2
  96. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  97. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  98. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  99. 2023-12-15 03:25:31.947499 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  100. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  101. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  102. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  103. 2023-12-15 03:25:31.947499 92.70% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1200040" LIMIT 1
  104. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  105. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 6  and status = 0 limit 1
  106. 2023-12-15 03:25:31.947499 92.70% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1200040" LIMIT 1
  107. 2023-12-15 03:25:31.947499 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  108. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  109. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  110. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 43
  111. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  112. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  113. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.99000
  114. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1200040
  115. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 137
  116. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  117. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  118. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  119. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49981.2 balance Accountid 3 !!!
  120. 2023-12-15 03:25:31.967491 92.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  121. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  122. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  123. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  124. 2023-12-15 03:25:31.967491 92.70% [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
  125. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "6" OR number = "6") AND deleted = 0 limit 1
  126. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6
  127. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  128. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  129. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  130. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
  131. 2023-12-15 03:25:31.967491 92.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation2betav601.astppbilling.org
  132. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 1000
  133. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+AutomationBeta' and status = 0 limit 1
  134. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  135. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  136. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  137. 2023-12-15 03:25:31.967491 92.70% [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 = "6" AND accounts.status = 0
  138. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :1200040
  139. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :1200040
  140. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
  141. 2023-12-15 03:25:31.967491 92.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation2betav601.astppbilling.org
  142. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  143. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 6 or id = 6 ) and status = 0 limit 1
  144. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  145. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  146. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '6' LIMIT 1
  147. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option -
  148. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  149. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  150. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 6 and status = 0 LIMIT 1
  151. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::0
  152. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  153. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  154. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check call route through TC to RG :SELECT username FROM sip_devices WHERE username = 'gw+AutomationBeta' and status = 0 limit 1
  155. 2023-12-15 03:25:31.967491 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 3 limit 1
  156. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  157. 2023-12-15 03:25:31.967491 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  158. 2023-12-15 03:25:31.967491 92.70% [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="9291468687"  AND domains.domain="automation2betav601.astppbilling.org" limit 1
  159. 2023-12-15 03:25:31.967491 92.70% [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
  160. 2023-12-15 03:25:31.987522 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  161. 2023-12-15 03:25:31.987522 92.70% [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="9291468687"  AND domains.domain="automation2betav601.astppbilling.org" limit 1
  162. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "9291468687"
  163. 2023-12-15 03:25:31.987522 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3]
  164. 2023-12-15 03:25:31.987522 92.70% [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="9291468687"  AND domains.domain="automation2betav601.astppbilling.org" limit 1
  165. 2023-12-15 03:25:31.987522 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  166. 2023-12-15 03:25:31.987522 92.70% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=9291468687,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/${sofia_profile_name}/9291468687@automation2betav601.astppbilling.org:5060|
  167. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${be-ring}' LIMIT 1
  168. 2023-12-15 03:25:31.987522 92.70% [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
  169. 2023-12-15 03:25:31.987522 92.70% [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
  170. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  171. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  172. <document type="freeswitch/xml">
  173. <section name="dialplan" description="ASTPP Dialplan">
  174. <context name="default">
  175. <extension name="1200040">
  176. <condition field="destination_number" expression="1200040">
  177. <action application="set" data="effective_destination_number=1200040"/>
  178. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  179. <action application="set" data="bridge_pre_execute_bleg_data=+60000 normal_clearing"/>
  180. <action application="set" data="notify_flag=0"/>
  181. <action application="set" data="notify_credit_limit=0.00000"/>
  182. <action application="set" data="type=3"/>
  183. <action application="set" data="callstart=2023-12-15 03:25:31"/>
  184. <action application="set" data="hangup_after_bridge=true"/>
  185. <action application="set" data="continue_on_fail=TRUE"/>
  186. <action application="set" data="account_id=3"/>
  187. <action application="set" data="parent_id=0"/>
  188. <action application="set" data="entity_id=3"/>
  189. <action application="set" data="call_processed=internal"/>
  190. <action application="set" data="call_direction=inbound"/>
  191. <action application="set" data="accountname=default"/>
  192. <action application="set" data="filename1=astpp.pbx.lua"/>
  193. <action application="set" data="origination_rates_did=ID:43|CODE:^1200040.*|DESTINATION:1200040|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:137|ACCID:3"/>
  194. <action application="set" data="origination_rates=0"/>
  195. <action application="set" data="original_caller_id_name="9603535741""/>
  196. <action application="set" data="original_caller_id_number=9603535741"/>
  197. <action application="export" data="is_recording=1"/>
  198. <action application="export" data="media_bug_answer_req=true"/>
  199. <action application="export" data="RECORD_STEREO=true"/>
  200. <action application="export" data="record_sample_rate=8000"/>
  201. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  202. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  203. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  204. <action application="set" data="effective_caller_id_name="9603535741""/>
  205. <action application="set" data="effective_caller_id_number=9603535741"/>
  206. <action application="set" data="receiver_accid=6"/>
  207. <action application="export" data="domain_name=automation2betav601.astppbilling.org"/>
  208. <action application="export" data="sip_to_host=automation2betav601.astppbilling.org"/>
  209. <action application="export" data="presence_data=x|||default(3673942894)|||^1200040.* // 1200040 // 0.99000|||||||||DID|||3.110.187.230"/>
  210. <action application="export" data="call_type=7"/>
  211. <action application="set" data="did_calltype=7"/>
  212. <action application="set" data="did_extensions=6"/>
  213. <action application="set" data="daily_call_credit_limit=0.00000"/>
  214. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  215. <action application="set" data="daily_call_used_limit=0.00000"/>
  216. <action application="set" data="monthly_call_used_limit=0.00000"/>
  217. <action application="export" data="is_recording=1"/>
  218. <action application="export" data="media_bug_answer_req=true"/>
  219. <action application="export" data="RECORD_STEREO=true"/>
  220. <action application="export" data="record_sample_rate=8000"/>
  221. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  222. <action application="set" data="group_confirm_key=exec"/>
  223. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  224. <action application="set" data="ringback=${be-ring}"/>
  225. <action application="set" data="module_name=pbx"/>
  226. <action application="db" data="insert/pickup_any_group_${callgroup}/6/${uuid}"/>
  227. <action application="hash" data="insert/${domain_name}-call_return/9291468687/${caller_id_number}"/>
  228. <action application="set" data="dialed_extension=transfer_call"/>
  229. <action application="export" data="dialed_extension=transfer_call"/>
  230. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  231. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  232. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  233. <action application="export" data="ring_group_transfer=true"/>
  234. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  235. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=9291468687,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/${sofia_profile_name}/9291468687@automation2betav601.astppbilling.org:5060|"/>
  236. <action application="set" data="original_did_number=1200040"/>
  237. <action application="set" data="no_answer_number="/>
  238. <action application="set" data="no_answer_call_type=timecondition"/>
  239. <action application="set" data="no_answer_call_type_value=4"/>
  240. <action application="set" data="variable_sip_to_host=automation2betav601.astppbilling.org"/>
  241. <action application="set" data="userinfo_id=3"/>
  242. <action application="set" data="variable_sip_to_host=automation2betav601.astppbilling.org"/>
  243. <action application="set" data="opensips_flag=0"/>
  244. <action application="lua" data="astpp/lib/pbx/astpp.ring_group_destination.lua"/>
  245. </condition>
  246. </extension>
  247. </context>
  248. </section>
  249. </document>
  250. Dialplan: sofia/default/9603535741@3.110.187.230 parsing [default->1200040] continue=false
  251. Dialplan: sofia/default/9603535741@3.110.187.230 Regex (PASS) [1200040] destination_number(1200040) =~ /1200040/ break=on-false
  252. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(effective_destination_number=1200040)
  253. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  254. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  255. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(notify_flag=0)
  256. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(notify_credit_limit=0.00000)
  257. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(type=3)
  258. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(callstart=2023-12-15 03:25:31)
  259. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(hangup_after_bridge=true)
  260. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(continue_on_fail=TRUE)
  261. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(account_id=3)
  262. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(parent_id=0)
  263. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(entity_id=3)
  264. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(call_processed=internal)
  265. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(call_direction=inbound)
  266. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(accountname=default)
  267. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(filename1=astpp.pbx.lua)
  268. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(origination_rates_did=ID:43|CODE:^1200040.*|DESTINATION:1200040|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:137|ACCID:3)
  269. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(origination_rates=0)
  270. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(original_caller_id_name=)
  271. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(original_caller_id_number=9603535741)
  272. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(is_recording=1)
  273. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(media_bug_answer_req=true)
  274. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(RECORD_STEREO=true)
  275. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(record_sample_rate=8000)
  276. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  277. Dialplan: sofia/default/9603535741@3.110.187.230 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  278. Dialplan: sofia/default/9603535741@3.110.187.230 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  279. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(effective_caller_id_name=)
  280. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(effective_caller_id_number=9603535741)
  281. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(receiver_accid=6)
  282. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(domain_name=automation2betav601.astppbilling.org)
  283. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(sip_to_host=automation2betav601.astppbilling.org)
  284. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(presence_data=x|||default(3673942894)|||^1200040.* // 1200040 // 0.99000|||||||||DID|||3.110.187.230)
  285. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(call_type=7)
  286. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(did_calltype=7)
  287. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(did_extensions=6)
  288. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(daily_call_credit_limit=0.00000)
  289. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(monthly_call_credit_limit=0.00000)
  290. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(daily_call_used_limit=0.00000)
  291. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(monthly_call_used_limit=0.00000)
  292. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(is_recording=1)
  293. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(media_bug_answer_req=true)
  294. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(RECORD_STEREO=true)
  295. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(record_sample_rate=8000)
  296. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  297. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(group_confirm_key=exec)
  298. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  299. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(ringback=${be-ring})
  300. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(module_name=pbx)
  301. Dialplan: sofia/default/9603535741@3.110.187.230 Action db(insert/pickup_any_group_${callgroup}/6/${uuid})
  302. Dialplan: sofia/default/9603535741@3.110.187.230 Action hash(insert/${domain_name}-call_return/9291468687/${caller_id_number})
  303. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(dialed_extension=transfer_call)
  304. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(dialed_extension=transfer_call)
  305. Dialplan: sofia/default/9603535741@3.110.187.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  306. Dialplan: sofia/default/9603535741@3.110.187.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  307. Dialplan: sofia/default/9603535741@3.110.187.230 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  308. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(ring_group_transfer=true)
  309. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(fail_on_single_reject=CALL_REJECTED)
  310. Dialplan: sofia/default/9603535741@3.110.187.230 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=9291468687,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/${sofia_profile_name}/9291468687@automation2betav601.astppbilling.org:5060|)
  311. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(original_did_number=1200040)
  312. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(no_answer_number=)
  313. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(no_answer_call_type=timecondition)
  314. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(no_answer_call_type_value=4)
  315. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(variable_sip_to_host=automation2betav601.astppbilling.org)
  316. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(userinfo_id=3)
  317. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(variable_sip_to_host=automation2betav601.astppbilling.org)
  318. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(opensips_flag=0)
  319. Dialplan: sofia/default/9603535741@3.110.187.230 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  320. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9603535741@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  321. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9603535741@3.110.187.230) State ROUTING going to sleep
  322. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 110)
  323. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9603535741@3.110.187.230) State EXECUTE
  324. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_sofia.c:213 sofia/default/9603535741@3.110.187.230 SOFIA EXECUTE
  325. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/9603535741@3.110.187.230 Standard EXECUTE
  326. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(effective_destination_number=1200040)
  327. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [effective_destination_number]=[1200040]
  328. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(bridge_pre_execute_bleg_app=sched_hangup)
  329. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [bridge_pre_execute_bleg_app]=[sched_hangup]
  330. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  331. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing]
  332. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(notify_flag=0)
  333. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [notify_flag]=[0]
  334. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(notify_credit_limit=0.00000)
  335. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [notify_credit_limit]=[0.00000]
  336. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(type=3)
  337. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [type]=[3]
  338. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(callstart=2023-12-15 03:25:31)
  339. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [callstart]=[2023-12-15 03:25:31]
  340. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(hangup_after_bridge=true)
  341. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [hangup_after_bridge]=[true]
  342. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(continue_on_fail=TRUE)
  343. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [continue_on_fail]=[TRUE]
  344. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(account_id=3)
  345. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [account_id]=[3]
  346. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(parent_id=0)
  347. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [parent_id]=[0]
  348. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(entity_id=3)
  349. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [entity_id]=[3]
  350. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(call_processed=internal)
  351. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [call_processed]=[internal]
  352. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(call_direction=inbound)
  353. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [call_direction]=[inbound]
  354. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(accountname=default)
  355. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [accountname]=[default]
  356. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(filename1=astpp.pbx.lua)
  357. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [filename1]=[astpp.pbx.lua]
  358. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(origination_rates_did=ID:43|CODE:^1200040.*|DESTINATION:1200040|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:137|ACCID:3)
  359. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [origination_rates_did]=[ID:43|CODE:^1200040.*|DESTINATION:1200040|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:137|ACCID:3]
  360. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(origination_rates=0)
  361. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [origination_rates]=[0]
  362. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(original_caller_id_name=)
  363. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [original_caller_id_name]=[UNDEF]
  364. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(original_caller_id_number=9603535741)
  365. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [original_caller_id_number]=[9603535741]
  366. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(is_recording=1)
  367. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  368. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(media_bug_answer_req=true)
  369. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  370. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(RECORD_STEREO=true)
  371. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [RECORD_STEREO]=[true]
  372. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(record_sample_rate=8000)
  373. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  374. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav)
  375. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav]
  376. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 hash(insert/65.109.231.66-last_dial/9603535741/1200040)
  377. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 hash(insert/65.109.231.66-call_return/1200040/9603535741)
  378. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(effective_caller_id_name=)
  379. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [effective_caller_id_name]=[UNDEF]
  380. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(effective_caller_id_number=9603535741)
  381. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [effective_caller_id_number]=[9603535741]
  382. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(receiver_accid=6)
  383. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [receiver_accid]=[6]
  384. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(domain_name=automation2betav601.astppbilling.org)
  385. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[automation2betav601.astppbilling.org]
  386. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(sip_to_host=automation2betav601.astppbilling.org)
  387. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[automation2betav601.astppbilling.org]
  388. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(presence_data=x|||default(3673942894)|||^1200040.* // 1200040 // 0.99000|||||||||DID|||3.110.187.230)
  389. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^1200040.* // 1200040 // 0.99000|||||||||DID|||3.110.187.230]
  390. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(call_type=7)
  391. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[7]
  392. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(did_calltype=7)
  393. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [did_calltype]=[7]
  394. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(did_extensions=6)
  395. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [did_extensions]=[6]
  396. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(daily_call_credit_limit=0.00000)
  397. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [daily_call_credit_limit]=[0.00000]
  398. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(monthly_call_credit_limit=0.00000)
  399. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [monthly_call_credit_limit]=[0.00000]
  400. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(daily_call_used_limit=0.00000)
  401. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [daily_call_used_limit]=[0.00000]
  402. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(monthly_call_used_limit=0.00000)
  403. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [monthly_call_used_limit]=[0.00000]
  404. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(is_recording=1)
  405. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  406. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(media_bug_answer_req=true)
  407. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  408. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(RECORD_STEREO=true)
  409. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [RECORD_STEREO]=[true]
  410. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(record_sample_rate=8000)
  411. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  412. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav)
  413. 2023-12-15 03:25:31.987522 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav]
  414. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(group_confirm_key=exec)
  415. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [group_confirm_key]=[exec]
  416. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  417. 2023-12-15 03:25:31.987522 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  418. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(ringback=%(1000,3000,425))
  419. 2023-12-15 03:25:32.007496 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [ringback]=[%(1000,3000,425)]
  420. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(module_name=pbx)
  421. 2023-12-15 03:25:32.007496 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [module_name]=[pbx]
  422. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 db(insert/pickup_any_group_/6/8a052e9e-89f8-4456-8533-13f2d3255fcf)
  423. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 hash(insert/automation2betav601.astppbilling.org-call_return/9291468687/9603535741)
  424. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(dialed_extension=transfer_call)
  425. 2023-12-15 03:25:32.007496 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [dialed_extension]=[transfer_call]
  426. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(dialed_extension=transfer_call)
  427. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  428. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  429. 2023-12-15 03:25:32.007496 92.70% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  430. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  431. 2023-12-15 03:25:32.007496 92.70% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  432. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  433. 2023-12-15 03:25:32.007496 92.70% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  434. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(ring_group_transfer=true)
  435. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [ring_group_transfer]=[true]
  436. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(fail_on_single_reject=CALL_REJECTED)
  437. 2023-12-15 03:25:32.007496 92.70% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [fail_on_single_reject]=[CALL_REJECTED]
  438. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=9291468687,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/default/9291468687@automation2betav601.astppbilling.org:5060|)
  439. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  440. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  441. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  442. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  443. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav] to event
  444. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [domain_name]=[automation2betav601.astppbilling.org] to event
  445. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [sip_to_host]=[automation2betav601.astppbilling.org] to event
  446. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^1200040.* // 1200040 // 0.99000|||||||||DID|||3.110.187.230] to event
  447. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [call_type]=[7] to event
  448. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  449. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  450. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  451. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  452. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav] to event
  453. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  454. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  455. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  456. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  457. 2023-12-15 03:25:32.007496 92.70% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9291468687@automation2betav601.astppbilling.org:5060 [4e292efe-e048-450b-b54b-d35caa80ae2a]
  458. 2023-12-15 03:25:32.007496 92.70% [DEBUG] mod_sofia.c:5110 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  459. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_ivr_originate.c:3167 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 Setting leg timeout to 15
  460. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Running State Change CS_INIT (Cur 2 Tot 111)
  461. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State INIT
  462. 2023-12-15 03:25:32.007496 92.70% [DEBUG] mod_sofia.c:97 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 SOFIA INIT
  463. 2023-12-15 03:25:32.007496 92.70% [INFO] sofia_glue.c:1659 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 sending invite call-id: (null)
  464. 2023-12-15 03:25:32.007496 92.70% [DEBUG] sofia_glue.c:1662 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 sending invite version: 1.10.10-release  64bit
  465. Local SDP:
  466. v=0
  467. o=FreeSWITCH 1702578776 1702578777 IN IP4 65.109.231.66
  468. s=FreeSWITCH
  469. c=IN IP4 65.109.231.66
  470. t=0 0
  471. m=audio 31956 RTP/AVP 8 101
  472. a=rtpmap:8 PCMA/8000
  473. a=rtpmap:101 telephone-event/8000
  474. a=fmtp:101 0-15
  475. a=ptime:20
  476. a=sendrecv
  477.  
  478. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 Standard INIT
  479. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  480. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State INIT going to sleep
  481. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 2 Tot 111)
  482. 2023-12-15 03:25:32.007496 92.70% [DEBUG] sofia.c:7493 Channel sofia/default/9291468687@automation2betav601.astppbilling.org:5060 entering state [calling][0]
  483. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State ROUTING
  484. 2023-12-15 03:25:32.007496 92.70% [DEBUG] mod_sofia.c:158 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 SOFIA ROUTING
  485. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  486. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State ROUTING going to sleep
  487. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 111)
  488. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State CONSUME_MEDIA
  489. 2023-12-15 03:25:32.007496 92.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
  490. 2023-12-15 03:25:33.447538 94.93% [DEBUG] sofia.c:7493 Channel sofia/default/9291468687@automation2betav601.astppbilling.org:5060 entering state [proceeding][180]
  491. 2023-12-15 03:25:33.447538 94.93% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/9291468687@automation2betav601.astppbilling.org:5060!
  492. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_channel.c:3513 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  493. 2023-12-15 03:25:33.447538 94.93% [INFO] switch_ivr_originate.c:1301 Sending early media
  494. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/9603535741@3.110.187.230] 65.109.231.66 port 20190 -> 3.110.187.230 port 18922 codec: 8 ms: 20
  495. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  496. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_core_media.c:8972 sofia/default/9603535741@3.110.187.230 Set 2833 dtmf send payload to 101
  497. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_core_media.c:8979 sofia/default/9603535741@3.110.187.230 Set 2833 dtmf receive payload to 101
  498. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_core_media.c:9002 sofia/default/9603535741@3.110.187.230 Set rtp dtmf delay to 40
  499. 2023-12-15 03:25:33.447538 94.93% [DEBUG] mod_sofia.c:2607 Ring SDP:
  500. v=0
  501. o=FreeSWITCH 1702590543 1702590544 IN IP4 65.109.231.66
  502. s=FreeSWITCH
  503. c=IN IP4 65.109.231.66
  504. t=0 0
  505. m=audio 20190 RTP/AVP 8 101
  506. a=rtpmap:8 PCMA/8000
  507. a=rtpmap:101 telephone-event/8000
  508. a=fmtp:101 0-15
  509. a=ptime:20
  510. a=sendrecv
  511.  
  512. 2023-12-15 03:25:33.447538 94.93% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/9603535741@3.110.187.230!
  513. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_channel.c:3585 (sofia/default/9603535741@3.110.187.230) Callstate Change RINGING -> EARLY
  514. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_ivr_originate.c:1359 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  515. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_core_codec.c:229 sofia/default/9603535741@3.110.187.230 Push codec L16:100
  516. 2023-12-15 03:25:33.447538 94.93% [DEBUG] switch_ivr_originate.c:1433 Play Ringback Tone [%(1000,3000,425)]
  517. 2023-12-15 03:25:33.467566 94.93% [DEBUG] sofia.c:7493 Channel sofia/default/9603535741@3.110.187.230 entering state [early][183]
  518. 2023-12-15 03:25:33.947514 94.93% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  519. 2023-12-15 03:25:48.007554 95.23% [NOTICE] switch_ivr_originate.c:367 Hangup sofia/default/9291468687@automation2betav601.astppbilling.org:5060 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
  520. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 111)
  521. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Callstate Change RINGING -> HANGUP
  522. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State HANGUP
  523. 2023-12-15 03:25:48.007554 95.23% [DEBUG] mod_sofia.c:469 Channel sofia/default/9291468687@automation2betav601.astppbilling.org:5060 hanging up, cause: ALLOTTED_TIMEOUT
  524. 2023-12-15 03:25:48.007554 95.23% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/9291468687@automation2betav601.astppbilling.org:5060
  525. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 Standard HANGUP, cause: ALLOTTED_TIMEOUT
  526. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State HANGUP going to sleep
  527. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  528. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 111)
  529. 2023-12-15 03:25:48.007554 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State REPORTING
  530. 2023-12-15 03:25:48.007554 95.23% [INFO] mod_json_cdr.c:272 Process [4e292efe-e048-450b-b54b-d35caa80ae2a.cdr.json]
  531. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 Standard REPORTING, cause: ALLOTTED_TIMEOUT
  532. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State REPORTING going to sleep
  533. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  534. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_session.c:1744 Session 111 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Locked, Waiting on external entities
  535. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_codec.c:254 sofia/default/9603535741@3.110.187.230 Restore previous codec PCMA:8.
  536. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT]
  537. 2023-12-15 03:25:48.027691 95.23% [NOTICE] switch_core_session.c:1762 Session 111 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Ended
  538. 2023-12-15 03:25:48.027691 95.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9291468687@automation2betav601.astppbilling.org:5060 [CS_DESTROY]
  539. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 111)
  540. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State DESTROY
  541. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_sofia.c:380 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 SOFIA DESTROY
  542. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/9291468687@automation2betav601.astppbilling.org:5060 Standard DESTROY
  543. 2023-12-15 03:25:48.027691 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9291468687@automation2betav601.astppbilling.org:5060) State DESTROY going to sleep
  544. 2023-12-15 03:25:48.027691 95.23% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  545. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(original_did_number=1200040)
  546. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [original_did_number]=[1200040]
  547. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(no_answer_number=)
  548. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [no_answer_number]=[UNDEF]
  549. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(no_answer_call_type=timecondition)
  550. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [no_answer_call_type]=[timecondition]
  551. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(no_answer_call_type_value=4)
  552. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [no_answer_call_type_value]=[4]
  553. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(variable_sip_to_host=automation2betav601.astppbilling.org)
  554. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [variable_sip_to_host]=[automation2betav601.astppbilling.org]
  555. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(userinfo_id=3)
  556. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [userinfo_id]=[3]
  557. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(variable_sip_to_host=automation2betav601.astppbilling.org)
  558. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [variable_sip_to_host]=[automation2betav601.astppbilling.org]
  559. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(opensips_flag=0)
  560. 2023-12-15 03:25:48.027691 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [opensips_flag]=[0]
  561. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 lua(astpp/lib/pbx/astpp.ring_group_destination.lua)
  562. 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  563. 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  564. 2023-12-15 03:25:48.047503 95.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] This Is Last Dispositions ALLOTTED_TIMEOUT This Is No Answer Number : 4
  565. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 transfer(1200040#PBX#11#4 XML default)
  566. span style="color: goldenrod; font-weight: bold;"> 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_ivr.c:2288 (sofia/default/9603535741@3.110.187.230) State Change CS_EXECUTE -> CS_ROUTING
  567. 2023-12-15 03:25:48.047503 95.23% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9603535741@3.110.187.230 to XML[1200040#PBX#11#4@default]
  568. span style="color: goldenrod; font-weight: bold;"> 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_cpp.cpp:1209 sofia/default/9603535741@3.110.187.230 destroy/unlink session from object
  569. 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9603535741@3.110.187.230) State EXECUTE going to sleep
  570. 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 111)
  571. 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_channel.c:2399 (sofia/default/9603535741@3.110.187.230) Callstate Change EARLY -> RINGING
  572. 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9603535741@3.110.187.230) State ROUTING
  573. 2023-12-15 03:25:48.047503 95.23% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  574. 2023-12-15 03:25:48.047503 95.23% [DEBUG] mod_sofia.c:158 sofia/default/9603535741@3.110.187.230 SOFIA ROUTING
  575. 2023-12-15 03:25:48.047503 95.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/9603535741@3.110.187.230 Standard ROUTING
  576. 2023-12-15 03:25:48.047503 95.23% [INFO] mod_dialplan_xml.c:639 Processing 9603535741 <9603535741>->1200040#PBX#11#4 in context default
  577. span style="color: green; font-weight: bold;"> 2023-12-15 03:25:48.067508 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  578. 2023-12-15 03:25:48.067508 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  579. 2023-12-15 03:25:48.067508 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  580. 2023-12-15 03:25:48.067508 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  581. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  582. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: 1200040#PBX#11#4
  583. span style="color: goldenrod; font-weight: bold;"> 2023-12-15 03:25:48.087531 95.23% [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
  584. 2023-12-15 03:25:48.087531 95.23% [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
  585. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
  586. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  587. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Feature Cod..transfer_park_value*8
  588. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Feature Code blind_value_two_digit*8
  589. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Feature Code destination_number_two_digit12
  590. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Feature Code transfer_attended_two_digit*8
  591. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1200040#PBX#11#4
  592. span style="color: goldenrod; font-weight: bold;"> 2023-12-15 03:25:48.087531 95.23% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1200040" LIMIT 1
  593. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  594. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "6" OR number = "6") AND deleted = 0 limit 1
  595. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :6
  596. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 6 limit 1
  597. 2023-12-15 03:25:48.087531 95.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domainautomation2betav601.astppbilling.org
  598. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 11
  599. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Time Conditions
  600. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "4"
  601. 2023-12-15 03:25:48.087531 95.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC5]
  602. 2023-12-15 03:25:48.087531 95.23% [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="4"  AND domains.domain="automation2betav601.astppbilling.org" limit 1
  603. 2023-12-15 03:25:48.087531 95.23% [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
  604. 2023-12-15 03:25:48.087531 95.23% [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
  605. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  606. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  607. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  608. <document type="freeswitch/xml">
  609. <section name="dialplan" description="ASTPP Dialplan">
  610. <context name="default">
  611. <extension name="1200040#PBX#11#4">
  612. <condition field="destination_number" expression="1200040#PBX#11#4">
  613. <action application="export" data="did_user_domain=automation2betav601.astppbilling.org"/>
  614. <action application="set" data="continue_on_fail=TRUE"/>
  615. <action application="set" data="ignore_early_media=true"/>
  616. <action application="set" data="no_answer_flag=false"/>
  617. <action application="set" data="did_calltype=11"/>
  618. <action application="set" data="did_extensions=4"/>
  619. <action application="set" data="daily_call_credit_limit=0.00000"/>
  620. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  621. <action application="set" data="daily_call_used_limit=0.00000"/>
  622. <action application="set" data="monthly_call_used_limit=0.00000"/>
  623. <action application="set" data="sip_destination_number=4"/>
  624. <action application="set" data="sip_to_host=automation2betav601.astppbilling.org"/>
  625. <action application="hash" data="insert/${domain_name}-call_return/4/${caller_id_number}"/>
  626. <action application="set" data="user_domain=automation2betav601.astppbilling.org"/>
  627. <action application="db" data="insert/pickup_any_group_${callgroup}/4/${uuid}"/>
  628. <action application="set" data="dialed_extension=transfer_call"/>
  629. <action application="export" data="dialed_extension=transfer_call"/>
  630. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  631. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  632. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  633. <action application="export" data="ring_group_transfer=true"/>
  634. <action application="set" data="userinfo_id=6"/>
  635. <action application="bridge" data="{sip_invite_params=user=LOCAL}sofia/${sofia_profile_name}/4@automation2betav601.astppbilling.org:5060"/>
  636. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  637. </condition>
  638. </extension>
  639. </context>
  640. </section>
  641. </document>
  642. Dialplan: sofia/default/9603535741@3.110.187.230 parsing [default->1200040#PBX#11#4] continue=false
  643. Dialplan: sofia/default/9603535741@3.110.187.230 Regex (PASS) [1200040#PBX#11#4] destination_number(1200040#PBX#11#4) =~ /1200040#PBX#11#4/ break=on-false
  644. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(did_user_domain=automation2betav601.astppbilling.org)
  645. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(continue_on_fail=TRUE)
  646. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(ignore_early_media=true)
  647. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(no_answer_flag=false)
  648. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(did_calltype=11)
  649. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(did_extensions=4)
  650. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(daily_call_credit_limit=0.00000)
  651. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(monthly_call_credit_limit=0.00000)
  652. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(daily_call_used_limit=0.00000)
  653. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(monthly_call_used_limit=0.00000)
  654. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(sip_destination_number=4)
  655. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(sip_to_host=automation2betav601.astppbilling.org)
  656. Dialplan: sofia/default/9603535741@3.110.187.230 Action hash(insert/${domain_name}-call_return/4/${caller_id_number})
  657. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(user_domain=automation2betav601.astppbilling.org)
  658. Dialplan: sofia/default/9603535741@3.110.187.230 Action db(insert/pickup_any_group_${callgroup}/4/${uuid})
  659. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(dialed_extension=transfer_call)
  660. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(dialed_extension=transfer_call)
  661. Dialplan: sofia/default/9603535741@3.110.187.230 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  662. Dialplan: sofia/default/9603535741@3.110.187.230 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  663. Dialplan: sofia/default/9603535741@3.110.187.230 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  664. Dialplan: sofia/default/9603535741@3.110.187.230 Action export(ring_group_transfer=true)
  665. Dialplan: sofia/default/9603535741@3.110.187.230 Action set(userinfo_id=6)
  666. Dialplan: sofia/default/9603535741@3.110.187.230 Action bridge({sip_invite_params=user=LOCAL}sofia/${sofia_profile_name}/4@automation2betav601.astppbilling.org:5060)
  667. Dialplan: sofia/default/9603535741@3.110.187.230 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  668. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9603535741@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
  669. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9603535741@3.110.187.230) State ROUTING going to sleep
  670. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 111)
  671. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_channel.c:2403 (sofia/default/9603535741@3.110.187.230) Callstate Change RINGING -> EARLY
  672. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9603535741@3.110.187.230) State EXECUTE
  673. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_sofia.c:213 sofia/default/9603535741@3.110.187.230 SOFIA EXECUTE
  674. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/9603535741@3.110.187.230 Standard EXECUTE
  675. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(did_user_domain=automation2betav601.astppbilling.org)
  676. 2023-12-15 03:25:48.087531 95.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_user_domain]=[automation2betav601.astppbilling.org]
  677. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(continue_on_fail=TRUE)
  678. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [continue_on_fail]=[TRUE]
  679. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(ignore_early_media=true)
  680. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [ignore_early_media]=[true]
  681. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(no_answer_flag=false)
  682. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [no_answer_flag]=[false]
  683. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(did_calltype=11)
  684. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [did_calltype]=[11]
  685. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(did_extensions=4)
  686. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [did_extensions]=[4]
  687. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(daily_call_credit_limit=0.00000)
  688. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [daily_call_credit_limit]=[0.00000]
  689. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(monthly_call_credit_limit=0.00000)
  690. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [monthly_call_credit_limit]=[0.00000]
  691. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(daily_call_used_limit=0.00000)
  692. 2023-12-15 03:25:48.087531 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [daily_call_used_limit]=[0.00000]
  693. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(monthly_call_used_limit=0.00000)
  694. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [monthly_call_used_limit]=[0.00000]
  695. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(sip_destination_number=4)
  696. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [sip_destination_number]=[4]
  697. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(sip_to_host=automation2betav601.astppbilling.org)
  698. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [sip_to_host]=[automation2betav601.astppbilling.org]
  699. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 hash(insert/automation2betav601.astppbilling.org-call_return/4/9603535741)
  700. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(user_domain=automation2betav601.astppbilling.org)
  701. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [user_domain]=[automation2betav601.astppbilling.org]
  702. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 db(insert/pickup_any_group_/4/8a052e9e-89f8-4456-8533-13f2d3255fcf)
  703. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(dialed_extension=transfer_call)
  704. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [dialed_extension]=[transfer_call]
  705. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(dialed_extension=transfer_call)
  706. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  707. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  708. 2023-12-15 03:25:48.107507 95.23% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  709. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  710. 2023-12-15 03:25:48.107507 95.23% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  711. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  712. 2023-12-15 03:25:48.107507 95.23% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  713. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 export(ring_group_transfer=true)
  714. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [ring_group_transfer]=[true]
  715. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 set(userinfo_id=6)
  716. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/9603535741@3.110.187.230 [userinfo_id]=[6]
  717. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 bridge({sip_invite_params=user=LOCAL}sofia/default/4@automation2betav601.astppbilling.org:5060)
  718. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  719. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  720. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  721. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  722. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav] to event
  723. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [domain_name]=[automation2betav601.astppbilling.org] to event
  724. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [sip_to_host]=[automation2betav601.astppbilling.org] to event
  725. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^1200040.* // 1200040 // 0.99000|||||||||DID|||3.110.187.230] to event
  726. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [call_type]=[7] to event
  727. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
  728. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  729. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  730. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  731. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8a052e9e-89f8-4456-8533-13f2d3255fcf.wav] to event
  732. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  733. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  734. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [did_user_domain]=[automation2betav601.astppbilling.org] to event
  735. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  736. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_channel.c:1288 sofia/default/9603535741@3.110.187.230 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  737. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  738. 2023-12-15 03:25:48.107507 95.23% [NOTICE] switch_channel.c:1142 New Channel sofia/default/4@automation2betav601.astppbilling.org:5060 [29354cf5-5d25-4da0-9d5b-0ee9fd774157]
  739. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_sofia.c:5110 (sofia/default/4@automation2betav601.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  740. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4@automation2betav601.astppbilling.org:5060) Running State Change CS_INIT (Cur 2 Tot 112)
  741. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4@automation2betav601.astppbilling.org:5060) State INIT
  742. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_sofia.c:97 sofia/default/4@automation2betav601.astppbilling.org:5060 SOFIA INIT
  743. 2023-12-15 03:25:48.107507 95.23% [INFO] sofia_glue.c:1659 sofia/default/4@automation2betav601.astppbilling.org:5060 sending invite call-id: (null)
  744. 2023-12-15 03:25:48.107507 95.23% [DEBUG] sofia_glue.c:1662 sofia/default/4@automation2betav601.astppbilling.org:5060 sending invite version: 1.10.10-release  64bit
  745. Local SDP:
  746. v=0
  747. o=FreeSWITCH 1702579650 1702579651 IN IP4 65.109.231.66
  748. s=FreeSWITCH
  749. c=IN IP4 65.109.231.66
  750. t=0 0
  751. m=audio 31098 RTP/AVP 8 101
  752. a=rtpmap:8 PCMA/8000
  753. a=rtpmap:101 telephone-event/8000
  754. a=fmtp:101 0-15
  755. a=ptime:20
  756. a=sendrecv
  757.  
  758. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/4@automation2betav601.astppbilling.org:5060 Standard INIT
  759. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4@automation2betav601.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  760. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4@automation2betav601.astppbilling.org:5060) State INIT going to sleep
  761. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4@automation2betav601.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 2 Tot 112)
  762. 2023-12-15 03:25:48.107507 95.23% [DEBUG] sofia.c:7493 Channel sofia/default/4@automation2betav601.astppbilling.org:5060 entering state [calling][0]
  763. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4@automation2betav601.astppbilling.org:5060) State ROUTING
  764. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_sofia.c:158 sofia/default/4@automation2betav601.astppbilling.org:5060 SOFIA ROUTING
  765. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_ivr_originate.c:67 (sofia/default/4@automation2betav601.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  766. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4@automation2betav601.astppbilling.org:5060) State ROUTING going to sleep
  767. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4@automation2betav601.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 112)
  768. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4@automation2betav601.astppbilling.org:5060) State CONSUME_MEDIA
  769. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4@automation2betav601.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
  770. 2023-12-15 03:25:48.107507 95.23% [DEBUG] sofia.c:7493 Channel sofia/default/4@automation2betav601.astppbilling.org:5060 entering state [terminated][404]
  771. 2023-12-15 03:25:48.107507 95.23% [NOTICE] sofia.c:8735 Hangup sofia/default/4@automation2betav601.astppbilling.org:5060 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  772. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4@automation2betav601.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 112)
  773. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4@automation2betav601.astppbilling.org:5060) Callstate Change DOWN -> HANGUP
  774. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4@automation2betav601.astppbilling.org:5060) State HANGUP
  775. 2023-12-15 03:25:48.107507 95.23% [DEBUG] mod_sofia.c:469 Channel sofia/default/4@automation2betav601.astppbilling.org:5060 hanging up, cause: UNALLOCATED_NUMBER
  776. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/4@automation2betav601.astppbilling.org:5060 Standard HANGUP, cause: UNALLOCATED_NUMBER
  777. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4@automation2betav601.astppbilling.org:5060) State HANGUP going to sleep
  778. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4@automation2betav601.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  779. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4@automation2betav601.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 112)
  780. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4@automation2betav601.astppbilling.org:5060) State REPORTING
  781. 2023-12-15 03:25:48.107507 95.23% [INFO] mod_json_cdr.c:272 Process [29354cf5-5d25-4da0-9d5b-0ee9fd774157.cdr.json]
  782. 2023-12-15 03:25:48.107507 95.23% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  783. 2023-12-15 03:25:48.107507 95.23% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: UNALLOCATED_NUMBER
  784. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  785. 2023-12-15 03:25:48.127492 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  786. 2023-12-15 03:25:48.127492 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  787. 2023-12-15 03:25:48.127492 95.23% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions UNALLOCATED_NUMBER This Is SIP Number : 4
  788. 2023-12-15 03:25:48.127492 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_recording_id] Query :SELECT  accountid,recording_id,username,SUBSTRING(dir_params, 1, 1000) AS dir_params FROM sip_devices WHERE username = '4' and accountid = '6'
  789. 2023-12-15 03:25:48.127492 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  790. 2023-12-15 03:25:48.127492 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  791. 2023-12-15 03:25:48.147501 95.23% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] dialed_user for voicemail::: 4
  792. 2023-12-15 03:25:48.147501 95.23% [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 = 4 and accountid = 6 and status=0 LIMIT 1
  793. 2023-12-15 03:25:48.147501 95.23% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :4
  794. EXECUTE [depth=0] sofia/default/9603535741@3.110.187.230 voicemail(default automation2betav601.astppbilling.org 4)
  795. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/4@automation2betav601.astppbilling.org:5060 Standard REPORTING, cause: UNALLOCATED_NUMBER
  796. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4@automation2betav601.astppbilling.org:5060) State REPORTING going to sleep
  797. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4@automation2betav601.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  798. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_session.c:1744 Session 112 (sofia/default/4@automation2betav601.astppbilling.org:5060) Locked, Waiting on external entities
  799. 2023-12-15 03:25:48.147501 95.23% [NOTICE] switch_core_session.c:1762 Session 112 (sofia/default/4@automation2betav601.astppbilling.org:5060) Ended
  800. 2023-12-15 03:25:48.147501 95.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/4@automation2betav601.astppbilling.org:5060 [CS_DESTROY]
  801. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4@automation2betav601.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 112)
  802. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4@automation2betav601.astppbilling.org:5060) State DESTROY
  803. 2023-12-15 03:25:48.147501 95.23% [DEBUG] mod_sofia.c:380 sofia/default/4@automation2betav601.astppbilling.org:5060 SOFIA DESTROY
  804. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/4@automation2betav601.astppbilling.org:5060 Standard DESTROY
  805. 2023-12-15 03:25:48.147501 95.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4@automation2betav601.astppbilling.org:5060) State DESTROY going to sleep
  806. 2023-12-15 03:25:48.167500 95.23% [WARNING] mod_voicemail.c:3460 Can't find user [4@automation2betav601.astppbilling.org]
  807. 2023-12-15 03:25:48.167500 95.23% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  808. 2023-12-15 03:25:48.167500 95.23% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-goodbye.wav] (en:en)
  809. 2023-12-15 03:25:48.167500 95.23% [DEBUG] switch_ivr_play_say.c:262 Setting playback volume to 0
  810. 2023-12-15 03:25:48.167500 95.23% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  811. 2023-12-15 03:25:48.607519 94.37% [DEBUG] switch_ivr_play_say.c:2010 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav
  812. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  813. 2023-12-15 03:25:48.727542 94.37% [NOTICE] switch_cpp.cpp:751 Hangup sofia/default/9603535741@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING]
  814. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_cpp.cpp:1209 sofia/default/9603535741@3.110.187.230 destroy/unlink session from object
  815. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_session.c:2979 sofia/default/9603535741@3.110.187.230 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  816. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9603535741@3.110.187.230) State EXECUTE going to sleep
  817. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_HANGUP (Cur 1 Tot 112)
  818. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9603535741@3.110.187.230) Callstate Change EARLY -> HANGUP
  819. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9603535741@3.110.187.230) State HANGUP
  820. 2023-12-15 03:25:48.727542 94.37% [DEBUG] mod_sofia.c:463 sofia/default/9603535741@3.110.187.230 Overriding SIP cause 480 with 404 from the other leg
  821. 2023-12-15 03:25:48.727542 94.37% [DEBUG] mod_sofia.c:469 Channel sofia/default/9603535741@3.110.187.230 hanging up, cause: NORMAL_CLEARING
  822. 2023-12-15 03:25:48.727542 94.37% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 404
  823. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/9603535741@3.110.187.230 Standard HANGUP, cause: NORMAL_CLEARING
  824. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9603535741@3.110.187.230) State HANGUP going to sleep
  825. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9603535741@3.110.187.230) State Change CS_HANGUP -> CS_REPORTING
  826. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9603535741@3.110.187.230) Running State Change CS_REPORTING (Cur 1 Tot 112)
  827. 2023-12-15 03:25:48.727542 94.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9603535741@3.110.187.230) State REPORTING
  828. 2023-12-15 03:25:48.747513 94.37% [INFO] mod_json_cdr.c:272 Process [8a052e9e-89f8-4456-8533-13f2d3255fcf.cdr.json]
  829. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/9603535741@3.110.187.230 Standard REPORTING, cause: NORMAL_CLEARING
  830. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9603535741@3.110.187.230) State REPORTING going to sleep
  831. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9603535741@3.110.187.230) State Change CS_REPORTING -> CS_DESTROY
  832. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_session.c:1744 Session 110 (sofia/default/9603535741@3.110.187.230) Locked, Waiting on external entities
  833. 2023-12-15 03:25:48.767510 94.37% [NOTICE] switch_core_session.c:1762 Session 110 (sofia/default/9603535741@3.110.187.230) Ended
  834. 2023-12-15 03:25:48.767510 94.37% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9603535741@3.110.187.230 [CS_DESTROY]
  835. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9603535741@3.110.187.230) Running State Change CS_DESTROY (Cur 0 Tot 112)
  836. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9603535741@3.110.187.230) State DESTROY
  837. 2023-12-15 03:25:48.767510 94.37% [DEBUG] mod_sofia.c:380 sofia/default/9603535741@3.110.187.230 SOFIA DESTROY
  838. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/9603535741@3.110.187.230 Standard DESTROY
  839. 2023-12-15 03:25:48.767510 94.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9603535741@3.110.187.230) State DESTROY going to sleep
  840. freeswitch@betaAlpesh>