From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. freeswitch@devangASTPP>
  3. freeswitch@devangASTPP>
  4. freeswitch@devangASTPP>
  5. 2022-09-27 10:36:19.481250 87.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [14ee1774-cd60-4c64-8659-7c2680187c00]
  6. 2022-09-27 10:36:19.481250 87.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_NEW (Cur 1 Tot 45)
  7. 2022-09-27 10:36:19.481250 87.77% [INFO] sofia.c:10462 sofia/default/990006@astppqa601.astppbilling.org:5072 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release 64bit call-id: efmwcklvzanoljh@pk-qa
  8. 2022-09-27 10:36:19.481250 87.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  9. 2022-09-27 10:36:19.481250 87.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1002020@astppqa601.astppbilling.org] from ip 103.240.35.46
  10. 2022-09-27 10:36:19.481250 87.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990006@astppqa601.astppbilling.org:5072) State NEW
  11. 2022-09-27 10:36:19.481250 87.77% [DEBUG] sofia.c:2419 detaching session 14ee1774-cd60-4c64-8659-7c2680187c00
  12. 2022-09-27 10:36:19.641252 87.77% [DEBUG] sofia.c:2532 Re-attaching to session 14ee1774-cd60-4c64-8659-7c2680187c00
  13. 2022-09-27 10:36:19.641252 87.77% [INFO] sofia.c:10462 sofia/default/990006@astppqa601.astppbilling.org:5072 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release 64bit call-id: efmwcklvzanoljh@pk-qa
  14. 2022-09-27 10:36:19.641252 87.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  15. 2022-09-27 10:36:19.641252 87.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  16. 2022-09-27 10:36:19.641252 87.77% [DEBUG] sofia.c:7499 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 entering state [received][100]
  17. 2022-09-27 10:36:19.641252 87.77% [DEBUG] sofia.c:7509 Remote SDP:
  18. v=0
  19. o=twinkle 1732716276 345274734 IN IP4 192.168.1.51
  20. s=-
  21. c=IN IP4 192.168.1.51
  22. t=0 0
  23. m=audio 8000 RTP/AVP 98 97 8 0 3 101
  24. a=rtpmap:98 speex/16000
  25. a=rtpmap:97 speex/8000
  26. a=rtpmap:8 PCMA/8000
  27. a=rtpmap:0 PCMU/8000
  28. a=rtpmap:3 GSM/8000
  29. a=rtpmap:101 telephone-event/8000
  30. a=fmtp:101 0-15
  31. a=ptime:20
  32.  
  33. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  37. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  38. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  39. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  41. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  42. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  43. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  44. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  45. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  46. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/990006@astppqa601.astppbilling.org:5072 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  47. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_codec.c:111 sofia/default/990006@astppqa601.astppbilling.org:5072 Original read codec set to PCMA:8
  48. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  49. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_media.c:5973 sofia/default/990006@astppqa601.astppbilling.org:5072 Set 2833 dtmf send payload to 101 recv payload to 101
  50. 2022-09-27 10:36:19.641252 87.77% [DEBUG] sofia.c:7933 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_NEW -> CS_INIT
  51. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_INIT (Cur 1 Tot 45)
  52. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT
  53. 2022-09-27 10:36:19.641252 87.77% [DEBUG] mod_sofia.c:97 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA INIT
  54. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard INIT
  55. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_INIT -> CS_ROUTING
  56. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT going to sleep
  57. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 45)
  58. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_channel.c:2380 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change DOWN -> RINGING
  59. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING
  60. 2022-09-27 10:36:19.641252 87.77% [DEBUG] mod_sofia.c:158 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA ROUTING
  61. 2022-09-27 10:36:19.641252 87.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard ROUTING
  62. 2022-09-27 10:36:19.641252 87.77% [INFO] mod_dialplan_xml.c:639 Processing 990006 <990006>->1002020 in context default
  63. 2022-09-27 10:36:19.661247 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  64. 2022-09-27 10:36:19.661247 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  65. 2022-09-27 10:36:19.661247 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  66. 2022-09-27 10:36:19.661247 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2022-09-27 10:36:19.681248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  68. 2022-09-27 10:36:19.681248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1002020
  69. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1002020' limit 1
  70. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  71. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1002020' and status=0 LIMIT 1
  72. 2022-09-27 10:36:19.681248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER990006
  73. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1002020' limit 1
  75. 2022-09-27 10:36:19.681248 87.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  76. 2022-09-27 10:36:19.681248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 990006 / 990006
  77. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0
  78. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100202 AND status=0 limit 1
  79. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  80. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  81. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  82. 2022-09-27 10:36:19.681248 87.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 107
  83. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 107 AND status=0 limit 1
  84. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1002020
  85. 2022-09-27 10:36:19.681248 87.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 ="1002020" LIMIT 1
  86. 2022-09-27 10:36:19.681248 87.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 ="1002020" LIMIT 1
  87. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  88. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="199" and did_id ="245" and number ="990006" and status = '0' LIMIT 1
  89. 2022-09-27 10:36:19.681248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  90. 2022-09-27 10:36:19.681248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990006]
  91. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =1002020
  92. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990006" AND deleted = 0 limit 1
  93. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  94. 2022-09-27 10:36:19.681248 87.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 107
  95. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 107 AND status=0 limit 1
  96. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1002020
  97. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  98. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  99. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  100. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 199
  101. 2022-09-27 10:36:19.681248 87.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 = '^1002020.*' OR patterns = '^100202.*' OR patterns = '^10020.*' OR patterns = '^1002.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
  102. 2022-09-27 10:36:19.681248 87.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 ="1002020" AND A.accountid = '199' limit 1
  103. 2022-09-27 10:36:19.681248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1002020
  104. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  105. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  106. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  107. 2022-09-27 10:36:19.681248 87.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 107
  108. 2022-09-27 10:36:19.681248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 107 AND status=0 limit 1
  109. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1002020
  110. 2022-09-27 10:36:19.701252 87.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 ="1002020" LIMIT 1
  111. 2022-09-27 10:36:19.701252 87.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 ="1002020" LIMIT 1
  112. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  113. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="199" and did_id ="245" and number ="990006" and status = '0' LIMIT 1
  114. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  115. 2022-09-27 10:36:19.701252 87.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 = '1002020' OR number = '100202' OR number = '10020' OR number = '1002' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '1002020*' OR number = '100202*' OR number = '10020*' OR number = '1002*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '990006' OR number = '99000' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990006*' OR number = '99000*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  116. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  117. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1002020' OR routing_prefix = '100202' OR routing_prefix = '10020' OR routing_prefix = '1002' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  118. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  119. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 199
  120. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990006
  121. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  122. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11916.56
  123. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  124. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 57
  125. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  126. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  127. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  128. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  129. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  130. 2022-09-27 10:36:19.701252 87.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 107
  131. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 107 AND status=0 limit 1
  132. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1002020
  133. 2022-09-27 10:36:19.701252 87.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 ="1002020" LIMIT 1
  134. 2022-09-27 10:36:19.701252 87.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 ="1002020" LIMIT 1
  135. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  136. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="199" and did_id ="245" and number ="990006" and status = '0' LIMIT 1
  137. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  138. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  139. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  140. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:57
  141. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '57' and status=0
  142. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  143. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '433'
  144. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+02:00
  145. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
  146. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  147. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:27
  148. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:Sep
  149. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :27-9
  150. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :2
  151. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  152. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '433'
  153. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+02:00
  154. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
  155. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
  156. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 12.36
  157. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] BEFORE current_wday :Tue
  158. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -00:00 :
  159. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Tue
  160. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] AFTER current_wday :Tue
  161. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number3
  162. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :-7
  163. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  164. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  165. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 245
  166. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  167. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  168. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  169. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Ahmedabad Gujrat
  170. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  171. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 199
  172. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  173. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  174. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11916.56 balance Accountid 199 !!!
  175. 2022-09-27 10:36:19.701252 87.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  176. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  177. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  178. 2022-09-27 10:36:19.701252 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  179. 2022-09-27 10:36:19.701252 87.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 = 199 AND status=0 LIMIT 1
  180. 2022-09-27 10:36:19.701252 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "199" AND deleted = 0 limit 1
  181. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  182. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:199
  183. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:199
  184. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 199
  185. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 199 limit 1
  186. 2022-09-27 10:36:19.721248 87.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astppqa601.astppbilling.org
  187. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  188. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  189. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  190. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  191. 2022-09-27 10:36:19.721248 87.77% [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 = "6602928605" AND accounts.status = 0
  192. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 199 limit 1
  193. 2022-09-27 10:36:19.721248 87.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astppqa601.astppbilling.org
  194. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 199  and status = 0 limit 1
  195. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  196. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '6602928605' and accountid = '199'LIMIT 1
  197. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 6602928605
  198. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  199. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '6602928605' and accountid = '199'LIMIT 1
  200. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  201. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  202. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  203. 2022-09-27 10:36:19.721248 87.77% [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="6602928605"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  204. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4059 limit 1
  205. 2022-09-27 10:36:19.721248 87.77% [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
  206. 2022-09-27 10:36:19.721248 87.77% [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
  207. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  208. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='6602928605'
  209. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  210. 2022-09-27 10:36:19.721248 87.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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6602928605"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  211. 2022-09-27 10:36:19.721248 87.77% [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="6602928605"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  212. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 4059
  213. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4059 limit 1
  214. 2022-09-27 10:36:19.721248 87.77% [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
  215. 2022-09-27 10:36:19.721248 87.77% [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
  216. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  217. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  218. 2022-09-27 10:36:19.721248 87.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  219. 2022-09-27 10:36:19.721248 87.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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6602928605"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  220. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  221. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='6602928605'
  222. 2022-09-27 10:36:19.721248 87.77% [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="6602928605"  AND domains.domain="astppqa601.astppbilling.org" limit 1
  223. 2022-09-27 10:36:19.721248 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4059 limit 1
  224. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  225. <document type="freeswitch/xml">
  226. <section name="dialplan" description="ASTPP Dialplan">
  227. <context name="default">
  228. <extension name="1002020">
  229. <condition field="destination_number" expression="1002020">
  230. <action application="set" data="effective_destination_number=1002020"/>
  231. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  232. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  233. <action application="set" data="notify_flag=0"/>
  234. <action application="set" data="notify_credit_limit=12.00000"/>
  235. <action application="set" data="type=0"/>
  236. <action application="set" data="callstart=2022-09-27 10:36:19"/>
  237. <action application="set" data="hangup_after_bridge=true"/>
  238. <action application="set" data="continue_on_fail=TRUE"/>
  239. <action application="set" data="account_id=199"/>
  240. <action application="set" data="parent_id=0"/>
  241. <action application="set" data="entity_id=0"/>
  242. <action application="set" data="call_processed=internal"/>
  243. <action application="set" data="call_direction=inbound"/>
  244. <action application="set" data="accountname=default"/>
  245. <action application="set" data="filename1=astpp.pbx.lua"/>
  246. <action application="set" data="origination_rates_did=ID:245|CODE:^1002020.*|DESTINATION:Ahmedabad Gujrat|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199"/>
  247. <action application="set" data="origination_rates=0"/>
  248. <action application="set" data="original_caller_id_name=990006"/>
  249. <action application="set" data="original_caller_id_number=990006"/>
  250. <action application="limit" data="db 990006 user_990006 12 "/>
  251. <action application="limit" data="db Ahmedabad Gujrat user_Ahmedabad Gujrat 5 "/>
  252. <action application="set" data="effective_caller_id_name=990006"/>
  253. <action application="set" data="effective_caller_id_number=990006"/>
  254. <action application="set" data="receiver_accid=199"/>
  255. <action application="set" data="did_id=245"/>
  256. <action application="set" data="transfer_call_type=4"/>
  257. <action application="set" data="transfer_extensions="/>
  258. <action application="set" data="busy_status=1"/>
  259. <action application="set" data="no_answer_status=1"/>
  260. <action application="set" data="always_status=1"/>
  261. <action application="set" data="transfer_status=1"/>
  262. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  263. <action application="set" data="variable_sip_network_ip=103.240.35.46"/>
  264. <action application="set" data="variable_sip_network_port=5078"/>
  265. <action application="export" data="domain_name=astppqa601.astppbilling.org"/>
  266. <action application="export" data="sip_to_host=astppqa601.astppbilling.org"/>
  267. <action application="limit" data="db 1002020 did_1002020 5 "/>
  268. <action application="export" data="presence_data=x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46"/>
  269. <action application="export" data="call_type=0"/>
  270. <action application="set" data="calltype=DID-LOCAL"/>
  271. <action application="db" data="insert/pickup_any_group_${callgroup}/6602928605/${uuid}"/>
  272. <action application="set" data="dialed_extension=transfer_call"/>
  273. <action application="export" data="dialed_extension=transfer_call"/>
  274. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  275. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  276. <action application="set" data="hangup_after_bridge=true"/>
  277. <action application="export" data="did_user_domain=astppqa601.astppbilling.org"/>
  278. <action application="ring_ready"/>
  279. <action application="sleep" data="5000"/>
  280. <action application="db" data="insert/pickup_any_group_${callgroup}/6602928605/${uuid}"/>
  281. <action application="set" data="dialed_extension=transfer_call"/>
  282. <action application="export" data="dialed_extension=transfer_call"/>
  283. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  284. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  285. <action application="set" data="transfer_ringback=$${hold_music}"/>
  286. <action application="set" data="hangup_after_bridge=true"/>
  287. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=199}[leg_timeout=0 ] user/6602928605@astppqa601.astppbilling.org"/>
  288. <action application="ring_ready"/>
  289. <action application="sleep" data="5000"/>
  290. <action application="set" data="on_busy_flag=1"/>
  291. <action application="set" data="on_busy_destination="/>
  292. <action application="set" data="no_answer_flag=1"/>
  293. <action application="set" data="no_answer_destination="/>
  294. <action application="set" data="not_register_flag=1"/>
  295. <action application="set" data="not_register_destination="/>
  296. <action application="set" data="opensips_flag=1"/>
  297. <action application="set" data="variable_sip_to_host=astppqa601.astppbilling.org"/>
  298. <action application="set" data="opensips_domain=astppqa601.astppbilling.org"/>
  299. <action application="set" data="leg_timeout=0"/>
  300. <action application="set" data="userinfo_id=199"/>
  301. <action application="set" data="sip_destination_number=6602928605"/>
  302. <action application="set" data="did_number=6602928605"/>
  303. <action application="set" data="user_domain=astppqa601.astppbilling.org"/>
  304. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  305. <action application="set" data="on_busy_flag=1"/>
  306. <action application="set" data="on_busy_destination="/>
  307. <action application="set" data="no_answer_flag=1"/>
  308. <action application="set" data="no_answer_destination="/>
  309. <action application="set" data="not_register_flag=1"/>
  310. <action application="set" data="not_register_destination="/>
  311. <action application="set" data="opensips_flag=1"/>
  312. <action application="set" data="variable_sip_to_host=astppqa601.astppbilling.org"/>
  313. <action application="set" data="opensips_domain=astppqa601.astppbilling.org"/>
  314. <action application="set" data="leg_timeout=0"/>
  315. <action application="set" data="userinfo_id=199"/>
  316. <action application="set" data="sip_destination_number=6602928605"/>
  317. <action application="set" data="destination_number=6602928605"/>
  318. <action application="set" data="did_number=1002020"/>
  319. <action application="set" data="user_domain=astppqa601.astppbilling.org"/>
  320. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  321. <condition field="${cond(${user_data 6602928605@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  322. <action application="answer"/>
  323. <action application="export" data="voicemail_alternate_greet_id=6602928605"/>
  324. <action application="voicemail" data="default $${domain_name} 6602928605"/>
  325. <anti-action application="hangup" data="${originate_disposition}"/>
  326. </condition>
  327. </condition>
  328. </extension>
  329. </context>
  330. </section>
  331. </document>
  332. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 parsing [default->1002020] continue=false
  333. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Regex (PASS) [1002020] destination_number(1002020) =~ /1002020/ break=on-false
  334. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_destination_number=1002020)
  335. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  336. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  337. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(notify_flag=0)
  338. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(notify_credit_limit=12.00000)
  339. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(type=0)
  340. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(callstart=2022-09-27 10:36:19)
  341. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  342. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(continue_on_fail=TRUE)
  343. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(account_id=199)
  344. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(parent_id=0)
  345. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(entity_id=0)
  346. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_processed=internal)
  347. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_direction=inbound)
  348. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(accountname=default)
  349. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(filename1=astpp.pbx.lua)
  350. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(origination_rates_did=ID:245|CODE:^1002020.*|DESTINATION:Ahmedabad Gujrat|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199)
  351. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(origination_rates=0)
  352. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_name=990006)
  353. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_number=990006)
  354. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action limit(db 990006 user_990006 12 )
  355. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action limit(db Ahmedabad Gujrat user_Ahmedabad Gujrat 5 )
  356. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_name=990006)
  357. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_number=990006)
  358. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(receiver_accid=199)
  359. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(did_id=245)
  360. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_call_type=4)
  361. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_extensions=)
  362. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(busy_status=1)
  363. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_status=1)
  364. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(always_status=1)
  365. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_status=1)
  366. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_to_host=${domain_name})
  367. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_network_ip=103.240.35.46)
  368. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_network_port=5078)
  369. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(domain_name=astppqa601.astppbilling.org)
  370. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(sip_to_host=astppqa601.astppbilling.org)
  371. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action limit(db 1002020 did_1002020 5 )
  372. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(presence_data=x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46)
  373. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(call_type=0)
  374. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(calltype=DID-LOCAL)
  375. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action db(insert/pickup_any_group_${callgroup}/6602928605/${uuid})
  376. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(dialed_extension=transfer_call)
  377. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(dialed_extension=transfer_call)
  378. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  379. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  380. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  381. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(did_user_domain=astppqa601.astppbilling.org)
  382. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action ring_ready()
  383. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action sleep(5000)
  384. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action db(insert/pickup_any_group_${callgroup}/6602928605/${uuid})
  385. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(dialed_extension=transfer_call)
  386. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(dialed_extension=transfer_call)
  387. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  388. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  389. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_ringback=$${hold_music})
  390. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  391. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=199}[leg_timeout=0 ] user/6602928605@astppqa601.astppbilling.org)
  392. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action ring_ready()
  393. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action sleep(5000)
  394. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_flag=1)
  395. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_destination=)
  396. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_flag=1)
  397. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_destination=)
  398. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_flag=1)
  399. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_destination=)
  400. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_flag=1)
  401. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_to_host=astppqa601.astppbilling.org)
  402. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_domain=astppqa601.astppbilling.org)
  403. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(leg_timeout=0)
  404. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(userinfo_id=199)
  405. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(sip_destination_number=6602928605)
  406. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(did_number=6602928605)
  407. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(user_domain=astppqa601.astppbilling.org)
  408. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  409. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_flag=1)
  410. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_destination=)
  411. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_flag=1)
  412. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_destination=)
  413. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_flag=1)
  414. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_destination=)
  415. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_flag=1)
  416. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_to_host=astppqa601.astppbilling.org)
  417. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_domain=astppqa601.astppbilling.org)
  418. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(leg_timeout=0)
  419. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(userinfo_id=199)
  420. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(sip_destination_number=6602928605)
  421. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(destination_number=6602928605)
  422. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(did_number=1002020)
  423. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(user_domain=astppqa601.astppbilling.org)
  424. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  425. |--- Dialplan: Processing recursive conditions level:1 [1002020_recur_1] require-nested=TRUE
  426. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Regex (PASS) [1002020_recur_1] ${cond(${user_data 6602928605@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  427. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action answer()
  428. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(voicemail_alternate_greet_id=6602928605)
  429. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action voicemail(default $${domain_name} 6602928605)
  430. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_ROUTING -> CS_EXECUTE
  431. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING going to sleep
  432. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_EXECUTE (Cur 1 Tot 45)
  433. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE
  434. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_sofia.c:213 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA EXECUTE
  435. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard EXECUTE
  436. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(effective_destination_number=1002020)
  437. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [effective_destination_number]=[1002020]
  438. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(bridge_pre_execute_bleg_app=sched_hangup)
  439. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [bridge_pre_execute_bleg_app]=[sched_hangup]
  440. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  441. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  442. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(notify_flag=0)
  443. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [notify_flag]=[0]
  444. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(notify_credit_limit=12.00000)
  445. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [notify_credit_limit]=[12.00000]
  446. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(type=0)
  447. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [type]=[0]
  448. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(callstart=2022-09-27 10:36:19)
  449. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [callstart]=[2022-09-27 10:36:19]
  450. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(hangup_after_bridge=true)
  451. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [hangup_after_bridge]=[true]
  452. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(continue_on_fail=TRUE)
  453. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [continue_on_fail]=[TRUE]
  454. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(account_id=199)
  455. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [account_id]=[199]
  456. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(parent_id=0)
  457. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [parent_id]=[0]
  458. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(entity_id=0)
  459. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [entity_id]=[0]
  460. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_processed=internal)
  461. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_processed]=[internal]
  462. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_direction=inbound)
  463. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_direction]=[inbound]
  464. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(accountname=default)
  465. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [accountname]=[default]
  466. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(filename1=astpp.pbx.lua)
  467. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [filename1]=[astpp.pbx.lua]
  468. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(origination_rates_did=ID:245|CODE:^1002020.*|DESTINATION:Ahmedabad Gujrat|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199)
  469. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [origination_rates_did]=[ID:245|CODE:^1002020.*|DESTINATION:Ahmedabad Gujrat|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199]
  470. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(origination_rates=0)
  471. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [origination_rates]=[0]
  472. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_name=990006)
  473. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_name]=[990006]
  474. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_number=990006)
  475. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_number]=[990006]
  476. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 limit(db 990006 user_990006 12 )
  477. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_limit.c:124 incr called: 990006_user_990006 max:12, interval:0
  478. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_db.c:194 Usage for 990006_user_990006 is now 1/12
  479. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 limit(db Ahmedabad Gujrat user_Ahmedabad Gujrat 5 )
  480. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_limit.c:124 incr called: Ahmedabad_Gujrat max:0, interval:0
  481. 2022-09-27 10:36:19.741270 87.77% [DEBUG] mod_db.c:194 Usage for Ahmedabad_Gujrat is now 1/0
  482. 2022-09-27 10:36:19.741270 87.77% [DEBUG] switch_ivr.c:2289 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_EXECUTE -> CS_ROUTING
  483. 2022-09-27 10:36:19.741270 87.77% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/990006@astppqa601.astppbilling.org:5072 to 5[Gujrat@default]
  484. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE going to sleep
  485. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 45)
  486. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING
  487. 2022-09-27 10:36:19.761243 87.77% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  488. 2022-09-27 10:36:19.761243 87.77% [DEBUG] mod_sofia.c:158 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA ROUTING
  489. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard ROUTING
  490. 2022-09-27 10:36:19.761243 87.77% [ERR] switch_core_state_machine.c:270 Dialplan [5] not found, skipping
  491. 2022-09-27 10:36:19.761243 87.77% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  492. 2022-09-27 10:36:19.761243 87.77% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  493. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING going to sleep
  494. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_HANGUP (Cur 1 Tot 45)
  495. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change RINGING -> HANGUP
  496. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP
  497. 2022-09-27 10:36:19.761243 87.77% [DEBUG] mod_sofia.c:468 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 hanging up, cause: NO_ROUTE_DESTINATION
  498. 2022-09-27 10:36:19.761243 87.77% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  499. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:59 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  500. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP going to sleep
  501. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_HANGUP -> CS_REPORTING
  502. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_REPORTING (Cur 1 Tot 45)
  503. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING
  504. 2022-09-27 10:36:19.761243 87.77% [INFO] mod_json_cdr.c:271 Process [14ee1774-cd60-4c64-8659-7c2680187c00.cdr.json]
  505. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  506. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING going to sleep
  507. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_REPORTING -> CS_DESTROY
  508. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_session.c:1753 Session 45 (sofia/default/990006@astppqa601.astppbilling.org:5072) Locked, Waiting on external entities
  509. 2022-09-27 10:36:19.761243 87.77% [NOTICE] switch_core_session.c:1771 Session 45 (sofia/default/990006@astppqa601.astppbilling.org:5072) Ended
  510. 2022-09-27 10:36:19.761243 87.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_DESTROY]
  511. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_DESTROY (Cur 0 Tot 45)
  512. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY
  513. 2022-09-27 10:36:19.761243 87.77% [DEBUG] mod_sofia.c:379 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA DESTROY
  514. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard DESTROY
  515. 2022-09-27 10:36:19.761243 87.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY going to sleep
  516. freeswitch@devangASTPP> /exit
  517.  
  518. root@devangASTPP:/opt/ASTPP#