From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and with PBX DID call transfer Call issue getting
  1. freeswitch@ip-172-31-14-218>
  2. freeswitch@ip-172-31-14-218>
  3. freeswitch@ip-172-31-14-218>
  4. 2022-04-26 13:45:53.659470 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8871343676@46.101.114.158 [c17830f2-a718-4484-8253-03abd4b57061]
  5. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 33)
  6. 2022-04-26 13:45:53.659470 98.50% [INFO] sofia.c:10462 sofia/default/8871343676@46.101.114.158 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 085e709f-400a-123b-3db3-ba05d31eb9f9
  7. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  8. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  9. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  10. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [received][100]
  11. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:7509 Remote SDP:
  12. v=0
  13. o=FreeSWITCH 1650956151 1650956152 IN IP4 46.101.114.158
  14. s=FreeSWITCH
  15. c=IN IP4 46.101.114.158
  16. t=0 0
  17. m=audio 24602 RTP/AVP 0 101
  18. a=rtpmap:0 PCMU/8000
  19. a=rtpmap:101 telephone-event/8000
  20. a=fmtp:101 0-16
  21. a=ptime:20
  22.  
  23. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  26. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  27. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8871343676@46.101.114.158 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_codec.c:111 sofia/default/8871343676@46.101.114.158 Original read codec set to PCMU:0
  29. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  30. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_media.c:5973 sofia/default/8871343676@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2022-04-26 13:45:53.659470 98.50% [DEBUG] sofia.c:7933 (sofia/default/8871343676@46.101.114.158) State Change CS_NEW -> CS_INIT
  32. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8871343676@46.101.114.158) State NEW
  33. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 33)
  34. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT
  35. 2022-04-26 13:45:53.659470 98.50% [DEBUG] mod_sofia.c:97 sofia/default/8871343676@46.101.114.158 SOFIA INIT
  36. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/8871343676@46.101.114.158 Standard INIT
  37. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8871343676@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  38. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8871343676@46.101.114.158) State INIT going to sleep
  39. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 33)
  40. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_channel.c:2380 (sofia/default/8871343676@46.101.114.158) Callstate Change DOWN -> RINGING
  41. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING
  42. 2022-04-26 13:45:53.659470 98.50% [DEBUG] mod_sofia.c:158 sofia/default/8871343676@46.101.114.158 SOFIA ROUTING
  43. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/8871343676@46.101.114.158 Standard ROUTING
  44. 2022-04-26 13:45:53.659470 98.50% [INFO] mod_dialplan_xml.c:639 Processing Prashant Kumar <8871343676>->7701111 in context default
  45. 2022-04-26 13:45:53.659470 98.50% [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')
  46. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  47. 2022-04-26 13:45:53.659470 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  48. 2022-04-26 13:45:53.659470 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7701111
  49. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7701111' limit 1
  50. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7701111' AND status=0 limit 1
  51. 2022-04-26 13:45:53.659470 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7701111' and status=0 LIMIT 1
  52. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKGatewayDefault
  53. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.66.233' limit 1
  55. 2022-04-26 13:45:53.679424 98.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  56. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8871343676 / <null>
  57. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1
  58. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770111 AND status=0 limit 1
  59. 2022-04-26 13:45:53.679424 98.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  60. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  61. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  62. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  63. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 46.101.114.158
  64. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7073582043]
  65. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7073582043" AND deleted = 0 limit 1
  66. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  67. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7701111" AND (accountid = 0 OR status = 1) LIMIT 1
  68. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  69. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5
  70. 2022-04-26 13:45:53.679424 98.50% [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 = '^7701111.*' OR patterns = '^770111.*' OR patterns = '^77011.*' OR patterns = '^7701.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  71. 2022-04-26 13:45:53.679424 98.50% [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 ="7701111" AND A.accountid = '9' limit 1
  72. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 7701111
  73. 2022-04-26 13:45:53.679424 98.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  74. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  75. 2022-04-26 13:45:53.679424 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  76. 2022-04-26 13:45:53.679424 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  77. 2022-04-26 13:45:53.679424 98.50% [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 = '7701111' OR number = '770111' OR number = '77011' OR number = '7701' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7701111*' OR number = '770111*' OR number = '77011*' OR number = '7701*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  78. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  79. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7701111' OR routing_prefix = '770111' OR routing_prefix = '77011' OR routing_prefix = '7701' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  80. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  81. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  82. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7073582043
  83. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  84. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11.3834
  85. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  86. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  87. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  88. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  89. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  90. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  91. 2022-04-26 13:45:53.699420 98.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  92. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7701111" LIMIT 1
  93. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  94. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  95. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  96. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  97. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  98. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  99. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  100. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  101. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  102. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.45
  103. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  104. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  105. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0
  106. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  107. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  108. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  109. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  110. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  111. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 7701111
  112. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  113. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  114. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  115. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  116. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  117. 2022-04-26 13:45:53.699420 98.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  118. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  119. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  120. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  121. 2022-04-26 13:45:53.699420 98.50% [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 = 9 AND status=0 LIMIT 1
  122. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
  123. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  124. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  125. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  126. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7701111.*' OR pattern = '^770111.*' OR pattern = '^77011.*' OR pattern = '^7701.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^<null>.*' OR caller_id_pattern = '^<null.*' OR caller_id_pattern = '^<nul.*' OR caller_id_pattern = '^<nu.*' OR caller_id_pattern = '^<n.*' OR caller_id_pattern = '^<.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  127. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  128. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  129. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.30000
  130. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  131. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  132. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  133. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :26-4
  134. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  135. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.45
  136. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  137. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :15
  138. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.8
  139. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  140. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  141. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  142. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  143. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.8
  144. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  145. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  146. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  147. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  148. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  149. 2022-04-26 13:45:53.699420 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  150. 2022-04-26 13:45:53.699420 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish provider call balance :SELECT balance FROM accounts WHERE id =3
  151. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11.3834 balance Accountid 9 !!!
  152. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  153. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  154. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  155. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  156. 2022-04-26 13:45:53.719423 98.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : w07version62.astppbilling.org
  157. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  158. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  159. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  160. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  161. 2022-04-26 13:45:53.719423 98.50% [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 = "9998913119" AND accounts.status = 0
  162. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
  163. 2022-04-26 13:45:53.719423 98.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : w07version62.astppbilling.org
  164. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5  and status = 0 limit 1
  165. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  166. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  167. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 9998913119
  168. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  169. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '9998913119' and accountid = '5'LIMIT 1
  170. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  171. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  172. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  173. 2022-04-26 13:45:53.719423 98.50% [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="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  174. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  175. 2022-04-26 13:45:53.719423 98.50% [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
  176. 2022-04-26 13:45:53.719423 98.50% [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
  177. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  178. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC11]
  179. 2022-04-26 13:45:53.719423 98.50% [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="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  180. 2022-04-26 13:45:53.719423 98.50% [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="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  181. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 2
  182. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  183. 2022-04-26 13:45:53.719423 98.50% [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
  184. 2022-04-26 13:45:53.719423 98.50% [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
  185. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  186. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  187. 2022-04-26 13:45:53.719423 98.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  188. 2022-04-26 13:45:53.719423 98.50% [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="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  189. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  190. 2022-04-26 13:45:53.719423 98.50% [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="9998913119"  AND domains.domain="w07version62.astppbilling.org" limit 1
  191. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1
  192. 2022-04-26 13:45:53.719423 98.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  193. <document type="freeswitch/xml">
  194. <section name="dialplan" description="ASTPP Dialplan">
  195. <context name="default">
  196. <extension name="7701111">
  197. <condition field="destination_number" expression="7701111">
  198. <action application="set" data="effective_destination_number=7701111"/>
  199. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  200. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  201. <action application="set" data="callstart=2022-04-26 13:45:53"/>
  202. <action application="set" data="hangup_after_bridge=true"/>
  203. <action application="set" data="continue_on_fail=TRUE"/>
  204. <action application="set" data="account_id=9"/>
  205. <action application="set" data="parent_id=0"/>
  206. <action application="set" data="entity_id=3"/>
  207. <action application="set" data="call_processed=internal"/>
  208. <action application="set" data="call_direction=inbound"/>
  209. <action application="set" data="accountname=default"/>
  210. <action application="set" data="filename1=astpp.pbx.lua"/>
  211. <action application="set" data="origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5"/>
  212. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9"/>
  213. <action application="set" data="original_caller_id_name=8871343676"/>
  214. <action application="set" data="effective_caller_id_name=8871343676"/>
  215. <action application="set" data="receiver_accid=5"/>
  216. <action application="set" data="did_id=1"/>
  217. <action application="set" data="transfer_call_type=5"/>
  218. <action application="set" data="transfer_extensions=9998988398"/>
  219. <action application="set" data="busy_status=0"/>
  220. <action application="set" data="no_answer_status=1"/>
  221. <action application="set" data="always_status=1"/>
  222. <action application="set" data="transfer_status=0"/>
  223. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  224. <action application="set" data="variable_sip_network_ip=172.31.14.218"/>
  225. <action application="set" data="variable_sip_network_port=5066"/>
  226. <action application="export" data="domain_name=w07version62.astppbilling.org"/>
  227. <action application="export" data="sip_to_host=w07version62.astppbilling.org"/>
  228. <action application="export" data="presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158"/>
  229. <action application="export" data="call_type=0"/>
  230. <action application="set" data="calltype=DID-LOCAL"/>
  231. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  232. <action application="set" data="dialed_extension=transfer_call"/>
  233. <action application="export" data="dialed_extension=transfer_call"/>
  234. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  235. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  236. <action application="set" data="hangup_after_bridge=true"/>
  237. <action application="export" data="did_user_domain=w07version62.astppbilling.org"/>
  238. <action application="set" data="sip_h_X-call-type=did"/>
  239. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  240. <action application="db" data="insert/pickup_any_group_${callgroup}/9998913119/${uuid}"/>
  241. <action application="set" data="dialed_extension=transfer_call"/>
  242. <action application="export" data="dialed_extension=transfer_call"/>
  243. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  244. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  245. <action application="set" data="transfer_ringback=$${hold_music}"/>
  246. <action application="set" data="hangup_after_bridge=true"/>
  247. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998913119@w07version62.astppbilling.org:5066"/>
  248. <action application="set" data="on_busy_flag=1"/>
  249. <action application="set" data="on_busy_destination="/>
  250. <action application="set" data="no_answer_flag=1"/>
  251. <action application="set" data="no_answer_destination="/>
  252. <action application="set" data="not_register_flag=1"/>
  253. <action application="set" data="not_register_destination="/>
  254. <action application="set" data="opensips_flag=0"/>
  255. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  256. <action application="set" data="opensips_domain=172.31.14.218"/>
  257. <action application="set" data="leg_timeout=20"/>
  258. <action application="set" data="userinfo_id=5"/>
  259. <action application="set" data="sip_destination_number=9998913119"/>
  260. <action application="set" data="did_number=9998913119"/>
  261. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  262. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  263. <action application="set" data="on_busy_flag=1"/>
  264. <action application="set" data="on_busy_destination="/>
  265. <action application="set" data="no_answer_flag=1"/>
  266. <action application="set" data="no_answer_destination="/>
  267. <action application="set" data="not_register_flag=1"/>
  268. <action application="set" data="not_register_destination="/>
  269. <action application="set" data="opensips_flag=0"/>
  270. <action application="set" data="variable_sip_to_host=w07version62.astppbilling.org"/>
  271. <action application="set" data="opensips_domain=172.31.14.218"/>
  272. <action application="set" data="leg_timeout=20"/>
  273. <action application="set" data="userinfo_id=5"/>
  274. <action application="set" data="sip_destination_number=9998913119"/>
  275. <action application="set" data="destination_number=9998913119"/>
  276. <action application="set" data="did_number=7701111"/>
  277. <action application="set" data="user_domain=w07version62.astppbilling.org"/>
  278. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  279. <condition field="${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  280. <action application="answer"/>
  281. <action application="export" data="voicemail_alternate_greet_id=9998913119"/>
  282. <action application="voicemail" data="default $${domain_name} 9998913119"/>
  283. <anti-action application="hangup" data="${originate_disposition}"/>
  284. </condition>
  285. </condition>
  286. </extension>
  287. </context>
  288. </section>
  289. </document>
  290. Dialplan: sofia/default/8871343676@46.101.114.158 parsing [default->7701111] continue=false
  291. Dialplan: sofia/default/8871343676@46.101.114.158 Regex (PASS) [7701111] destination_number(7701111) =~ /7701111/ break=on-false
  292. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_destination_number=7701111)
  293. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  294. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  295. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(callstart=2022-04-26 13:45:53)
  296. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  297. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(continue_on_fail=TRUE)
  298. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(account_id=9)
  299. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(parent_id=0)
  300. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(entity_id=3)
  301. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_processed=internal)
  302. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(call_direction=inbound)
  303. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(accountname=default)
  304. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(filename1=astpp.pbx.lua)
  305. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  306. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  307. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(original_caller_id_name=8871343676)
  308. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(effective_caller_id_name=8871343676)
  309. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(receiver_accid=5)
  310. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_id=1)
  311. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_call_type=5)
  312. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_extensions=9998988398)
  313. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(busy_status=0)
  314. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_status=1)
  315. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(always_status=1)
  316. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_status=0)
  317. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=${domain_name})
  318. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_ip=172.31.14.218)
  319. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_network_port=5066)
  320. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(domain_name=w07version62.astppbilling.org)
  321. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(sip_to_host=w07version62.astppbilling.org)
  322. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  323. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(call_type=0)
  324. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(calltype=DID-LOCAL)
  325. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  326. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  327. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  328. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  329. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  330. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  331. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(did_user_domain=w07version62.astppbilling.org)
  332. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-call-type=did)
  333. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_h_X-did-call-type=DID-LOCAL)
  334. Dialplan: sofia/default/8871343676@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/9998913119/${uuid})
  335. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(dialed_extension=transfer_call)
  336. Dialplan: sofia/default/8871343676@46.101.114.158 Action export(dialed_extension=transfer_call)
  337. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  338. Dialplan: sofia/default/8871343676@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  339. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  340. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(hangup_after_bridge=true)
  341. Dialplan: sofia/default/8871343676@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/${sofia_profile_name}/9998913119@w07version62.astppbilling.org:5066)
  342. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  343. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  344. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  345. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  346. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  347. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  348. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  349. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  350. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  351. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  352. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  353. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  354. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=9998913119)
  355. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  356. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  357. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_flag=1)
  358. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(on_busy_destination=)
  359. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_flag=1)
  360. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(no_answer_destination=)
  361. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_flag=1)
  362. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(not_register_destination=)
  363. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_flag=0)
  364. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(variable_sip_to_host=w07version62.astppbilling.org)
  365. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(opensips_domain=172.31.14.218)
  366. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(leg_timeout=20)
  367. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(userinfo_id=5)
  368. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(sip_destination_number=9998913119)
  369. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(destination_number=9998913119)
  370. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(did_number=7701111)
  371. Dialplan: sofia/default/8871343676@46.101.114.158 Action set(user_domain=w07version62.astppbilling.org)
  372. Dialplan: sofia/default/8871343676@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  373. |--- Dialplan: Processing recursive conditions level:1 [7701111_recur_1] require-nested=TRUE
  374. |--- Dialplan: sofia/default/8871343676@46.101.114.158 Regex (FAIL) [7701111_recur_1] ${cond(${user_data 9998913119@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  375. |--- Dialplan: sofia/default/8871343676@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  376. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8871343676@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  377. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8871343676@46.101.114.158) State ROUTING going to sleep
  378. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 33)
  379. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE
  380. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_sofia.c:213 sofia/default/8871343676@46.101.114.158 SOFIA EXECUTE
  381. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/8871343676@46.101.114.158 Standard EXECUTE
  382. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_destination_number=7701111)
  383. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_destination_number]=[7701111]
  384. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  385. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  386. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  387. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  388. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(callstart=2022-04-26 13:45:53)
  389. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [callstart]=[2022-04-26 13:45:53]
  390. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  391. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  392. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(continue_on_fail=TRUE)
  393. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [continue_on_fail]=[TRUE]
  394. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(account_id=9)
  395. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [account_id]=[9]
  396. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(parent_id=0)
  397. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [parent_id]=[0]
  398. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(entity_id=3)
  399. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [entity_id]=[3]
  400. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_processed=internal)
  401. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_processed]=[internal]
  402. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(call_direction=inbound)
  403. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [call_direction]=[inbound]
  404. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(accountname=default)
  405. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [accountname]=[default]
  406. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(filename1=astpp.pbx.lua)
  407. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [filename1]=[astpp.pbx.lua]
  408. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates_did=ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5)
  409. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates_did]=[ID:1|CODE:^7701111.*|DESTINATION:7701111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5]
  410. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9)
  411. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.8|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:9]
  412. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(original_caller_id_name=8871343676)
  413. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [original_caller_id_name]=[8871343676]
  414. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(effective_caller_id_name=8871343676)
  415. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [effective_caller_id_name]=[8871343676]
  416. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(receiver_accid=5)
  417. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [receiver_accid]=[5]
  418. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_id=1)
  419. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_id]=[1]
  420. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_call_type=5)
  421. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_call_type]=[5]
  422. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_extensions=9998988398)
  423. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_extensions]=[9998988398]
  424. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(busy_status=0)
  425. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [busy_status]=[0]
  426. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_status=1)
  427. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_status]=[1]
  428. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(always_status=1)
  429. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [always_status]=[1]
  430. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_status=0)
  431. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_status]=[0]
  432. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=172.31.14.218)
  433. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[172.31.14.218]
  434. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_ip=172.31.14.218)
  435. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_ip]=[172.31.14.218]
  436. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_network_port=5066)
  437. 2022-04-26 13:45:53.739421 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_network_port]=[5066]
  438. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(domain_name=w07version62.astppbilling.org)
  439. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[w07version62.astppbilling.org]
  440. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(sip_to_host=w07version62.astppbilling.org)
  441. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[w07version62.astppbilling.org]
  442. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(presence_data=x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158)
  443. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158]
  444. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(call_type=0)
  445. 2022-04-26 13:45:53.739421 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  446. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(calltype=DID-LOCAL)
  447. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [calltype]=[DID-LOCAL]
  448. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/c17830f2-a718-4484-8253-03abd4b57061)
  449. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  450. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  451. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  452. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  453. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  454. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  455. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  456. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  457. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  458. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  459. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(did_user_domain=w07version62.astppbilling.org)
  460. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[w07version62.astppbilling.org]
  461. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-call-type=did)
  462. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-call-type]=[did]
  463. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_h_X-did-call-type=DID-LOCAL)
  464. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_h_X-did-call-type]=[DID-LOCAL]
  465. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 db(insert/pickup_any_group_/9998913119/c17830f2-a718-4484-8253-03abd4b57061)
  466. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(dialed_extension=transfer_call)
  467. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [dialed_extension]=[transfer_call]
  468. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 export(dialed_extension=transfer_call)
  469. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  470. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  471. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  472. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  473. 2022-04-26 13:45:53.759418 98.50% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  474. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(transfer_ringback=local_stream://moh)
  475. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  476. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(hangup_after_bridge=true)
  477. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [hangup_after_bridge]=[true]
  478. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=5}[leg_timeout=20 ] sofia/default/9998913119@w07version62.astppbilling.org:5066)
  479. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [domain_name]=[w07version62.astppbilling.org] to event
  480. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[w07version62.astppbilling.org] to event
  481. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Reseller Customer(9998913119)|||||||||DID|||46.101.114.158] to event
  482. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  483. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  484. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[w07version62.astppbilling.org] to event
  485. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_channel.c:1269 sofia/default/8871343676@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  486. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  487. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  488. 2022-04-26 13:45:53.759418 98.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 [4c66bd7f-1fe3-42fd-8fe3-3fffb66b0ca2]
  489. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_sofia.c:5121 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  490. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:3151 sofia/default/9998913119@w07version62.astppbilling.org:5066 Setting leg timeout to 20
  491. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_INIT (Cur 2 Tot 34)
  492. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State INIT
  493. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_sofia.c:97 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA INIT
  494. 2022-04-26 13:45:53.759418 98.50% [INFO] sofia_glue.c:1651 sofia/default/9998913119@w07version62.astppbilling.org:5066 sending invite call-id: (null)
  495. 2022-04-26 13:45:53.759418 98.50% [DEBUG] sofia_glue.c:1654 sofia/default/9998913119@w07version62.astppbilling.org:5066 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  496. Local SDP:
  497. v=0
  498. o=FreeSWITCH 1650955843 1650955844 IN IP4 172.31.14.218
  499. s=FreeSWITCH
  500. c=IN IP4 172.31.14.218
  501. t=0 0
  502. m=audio 24910 RTP/AVP 0 101
  503. a=rtpmap:0 PCMU/8000
  504. a=rtpmap:101 telephone-event/8000
  505. a=fmtp:101 0-15
  506. a=ptime:20
  507. a=sendrecv
  508.  
  509. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard INIT
  510. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  511. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State INIT going to sleep
  512. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 2 Tot 34)
  513. 2022-04-26 13:45:53.759418 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [calling][0]
  514. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State ROUTING
  515. 2022-04-26 13:45:53.759418 98.50% [DEBUG] mod_sofia.c:158 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA ROUTING
  516. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  517. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State ROUTING going to sleep
  518. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 34)
  519. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State CONSUME_MEDIA
  520. 2022-04-26 13:45:53.759418 98.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State CONSUME_MEDIA going to sleep
  521. 2022-04-26 13:45:53.879451 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [proceeding][180]
  522. 2022-04-26 13:45:53.879451 98.50% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/9998913119@w07version62.astppbilling.org:5066!
  523. 2022-04-26 13:45:53.879451 98.50% [DEBUG] switch_channel.c:3494 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  524. 2022-04-26 13:45:53.899425 98.50% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8871343676@46.101.114.158!
  525. 2022-04-26 13:45:53.899425 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/8871343676@46.101.114.158 entering state [early][180]
  526. 2022-04-26 13:45:53.899425 98.50% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8871343676@46.101.114.158!
  527. 2022-04-26 13:45:57.459436 98.07% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  528. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  529. and you must configure your device to use the proper domain in its authentication credentials.
  530. 2022-04-26 13:45:57.459436 98.07% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  531. 2022-04-26 13:45:58.139463 98.07% [DEBUG] sofia.c:7499 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 entering state [terminated][486]
  532. 2022-04-26 13:45:58.139463 98.07% [NOTICE] sofia.c:8738 Hangup sofia/default/9998913119@w07version62.astppbilling.org:5066 [CS_CONSUME_MEDIA] [USER_BUSY]
  533. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_HANGUP (Cur 2 Tot 34)
  534. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Callstate Change RINGING -> HANGUP
  535. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State HANGUP
  536. 2022-04-26 13:45:58.139463 98.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 hanging up, cause: USER_BUSY
  537. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard HANGUP, cause: USER_BUSY
  538. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State HANGUP going to sleep
  539. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_HANGUP -> CS_REPORTING
  540. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_REPORTING (Cur 2 Tot 34)
  541. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State REPORTING
  542. 2022-04-26 13:45:58.139463 98.07% [INFO] mod_json_cdr.c:271 Process [4c66bd7f-1fe3-42fd-8fe3-3fffb66b0ca2.cdr.json]
  543. 2022-04-26 13:45:58.139463 98.07% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  544. 2022-04-26 13:45:58.139463 98.07% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  545. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  546. 2022-04-26 13:45:58.139463 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  547. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  548. 2022-04-26 13:45:58.139463 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  549. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  550. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  551. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  552. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  553. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  554. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  555. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  556. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  557. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=0)
  558. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[0]
  559. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  560. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  561. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  562. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  563. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  564. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  565. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  566. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  567. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  568. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  569. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=9998913119)
  570. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[9998913119]
  571. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  572. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  573. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  574. 2022-04-26 13:45:58.159421 98.07% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  575. stack traceback:
  576.         [C]: in function 'dofile'
  577.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  578. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  579. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_flag=1)
  580. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_flag]=[1]
  581. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(on_busy_destination=)
  582. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [on_busy_destination]=[UNDEF]
  583. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_flag=1)
  584. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_flag]=[1]
  585. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(no_answer_destination=)
  586. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [no_answer_destination]=[UNDEF]
  587. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_flag=1)
  588. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_flag]=[1]
  589. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(not_register_destination=)
  590. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [not_register_destination]=[UNDEF]
  591. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_flag=0)
  592. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_flag]=[0]
  593. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(variable_sip_to_host=w07version62.astppbilling.org)
  594. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [variable_sip_to_host]=[w07version62.astppbilling.org]
  595. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(opensips_domain=172.31.14.218)
  596. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [opensips_domain]=[172.31.14.218]
  597. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(leg_timeout=20)
  598. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [leg_timeout]=[20]
  599. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(userinfo_id=5)
  600. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [userinfo_id]=[5]
  601. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(sip_destination_number=9998913119)
  602. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [sip_destination_number]=[9998913119]
  603. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(destination_number=9998913119)
  604. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [destination_number]=[9998913119]
  605. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(did_number=7701111)
  606. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [did_number]=[7701111]
  607. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 set(user_domain=w07version62.astppbilling.org)
  608. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/8871343676@46.101.114.158 [user_domain]=[w07version62.astppbilling.org]
  609. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  610. 2022-04-26 13:45:58.159421 98.07% [ERR] mod_lua.cpp:202 cannot open /usr/local/freeswitch/scripts/astpp/constant.lua: No such file or directory
  611. stack traceback:
  612.         [C]: in function 'dofile'
  613.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:17: in main chunk
  614. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_cpp.cpp:1209 sofia/default/8871343676@46.101.114.158 destroy/unlink session from object
  615. EXECUTE [depth=0] sofia/default/8871343676@46.101.114.158 hangup(USER_BUSY)
  616. 2022-04-26 13:45:58.159421 98.07% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8871343676@46.101.114.158 [CS_EXECUTE] [USER_BUSY]
  617. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_session.c:2983 sofia/default/8871343676@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  618. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8871343676@46.101.114.158) State EXECUTE going to sleep
  619. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 34)
  620. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8871343676@46.101.114.158) Callstate Change RINGING -> HANGUP
  621. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP
  622. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_sofia.c:462 sofia/default/8871343676@46.101.114.158 Overriding SIP cause 486 with 486 from the other leg
  623. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/8871343676@46.101.114.158 hanging up, cause: USER_BUSY
  624. 2022-04-26 13:45:58.159421 98.07% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
  625. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/8871343676@46.101.114.158 Standard HANGUP, cause: USER_BUSY
  626. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8871343676@46.101.114.158) State HANGUP going to sleep
  627. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8871343676@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  628. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8871343676@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 34)
  629. 2022-04-26 13:45:58.159421 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING
  630. 2022-04-26 13:45:58.159421 98.07% [INFO] mod_json_cdr.c:271 Process [c17830f2-a718-4484-8253-03abd4b57061.cdr.json]
  631. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard REPORTING, cause: USER_BUSY
  632. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State REPORTING going to sleep
  633. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State Change CS_REPORTING -> CS_DESTROY
  634. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_session.c:1753 Session 34 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Locked, Waiting on external entities
  635. 2022-04-26 13:45:58.199471 98.07% [NOTICE] switch_core_session.c:1771 Session 34 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Ended
  636. 2022-04-26 13:45:58.199471 98.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9998913119@w07version62.astppbilling.org:5066 [CS_DESTROY]
  637. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9998913119@w07version62.astppbilling.org:5066) Running State Change CS_DESTROY (Cur 1 Tot 34)
  638. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State DESTROY
  639. 2022-04-26 13:45:58.199471 98.07% [DEBUG] mod_sofia.c:379 sofia/default/9998913119@w07version62.astppbilling.org:5066 SOFIA DESTROY
  640. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/9998913119@w07version62.astppbilling.org:5066 Standard DESTROY
  641. 2022-04-26 13:45:58.199471 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9998913119@w07version62.astppbilling.org:5066) State DESTROY going to sleep
  642. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/8871343676@46.101.114.158 Standard REPORTING, cause: USER_BUSY
  643. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8871343676@46.101.114.158) State REPORTING going to sleep
  644. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8871343676@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  645. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_session.c:1753 Session 33 (sofia/default/8871343676@46.101.114.158) Locked, Waiting on external entities
  646. 2022-04-26 13:45:58.219448 98.07% [NOTICE] switch_core_session.c:1771 Session 33 (sofia/default/8871343676@46.101.114.158) Ended
  647. 2022-04-26 13:45:58.219448 98.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8871343676@46.101.114.158 [CS_DESTROY]
  648. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8871343676@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 34)
  649. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY
  650. 2022-04-26 13:45:58.219448 98.07% [DEBUG] mod_sofia.c:379 sofia/default/8871343676@46.101.114.158 SOFIA DESTROY
  651. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/8871343676@46.101.114.158 Standard DESTROY
  652. 2022-04-26 13:45:58.219448 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8871343676@46.101.114.158) State DESTROY going to sleep
  653. freeswitch@ip-172-31-14-218>
  654. freeswitch@ip-172-31-14-218>
  655. freeswitch@ip-172-31-14-218>
  656. freeswitch@ip-172-31-14-218>
  657. freeswitch@ip-172-31-14-218>
  658. freeswitch@ip-172-31-14-218> /exit
  659.  
  660. root@ip-172-31-14-218:/usr/share/freeswitch#