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