From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2.  
  3.  
  4. +OK log level  [7]
  5. 2022-09-27 10:49:00.881259 95.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [990006@astppqa601.astppbilling.org] from ip 103.240.35.46
  6. 2022-09-27 10:49:06.121241 92.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [1bdf91e0-3271-46c5-89aa-11618ff60fad]
  7. 2022-09-27 10:49:06.121241 92.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_NEW (Cur 1 Tot 50)
  8. 2022-09-27 10:49:06.121241 92.87% [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: lwffuatebudzgvf@pk-qa
  9. 2022-09-27 10:49:06.121241 92.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  10. 2022-09-27 10:49:06.121241 92.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1099999@astppqa601.astppbilling.org] from ip 103.240.35.46
  11. 2022-09-27 10:49:06.121241 92.87% [DEBUG] sofia.c:2419 detaching session 1bdf91e0-3271-46c5-89aa-11618ff60fad
  12. 2022-09-27 10:49:06.121241 92.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990006@astppqa601.astppbilling.org:5072) State NEW
  13. 2022-09-27 10:49:06.261266 92.27% [DEBUG] sofia.c:2532 Re-attaching to session 1bdf91e0-3271-46c5-89aa-11618ff60fad
  14. 2022-09-27 10:49:06.281250 92.27% [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: lwffuatebudzgvf@pk-qa
  15. 2022-09-27 10:49:06.281250 92.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  16. 2022-09-27 10:49:06.281250 92.27% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  17. 2022-09-27 10:49:06.281250 92.27% [DEBUG] sofia.c:7499 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 entering state [received][100]
  18. 2022-09-27 10:49:06.281250 92.27% [DEBUG] sofia.c:7509 Remote SDP:
  19. v=0
  20. o=twinkle 981303002 132408730 IN IP4 192.168.1.51
  21. s=-
  22. c=IN IP4 192.168.1.51
  23. t=0 0
  24. m=audio 8000 RTP/AVP 98 97 8 0 3 101
  25. a=rtpmap:98 speex/16000
  26. a=rtpmap:97 speex/8000
  27. a=rtpmap:8 PCMA/8000
  28. a=rtpmap:0 PCMU/8000
  29. a=rtpmap:3 GSM/8000
  30. a=rtpmap:101 telephone-event/8000
  31. a=fmtp:101 0-15
  32. a=ptime:20
  33.  
  34. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  40. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  43. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  44. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  45. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  46. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  47. 2022-09-27 10:49:06.281250 92.27% [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
  48. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_codec.c:111 sofia/default/990006@astppqa601.astppbilling.org:5072 Original read codec set to PCMA:8
  49. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  50. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_media.c:5973 sofia/default/990006@astppqa601.astppbilling.org:5072 Set 2833 dtmf send payload to 101 recv payload to 101
  51. 2022-09-27 10:49:06.281250 92.27% [DEBUG] sofia.c:7933 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_NEW -> CS_INIT
  52. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_INIT (Cur 1 Tot 50)
  53. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT
  54. 2022-09-27 10:49:06.281250 92.27% [DEBUG] mod_sofia.c:97 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA INIT
  55. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard INIT
  56. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_INIT -> CS_ROUTING
  57. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990006@astppqa601.astppbilling.org:5072) State INIT going to sleep
  58. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_ROUTING (Cur 1 Tot 50)
  59. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_channel.c:2380 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change DOWN -> RINGING
  60. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING
  61. 2022-09-27 10:49:06.281250 92.27% [DEBUG] mod_sofia.c:158 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA ROUTING
  62. 2022-09-27 10:49:06.281250 92.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard ROUTING
  63. 2022-09-27 10:49:06.281250 92.27% [INFO] mod_dialplan_xml.c:639 Processing 990006 <990006>->1099999 in context default
  64. 2022-09-27 10:49:06.301246 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  65. 2022-09-27 10:49:06.301246 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  66. 2022-09-27 10:49:06.301246 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  67. 2022-09-27 10:49:06.301246 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2022-09-27 10:49:06.301246 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  69. 2022-09-27 10:49:06.321243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1099999
  70. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1099999' limit 1
  71. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  72. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1099999' and status=0 LIMIT 1
  73. 2022-09-27 10:49:06.321243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER990006
  74. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  75. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1099999' limit 1
  76. 2022-09-27 10:49:06.321243 92.27% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  77. 2022-09-27 10:49:06.321243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 990006 / 990006
  78. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 9
  79. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 109999 AND status=0 limit 1
  80. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  81. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  82. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  83. 2022-09-27 10:49:06.321243 92.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 107
  84. 2022-09-27 10:49:06.321243 92.27% [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
  85. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1099999
  86. 2022-09-27 10:49:06.321243 92.27% [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 ="1099999" LIMIT 1
  87. 2022-09-27 10:49:06.321243 92.27% [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 ="1099999" LIMIT 1
  88. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  89. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="199" and did_id ="251" and number ="990006" and status = '0' LIMIT 1
  90. 2022-09-27 10:49:06.321243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  91. 2022-09-27 10:49:06.321243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990006]
  92. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =1099999
  93. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990006" AND deleted = 0 limit 1
  94. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  95. 2022-09-27 10:49:06.321243 92.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 107
  96. 2022-09-27 10:49:06.321243 92.27% [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
  97. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1099999
  98. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  99. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  100. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  101. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 199
  102. 2022-09-27 10:49:06.321243 92.27% [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 = '^1099999.*' OR patterns = '^109999.*' OR patterns = '^10999.*' OR patterns = '^1099.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
  103. 2022-09-27 10:49:06.321243 92.27% [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 ="1099999" AND A.accountid = '199' limit 1
  104. 2022-09-27 10:49:06.321243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1099999
  105. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  106. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  107. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  108. 2022-09-27 10:49:06.321243 92.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 107
  109. 2022-09-27 10:49:06.321243 92.27% [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
  110. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1099999
  111. 2022-09-27 10:49:06.321243 92.27% [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 ="1099999" LIMIT 1
  112. 2022-09-27 10:49:06.321243 92.27% [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 ="1099999" LIMIT 1
  113. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  114. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="199" and did_id ="251" and number ="990006" and status = '0' LIMIT 1
  115. 2022-09-27 10:49:06.321243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  116. 2022-09-27 10:49:06.321243 92.27% [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 = '1099999' OR number = '109999' OR number = '10999' OR number = '1099' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '1099999*' OR number = '109999*' OR number = '10999*' OR number = '1099*' OR number = '109*' 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
  117. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  118. 2022-09-27 10:49:06.321243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1099999' OR routing_prefix = '109999' OR routing_prefix = '10999' OR routing_prefix = '1099' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  119. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  120. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 199
  121. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990006
  122. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  123. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 11910.56
  124. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  125. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 57
  126. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  127. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  128. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  129. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
  130. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  131. 2022-09-27 10:49:06.341234 92.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 107
  132. 2022-09-27 10:49:06.341234 92.27% [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
  133. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"9/1/*/*".....1099999
  134. 2022-09-27 10:49:06.341234 92.27% [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 ="1099999" LIMIT 1
  135. 2022-09-27 10:49:06.341234 92.27% [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 ="1099999" LIMIT 1
  136. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  137. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="199" and did_id ="251" and number ="990006" and status = '0' LIMIT 1
  138. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  139. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  140. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000
  141. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:57
  142. 2022-09-27 10:49:06.341234 92.27% [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
  143. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  144. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '433'
  145. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+02:00
  146. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
  147. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  148. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:27
  149. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:Sep
  150. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :27-9
  151. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :2
  152. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  153. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '433'
  154. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+02:00
  155. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
  156. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
  157. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 12.49
  158. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] BEFORE current_wday :Tue
  159. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -00:00 :
  160. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Tue
  161. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] AFTER current_wday :Tue
  162. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number3
  163. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :-7
  164. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000
  165. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  166. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 251
  167. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  168. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  169. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  170. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1099999
  171. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  172. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 199
  173. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  174. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  175. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your11910.56 balance Accountid 199 !!!
  176. 2022-09-27 10:49:06.341234 92.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  177. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  178. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  179. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  180. 2022-09-27 10:49:06.341234 92.27% [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
  181. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "199" AND deleted = 0 limit 1
  182. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =199
  183. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:199
  184. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:199
  185. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 199
  186. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 199 limit 1
  187. 2022-09-27 10:49:06.341234 92.27% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astppqa601.astppbilling.org
  188. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  189. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  190. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  191. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  192. 2022-09-27 10:49:06.341234 92.27% [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
  193. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 199 limit 1
  194. 2022-09-27 10:49:06.341234 92.27% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astppqa601.astppbilling.org
  195. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 199  and status = 0 limit 1
  196. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  197. 2022-09-27 10:49:06.341234 92.27% [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
  198. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 6602928605
  199. 2022-09-27 10:49:06.341234 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0
  200. 2022-09-27 10:49:06.341234 92.27% [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
  201. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  202. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0
  203. 2022-09-27 10:49:06.341234 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1
  204. 2022-09-27 10:49:06.341234 92.27% [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
  205. 2022-09-27 10:49:06.341234 92.27% [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
  206. 2022-09-27 10:49:06.341234 92.27% [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
  207. 2022-09-27 10:49:06.341234 92.27% [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
  208. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  209. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='6602928605'
  210. 2022-09-27 10:49:06.361243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10]
  211. 2022-09-27 10:49:06.361243 92.27% [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
  212. 2022-09-27 10:49:06.361243 92.27% [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
  213. 2022-09-27 10:49:06.361243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 4059
  214. 2022-09-27 10:49:06.361243 92.27% [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
  215. 2022-09-27 10:49:06.361243 92.27% [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
  216. 2022-09-27 10:49:06.361243 92.27% [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
  217. 2022-09-27 10:49:06.361243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  218. 2022-09-27 10:49:06.361243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  219. 2022-09-27 10:49:06.361243 92.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC8]
  220. 2022-09-27 10:49:06.361243 92.27% [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
  221. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  222. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='6602928605'
  223. 2022-09-27 10:49:06.361243 92.27% [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
  224. 2022-09-27 10:49:06.361243 92.27% [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
  225. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  226. <document type="freeswitch/xml">
  227. <section name="dialplan" description="ASTPP Dialplan">
  228. <context name="default">
  229. <extension name="1099999">
  230. <condition field="destination_number" expression="1099999">
  231. <action application="set" data="effective_destination_number=1099999"/>
  232. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  233. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  234. <action application="set" data="notify_flag=0"/>
  235. <action application="set" data="notify_credit_limit=12.00000"/>
  236. <action application="set" data="type=0"/>
  237. <action application="set" data="callstart=2022-09-27 10:49:06"/>
  238. <action application="set" data="hangup_after_bridge=true"/>
  239. <action application="set" data="continue_on_fail=TRUE"/>
  240. <action application="set" data="account_id=199"/>
  241. <action application="set" data="parent_id=0"/>
  242. <action application="set" data="entity_id=0"/>
  243. <action application="set" data="call_processed=internal"/>
  244. <action application="set" data="call_direction=inbound"/>
  245. <action application="set" data="accountname=default"/>
  246. <action application="set" data="filename1=astpp.pbx.lua"/>
  247. <action application="set" data="origination_rates_did=ID:251|CODE:^1099999.*|DESTINATION:1099999|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199"/>
  248. <action application="set" data="origination_rates=0"/>
  249. <action application="set" data="original_caller_id_name=990006"/>
  250. <action application="set" data="original_caller_id_number=990006"/>
  251. <action application="limit" data="db 990006 user_990006 12 "/>
  252. <action application="limit" data="db 1099999 user_1099999 5 "/>
  253. <action application="set" data="effective_caller_id_name=990006"/>
  254. <action application="set" data="effective_caller_id_number=990006"/>
  255. <action application="set" data="receiver_accid=199"/>
  256. <action application="set" data="did_id=251"/>
  257. <action application="set" data="transfer_call_type=4"/>
  258. <action application="set" data="transfer_extensions="/>
  259. <action application="set" data="busy_status=1"/>
  260. <action application="set" data="no_answer_status=1"/>
  261. <action application="set" data="always_status=1"/>
  262. <action application="set" data="transfer_status=1"/>
  263. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  264. <action application="set" data="variable_sip_network_ip=103.240.35.46"/>
  265. <action application="set" data="variable_sip_network_port=5078"/>
  266. <action application="export" data="domain_name=astppqa601.astppbilling.org"/>
  267. <action application="export" data="sip_to_host=astppqa601.astppbilling.org"/>
  268. <action application="limit" data="db 1099999 did_1099999 5 "/>
  269. <action application="export" data="presence_data=x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46"/>
  270. <action application="export" data="call_type=0"/>
  271. <action application="set" data="calltype=DID-LOCAL"/>
  272. <action application="db" data="insert/pickup_any_group_${callgroup}/6602928605/${uuid}"/>
  273. <action application="set" data="dialed_extension=transfer_call"/>
  274. <action application="export" data="dialed_extension=transfer_call"/>
  275. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  276. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  277. <action application="set" data="hangup_after_bridge=true"/>
  278. <action application="export" data="did_user_domain=astppqa601.astppbilling.org"/>
  279. <action application="ring_ready"/>
  280. <action application="sleep" data="5000"/>
  281. <action application="db" data="insert/pickup_any_group_${callgroup}/6602928605/${uuid}"/>
  282. <action application="set" data="dialed_extension=transfer_call"/>
  283. <action application="export" data="dialed_extension=transfer_call"/>
  284. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  285. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  286. <action application="set" data="transfer_ringback=$${hold_music}"/>
  287. <action application="set" data="hangup_after_bridge=true"/>
  288. <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"/>
  289. <action application="ring_ready"/>
  290. <action application="sleep" data="5000"/>
  291. <action application="set" data="on_busy_flag=1"/>
  292. <action application="set" data="on_busy_destination="/>
  293. <action application="set" data="no_answer_flag=1"/>
  294. <action application="set" data="no_answer_destination="/>
  295. <action application="set" data="not_register_flag=1"/>
  296. <action application="set" data="not_register_destination="/>
  297. <action application="set" data="opensips_flag=1"/>
  298. <action application="set" data="variable_sip_to_host=astppqa601.astppbilling.org"/>
  299. <action application="set" data="opensips_domain=astppqa601.astppbilling.org"/>
  300. <action application="set" data="leg_timeout=0"/>
  301. <action application="set" data="userinfo_id=199"/>
  302. <action application="set" data="sip_destination_number=6602928605"/>
  303. <action application="set" data="did_number=6602928605"/>
  304. <action application="set" data="user_domain=astppqa601.astppbilling.org"/>
  305. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  306. <action application="set" data="on_busy_flag=1"/>
  307. <action application="set" data="on_busy_destination="/>
  308. <action application="set" data="no_answer_flag=1"/>
  309. <action application="set" data="no_answer_destination="/>
  310. <action application="set" data="not_register_flag=1"/>
  311. <action application="set" data="not_register_destination="/>
  312. <action application="set" data="opensips_flag=1"/>
  313. <action application="set" data="variable_sip_to_host=astppqa601.astppbilling.org"/>
  314. <action application="set" data="opensips_domain=astppqa601.astppbilling.org"/>
  315. <action application="set" data="leg_timeout=0"/>
  316. <action application="set" data="userinfo_id=199"/>
  317. <action application="set" data="sip_destination_number=6602928605"/>
  318. <action application="set" data="destination_number=6602928605"/>
  319. <action application="set" data="did_number=1099999"/>
  320. <action application="set" data="user_domain=astppqa601.astppbilling.org"/>
  321. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  322. <condition field="${cond(${user_data 6602928605@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  323. <action application="answer"/>
  324. <action application="export" data="voicemail_alternate_greet_id=6602928605"/>
  325. <action application="voicemail" data="default $${domain_name} 6602928605"/>
  326. <anti-action application="hangup" data="${originate_disposition}"/>
  327. </condition>
  328. </condition>
  329. </extension>
  330. </context>
  331. </section>
  332. </document>
  333. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 parsing [default->1099999] continue=false
  334. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Regex (PASS) [1099999] destination_number(1099999) =~ /1099999/ break=on-false
  335. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_destination_number=1099999)
  336. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  337. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  338. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(notify_flag=0)
  339. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(notify_credit_limit=12.00000)
  340. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(type=0)
  341. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(callstart=2022-09-27 10:49:06)
  342. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  343. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(continue_on_fail=TRUE)
  344. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(account_id=199)
  345. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(parent_id=0)
  346. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(entity_id=0)
  347. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_processed=internal)
  348. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(call_direction=inbound)
  349. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(accountname=default)
  350. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(filename1=astpp.pbx.lua)
  351. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(origination_rates_did=ID:251|CODE:^1099999.*|DESTINATION:1099999|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199)
  352. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(origination_rates=0)
  353. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_name=990006)
  354. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(original_caller_id_number=990006)
  355. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action limit(db 990006 user_990006 12 )
  356. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action limit(db 1099999 user_1099999 5 )
  357. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_name=990006)
  358. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(effective_caller_id_number=990006)
  359. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(receiver_accid=199)
  360. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(did_id=251)
  361. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_call_type=4)
  362. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_extensions=)
  363. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(busy_status=1)
  364. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_status=1)
  365. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(always_status=1)
  366. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_status=1)
  367. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_to_host=${domain_name})
  368. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_network_ip=103.240.35.46)
  369. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_network_port=5078)
  370. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(domain_name=astppqa601.astppbilling.org)
  371. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(sip_to_host=astppqa601.astppbilling.org)
  372. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action limit(db 1099999 did_1099999 5 )
  373. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(presence_data=x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46)
  374. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(call_type=0)
  375. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(calltype=DID-LOCAL)
  376. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action db(insert/pickup_any_group_${callgroup}/6602928605/${uuid})
  377. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(dialed_extension=transfer_call)
  378. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(dialed_extension=transfer_call)
  379. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  380. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  381. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  382. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(did_user_domain=astppqa601.astppbilling.org)
  383. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action ring_ready()
  384. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action sleep(5000)
  385. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action db(insert/pickup_any_group_${callgroup}/6602928605/${uuid})
  386. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(dialed_extension=transfer_call)
  387. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(dialed_extension=transfer_call)
  388. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  389. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  390. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(transfer_ringback=$${hold_music})
  391. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(hangup_after_bridge=true)
  392. 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)
  393. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action ring_ready()
  394. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action sleep(5000)
  395. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_flag=1)
  396. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_destination=)
  397. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_flag=1)
  398. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_destination=)
  399. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_flag=1)
  400. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_destination=)
  401. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_flag=1)
  402. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_to_host=astppqa601.astppbilling.org)
  403. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_domain=astppqa601.astppbilling.org)
  404. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(leg_timeout=0)
  405. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(userinfo_id=199)
  406. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(sip_destination_number=6602928605)
  407. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(did_number=6602928605)
  408. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(user_domain=astppqa601.astppbilling.org)
  409. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  410. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_flag=1)
  411. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(on_busy_destination=)
  412. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_flag=1)
  413. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(no_answer_destination=)
  414. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_flag=1)
  415. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(not_register_destination=)
  416. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_flag=1)
  417. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(variable_sip_to_host=astppqa601.astppbilling.org)
  418. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(opensips_domain=astppqa601.astppbilling.org)
  419. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(leg_timeout=0)
  420. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(userinfo_id=199)
  421. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(sip_destination_number=6602928605)
  422. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(destination_number=6602928605)
  423. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(did_number=1099999)
  424. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action set(user_domain=astppqa601.astppbilling.org)
  425. Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  426. |--- Dialplan: Processing recursive conditions level:1 [1099999_recur_1] require-nested=TRUE
  427. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Regex (PASS) [1099999_recur_1] ${cond(${user_data 6602928605@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  428. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action answer()
  429. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action export(voicemail_alternate_greet_id=6602928605)
  430. |--- Dialplan: sofia/default/990006@astppqa601.astppbilling.org:5072 Action voicemail(default $${domain_name} 6602928605)
  431. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_ROUTING -> CS_EXECUTE
  432. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990006@astppqa601.astppbilling.org:5072) State ROUTING going to sleep
  433. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_EXECUTE (Cur 1 Tot 50)
  434. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE
  435. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_sofia.c:213 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA EXECUTE
  436. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard EXECUTE
  437. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(effective_destination_number=1099999)
  438. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [effective_destination_number]=[1099999]
  439. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(bridge_pre_execute_bleg_app=sched_hangup)
  440. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [bridge_pre_execute_bleg_app]=[sched_hangup]
  441. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  442. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  443. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(notify_flag=0)
  444. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [notify_flag]=[0]
  445. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(notify_credit_limit=12.00000)
  446. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [notify_credit_limit]=[12.00000]
  447. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(type=0)
  448. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [type]=[0]
  449. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(callstart=2022-09-27 10:49:06)
  450. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [callstart]=[2022-09-27 10:49:06]
  451. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(hangup_after_bridge=true)
  452. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [hangup_after_bridge]=[true]
  453. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(continue_on_fail=TRUE)
  454. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [continue_on_fail]=[TRUE]
  455. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(account_id=199)
  456. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [account_id]=[199]
  457. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(parent_id=0)
  458. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [parent_id]=[0]
  459. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(entity_id=0)
  460. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [entity_id]=[0]
  461. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_processed=internal)
  462. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_processed]=[internal]
  463. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(call_direction=inbound)
  464. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [call_direction]=[inbound]
  465. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(accountname=default)
  466. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [accountname]=[default]
  467. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(filename1=astpp.pbx.lua)
  468. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [filename1]=[astpp.pbx.lua]
  469. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(origination_rates_did=ID:251|CODE:^1099999.*|DESTINATION:1099999|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199)
  470. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [origination_rates_did]=[ID:251|CODE:^1099999.*|DESTINATION:1099999|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:199]
  471. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(origination_rates=0)
  472. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [origination_rates]=[0]
  473. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_name=990006)
  474. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_name]=[990006]
  475. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(original_caller_id_number=990006)
  476. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [original_caller_id_number]=[990006]
  477. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 limit(db 990006 user_990006 12 )
  478. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_limit.c:124 incr called: 990006_user_990006 max:12, interval:0
  479. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_db.c:194 Usage for 990006_user_990006 is now 1/12
  480. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 limit(db 1099999 user_1099999 5 )
  481. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_limit.c:124 incr called: 1099999_user_1099999 max:5, interval:0
  482. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_db.c:194 Usage for 1099999_user_1099999 is now 1/5
  483. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(effective_caller_id_name=990006)
  484. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [effective_caller_id_name]=[990006]
  485. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(effective_caller_id_number=990006)
  486. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [effective_caller_id_number]=[990006]
  487. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(receiver_accid=199)
  488. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [receiver_accid]=[199]
  489. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(did_id=251)
  490. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [did_id]=[251]
  491. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(transfer_call_type=4)
  492. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [transfer_call_type]=[4]
  493. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(transfer_extensions=)
  494. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [transfer_extensions]=[UNDEF]
  495. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(busy_status=1)
  496. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [busy_status]=[1]
  497. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(no_answer_status=1)
  498. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [no_answer_status]=[1]
  499. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(always_status=1)
  500. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [always_status]=[1]
  501. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(transfer_status=1)
  502. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [transfer_status]=[1]
  503. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(variable_sip_to_host=astppqa601.astppbilling.org)
  504. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [variable_sip_to_host]=[astppqa601.astppbilling.org]
  505. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(variable_sip_network_ip=103.240.35.46)
  506. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [variable_sip_network_ip]=[103.240.35.46]
  507. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(variable_sip_network_port=5078)
  508. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [variable_sip_network_port]=[5078]
  509. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 export(domain_name=astppqa601.astppbilling.org)
  510. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[astppqa601.astppbilling.org]
  511. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 export(sip_to_host=astppqa601.astppbilling.org)
  512. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[astppqa601.astppbilling.org]
  513. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 limit(db 1099999 did_1099999 5 )
  514. 2022-09-27 10:49:06.361243 92.27% [DEBUG] switch_limit.c:124 incr called: 1099999_did_1099999 max:5, interval:0
  515. 2022-09-27 10:49:06.361243 92.27% [DEBUG] mod_db.c:194 Usage for 1099999_did_1099999 is now 1/5
  516. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 export(presence_data=x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46)
  517. 2022-09-27 10:49:06.381240 92.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46]
  518. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 export(call_type=0)
  519. 2022-09-27 10:49:06.381240 92.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  520. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(calltype=DID-LOCAL)
  521. 2022-09-27 10:49:06.381240 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [calltype]=[DID-LOCAL]
  522. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 db(insert/pickup_any_group_/6602928605/1bdf91e0-3271-46c5-89aa-11618ff60fad)
  523. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(dialed_extension=transfer_call)
  524. 2022-09-27 10:49:06.381240 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [dialed_extension]=[transfer_call]
  525. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 export(dialed_extension=transfer_call)
  526. 2022-09-27 10:49:06.381240 92.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  527. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  528. 2022-09-27 10:49:06.381240 92.27% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  529. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  530. 2022-09-27 10:49:06.381240 92.27% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  531. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(hangup_after_bridge=true)
  532. 2022-09-27 10:49:06.381240 92.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [hangup_after_bridge]=[true]
  533. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 export(did_user_domain=astppqa601.astppbilling.org)
  534. 2022-09-27 10:49:06.381240 92.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[astppqa601.astppbilling.org]
  535. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 ring_ready()
  536. 2022-09-27 10:49:06.381240 92.27% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/990006@astppqa601.astppbilling.org:5072!
  537. 2022-09-27 10:49:06.381240 92.27% [DEBUG] sofia.c:7499 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 entering state [early][180]
  538. 2022-09-27 10:49:06.381240 92.27% [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/990006@astppqa601.astppbilling.org:5072!
  539. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 sleep(5000)
  540. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 db(insert/pickup_any_group_/6602928605/1bdf91e0-3271-46c5-89aa-11618ff60fad)
  541. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(dialed_extension=transfer_call)
  542. 2022-09-27 10:49:11.381252 90.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [dialed_extension]=[transfer_call]
  543. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 export(dialed_extension=transfer_call)
  544. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  545. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  546. 2022-09-27 10:49:11.381252 90.83% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  547. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  548. 2022-09-27 10:49:11.381252 90.83% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  549. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(transfer_ringback=local_stream://moh)
  550. 2022-09-27 10:49:11.381252 90.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [transfer_ringback]=[local_stream://moh]
  551. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 set(hangup_after_bridge=true)
  552. 2022-09-27 10:49:11.381252 90.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/990006@astppqa601.astppbilling.org:5072 [hangup_after_bridge]=[true]
  553. EXECUTE [depth=0] sofia/default/990006@astppqa601.astppbilling.org:5072 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)
  554. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [domain_name]=[astppqa601.astppbilling.org] to event
  555. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [sip_to_host]=[astppqa601.astppbilling.org] to event
  556. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [presence_data]=[x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46] to event
  557. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [call_type]=[0] to event
  558. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  559. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [did_user_domain]=[astppqa601.astppbilling.org] to event
  560. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  561. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  562. 2022-09-27 10:49:11.381252 90.83% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  563. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [domain_name]=[astppqa601.astppbilling.org] to event
  564. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [sip_to_host]=[astppqa601.astppbilling.org] to event
  565. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [presence_data]=[x|||PK admins Cust(990006)|||||||||DID|||103.240.35.46] to event
  566. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [call_type]=[0] to event
  567. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  568. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [did_user_domain]=[astppqa601.astppbilling.org] to event
  569. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_channel.c:1269 sofia/default/990006@astppqa601.astppbilling.org:5072 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  570. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  571. 2022-09-27 10:49:11.401272 90.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6602928605@103.240.35.46:43143 [98666520-f6c9-493b-bfcc-cc5592d89228]
  572. 2022-09-27 10:49:11.401272 90.83% [DEBUG] mod_sofia.c:5121 (sofia/default/6602928605@103.240.35.46:43143) State Change CS_NEW -> CS_INIT
  573. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6602928605@103.240.35.46:43143) Running State Change CS_INIT (Cur 2 Tot 51)
  574. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6602928605@103.240.35.46:43143) State INIT
  575. 2022-09-27 10:49:11.401272 90.83% [DEBUG] mod_sofia.c:97 sofia/default/6602928605@103.240.35.46:43143 SOFIA INIT
  576. 2022-09-27 10:49:11.401272 90.83% [DEBUG] sofia_glue.c:1620 sip:6602928605@103.240.35.46:53164;rinstance=c8289a13704b862d;transport=TCP Setting proxy route to sofia/default/6602928605@103.240.35.46:43143
  577. 2022-09-27 10:49:11.401272 90.83% [INFO] sofia_glue.c:1651 sofia/default/6602928605@103.240.35.46:43143 sending invite call-id: (null)
  578. 2022-09-27 10:49:11.401272 90.83% [DEBUG] sofia_glue.c:1654 sofia/default/6602928605@103.240.35.46:43143 sending invite version: 1.10.7 -release 64bit
  579. Local SDP:
  580. v=0
  581. o=FreeSWITCH 1664252127 1664252128 IN IP4 142.132.184.134
  582. s=FreeSWITCH
  583. c=IN IP4 142.132.184.134
  584. t=0 0
  585. m=audio 23624 RTP/AVP 8 101
  586. a=rtpmap:8 PCMA/8000
  587. a=rtpmap:101 telephone-event/8000
  588. a=fmtp:101 0-15
  589. a=ptime:20
  590. a=sendrecv
  591.  
  592. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/6602928605@103.240.35.46:43143 Standard INIT
  593. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6602928605@103.240.35.46:43143) State Change CS_INIT -> CS_ROUTING
  594. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6602928605@103.240.35.46:43143) State INIT going to sleep
  595. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6602928605@103.240.35.46:43143) Running State Change CS_ROUTING (Cur 2 Tot 51)
  596. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6602928605@103.240.35.46:43143) State ROUTING
  597. 2022-09-27 10:49:11.401272 90.83% [DEBUG] mod_sofia.c:158 sofia/default/6602928605@103.240.35.46:43143 SOFIA ROUTING
  598. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_ivr_originate.c:67 (sofia/default/6602928605@103.240.35.46:43143) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  599. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6602928605@103.240.35.46:43143) State ROUTING going to sleep
  600. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6602928605@103.240.35.46:43143) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 51)
  601. 2022-09-27 10:49:11.401272 90.83% [DEBUG] sofia.c:7499 Channel sofia/default/6602928605@103.240.35.46:43143 entering state [calling][0]
  602. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6602928605@103.240.35.46:43143) State CONSUME_MEDIA
  603. 2022-09-27 10:49:11.401272 90.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6602928605@103.240.35.46:43143) State CONSUME_MEDIA going to sleep
  604. 2022-09-27 10:49:11.921274 90.83% [DEBUG] sofia.c:7499 Channel sofia/default/6602928605@103.240.35.46:43143 entering state [proceeding][180]
  605. 2022-09-27 10:49:11.921274 90.83% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/6602928605@103.240.35.46:43143!
  606. 2022-09-27 10:49:11.921274 90.83% [DEBUG] switch_channel.c:3494 (sofia/default/6602928605@103.240.35.46:43143) Callstate Change DOWN -> RINGING
  607. 2022-09-27 10:49:11.941244 90.83% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/990006@astppqa601.astppbilling.org:5072!
  608. 2022-09-27 10:49:13.221266 90.83% [DEBUG] sofia.c:7499 Channel sofia/default/6602928605@103.240.35.46:43143 entering state [completing][200]
  609. 2022-09-27 10:49:13.221266 90.83% [DEBUG] sofia.c:7509 Remote SDP:
  610. v=0
  611. o=Z 0 3 IN IP4 103.240.35.46
  612. s=Z
  613. c=IN IP4 103.240.35.46
  614. t=0 0
  615. m=audio 8000 RTP/AVP 8 3 110 0 98 101
  616. a=rtpmap:110 speex/8000
  617. a=rtpmap:98 iLBC/8000
  618. a=fmtp:98 mode=20
  619. a=rtpmap:101 telephone-event/8000
  620. a=fmtp:101 0-15
  621.  
  622. 2022-09-27 10:49:13.221266 90.83% [DEBUG] sofia.c:7499 Channel sofia/default/6602928605@103.240.35.46:43143 entering state [ready][200]
  623. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  624. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  625. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  626. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  627. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  628. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  629. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  630. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/6602928605@103.240.35.46:43143 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  631. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_codec.c:111 sofia/default/6602928605@103.240.35.46:43143 Original read codec set to PCMA:8
  632. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  633. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:5973 sofia/default/6602928605@103.240.35.46:43143 Set 2833 dtmf send payload to 101 recv payload to 101
  634. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/6602928605@103.240.35.46:43143] 142.132.184.134 port 23624 -> 103.240.35.46 port 8000 codec: 8 ms: 20
  635. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  636. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:9089 sofia/default/6602928605@103.240.35.46:43143 Set 2833 dtmf send payload to 101
  637. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:9096 sofia/default/6602928605@103.240.35.46:43143 Set 2833 dtmf receive payload to 101
  638. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_core_media.c:9119 sofia/default/6602928605@103.240.35.46:43143 Set rtp dtmf delay to 40
  639. 2022-09-27 10:49:13.221266 90.83% [NOTICE] sofia.c:8683 Channel [sofia/default/6602928605@103.240.35.46:43143] has been answered
  640. 2022-09-27 10:49:13.221266 90.83% [DEBUG] switch_channel.c:3950 (sofia/default/6602928605@103.240.35.46:43143) Callstate Change RINGING -> ACTIVE
  641. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/990006@astppqa601.astppbilling.org:5072] 142.132.184.134 port 28010 -> 192.168.1.51 port 8000 codec: 8 ms: 20
  642. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  643. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_core_media.c:9089 sofia/default/990006@astppqa601.astppbilling.org:5072 Set 2833 dtmf send payload to 101
  644. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_core_media.c:9096 sofia/default/990006@astppqa601.astppbilling.org:5072 Set 2833 dtmf receive payload to 101
  645. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_core_media.c:9119 sofia/default/990006@astppqa601.astppbilling.org:5072 Set rtp dtmf delay to 40
  646. 2022-09-27 10:49:13.241263 90.83% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/990006@astppqa601.astppbilling.org:5072:
  647. v=0
  648. o=FreeSWITCH 1664247743 1664247744 IN IP4 142.132.184.134
  649. s=FreeSWITCH
  650. c=IN IP4 142.132.184.134
  651. t=0 0
  652. m=audio 28010 RTP/AVP 8 101
  653. a=rtpmap:8 PCMA/8000
  654. a=rtpmap:101 telephone-event/8000
  655. a=fmtp:101 0-15
  656. a=ptime:20
  657. a=sendrecv
  658.  
  659. 2022-09-27 10:49:13.241263 90.83% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/990006@astppqa601.astppbilling.org:5072] has been answered
  660. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_channel.c:3950 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change RINGING -> ACTIVE
  661. 2022-09-27 10:49:13.241263 90.83% [DEBUG] sofia.c:7499 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 entering state [completed][200]
  662. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/6602928605@103.240.35.46:43143] Peer UUID: 98666520-f6c9-493b-bfcc-cc5592d89228
  663. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/6602928605@103.240.35.46:43143] Peer UUID: 98666520-f6c9-493b-bfcc-cc5592d89228
  664. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/6602928605@103.240.35.46:43143) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  665. 2022-09-27 10:49:13.241263 90.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6602928605@103.240.35.46:43143) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 51)
  666. 2022-09-27 10:49:13.261258 90.83% [DEBUG] switch_core_state_machine.c:650 (sofia/default/6602928605@103.240.35.46:43143) State EXCHANGE_MEDIA
  667. 2022-09-27 10:49:13.261258 90.83% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  668. 2022-09-27 10:49:13.281268 90.83% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  669. 2022-09-27 10:49:13.421278 90.83% [DEBUG] switch_ivr_bridge.c:655 sofia/default/6602928605@103.240.35.46:43143 Bridge execute app sched_hangup(+6000 normal_clearing)
  670. 2022-09-27 10:49:13.441276 90.83% [DEBUG] switch_ivr.c:632 sofia/default/6602928605@103.240.35.46:43143 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  671. EXECUTE [depth=0] sofia/default/6602928605@103.240.35.46:43143 sched_hangup(+6000 normal_clearing)
  672. 2022-09-27 10:49:13.441276 90.83% [DEBUG] switch_scheduler.c:263 Added task 19 switch_ivr_schedule_hangup (98666520-f6c9-493b-bfcc-cc5592d89228) to run at 1664281753
  673. 2022-09-27 10:49:13.501255 90.83% [DEBUG] sofia.c:7499 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 entering state [ready][200]
  674. 2022-09-27 10:49:13.741251 90.83% [INFO] switch_rtp.c:7894 Auto Changing audio port from 192.168.1.51:8000 to 103.240.35.46:8000
  675. 2022-09-27 10:49:15.741244 90.80% [NOTICE] sofia.c:1065 Hangup sofia/default/6602928605@103.240.35.46:43143 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  676. 2022-09-27 10:49:15.741244 90.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/6602928605@103.240.35.46:43143]
  677. 2022-09-27 10:49:15.741244 90.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/6602928605@103.240.35.46:43143) State EXCHANGE_MEDIA going to sleep
  678. 2022-09-27 10:49:15.741244 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6602928605@103.240.35.46:43143) Running State Change CS_HANGUP (Cur 2 Tot 51)
  679. 2022-09-27 10:49:15.741244 90.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6602928605@103.240.35.46:43143) Callstate Change ACTIVE -> HANGUP
  680. 2022-09-27 10:49:15.741244 90.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6602928605@103.240.35.46:43143) State HANGUP
  681. 2022-09-27 10:49:15.741244 90.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/6602928605@103.240.35.46:43143 hanging up, cause: NORMAL_CLEARING
  682. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/6602928605@103.240.35.46:43143 Standard HANGUP, cause: NORMAL_CLEARING
  683. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6602928605@103.240.35.46:43143) State HANGUP going to sleep
  684. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6602928605@103.240.35.46:43143) State Change CS_HANGUP -> CS_REPORTING
  685. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6602928605@103.240.35.46:43143) Running State Change CS_REPORTING (Cur 2 Tot 51)
  686. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6602928605@103.240.35.46:43143) State REPORTING
  687. 2022-09-27 10:49:15.761262 90.80% [INFO] mod_json_cdr.c:271 Process [98666520-f6c9-493b-bfcc-cc5592d89228.cdr.json]
  688. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/6602928605@103.240.35.46:43143 Standard REPORTING, cause: NORMAL_CLEARING
  689. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6602928605@103.240.35.46:43143) State REPORTING going to sleep
  690. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6602928605@103.240.35.46:43143) State Change CS_REPORTING -> CS_DESTROY
  691. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_session.c:1753 Session 51 (sofia/default/6602928605@103.240.35.46:43143) Locked, Waiting on external entities
  692. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_ivr_bridge.c:820 sofia/default/6602928605@103.240.35.46:43143 ending bridge by request from write function
  693. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/990006@astppqa601.astppbilling.org:5072]
  694. 2022-09-27 10:49:15.761262 90.80% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_EXECUTE] [NORMAL_CLEARING]
  695. 2022-09-27 10:49:15.761262 90.80% [NOTICE] switch_core_session.c:1771 Session 51 (sofia/default/6602928605@103.240.35.46:43143) Ended
  696. 2022-09-27 10:49:15.761262 90.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6602928605@103.240.35.46:43143 [CS_DESTROY]
  697. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_session.c:2983 sofia/default/990006@astppqa601.astppbilling.org:5072 skip receive message [PHONE_EVENT] (channel is hungup already)
  698. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990006@astppqa601.astppbilling.org:5072) State EXECUTE going to sleep
  699. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_HANGUP (Cur 1 Tot 51)
  700. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6602928605@103.240.35.46:43143) Running State Change CS_DESTROY (Cur 1 Tot 51)
  701. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6602928605@103.240.35.46:43143) State DESTROY
  702. 2022-09-27 10:49:15.761262 90.80% [DEBUG] mod_sofia.c:379 sofia/default/6602928605@103.240.35.46:43143 SOFIA DESTROY
  703. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/6602928605@103.240.35.46:43143 Standard DESTROY
  704. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6602928605@103.240.35.46:43143) State DESTROY going to sleep
  705. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990006@astppqa601.astppbilling.org:5072) Callstate Change ACTIVE -> HANGUP
  706. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP
  707. 2022-09-27 10:49:15.761262 90.80% [DEBUG] mod_sofia.c:462 sofia/default/990006@astppqa601.astppbilling.org:5072 Overriding SIP cause 480 with 200 from the other leg
  708. 2022-09-27 10:49:15.761262 90.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/990006@astppqa601.astppbilling.org:5072 hanging up, cause: NORMAL_CLEARING
  709. 2022-09-27 10:49:15.761262 90.80% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/990006@astppqa601.astppbilling.org:5072
  710. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard HANGUP, cause: NORMAL_CLEARING
  711. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990006@astppqa601.astppbilling.org:5072) State HANGUP going to sleep
  712. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_HANGUP -> CS_REPORTING
  713. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_REPORTING (Cur 1 Tot 51)
  714. 2022-09-27 10:49:15.761262 90.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING
  715. 2022-09-27 10:49:15.761262 90.80% [INFO] mod_json_cdr.c:271 Process [1bdf91e0-3271-46c5-89aa-11618ff60fad.cdr.json]
  716. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard REPORTING, cause: NORMAL_CLEARING
  717. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990006@astppqa601.astppbilling.org:5072) State REPORTING going to sleep
  718. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990006@astppqa601.astppbilling.org:5072) State Change CS_REPORTING -> CS_DESTROY
  719. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_session.c:1753 Session 50 (sofia/default/990006@astppqa601.astppbilling.org:5072) Locked, Waiting on external entities
  720. 2022-09-27 10:49:15.781242 90.80% [NOTICE] switch_core_session.c:1771 Session 50 (sofia/default/990006@astppqa601.astppbilling.org:5072) Ended
  721. 2022-09-27 10:49:15.781242 90.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990006@astppqa601.astppbilling.org:5072 [CS_DESTROY]
  722. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990006@astppqa601.astppbilling.org:5072) Running State Change CS_DESTROY (Cur 0 Tot 51)
  723. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY
  724. 2022-09-27 10:49:15.781242 90.80% [DEBUG] mod_sofia.c:379 sofia/default/990006@astppqa601.astppbilling.org:5072 SOFIA DESTROY
  725. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/990006@astppqa601.astppbilling.org:5072 Standard DESTROY
  726. 2022-09-27 10:49:15.781242 90.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990006@astppqa601.astppbilling.org:5072) State DESTROY going to sleep
  727. 2022-09-27 10:49:15.941307 90.80% [DEBUG] switch_scheduler.c:147 Deleting task 19 switch_ivr_schedule_hangup (98666520-f6c9-493b-bfcc-cc5592d89228)
  728. freeswitch@devangASTPP> /exit
  729.  
  730. root@devangASTPP:/opt/ASTPP#