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