From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-43-241>
  2. 2021-12-23 12:09:25.586546 95.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 [a611756f-41d2-42d3-b7b4-dfa316850cfe]
  3. 2021-12-23 12:09:25.586546 95.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_NEW (Cur 1 Tot 20)
  4. 2021-12-23 12:09:25.586546 95.67% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5022 receiving invite from 117.247.91.162:40516 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZjVkMGU2MzhmNTAwNjViYWQwZTljYzY0ZDEzMTczOGU.
  5. 2021-12-23 12:09:25.586546 95.67% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  6. 2021-12-23 12:09:25.586546 95.67% [DEBUG] sofia.c:2419 detaching session a611756f-41d2-42d3-b7b4-dfa316850cfe
  7. 2021-12-23 12:09:25.586546 95.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [330444@pkcall.astppbilling.org] from ip 117.247.91.162
  8. 2021-12-23 12:09:25.586546 95.67% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State NEW
  9. 2021-12-23 12:09:26.186547 95.63% [DEBUG] sofia.c:2532 Re-attaching to session a611756f-41d2-42d3-b7b4-dfa316850cfe
  10. 2021-12-23 12:09:26.186547 95.63% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5022 receiving invite from 117.247.91.162:40516 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZjVkMGU2MzhmNTAwNjViYWQwZTljYzY0ZDEzMTczOGU.
  11. 2021-12-23 12:09:26.186547 95.63% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  12. 2021-12-23 12:09:26.206527 95.63% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  13. 2021-12-23 12:09:26.206527 95.63% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [received][100]
  14. 2021-12-23 12:09:26.206527 95.63% [DEBUG] sofia.c:7509 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 117.247.91.162
  17. s=Z
  18. c=IN IP4 117.247.91.162
  19. t=0 0
  20. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  21. a=rtpmap:110 speex/8000
  22. a=rtpmap:98 iLBC/8000
  23. a=fmtp:98 mode=20
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26.  
  27. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  40. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9693017122@pkcall.astppbilling.org:5022 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_codec.c:111 sofia/default/9693017122@pkcall.astppbilling.org:5022 Original read codec set to PCMA:8
  42. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  43. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_media.c:5973 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2021-12-23 12:09:26.206527 95.63% [DEBUG] sofia.c:7933 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_NEW -> CS_INIT
  45. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_INIT (Cur 1 Tot 20)
  46. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State INIT
  47. 2021-12-23 12:09:26.206527 95.63% [DEBUG] mod_sofia.c:97 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA INIT
  48. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard INIT
  49. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_INIT -> CS_ROUTING
  50. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State INIT going to sleep
  51. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 20)
  52. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change DOWN -> RINGING
  53. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
  54. 2021-12-23 12:09:26.206527 95.63% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
  55. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
  56. 2021-12-23 12:09:26.206527 95.63% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
  57. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  58. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2021-12-23 12:09:26.206527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  60. 2021-12-23 12:09:26.206527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
  61. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '330444' limit 1
  62. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1
  63. 2021-12-23 12:09:26.206527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '330444' and status=0 LIMIT 1
  64. 2021-12-23 12:09:26.226527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  65. 2021-12-23 12:09:26.226527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2021-12-23 12:09:26.226527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1
  67. 2021-12-23 12:09:26.226527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '330444' limit 1
  68. 2021-12-23 12:09:26.226527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  69. 2021-12-23 12:09:26.226527 95.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1
  70. 2021-12-23 12:09:26.226527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="330444" LIMIT 1
  71. 2021-12-23 12:09:26.226527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  72. 2021-12-23 12:09:26.226527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  73. 2021-12-23 12:09:26.226527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  74. 2021-12-23 12:09:26.226527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  75. 2021-12-23 12:09:26.226527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1
  76. 2021-12-23 12:09:26.246528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  77. 2021-12-23 12:09:26.246528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  78. 2021-12-23 12:09:26.246528 95.63% [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 (patterns = '^330444.*' OR patterns = '^33044.*' OR patterns = '^3304.*' OR patterns = '^330.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  79. 2021-12-23 12:09:26.246528 95.63% [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 ="330444" AND A.accountid = '4' limit 1
  80. 2021-12-23 12:09:26.246528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
  81. 2021-12-23 12:09:26.246528 95.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1
  82. 2021-12-23 12:09:26.246528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="330444" LIMIT 1
  83. 2021-12-23 12:09:26.246528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  85. 2021-12-23 12:09:26.266529 95.63% [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 = '330444' OR number = '33044' OR number = '3304' OR number = '330' OR number = '33' OR number = '3' OR number ='--') OR (number = '330444*' OR number = '33044*' OR number = '3304*' OR number = '330*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '9693017122' OR number = '969301712' OR number = '96930171' OR number = '9693017' OR number = '969301' OR number = '96930' OR number = '9693' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9693017122*' OR number = '969301712*' OR number = '96930171*' OR number = '9693017*' OR number = '969301*' OR number = '96930*' OR number = '9693*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  86. 2021-12-23 12:09:26.266529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  87. 2021-12-23 12:09:26.266529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '330444' OR routing_prefix = '33044' OR routing_prefix = '3304' OR routing_prefix = '330' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  88. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  89. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  90. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  91. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
  92. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  93. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  94. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  95. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  96. 2021-12-23 12:09:26.266529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  97. 2021-12-23 12:09:26.266529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  98. 2021-12-23 12:09:26.266529 95.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1
  99. 2021-12-23 12:09:26.266529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="330444" LIMIT 1
  100. 2021-12-23 12:09:26.266529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  101. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  102. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  103. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  104. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  105. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  106. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  107. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
  108. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  109. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  110. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  111. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
  112. 2021-12-23 12:09:26.266529 95.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  113. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  114. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  115. 2021-12-23 12:09:26.266529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  116. 2021-12-23 12:09:26.266529 95.63% [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 = 4 AND status=0 LIMIT 1
  117. 2021-12-23 12:09:26.266529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  118. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  119. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  120. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  121. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  122. 2021-12-23 12:09:26.286528 95.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
  123. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  124. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  125. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"33022220444#","no_answer_call_type":"12"}]
  126. span style="color: green; font-weight: bold;"> 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"7-7","mday":"1-31","mon":"12-12","year":"2021-2021","extensions":"33088888800000#","no_answer_call_type":"12","priority":"3"},{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2021-2021","extensions":"5","no_answer_call_type":"7","priority":"2"},{"hour":"00-23","minute":"00-59","wday":"2-7","mday":"1-31","mon":"1-12","year":"2021-2022","extensions":"14","no_answer_call_type":"11","priority":"1"}]
  127. span style="color: green; font-weight: bold;"> 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 3
  128. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  129. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "7-7"  mday= "1-31"  mon= "12-12"  year= "2021-2021"
  130. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 2
  131. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  132. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2021-2021"
  133. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  134. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "14" limit 1
  135. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  136. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "2-7"  mday= "1-31"  mon= "1-12"  year= "2021-2022"
  137. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  138. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  139. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  140. 2021-12-23 12:09:26.286528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  141. 2021-12-23 12:09:26.286528 95.63% [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 = "1" AND accounts.status = 0
  142. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  143. 2021-12-23 12:09:26.286528 95.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
  144. 2021-12-23 12:09:26.286528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7  and status = 0 limit 1
  145. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  146. 2021-12-23 12:09:26.306530 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  147. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  148. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  149. <document type="freeswitch/xml">
  150. <section name="dialplan" description="ASTPP Dialplan">
  151. <context name="default">
  152. <extension name="TC_PK_reseller_Cust" continue="true">
  153. <condition time-of-day= "00:01-23:59" break="never">
  154. <action application="set" data="office_status=open" inline="true"/>
  155. <action application="set" data="extensions=33022220444#" inline="true"/>
  156. <action application="set" data="no_answer_call_type=12" inline="true"/>
  157. </condition>
  158. </extension>
  159. <extension name="TC_PK_reseller_Cust" continue="true">
  160. <condition break="never">
  161. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  162. </condition>
  163. <condition  time-of-day= "00:00-23:59"  wday= "7-7"  mday= "1-31"  mon= "12-12"  year= "2021-2021"  break="never">
  164. <action application="set" data="office_status=open" inline="true"/>
  165. <action application="set" data="extensions=33088888800000#" inline="true"/>
  166. <action application="set" data="no_answer_call_type=12" inline="true"/>
  167. </condition>
  168. </extension>
  169. <extension name="TC_PK_reseller_Cust" continue="true">
  170. <condition break="never">
  171. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  172. </condition>
  173. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2021-2021"  break="never">
  174. <action application="set" data="office_status=open" inline="true"/>
  175. <action application="set" data="extensions=5" inline="true"/>
  176. <action application="set" data="no_answer_call_type=7" inline="true"/>
  177. </condition>
  178. </extension>
  179. <extension name="TC_PK_reseller_Cust" continue="true">
  180. <condition break="never">
  181. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  182. </condition>
  183. <condition  time-of-day= "00:00-23:59"  wday= "2-7"  mday= "1-31"  mon= "1-12"  year= "2021-2022"  break="never">
  184. <action application="set" data="office_status=open" inline="true"/>
  185. <action application="set" data="extensions=6258825497" inline="true"/>
  186. <action application="set" data="no_answer_call_type=11" inline="true"/>
  187. </condition>
  188. </extension>
  189. <extension name="tod route, x330444">
  190. <condition field="destination_number" expression="^(\+?)?(330444)$">
  191. <action application="execute_extension" data="330444_${office_status}"/>
  192. </condition>
  193. </extension>
  194. <extension name="office is open">
  195. <condition field="destination_number" expression="^(\+?)?(330444_open)$">
  196. <action application="set" data="domain_name=payfast.astppbilling.org"/>
  197. <action application="set" data="set_extensions=${extensions}"/>
  198. <action application="set" data="no_answer_flag=true"/>
  199. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  200. <action application="set" data="no_answer_number=${extensions}" />
  201. <action application="transfer" data="7 XML default"/>
  202. </condition>
  203. </extension>
  204. <extension name="330444">
  205. <condition field="destination_number" expression="330444">
  206. <action application="set" data="effective_destination_number=330444"/>
  207. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  208. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  209. <action application="set" data="callstart=2021-12-23 12:09:26"/>
  210. <action application="set" data="hangup_after_bridge=true"/>
  211. <action application="set" data="continue_on_fail=TRUE"/>
  212. <action application="set" data="account_id=4"/>
  213. <action application="set" data="parent_id=0"/>
  214. <action application="set" data="entity_id=0"/>
  215. <action application="set" data="call_processed=internal"/>
  216. <action application="set" data="call_direction=inbound"/>
  217. <action application="set" data="accountname=default"/>
  218. <action application="set" data="origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  219. <action application="set" data="origination_rates=0"/>
  220. <action application="set" data="original_caller_id_name=9693017122"/>
  221. <action application="set" data="original_caller_id_number=9693017122"/>
  222. <action application="set" data="effective_caller_id_name=9693017122"/>
  223. <action application="set" data="effective_caller_id_number=9693017122"/>
  224. <action application="set" data="receiver_accid=7"/>
  225. <action application="set" data="did_id=2"/>
  226. <action application="set" data="transfer_call_type=4"/>
  227. <action application="set" data="transfer_extensions="/>
  228. <action application="set" data="busy_status=1"/>
  229. <action application="set" data="no_answer_status=1"/>
  230. <action application="set" data="always_status=1"/>
  231. <action application="set" data="transfer_status=1"/>
  232. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  233. <action application="export" data="domain_name=payfast.astppbilling.org"/>
  234. <action application="export" data="sip_to_host=payfast.astppbilling.org"/>
  235. <action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
  236. <action application="export" data="call_type=11"/>
  237. </condition>
  238. </extension>
  239. </context>
  240. </section>
  241. </document>
  242. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  243. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/Time Match (PASS) [TC_PK_reseller_Cust] break=never
  244. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(office_status=open) INLINE
  245. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(office_status=open)
  246. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [office_status]=[open]
  247. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(extensions=33022220444#) INLINE
  248. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(extensions=33022220444#)
  249. span style="color: goldenrod; font-weight: bold;"> 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [extensions]=[33022220444#]
  250. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_call_type=12) INLINE
  251. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_call_type=12)
  252. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_call_type]=[12]
  253. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  254. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Absolute Condition [TC_PK_reseller_Cust]
  255. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(timezone=Europe/Sarajevo) INLINE
  256. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(timezone=Europe/Sarajevo)
  257. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [timezone]=[Europe/Sarajevo]
  258. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/TimeMatch (FAIL) [TC_PK_reseller_Cust] break=never
  259. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  260. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Absolute Condition [TC_PK_reseller_Cust]
  261. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(timezone=Europe/Sarajevo) INLINE
  262. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(timezone=Europe/Sarajevo)
  263. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [timezone]=[Europe/Sarajevo]
  264. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/Time Match (PASS) [TC_PK_reseller_Cust] break=never
  265. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(office_status=open) INLINE
  266. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(office_status=open)
  267. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [office_status]=[open]
  268. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(extensions=5) INLINE
  269. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(extensions=5)
  270. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [extensions]=[5]
  271. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_call_type=7) INLINE
  272. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_call_type=7)
  273. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_call_type]=[7]
  274. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  275. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Absolute Condition [TC_PK_reseller_Cust]
  276. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(timezone=Europe/Sarajevo) INLINE
  277. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(timezone=Europe/Sarajevo)
  278. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [timezone]=[Europe/Sarajevo]
  279. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/Time Match (PASS) [TC_PK_reseller_Cust] break=never
  280. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(office_status=open) INLINE
  281. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(office_status=open)
  282. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [office_status]=[open]
  283. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(extensions=6258825497) INLINE
  284. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(extensions=6258825497)
  285. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [extensions]=[6258825497]
  286. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_call_type=11) INLINE
  287. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_call_type=11)
  288. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_call_type]=[11]
  289. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->tod route, x330444] continue=false
  290. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [tod route, x330444] destination_number(330444) =~ /^(\+?)?(330444)$/ break=on-false
  291. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action execute_extension(330444_${office_status})
  292. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
  293. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
  294. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 20)
  295. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
  296. 2021-12-23 12:09:26.306530 95.63% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
  297. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
  298. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 execute_extension(330444_open)
  299. 2021-12-23 12:09:26.306530 95.63% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444_open in context default
  300. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  301. 2021-12-23 12:09:26.306530 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  302. 2021-12-23 12:09:26.326526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  303. 2021-12-23 12:09:26.326526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
  304. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '330444' limit 1
  305. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1
  306. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '330444' and status=0 LIMIT 1
  307. 2021-12-23 12:09:26.326526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  308. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  309. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1
  310. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '330444' limit 1
  311. 2021-12-23 12:09:26.326526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  312. 2021-12-23 12:09:26.326526 95.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1
  313. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="330444" LIMIT 1
  314. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  315. 2021-12-23 12:09:26.326526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  316. 2021-12-23 12:09:26.326526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  317. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  318. 2021-12-23 12:09:26.326526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1
  319. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  320. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  321. 2021-12-23 12:09:26.346526 95.63% [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 (patterns = '^330444.*' OR patterns = '^33044.*' OR patterns = '^3304.*' OR patterns = '^330.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  322. 2021-12-23 12:09:26.346526 95.63% [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 ="330444" AND A.accountid = '4' limit 1
  323. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
  324. 2021-12-23 12:09:26.346526 95.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1
  325. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="330444" LIMIT 1
  326. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  327. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  328. 2021-12-23 12:09:26.346526 95.63% [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 = '330444' OR number = '33044' OR number = '3304' OR number = '330' OR number = '33' OR number = '3' OR number ='--') OR (number = '330444*' OR number = '33044*' OR number = '3304*' OR number = '330*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '9693017122' OR number = '969301712' OR number = '96930171' OR number = '9693017' OR number = '969301' OR number = '96930' OR number = '9693' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9693017122*' OR number = '969301712*' OR number = '96930171*' OR number = '9693017*' OR number = '969301*' OR number = '96930*' OR number = '9693*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  329. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  330. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '330444' OR routing_prefix = '33044' OR routing_prefix = '3304' OR routing_prefix = '330' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  331. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  332. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  333. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  334. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
  335. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  336. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  337. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  338. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  339. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  340. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  341. 2021-12-23 12:09:26.346526 95.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="330444" LIMIT 1
  342. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="330444" LIMIT 1
  343. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  344. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  345. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  346. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  347. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  348. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  349. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  350. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
  351. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  352. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  353. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  354. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
  355. 2021-12-23 12:09:26.346526 95.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  356. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  357. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  358. 2021-12-23 12:09:26.346526 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  359. 2021-12-23 12:09:26.346526 95.63% [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 = 4 AND status=0 LIMIT 1
  360. 2021-12-23 12:09:26.346526 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  361. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  362. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  363. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  364. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  365. 2021-12-23 12:09:26.366529 95.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
  366. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1
  367. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  368. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"33022220444#","no_answer_call_type":"12"}]
  369. span style="color: green; font-weight: bold;"> 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"7-7","mday":"1-31","mon":"12-12","year":"2021-2021","extensions":"33088888800000#","no_answer_call_type":"12","priority":"3"},{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2021-2021","extensions":"5","no_answer_call_type":"7","priority":"2"},{"hour":"00-23","minute":"00-59","wday":"2-7","mday":"1-31","mon":"1-12","year":"2021-2022","extensions":"14","no_answer_call_type":"11","priority":"1"}]
  370. span style="color: green; font-weight: bold;"> 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 3
  371. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  372. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "7-7"  mday= "1-31"  mon= "12-12"  year= "2021-2021"
  373. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 2
  374. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  375. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2021-2021"
  376. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  377. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "14" limit 1
  378. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1
  379. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:00-23:59"  wday= "2-7"  mday= "1-31"  mon= "1-12"  year= "2021-2022"
  380. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  381. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  382. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  383. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  384. 2021-12-23 12:09:26.366529 95.63% [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 = "1" AND accounts.status = 0
  385. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  386. 2021-12-23 12:09:26.366529 95.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
  387. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7  and status = 0 limit 1
  388. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  389. 2021-12-23 12:09:26.366529 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1
  390. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1
  391. 2021-12-23 12:09:26.366529 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  392. <document type="freeswitch/xml">
  393. <section name="dialplan" description="ASTPP Dialplan">
  394. <context name="default">
  395. <extension name="TC_PK_reseller_Cust" continue="true">
  396. <condition time-of-day= "00:01-23:59" break="never">
  397. <action application="set" data="office_status=open" inline="true"/>
  398. <action application="set" data="extensions=33022220444#" inline="true"/>
  399. <action application="set" data="no_answer_call_type=12" inline="true"/>
  400. </condition>
  401. </extension>
  402. <extension name="TC_PK_reseller_Cust" continue="true">
  403. <condition break="never">
  404. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  405. </condition>
  406. <condition  time-of-day= "00:00-23:59"  wday= "7-7"  mday= "1-31"  mon= "12-12"  year= "2021-2021"  break="never">
  407. <action application="set" data="office_status=open" inline="true"/>
  408. <action application="set" data="extensions=33088888800000#" inline="true"/>
  409. <action application="set" data="no_answer_call_type=12" inline="true"/>
  410. </condition>
  411. </extension>
  412. <extension name="TC_PK_reseller_Cust" continue="true">
  413. <condition break="never">
  414. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  415. </condition>
  416. <condition  time-of-day= "00:00-23:59"  wday= "1-7"  mday= "1-31"  mon= "1-12"  year= "2021-2021"  break="never">
  417. <action application="set" data="office_status=open" inline="true"/>
  418. <action application="set" data="extensions=5" inline="true"/>
  419. <action application="set" data="no_answer_call_type=7" inline="true"/>
  420. </condition>
  421. </extension>
  422. <extension name="TC_PK_reseller_Cust" continue="true">
  423. <condition break="never">
  424. <action application="set" data="timezone=Europe/Sarajevo" inline="true"/>
  425. </condition>
  426. <condition  time-of-day= "00:00-23:59"  wday= "2-7"  mday= "1-31"  mon= "1-12"  year= "2021-2022"  break="never">
  427. <action application="set" data="office_status=open" inline="true"/>
  428. <action application="set" data="extensions=6258825497" inline="true"/>
  429. <action application="set" data="no_answer_call_type=11" inline="true"/>
  430. </condition>
  431. </extension>
  432. <extension name="tod route, x330444">
  433. <condition field="destination_number" expression="^(\+?)?(330444)$">
  434. <action application="execute_extension" data="330444_${office_status}"/>
  435. </condition>
  436. </extension>
  437. <extension name="office is open">
  438. <condition field="destination_number" expression="^(\+?)?(330444_open)$">
  439. <action application="set" data="domain_name=payfast.astppbilling.org"/>
  440. <action application="set" data="set_extensions=${extensions}"/>
  441. <action application="set" data="no_answer_flag=true"/>
  442. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  443. <action application="set" data="no_answer_number=${extensions}" />
  444. <action application="transfer" data="7 XML default"/>
  445. </condition>
  446. </extension>
  447. <extension name="330444">
  448. <condition field="destination_number" expression="330444">
  449. <action application="set" data="effective_destination_number=330444"/>
  450. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  451. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  452. <action application="set" data="callstart=2021-12-23 12:09:26"/>
  453. <action application="set" data="hangup_after_bridge=true"/>
  454. <action application="set" data="continue_on_fail=TRUE"/>
  455. <action application="set" data="account_id=4"/>
  456. <action application="set" data="parent_id=0"/>
  457. <action application="set" data="entity_id=0"/>
  458. <action application="set" data="call_processed=internal"/>
  459. <action application="set" data="call_direction=inbound"/>
  460. <action application="set" data="accountname=default"/>
  461. <action application="set" data="origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  462. <action application="set" data="origination_rates=0"/>
  463. <action application="set" data="original_caller_id_name=9693017122"/>
  464. <action application="set" data="original_caller_id_number=9693017122"/>
  465. <action application="set" data="effective_caller_id_name=9693017122"/>
  466. <action application="set" data="effective_caller_id_number=9693017122"/>
  467. <action application="set" data="receiver_accid=7"/>
  468. <action application="set" data="did_id=2"/>
  469. <action application="set" data="transfer_call_type=4"/>
  470. <action application="set" data="transfer_extensions="/>
  471. <action application="set" data="busy_status=1"/>
  472. <action application="set" data="no_answer_status=1"/>
  473. <action application="set" data="always_status=1"/>
  474. <action application="set" data="transfer_status=1"/>
  475. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  476. <action application="export" data="domain_name=payfast.astppbilling.org"/>
  477. <action application="export" data="sip_to_host=payfast.astppbilling.org"/>
  478. <action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
  479. <action application="export" data="call_type=11"/>
  480. </condition>
  481. </extension>
  482. </context>
  483. </section>
  484. </document>
  485. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  486. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/Time Match (PASS) [TC_PK_reseller_Cust] break=never
  487. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(office_status=open) INLINE
  488. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(office_status=open)
  489. 2021-12-23 12:09:26.366529 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [office_status]=[open]
  490. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(extensions=33022220444#) INLINE
  491. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(extensions=33022220444#)
  492. span style="color: goldenrod; font-weight: bold;"> 2021-12-23 12:09:26.366529 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [extensions]=[33022220444#]
  493. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_call_type=12) INLINE
  494. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_call_type=12)
  495. 2021-12-23 12:09:26.366529 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_call_type]=[12]
  496. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  497. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Absolute Condition [TC_PK_reseller_Cust]
  498. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(timezone=Europe/Sarajevo) INLINE
  499. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(timezone=Europe/Sarajevo)
  500. 2021-12-23 12:09:26.366529 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [timezone]=[Europe/Sarajevo]
  501. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/TimeMatch (FAIL) [TC_PK_reseller_Cust] break=never
  502. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  503. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Absolute Condition [TC_PK_reseller_Cust]
  504. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(timezone=Europe/Sarajevo) INLINE
  505. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(timezone=Europe/Sarajevo)
  506. 2021-12-23 12:09:26.366529 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [timezone]=[Europe/Sarajevo]
  507. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/Time Match (PASS) [TC_PK_reseller_Cust] break=never
  508. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(office_status=open) INLINE
  509. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(office_status=open)
  510. 2021-12-23 12:09:26.366529 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [office_status]=[open]
  511. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(extensions=5) INLINE
  512. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(extensions=5)
  513. 2021-12-23 12:09:26.366529 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [extensions]=[5]
  514. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_call_type=7) INLINE
  515. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_call_type=7)
  516. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_call_type]=[7]
  517. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->TC_PK_reseller_Cust] continue=true
  518. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Absolute Condition [TC_PK_reseller_Cust]
  519. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(timezone=Europe/Sarajevo) INLINE
  520. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(timezone=Europe/Sarajevo)
  521. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [timezone]=[Europe/Sarajevo]
  522. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Date/Time Match (PASS) [TC_PK_reseller_Cust] break=never
  523. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(office_status=open) INLINE
  524. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(office_status=open)
  525. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [office_status]=[open]
  526. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(extensions=6258825497) INLINE
  527. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(extensions=6258825497)
  528. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [extensions]=[6258825497]
  529. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_call_type=11) INLINE
  530. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_call_type=11)
  531. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_call_type]=[11]
  532. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->tod route, x330444] continue=false
  533. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (FAIL) [tod route, x330444] destination_number(330444_open) =~ /^(\+?)?(330444)$/ break=on-false
  534. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->office is open] continue=false
  535. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [office is open] destination_number(330444_open) =~ /^(\+?)?(330444_open)$/ break=on-false
  536. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(domain_name=payfast.astppbilling.org)
  537. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(set_extensions=${extensions})
  538. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_flag=true)
  539. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_call_type=${no_answer_call_type})
  540. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_number=${extensions})
  541. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action transfer(7 XML default)
  542. 2021-12-23 12:09:26.386532 95.63% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(domain_name=payfast.astppbilling.org)
  543. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(domain_name=payfast.astppbilling.org)
  544. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [domain_name]=[payfast.astppbilling.org]
  545. 2021-12-23 12:09:26.386532 95.63% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(set_extensions=${extensions})
  546. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(set_extensions=6258825497)
  547. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [set_extensions]=[6258825497]
  548. 2021-12-23 12:09:26.386532 95.63% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_flag=true)
  549. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_flag=true)
  550. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_flag]=[true]
  551. 2021-12-23 12:09:26.386532 95.63% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  552. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_call_type=11)
  553. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_call_type]=[11]
  554. 2021-12-23 12:09:26.386532 95.63% [NOTICE] switch_core_session.c:3095 Execute [depth=1] set(no_answer_number=${extensions})
  555. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_number=6258825497)
  556. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_number]=[6258825497]
  557. 2021-12-23 12:09:26.386532 95.63% [NOTICE] switch_core_session.c:3095 Execute [depth=1] transfer(7 XML default)
  558. EXECUTE [depth=1] sofia/default/9693017122@pkcall.astppbilling.org:5022 transfer(7 XML default)
  559. 2021-12-23 12:09:26.386532 95.63% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_EXECUTE -> CS_ROUTING
  560. 2021-12-23 12:09:26.386532 95.63% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5022 to XML[7@default]
  561. 2021-12-23 12:09:26.386532 95.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
  562. 2021-12-23 12:09:26.386532 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 20)
  563. 2021-12-23 12:09:26.386532 95.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
  564. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  565. 2021-12-23 12:09:26.386532 95.63% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
  566. 2021-12-23 12:09:26.386532 95.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
  567. 2021-12-23 12:09:26.386532 95.63% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->7 in context default
  568. 2021-12-23 12:09:26.386532 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  569. 2021-12-23 12:09:26.386532 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  570. 2021-12-23 12:09:26.406527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  571. 2021-12-23 12:09:26.406527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 7
  572. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '7' limit 1
  573. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '7' AND status=0 limit 1
  574. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '7' and status=0 LIMIT 1
  575. 2021-12-23 12:09:26.406527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  576. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  577. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1
  578. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '7' limit 1
  579. 2021-12-23 12:09:26.406527 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  580. 2021-12-23 12:09:26.406527 95.63% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="7" LIMIT 1
  581. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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.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 ="7" LIMIT 1
  582. 2021-12-23 12:09:26.406527 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  583. 2021-12-23 12:09:26.406527 95.63% [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 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="7"  AND domains.domain="pkcall.astppbilling.org" limit 1
  584. 2021-12-23 12:09:26.426528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  585. 2021-12-23 12:09:26.426528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  586. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  587. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
  588. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="7" AND (accountid = 0 OR status = 1) LIMIT 1
  589. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  590. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  591. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :7
  592. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  593. 2021-12-23 12:09:26.426528 95.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domainpayfast.astppbilling.org
  594. 2021-12-23 12:09:26.426528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 11
  595. 2021-12-23 12:09:26.426528 95.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Time Conditions
  596. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "6258825497"
  597. 2021-12-23 12:09:26.426528 95.63% [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
  598. 2021-12-23 12:09:26.426528 95.63% [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
  599. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  600. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  601. <document type="freeswitch/xml">
  602. <section name="dialplan" description="ASTPP Dialplan">
  603. <context name="default">
  604. <extension name="7">
  605. <condition field="destination_number" expression="7">
  606. <action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
  607. <action application="export" data="did_user_domain=pkcall.astppbilling.org"/>
  608. <action application="set" data="continue_on_fail=TRUE"/>
  609. <action application="set" data="ignore_early_media=true"/>
  610. <action application="set" data="no_answer_flag=false"/>
  611. <action application="set" data="did_calltype=11"/>
  612. <action application="set" data="did_extensions=6258825497"/>
  613. <action application="set" data="sip_destination_number=6258825497"/>
  614. <action application="set" data="sip_to_host=payfast.astppbilling.org"/>
  615. <action application="set" data="user_domain=payfast.astppbilling.org"/>
  616. <action application="db" data="insert/pickup_any_group_${callgroup}/6258825497/${uuid}"/>
  617. <action application="set" data="dialed_extension=transfer_call"/>
  618. <action application="export" data="dialed_extension=transfer_call"/>
  619. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  620. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  621. <action application="export" data="ring_group_transfer=true"/>
  622. <action application="bridge" data="user/6258825497@payfast.astppbilling.org"/>
  623. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  624. </condition>
  625. </extension>
  626. </context>
  627. </section>
  628. </document>
  629. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->7] continue=false
  630. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [7] destination_number(7) =~ /7/ break=on-false
  631. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  632. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(did_user_domain=pkcall.astppbilling.org)
  633. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(continue_on_fail=TRUE)
  634. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(ignore_early_media=true)
  635. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_flag=false)
  636. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_calltype=11)
  637. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_extensions=6258825497)
  638. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(sip_destination_number=6258825497)
  639. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(sip_to_host=payfast.astppbilling.org)
  640. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(user_domain=payfast.astppbilling.org)
  641. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action db(insert/pickup_any_group_${callgroup}/6258825497/${uuid})
  642. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(dialed_extension=transfer_call)
  643. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(dialed_extension=transfer_call)
  644. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  645. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  646. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(ring_group_transfer=true)
  647. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action bridge(user/6258825497@payfast.astppbilling.org)
  648. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  649. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
  650. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
  651. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 20)
  652. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
  653. 2021-12-23 12:09:26.426528 95.63% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
  654. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
  655. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  656. 2021-12-23 12:09:26.426528 95.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162]
  657. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(did_user_domain=pkcall.astppbilling.org)
  658. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[pkcall.astppbilling.org]
  659. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(continue_on_fail=TRUE)
  660. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [continue_on_fail]=[TRUE]
  661. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(ignore_early_media=true)
  662. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [ignore_early_media]=[true]
  663. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_flag=false)
  664. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_flag]=[false]
  665. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_calltype=11)
  666. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_calltype]=[11]
  667. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_extensions=6258825497)
  668. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_extensions]=[6258825497]
  669. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(sip_destination_number=6258825497)
  670. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [sip_destination_number]=[6258825497]
  671. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(sip_to_host=payfast.astppbilling.org)
  672. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [sip_to_host]=[payfast.astppbilling.org]
  673. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(user_domain=payfast.astppbilling.org)
  674. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [user_domain]=[payfast.astppbilling.org]
  675. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 db(insert/pickup_any_group_/6258825497/a611756f-41d2-42d3-b7b4-dfa316850cfe)
  676. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(dialed_extension=transfer_call)
  677. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [dialed_extension]=[transfer_call]
  678. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(dialed_extension=transfer_call)
  679. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  680. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  681. 2021-12-23 12:09:26.446539 95.63% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  682. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  683. 2021-12-23 12:09:26.446539 95.63% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  684. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(ring_group_transfer=true)
  685. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true]
  686. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 bridge(user/6258825497@payfast.astppbilling.org)
  687. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
  688. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [did_user_domain]=[pkcall.astppbilling.org] to event
  689. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  690. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  691. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  692. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162] to event
  693. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [did_user_domain]=[pkcall.astppbilling.org] to event
  694. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  695. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  696. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  697. 2021-12-23 12:09:26.446539 95.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6258825497@49.34.152.238:39134 [1007ac12-5397-493c-ab6a-bca6ee60ff4f]
  698. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_sofia.c:5121 (sofia/default/6258825497@49.34.152.238:39134) State Change CS_NEW -> CS_INIT
  699. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:39134) Running State Change CS_INIT (Cur 2 Tot 21)
  700. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6258825497@49.34.152.238:39134) State INIT
  701. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_sofia.c:97 sofia/default/6258825497@49.34.152.238:39134 SOFIA INIT
  702. 2021-12-23 12:09:26.446539 95.63% [DEBUG] sofia_glue.c:1620 sip:6258825497@49.34.152.238:47125;transport=TCP;rinstance=d3464f7335d94f31 Setting proxy route to sofia/default/6258825497@49.34.152.238:39134
  703. 2021-12-23 12:09:26.446539 95.63% [INFO] sofia_glue.c:1651 sofia/default/6258825497@49.34.152.238:39134 sending invite call-id: (null)
  704. 2021-12-23 12:09:26.446539 95.63% [DEBUG] sofia_glue.c:1654 sofia/default/6258825497@49.34.152.238:39134 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  705. Local SDP:
  706. v=0
  707. o=FreeSWITCH 1640239938 1640239939 IN IP4 3.23.127.90
  708. s=FreeSWITCH
  709. c=IN IP4 3.23.127.90
  710. t=0 0
  711. m=audio 21428 RTP/AVP 8 101
  712. a=rtpmap:8 PCMA/8000
  713. a=rtpmap:101 telephone-event/8000
  714. a=fmtp:101 0-15
  715. a=ptime:20
  716. a=sendrecv
  717.  
  718. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/6258825497@49.34.152.238:39134 Standard INIT
  719. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6258825497@49.34.152.238:39134) State Change CS_INIT -> CS_ROUTING
  720. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6258825497@49.34.152.238:39134) State INIT going to sleep
  721. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:39134) Running State Change CS_ROUTING (Cur 2 Tot 21)
  722. 2021-12-23 12:09:26.446539 95.63% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:39134 entering state [calling][0]
  723. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6258825497@49.34.152.238:39134) State ROUTING
  724. 2021-12-23 12:09:26.446539 95.63% [DEBUG] mod_sofia.c:158 sofia/default/6258825497@49.34.152.238:39134 SOFIA ROUTING
  725. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_ivr_originate.c:67 (sofia/default/6258825497@49.34.152.238:39134) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  726. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6258825497@49.34.152.238:39134) State ROUTING going to sleep
  727. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:39134) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 21)
  728. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6258825497@49.34.152.238:39134) State CONSUME_MEDIA
  729. 2021-12-23 12:09:26.446539 95.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6258825497@49.34.152.238:39134) State CONSUME_MEDIA going to sleep
  730. 2021-12-23 12:09:27.306587 94.13% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:39134 entering state [proceeding][180]
  731. 2021-12-23 12:09:27.306587 94.13% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/6258825497@49.34.152.238:39134!
  732. 2021-12-23 12:09:27.306587 94.13% [DEBUG] switch_channel.c:3494 (sofia/default/6258825497@49.34.152.238:39134) Callstate Change DOWN -> RINGING
  733. 2021-12-23 12:09:27.326499 94.13% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/9693017122@pkcall.astppbilling.org:5022!
  734. 2021-12-23 12:09:27.326499 94.13% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [early][180]
  735. 2021-12-23 12:09:27.326499 94.13% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/9693017122@pkcall.astppbilling.org:5022!
  736. 2021-12-23 12:10:26.006530 96.37% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/6258825497@49.34.152.238:39134 [CS_CONSUME_MEDIA] [NO_ANSWER]
  737. 2021-12-23 12:10:26.026524 96.37% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [NO_ANSWER]
  738. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 19 [NO_ANSWER]
  739. 2021-12-23 12:10:26.026524 96.37% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NO_ANSWER
  740. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  741. 2021-12-23 12:10:26.026524 96.37% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions NO_ANSWER This Is SIP Number : 6258825497
  742. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 answer()
  743. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9693017122@pkcall.astppbilling.org:5022] 172.31.43.241 port 27288 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  744. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:39134) Running State Change CS_HANGUP (Cur 2 Tot 21)
  745. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6258825497@49.34.152.238:39134) Callstate Change RINGING -> HANGUP
  746. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6258825497@49.34.152.238:39134) State HANGUP
  747. 2021-12-23 12:10:26.026524 96.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/6258825497@49.34.152.238:39134 hanging up, cause: NO_ANSWER
  748. 2021-12-23 12:10:26.026524 96.37% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/6258825497@49.34.152.238:39134
  749. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/6258825497@49.34.152.238:39134 Standard HANGUP, cause: NO_ANSWER
  750. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6258825497@49.34.152.238:39134) State HANGUP going to sleep
  751. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6258825497@49.34.152.238:39134) State Change CS_HANGUP -> CS_REPORTING
  752. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:39134) Running State Change CS_REPORTING (Cur 2 Tot 21)
  753. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6258825497@49.34.152.238:39134) State REPORTING
  754. 2021-12-23 12:10:26.026524 96.37% [INFO] mod_json_cdr.c:271 Process [1007ac12-5397-493c-ab6a-bca6ee60ff4f.cdr.json]
  755. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  756. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_media.c:9089 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf send payload to 101
  757. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_media.c:9096 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf receive payload to 101
  758. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_media.c:9119 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set rtp dtmf delay to 40
  759. 2021-12-23 12:10:26.026524 96.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9693017122@pkcall.astppbilling.org:5022:
  760. v=0
  761. o=FreeSWITCH 1640234138 1640234139 IN IP4 3.23.127.90
  762. s=FreeSWITCH
  763. c=IN IP4 3.23.127.90
  764. t=0 0
  765. m=audio 27288 RTP/AVP 8 101
  766. a=rtpmap:8 PCMA/8000
  767. a=rtpmap:101 telephone-event/8000
  768. a=fmtp:101 0-15
  769. a=ptime:20
  770. a=sendrecv
  771.  
  772. 2021-12-23 12:10:26.026524 96.37% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [completed][200]
  773. 2021-12-23 12:10:26.026524 96.37% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/9693017122@pkcall.astppbilling.org:5022] has been answered
  774. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_channel.c:3950 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RINGING -> ACTIVE
  775. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  776. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/6258825497@49.34.152.238:39134 Standard REPORTING, cause: NO_ANSWER
  777. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6258825497@49.34.152.238:39134) State REPORTING going to sleep
  778. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6258825497@49.34.152.238:39134) State Change CS_REPORTING -> CS_DESTROY
  779. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_session.c:1753 Session 21 (sofia/default/6258825497@49.34.152.238:39134) Locked, Waiting on external entities
  780. 2021-12-23 12:10:26.026524 96.37% [NOTICE] switch_core_session.c:1771 Session 21 (sofia/default/6258825497@49.34.152.238:39134) Ended
  781. 2021-12-23 12:10:26.026524 96.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6258825497@49.34.152.238:39134 [CS_DESTROY]
  782. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6258825497@49.34.152.238:39134) Running State Change CS_DESTROY (Cur 1 Tot 21)
  783. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6258825497@49.34.152.238:39134) State DESTROY
  784. 2021-12-23 12:10:26.026524 96.37% [DEBUG] mod_sofia.c:379 sofia/default/6258825497@49.34.152.238:39134 SOFIA DESTROY
  785. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/6258825497@49.34.152.238:39134 Standard DESTROY
  786. 2021-12-23 12:10:26.026524 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6258825497@49.34.152.238:39134) State DESTROY going to sleep
  787. 2021-12-23 12:10:26.046881 96.37% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] dialed_user for voicemail::: 6258825497
  788. 2021-12-23 12:10:26.046881 96.37% [ERR] mod_lua.cpp:202 ...switch/scripts/astpp/lib/pbx/astpp-custom-voice-mail.lua:55: attempt to concatenate local 'userinfo_id' (a nil value)
  789. stack traceback:
  790.         ...switch/scripts/astpp/lib/pbx/astpp-custom-voice-mail.lua:55: in function 'custom_voicemail'
  791.         ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:110: in main chunk
  792. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5022 destroy/unlink session from object
  793. 2021-12-23 12:10:26.046881 96.37% [NOTICE] switch_core_state_machine.c:382 sofia/default/9693017122@pkcall.astppbilling.org:5022 has executed the last dialplan instruction, hanging up.
  794. 2021-12-23 12:10:26.046881 96.37% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/9693017122@pkcall.astppbilling.org:5022 [CS_EXECUTE] [NORMAL_CLEARING]
  795. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
  796. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_HANGUP (Cur 1 Tot 21)
  797. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_channel.c:3990 sofia/default/9693017122@pkcall.astppbilling.org:5022 skip receive message [VIDEO_SYNC] (channel is hungup already)
  798. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> HANGUP
  799. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State HANGUP
  800. 2021-12-23 12:10:26.046881 96.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 hanging up, cause: NORMAL_CLEARING
  801. 2021-12-23 12:10:26.046881 96.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9693017122@pkcall.astppbilling.org:5022
  802. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard HANGUP, cause: NORMAL_CLEARING
  803. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State HANGUP going to sleep
  804. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_HANGUP -> CS_REPORTING
  805. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_REPORTING (Cur 1 Tot 21)
  806. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State REPORTING
  807. 2021-12-23 12:10:26.046881 96.37% [INFO] mod_json_cdr.c:271 Process [a611756f-41d2-42d3-b7b4-dfa316850cfe.cdr.json]
  808. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard REPORTING, cause: NORMAL_CLEARING
  809. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State REPORTING going to sleep
  810. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_REPORTING -> CS_DESTROY
  811. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_session.c:1753 Session 20 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Locked, Waiting on external entities
  812. 2021-12-23 12:10:26.046881 96.37% [NOTICE] switch_core_session.c:1771 Session 20 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Ended
  813. 2021-12-23 12:10:26.046881 96.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 [CS_DESTROY]
  814. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_DESTROY (Cur 0 Tot 21)
  815. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State DESTROY
  816. 2021-12-23 12:10:26.046881 96.37% [DEBUG] mod_sofia.c:379 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA DESTROY
  817. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard DESTROY
  818. 2021-12-23 12:10:26.046881 96.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State DESTROY going to sleep
  819. freeswitch@ip-172-31-43-241>
  820.