From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@AlphaQA>
  2. freeswitch@AlphaQA>
  3. 2022-11-07 12:48:25.839613 97.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8455927355@168.119.48.166 [a36fd42f-c15e-4228-a7df-624213a15525]
  4. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8455927355@168.119.48.166) Running State Change CS_NEW (Cur 1 Tot 36)
  5. 2022-11-07 12:48:25.839613 97.77% [INFO] sofia.c:10462 sofia/default/8455927355@168.119.48.166 receiving invite from 168.119.48.166:5060 version: 1.10.7 -release 64bit call-id: MDJlNzEzZGMxMWI5NDY4N2FmYzU5MmE4YjJjNGQ0MzI.
  6. 2022-11-07 12:48:25.839613 97.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 168.119.48.166:0.
  7. 2022-11-07 12:48:25.839613 97.77% [DEBUG] sofia.c:10585 IP 168.119.48.166 Approved by acl "default[]". Access Granted.
  8. 2022-11-07 12:48:25.839613 97.77% [DEBUG] sofia.c:7499 Channel sofia/default/8455927355@168.119.48.166 entering state [received][100]
  9. 2022-11-07 12:48:25.839613 97.77% [DEBUG] sofia.c:7509 Remote SDP:
  10. v=0
  11. o=Z 0 0 IN IP4 103.240.35.46
  12. s=Z
  13. c=IN IP4 103.240.35.46
  14. t=0 0
  15. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  16. a=rtpmap:110 speex/8000
  17. a=rtpmap:98 iLBC/8000
  18. a=fmtp:98 mode=20
  19. a=rtpmap:101 telephone-event/8000
  20. a=fmtp:101 0-15
  21.  
  22. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  23. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  24. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  25. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  26. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  28. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  32. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  33. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  34. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  35. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/8455927355@168.119.48.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  36. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_codec.c:111 sofia/default/8455927355@168.119.48.166 Original read codec set to PCMA:8
  37. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  38. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_media.c:5973 sofia/default/8455927355@168.119.48.166 Set 2833 dtmf send payload to 101 recv payload to 101
  39. 2022-11-07 12:48:25.839613 97.77% [DEBUG] sofia.c:7933 (sofia/default/8455927355@168.119.48.166) State Change CS_NEW -> CS_INIT
  40. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8455927355@168.119.48.166) State NEW
  41. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8455927355@168.119.48.166) Running State Change CS_INIT (Cur 1 Tot 36)
  42. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8455927355@168.119.48.166) State INIT
  43. 2022-11-07 12:48:25.839613 97.77% [DEBUG] mod_sofia.c:97 sofia/default/8455927355@168.119.48.166 SOFIA INIT
  44. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/8455927355@168.119.48.166 Standard INIT
  45. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8455927355@168.119.48.166) State Change CS_INIT -> CS_ROUTING
  46. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8455927355@168.119.48.166) State INIT going to sleep
  47. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8455927355@168.119.48.166) Running State Change CS_ROUTING (Cur 1 Tot 36)
  48. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_channel.c:2380 (sofia/default/8455927355@168.119.48.166) Callstate Change DOWN -> RINGING
  49. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8455927355@168.119.48.166) State ROUTING
  50. 2022-11-07 12:48:25.839613 97.77% [DEBUG] mod_sofia.c:158 sofia/default/8455927355@168.119.48.166 SOFIA ROUTING
  51. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/8455927355@168.119.48.166 Standard ROUTING
  52. 2022-11-07 12:48:25.839613 97.77% [INFO] mod_dialplan_xml.c:639 Processing 8455927355 <8455927355>->111222 in context default
  53. 2022-11-07 12:48:25.839613 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  54. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  55. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  56. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2022-11-07 12:48:25.839613 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 111222
  58. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  59. 2022-11-07 12:48:25.839613 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8455927355
  60. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '111222' limit 1
  62. 2022-11-07 12:48:25.839613 97.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  63. 2022-11-07 12:48:25.839613 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 8455927355
  64. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  65. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  66. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  67. 2022-11-07 12:48:25.839613 97.77% [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 ="111222" LIMIT 1
  68. 2022-11-07 12:48:25.839613 97.77% [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 ="111222" LIMIT 1
  69. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="111" and did_id ="8" and number ="8455927355" and status = '0' LIMIT 1
  71. 2022-11-07 12:48:25.839613 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  72. 2022-11-07 12:48:25.839613 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.240.35.46
  73. 2022-11-07 12:48:25.839613 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6179153167]
  74. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6179153167" AND deleted = 0 limit 1
  75. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =111
  76. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  77. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  78. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  79. 2022-11-07 12:48:25.839613 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 111
  80. 2022-11-07 12:48:25.839613 97.77% [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 = '^111222.*' OR patterns = '^11122.*' OR patterns = '^1112.*' OR patterns = '^111.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 111 ORDER BY LENGTH(PKGPTR.patterns) DESC
  81. 2022-11-07 12:48:25.859609 97.77% [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 ="111222" AND A.accountid = '111' limit 1
  82. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 111222
  83. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  84. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  85. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  86. 2022-11-07 12:48:25.859609 97.77% [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 ="111222" LIMIT 1
  87. 2022-11-07 12:48:25.859609 97.77% [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 ="111222" LIMIT 1
  88. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  89. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="111" and did_id ="8" and number ="8455927355" and status = '0' LIMIT 1
  90. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  91. 2022-11-07 12:48:25.859609 97.77% [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 = '111222' OR number = '11122' OR number = '1112' OR number = '111' OR number = '11' OR number = '1' OR number ='--') OR (number = '111222*' OR number = '11122*' OR number = '1112*' OR number = '111*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '8455927355' OR number = '845592735' OR number = '84559273' OR number = '8455927' OR number = '845592' OR number = '84559' OR number = '8455' OR number = '845' OR number = '84' OR number = '8' OR number ='--') OR (number = '8455927355*' OR number = '845592735*' OR number = '84559273*' OR number = '8455927*' OR number = '845592*' OR number = '84559*' OR number = '8455*' OR number = '845*' OR number = '84*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  92. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  93. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '111222' OR routing_prefix = '11122' OR routing_prefix = '1112' OR routing_prefix = '111' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  94. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  95. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 111
  96. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6179153167
  97. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =111
  98. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 89
  99. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  100. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  101. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  102. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  103. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  104. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  105. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  106. 2022-11-07 12:48:25.859609 97.77% [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 ="111222" LIMIT 1
  107. 2022-11-07 12:48:25.859609 97.77% [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 ="111222" LIMIT 1
  108. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  109. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="111" and did_id ="8" and number ="8455927355" and status = '0' LIMIT 1
  110. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  111. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  112. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8
  113. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 1.00000
  114. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  115. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  116. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 111222
  117. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  118. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 111
  119. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  120. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =111
  121. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your89 balance Accountid 111 !!!
  122. 2022-11-07 12:48:25.859609 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 10000
  123. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  124. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  125. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  126. 2022-11-07 12:48:25.859609 97.77% [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 = 111 AND status=0 LIMIT 1
  127. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "111" AND deleted = 0 limit 1
  128. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =111
  129. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:111
  130. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:111
  131. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 111
  132. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 1000
  133. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  134. 2022-11-07 12:48:25.859609 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  135. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 111  and status = 0 limit 1
  136. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  137. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  138. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='6179153167'
  139. 2022-11-07 12:48:25.859609 97.77% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6179153167" limit 1
  140. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  141. <document type="freeswitch/xml">
  142. <section name="dialplan" description="ASTPP Dialplan">
  143. <context name="default">
  144. <extension name="111222">
  145. <condition field="destination_number" expression="111222">
  146. <action application="set" data="effective_destination_number=111222"/>
  147. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  148. <action application="set" data="bridge_pre_execute_bleg_data=+60000 normal_clearing"/>
  149. <action application="set" data="type=0"/>
  150. <action application="set" data="callstart=2022-11-07 12:48:25"/>
  151. <action application="set" data="hangup_after_bridge=true"/>
  152. <action application="set" data="continue_on_fail=TRUE"/>
  153. <action application="set" data="account_id=111"/>
  154. <action application="set" data="parent_id=0"/>
  155. <action application="set" data="entity_id=0"/>
  156. <action application="set" data="call_processed=internal"/>
  157. <action application="set" data="call_direction=inbound"/>
  158. <action application="set" data="accountname=default"/>
  159. <action application="set" data="filename1=astpp.pbx.lua"/>
  160. <action application="set" data="origination_rates_did=ID:8|CODE:^111222.*|DESTINATION:111222|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:111"/>
  161. <action application="set" data="origination_rates=0"/>
  162. <action application="set" data="original_caller_id_number=8455927355"/>
  163. <action application="set" data="effective_caller_id_number=8455927355"/>
  164. <action application="set" data="receiver_accid=111"/>
  165. <action application="set" data="did_id=8"/>
  166. <action application="set" data="transfer_call_type=4"/>
  167. <action application="set" data="transfer_extensions="/>
  168. <action application="set" data="busy_status=1"/>
  169. <action application="set" data="no_answer_status=1"/>
  170. <action application="set" data="always_status=1"/>
  171. <action application="set" data="transfer_status=1"/>
  172. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  173. <action application="set" data="variable_sip_network_ip=168.119.48.166"/>
  174. <action application="set" data="variable_sip_network_port=5060"/>
  175. <action application="export" data="domain_name="/>
  176. <action application="export" data="sip_to_host="/>
  177. <action application="export" data="presence_data=x|||bhavyata(6179153167)|||||||||DID|||103.240.35.46"/>
  178. <action application="export" data="call_type=0"/>
  179. <action application="set" data="calltype=DID-LOCAL"/>
  180. <action application="ring_ready"/>
  181. <action application="sleep" data="5000"/>
  182. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/6179153167@168.119.48.166;fs_path=sip:168.119.48.166:5060"/>
  183. <condition field="${cond(${user_data 6179153167@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  184. <action application="answer"/>
  185. <action application="export" data="voicemail_alternate_greet_id=111222"/>
  186. <action application="voicemail" data="default $${domain_name} 6179153167"/>
  187. <anti-action application="hangup" data="${originate_disposition}"/>
  188. </condition>
  189. <action application="set" data="did_id=8"/>
  190. <action application="set" data="destination_number=111222"/>
  191. <action application="set" data="leg_timeout=0"/>
  192. <action application="set" data="call_type_vm_flag=1"/>
  193. <action application="set" data="is_local_extension=1"/>
  194. <action application="lua" data="did_call_forwarding.lua"/>
  195. </condition>
  196. </extension>
  197. </context>
  198. </section>
  199. </document>
  200. Dialplan: sofia/default/8455927355@168.119.48.166 parsing [default->111222] continue=false
  201. Dialplan: sofia/default/8455927355@168.119.48.166 Regex (PASS) [111222] destination_number(111222) =~ /111222/ break=on-false
  202. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(effective_destination_number=111222)
  203. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  204. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  205. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(type=0)
  206. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(callstart=2022-11-07 12:48:25)
  207. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(hangup_after_bridge=true)
  208. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(continue_on_fail=TRUE)
  209. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(account_id=111)
  210. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(parent_id=0)
  211. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(entity_id=0)
  212. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(call_processed=internal)
  213. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(call_direction=inbound)
  214. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(accountname=default)
  215. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(filename1=astpp.pbx.lua)
  216. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(origination_rates_did=ID:8|CODE:^111222.*|DESTINATION:111222|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:111)
  217. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(origination_rates=0)
  218. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(original_caller_id_number=8455927355)
  219. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(effective_caller_id_number=8455927355)
  220. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(receiver_accid=111)
  221. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(did_id=8)
  222. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(transfer_call_type=4)
  223. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(transfer_extensions=)
  224. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(busy_status=1)
  225. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(no_answer_status=1)
  226. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(always_status=1)
  227. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(transfer_status=1)
  228. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(variable_sip_to_host=${domain_name})
  229. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(variable_sip_network_ip=168.119.48.166)
  230. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(variable_sip_network_port=5060)
  231. Dialplan: sofia/default/8455927355@168.119.48.166 Action export(domain_name=)
  232. Dialplan: sofia/default/8455927355@168.119.48.166 Action export(sip_to_host=)
  233. Dialplan: sofia/default/8455927355@168.119.48.166 Action export(presence_data=x|||bhavyata(6179153167)|||||||||DID|||103.240.35.46)
  234. Dialplan: sofia/default/8455927355@168.119.48.166 Action export(call_type=0)
  235. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(calltype=DID-LOCAL)
  236. Dialplan: sofia/default/8455927355@168.119.48.166 Action ring_ready()
  237. Dialplan: sofia/default/8455927355@168.119.48.166 Action sleep(5000)
  238. Dialplan: sofia/default/8455927355@168.119.48.166 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/6179153167@168.119.48.166;fs_path=sip:168.119.48.166:5060)
  239. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(did_id=8)
  240. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(destination_number=111222)
  241. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(leg_timeout=0)
  242. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(call_type_vm_flag=1)
  243. Dialplan: sofia/default/8455927355@168.119.48.166 Action set(is_local_extension=1)
  244. Dialplan: sofia/default/8455927355@168.119.48.166 Action lua(did_call_forwarding.lua)
  245. |--- Dialplan: Processing recursive conditions level:1 [111222_recur_1] require-nested=TRUE
  246. |--- Dialplan: sofia/default/8455927355@168.119.48.166 Regex (FAIL) [111222_recur_1] ${cond(${user_data 6179153167@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  247. |--- Dialplan: sofia/default/8455927355@168.119.48.166 ANTI-Action hangup(${originate_disposition})
  248. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8455927355@168.119.48.166) State Change CS_ROUTING -> CS_EXECUTE
  249. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8455927355@168.119.48.166) State ROUTING going to sleep
  250. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8455927355@168.119.48.166) Running State Change CS_EXECUTE (Cur 1 Tot 36)
  251. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8455927355@168.119.48.166) State EXECUTE
  252. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_sofia.c:213 sofia/default/8455927355@168.119.48.166 SOFIA EXECUTE
  253. 2022-11-07 12:48:25.859609 97.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/8455927355@168.119.48.166 Standard EXECUTE
  254. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(effective_destination_number=111222)
  255. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [effective_destination_number]=[111222]
  256. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  257. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  258. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  259. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing]
  260. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(type=0)
  261. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [type]=[0]
  262. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(callstart=2022-11-07 12:48:25)
  263. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [callstart]=[2022-11-07 12:48:25]
  264. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(hangup_after_bridge=true)
  265. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [hangup_after_bridge]=[true]
  266. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(continue_on_fail=TRUE)
  267. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [continue_on_fail]=[TRUE]
  268. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(account_id=111)
  269. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [account_id]=[111]
  270. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(parent_id=0)
  271. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [parent_id]=[0]
  272. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(entity_id=0)
  273. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [entity_id]=[0]
  274. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(call_processed=internal)
  275. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [call_processed]=[internal]
  276. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(call_direction=inbound)
  277. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [call_direction]=[inbound]
  278. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(accountname=default)
  279. 2022-11-07 12:48:25.859609 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [accountname]=[default]
  280. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(filename1=astpp.pbx.lua)
  281. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [filename1]=[astpp.pbx.lua]
  282. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(origination_rates_did=ID:8|CODE:^111222.*|DESTINATION:111222|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:111)
  283. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [origination_rates_did]=[ID:8|CODE:^111222.*|DESTINATION:111222|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:111]
  284. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(origination_rates=0)
  285. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [origination_rates]=[0]
  286. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(original_caller_id_number=8455927355)
  287. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [original_caller_id_number]=[8455927355]
  288. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(effective_caller_id_number=8455927355)
  289. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [effective_caller_id_number]=[8455927355]
  290. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(receiver_accid=111)
  291. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [receiver_accid]=[111]
  292. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(did_id=8)
  293. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [did_id]=[8]
  294. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(transfer_call_type=4)
  295. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [transfer_call_type]=[4]
  296. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(transfer_extensions=)
  297. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [transfer_extensions]=[UNDEF]
  298. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(busy_status=1)
  299. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [busy_status]=[1]
  300. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(no_answer_status=1)
  301. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [no_answer_status]=[1]
  302. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(always_status=1)
  303. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [always_status]=[1]
  304. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(transfer_status=1)
  305. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [transfer_status]=[1]
  306. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(variable_sip_to_host=168.119.48.166)
  307. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [variable_sip_to_host]=[168.119.48.166]
  308. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(variable_sip_network_ip=168.119.48.166)
  309. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [variable_sip_network_ip]=[168.119.48.166]
  310. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(variable_sip_network_port=5060)
  311. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [variable_sip_network_port]=[5060]
  312. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 export(domain_name=)
  313. 2022-11-07 12:48:25.879610 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  314. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 export(sip_to_host=)
  315. 2022-11-07 12:48:25.879610 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  316. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 export(presence_data=x|||bhavyata(6179153167)|||||||||DID|||103.240.35.46)
  317. 2022-11-07 12:48:25.879610 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||bhavyata(6179153167)|||||||||DID|||103.240.35.46]
  318. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 export(call_type=0)
  319. 2022-11-07 12:48:25.879610 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  320. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(calltype=DID-LOCAL)
  321. 2022-11-07 12:48:25.879610 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [calltype]=[DID-LOCAL]
  322. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 ring_ready()
  323. 2022-11-07 12:48:25.879610 97.77% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/8455927355@168.119.48.166!
  324. 2022-11-07 12:48:25.879610 97.77% [DEBUG] sofia.c:7499 Channel sofia/default/8455927355@168.119.48.166 entering state [early][180]
  325. 2022-11-07 12:48:25.879610 97.77% [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/8455927355@168.119.48.166!
  326. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 sleep(5000)
  327. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/6179153167@168.119.48.166;fs_path=sip:168.119.48.166:5060)
  328. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_channel.c:1269 sofia/default/8455927355@168.119.48.166 EXPORTING[export_vars] [presence_data]=[x|||bhavyata(6179153167)|||||||||DID|||103.240.35.46] to event
  329. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_channel.c:1269 sofia/default/8455927355@168.119.48.166 EXPORTING[export_vars] [call_type]=[0] to event
  330. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  331. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  332. 2022-11-07 12:48:30.879627 97.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6179153167@168.119.48.166 [46278fcb-1830-4871-9f8a-710bc866d271]
  333. 2022-11-07 12:48:30.879627 97.53% [DEBUG] mod_sofia.c:5121 (sofia/default/6179153167@168.119.48.166) State Change CS_NEW -> CS_INIT
  334. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6179153167@168.119.48.166) Running State Change CS_INIT (Cur 2 Tot 37)
  335. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6179153167@168.119.48.166) State INIT
  336. 2022-11-07 12:48:30.879627 97.53% [DEBUG] mod_sofia.c:97 sofia/default/6179153167@168.119.48.166 SOFIA INIT
  337. 2022-11-07 12:48:30.879627 97.53% [DEBUG] sofia_glue.c:1620 sip:168.119.48.166:5060 Setting proxy route to sofia/default/6179153167@168.119.48.166
  338. 2022-11-07 12:48:30.879627 97.53% [INFO] sofia_glue.c:1651 sofia/default/6179153167@168.119.48.166 sending invite call-id: (null)
  339. 2022-11-07 12:48:30.879627 97.53% [DEBUG] sofia_glue.c:1654 sofia/default/6179153167@168.119.48.166 sending invite version: 1.10.7 -release 64bit
  340. Local SDP:
  341. v=0
  342. o=FreeSWITCH 1667805386 1667805387 IN IP4 168.119.48.166
  343. s=FreeSWITCH
  344. c=IN IP4 168.119.48.166
  345. t=0 0
  346. m=audio 19924 RTP/AVP 8 101
  347. a=rtpmap:8 PCMA/8000
  348. a=rtpmap:101 telephone-event/8000
  349. a=fmtp:101 0-15
  350. a=ptime:20
  351. a=sendrecv
  352.  
  353. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/6179153167@168.119.48.166 Standard INIT
  354. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6179153167@168.119.48.166) State Change CS_INIT -> CS_ROUTING
  355. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6179153167@168.119.48.166) State INIT going to sleep
  356. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6179153167@168.119.48.166) Running State Change CS_ROUTING (Cur 2 Tot 37)
  357. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6179153167@168.119.48.166) State ROUTING
  358. 2022-11-07 12:48:30.879627 97.53% [DEBUG] mod_sofia.c:158 sofia/default/6179153167@168.119.48.166 SOFIA ROUTING
  359. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/6179153167@168.119.48.166) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  360. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6179153167@168.119.48.166) State ROUTING going to sleep
  361. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6179153167@168.119.48.166) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 37)
  362. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6179153167@168.119.48.166) State CONSUME_MEDIA
  363. 2022-11-07 12:48:30.879627 97.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6179153167@168.119.48.166) State CONSUME_MEDIA going to sleep
  364. 2022-11-07 12:48:30.879627 97.53% [DEBUG] sofia.c:7499 Channel sofia/default/6179153167@168.119.48.166 entering state [calling][0]
  365. 2022-11-07 12:48:31.299614 97.53% [DEBUG] sofia.c:7499 Channel sofia/default/6179153167@168.119.48.166 entering state [proceeding][180]
  366. 2022-11-07 12:48:31.299614 97.53% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/6179153167@168.119.48.166!
  367. 2022-11-07 12:48:31.299614 97.53% [DEBUG] switch_channel.c:3494 (sofia/default/6179153167@168.119.48.166) Callstate Change DOWN -> RINGING
  368. 2022-11-07 12:48:31.319615 97.53% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/8455927355@168.119.48.166!
  369. 2022-11-07 12:49:30.019623 98.00% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/6179153167@168.119.48.166 [CS_CONSUME_MEDIA] [NO_ANSWER]
  370. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6179153167@168.119.48.166) Running State Change CS_HANGUP (Cur 2 Tot 37)
  371. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6179153167@168.119.48.166) Callstate Change RINGING -> HANGUP
  372. 2022-11-07 12:49:30.019623 98.00% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NO_ANSWER
  373. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6179153167@168.119.48.166) State HANGUP
  374. 2022-11-07 12:49:30.019623 98.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/6179153167@168.119.48.166 hanging up, cause: NO_ANSWER
  375. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(did_id=8)
  376. 2022-11-07 12:49:30.019623 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [did_id]=[8]
  377. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(destination_number=111222)
  378. 2022-11-07 12:49:30.019623 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [destination_number]=[111222]
  379. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(leg_timeout=0)
  380. 2022-11-07 12:49:30.019623 98.00% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/6179153167@168.119.48.166
  381. 2022-11-07 12:49:30.019623 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [leg_timeout]=[0]
  382. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(call_type_vm_flag=1)
  383. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/6179153167@168.119.48.166 Standard HANGUP, cause: NO_ANSWER
  384. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6179153167@168.119.48.166) State HANGUP going to sleep
  385. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6179153167@168.119.48.166) State Change CS_HANGUP -> CS_REPORTING
  386. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6179153167@168.119.48.166) Running State Change CS_REPORTING (Cur 2 Tot 37)
  387. 2022-11-07 12:49:30.019623 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [call_type_vm_flag]=[1]
  388. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 set(is_local_extension=1)
  389. 2022-11-07 12:49:30.019623 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6179153167@168.119.48.166) State REPORTING
  390. 2022-11-07 12:49:30.019623 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/8455927355@168.119.48.166 [is_local_extension]=[1]
  391. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 lua(did_call_forwarding.lua)
  392. 2022-11-07 12:49:30.019623 98.00% [INFO] mod_json_cdr.c:271 Process [46278fcb-1830-4871-9f8a-710bc866d271.cdr.json]
  393. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  394. 2022-11-07 12:49:30.039615 98.00% [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')
  395. 2022-11-07 12:49:30.039615 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  396. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 0 This Is DiD Id :
  397. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_cpp.cpp:1209 sofia/default/8455927355@168.119.48.166 destroy/unlink session from object
  398. EXECUTE [depth=0] sofia/default/8455927355@168.119.48.166 hangup(NO_ANSWER)
  399. 2022-11-07 12:49:30.039615 98.00% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/8455927355@168.119.48.166 [CS_EXECUTE] [NO_ANSWER]
  400. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_session.c:2983 sofia/default/8455927355@168.119.48.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  401. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8455927355@168.119.48.166) State EXECUTE going to sleep
  402. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8455927355@168.119.48.166) Running State Change CS_HANGUP (Cur 2 Tot 37)
  403. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8455927355@168.119.48.166) Callstate Change RINGING -> HANGUP
  404. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8455927355@168.119.48.166) State HANGUP
  405. 2022-11-07 12:49:30.039615 98.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/8455927355@168.119.48.166 hanging up, cause: NO_ANSWER
  406. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/6179153167@168.119.48.166 Standard REPORTING, cause: NO_ANSWER
  407. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6179153167@168.119.48.166) State REPORTING going to sleep
  408. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6179153167@168.119.48.166) State Change CS_REPORTING -> CS_DESTROY
  409. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_session.c:1753 Session 37 (sofia/default/6179153167@168.119.48.166) Locked, Waiting on external entities
  410. 2022-11-07 12:49:30.039615 98.00% [NOTICE] switch_core_session.c:1771 Session 37 (sofia/default/6179153167@168.119.48.166) Ended
  411. 2022-11-07 12:49:30.039615 98.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6179153167@168.119.48.166 [CS_DESTROY]
  412. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6179153167@168.119.48.166) Running State Change CS_DESTROY (Cur 1 Tot 37)
  413. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6179153167@168.119.48.166) State DESTROY
  414. 2022-11-07 12:49:30.039615 98.00% [DEBUG] mod_sofia.c:379 sofia/default/6179153167@168.119.48.166 SOFIA DESTROY
  415. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/6179153167@168.119.48.166 Standard DESTROY
  416. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6179153167@168.119.48.166) State DESTROY going to sleep
  417. 2022-11-07 12:49:30.039615 98.00% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  418. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/8455927355@168.119.48.166 Standard HANGUP, cause: NO_ANSWER
  419. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8455927355@168.119.48.166) State HANGUP going to sleep
  420. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8455927355@168.119.48.166) State Change CS_HANGUP -> CS_REPORTING
  421. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8455927355@168.119.48.166) Running State Change CS_REPORTING (Cur 1 Tot 37)
  422. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8455927355@168.119.48.166) State REPORTING
  423. 2022-11-07 12:49:30.039615 98.00% [INFO] mod_json_cdr.c:271 Process [a36fd42f-c15e-4228-a7df-624213a15525.cdr.json]
  424. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/8455927355@168.119.48.166 Standard REPORTING, cause: NO_ANSWER
  425. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8455927355@168.119.48.166) State REPORTING going to sleep
  426. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8455927355@168.119.48.166) State Change CS_REPORTING -> CS_DESTROY
  427. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_session.c:1753 Session 36 (sofia/default/8455927355@168.119.48.166) Locked, Waiting on external entities
  428. 2022-11-07 12:49:30.039615 98.00% [NOTICE] switch_core_session.c:1771 Session 36 (sofia/default/8455927355@168.119.48.166) Ended
  429. 2022-11-07 12:49:30.039615 98.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/8455927355@168.119.48.166 [CS_DESTROY]
  430. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8455927355@168.119.48.166) Running State Change CS_DESTROY (Cur 0 Tot 37)
  431. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8455927355@168.119.48.166) State DESTROY
  432. 2022-11-07 12:49:30.039615 98.00% [DEBUG] mod_sofia.c:379 sofia/default/8455927355@168.119.48.166 SOFIA DESTROY
  433. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/8455927355@168.119.48.166 Standard DESTROY
  434. 2022-11-07 12:49:30.039615 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8455927355@168.119.48.166) State DESTROY going to sleep
  435. freeswitch@AlphaQA>