From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. reeswitch@ip-172-31-43-241> customCallFlowLogStart
  2. -ERR customCallFlowLogStart Command not found!
  3.  
  4. freeswitch@ip-172-31-43-241>
  5. freeswitch@ip-172-31-43-241>
  6. freeswitch@ip-172-31-43-241>
  7. freeswitch@ip-172-31-43-241>
  8. freeswitch@ip-172-31-43-241>
  9. freeswitch@ip-172-31-43-241>
  10. freeswitch@ip-172-31-43-241>
  11. freeswitch@ip-172-31-43-241>
  12. freeswitch@ip-172-31-43-241>
  13. freeswitch@ip-172-31-43-241>
  14. freeswitch@ip-172-31-43-241>
  15. freeswitch@ip-172-31-43-241>
  16. freeswitch@ip-172-31-43-241>
  17. 2021-12-23 10:58:30.688037 95.03% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 [37d106b5-4327-42fb-93a5-723dd0e6d213]
  18. 2021-12-23 10:58:30.688037 95.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_NEW (Cur 1 Tot 23)
  19. 2021-12-23 10:58:30.688037 95.03% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5022 receiving invite from 117.247.91.162:38708 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OGZjMmM4NWQ3Mzg3ZTBkNjJmNzFlMzBlYzZmMjU3OTk.
  20. 2021-12-23 10:58:30.688037 95.03% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  21. 2021-12-23 10:58:30.688037 95.03% [DEBUG] sofia.c:2419 detaching session 37d106b5-4327-42fb-93a5-723dd0e6d213
  22. 2021-12-23 10:58:30.688037 95.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [330444@pkcall.astppbilling.org] from ip 117.247.91.162
  23. 2021-12-23 10:58:30.688037 95.03% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State NEW
  24. 2021-12-23 10:58:31.268065 95.03% [DEBUG] sofia.c:2532 Re-attaching to session 37d106b5-4327-42fb-93a5-723dd0e6d213
  25. 2021-12-23 10:58:31.288045 95.03% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5022 receiving invite from 117.247.91.162:38708 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OGZjMmM4NWQ3Mzg3ZTBkNjJmNzFlMzBlYzZmMjU3OTk.
  26. 2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  27. 2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  28. 2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [received][100]
  29. 2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:7509 Remote SDP:
  30. v=0
  31. o=Z 0 0 IN IP4 117.247.91.162
  32. s=Z
  33. c=IN IP4 117.247.91.162
  34. t=0 0
  35. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  36. a=rtpmap:110 speex/8000
  37. a=rtpmap:98 iLBC/8000
  38. a=fmtp:98 mode=20
  39. a=rtpmap:101 telephone-event/8000
  40. a=fmtp:101 0-15
  41.  
  42. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  43. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  44. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  45. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  46. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  47. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  48. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  49. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  50. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  51. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  52. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  53. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  54. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  55. 2021-12-23 10:58:31.288045 95.03% [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
  56. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_codec.c:111 sofia/default/9693017122@pkcall.astppbilling.org:5022 Original read codec set to PCMA:8
  57. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  58. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_media.c:5973 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf send payload to 101 recv payload to 101
  59. 2021-12-23 10:58:31.288045 95.03% [DEBUG] sofia.c:7933 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_NEW -> CS_INIT
  60. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_INIT (Cur 1 Tot 23)
  61. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State INIT
  62. 2021-12-23 10:58:31.288045 95.03% [DEBUG] mod_sofia.c:97 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA INIT
  63. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard INIT
  64. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_INIT -> CS_ROUTING
  65. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State INIT going to sleep
  66. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 23)
  67. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change DOWN -> RINGING
  68. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
  69. 2021-12-23 10:58:31.288045 95.03% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
  70. 2021-12-23 10:58:31.288045 95.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
  71. 2021-12-23 10:58:31.288045 95.03% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
  72. 2021-12-23 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  73. 2021-12-23 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2021-12-23 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  75. 2021-12-23 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
  76. 2021-12-23 10:58:31.308028 95.03% [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
  77. 2021-12-23 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1
  78. 2021-12-23 10:58:31.308028 95.03% [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
  79. 2021-12-23 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  80. 2021-12-23 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  81. 2021-12-23 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1
  82. 2021-12-23 10:58:31.308028 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '330444' limit 1
  83. 2021-12-23 10:58:31.308028 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  84. 2021-12-23 10:58:31.308028 95.03% [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
  85. 2021-12-23 10:58:31.328033 95.03% [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
  86. 2021-12-23 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2021-12-23 10:58:31.328033 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  88. 2021-12-23 10:58:31.328033 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  89. 2021-12-23 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  90. 2021-12-23 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1
  91. 2021-12-23 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  92. 2021-12-23 10:58:31.328033 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  93. 2021-12-23 10:58:31.328033 95.03% [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
  94. 2021-12-23 10:58:31.328033 95.03% [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
  95. 2021-12-23 10:58:31.328033 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
  96. 2021-12-23 10:58:31.328033 95.03% [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
  97. 2021-12-23 10:58:31.348030 95.03% [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
  98. 2021-12-23 10:58:31.348030 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  99. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  100. 2021-12-23 10:58:31.348030 95.03% [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
  101. 2021-12-23 10:58:31.348030 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  102. 2021-12-23 10:58:31.348030 95.03% [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
  103. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  104. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  105. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  106. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
  107. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  108. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  109. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  110. 2021-12-23 10:58:31.348030 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  111. 2021-12-23 10:58:31.348030 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  112. 2021-12-23 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  113. 2021-12-23 10:58:31.368032 95.03% [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
  114. 2021-12-23 10:58:31.368032 95.03% [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
  115. 2021-12-23 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  116. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  117. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  118. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  119. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  120. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  121. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  122. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
  123. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  124. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  125. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  126. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
  127. 2021-12-23 10:58:31.368032 95.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  128. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  129. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  130. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  131. 2021-12-23 10:58:31.368032 95.03% [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
  132. 2021-12-23 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  133. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  134. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  135. 2021-12-23 10:58:31.368032 95.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  136. 2021-12-23 10:58:31.368032 95.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  137. 2021-12-23 10:58:31.387979 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
  138. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  139. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  140. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  141. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  142. 2021-12-23 10:58:31.387979 95.13% [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
  143. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  144. 2021-12-23 10:58:31.387979 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
  145. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7  and status = 0 limit 1
  146. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
  147. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
  148. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
  149. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1
  150. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 3
  151. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 2
  152. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 1
  153. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 1
  154. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 1
  155. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 0
  156. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 3476897547
  157. 2021-12-23 10:58:31.387979 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] bridge : user/3476897547@payfast.astppbilling.org
  158. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  159. <document type="freeswitch/xml">
  160. <section name="dialplan" description="ASTPP Dialplan">
  161. <context name="default">
  162. <extension name="330444">
  163. <condition field="destination_number" expression="330444">
  164. <action application="set" data="effective_destination_number=330444"/>
  165. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  166. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  167. <action application="set" data="callstart=2021-12-23 10:58:31"/>
  168. <action application="set" data="hangup_after_bridge=true"/>
  169. <action application="set" data="continue_on_fail=TRUE"/>
  170. <action application="set" data="account_id=4"/>
  171. <action application="set" data="parent_id=0"/>
  172. <action application="set" data="entity_id=0"/>
  173. <action application="set" data="call_processed=internal"/>
  174. <action application="set" data="call_direction=inbound"/>
  175. <action application="set" data="accountname=default"/>
  176. <action application="set" data="origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  177. <action application="set" data="origination_rates=0"/>
  178. <action application="set" data="original_caller_id_name=9693017122"/>
  179. <action application="set" data="original_caller_id_number=9693017122"/>
  180. <action application="set" data="effective_caller_id_name=9693017122"/>
  181. <action application="set" data="effective_caller_id_number=9693017122"/>
  182. <action application="set" data="receiver_accid=7"/>
  183. <action application="set" data="did_id=2"/>
  184. <action application="set" data="transfer_call_type=4"/>
  185. <action application="set" data="transfer_extensions="/>
  186. <action application="set" data="busy_status=1"/>
  187. <action application="set" data="no_answer_status=1"/>
  188. <action application="set" data="always_status=1"/>
  189. <action application="set" data="transfer_status=1"/>
  190. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  191. <action application="export" data="domain_name=payfast.astppbilling.org"/>
  192. <action application="export" data="sip_to_host=payfast.astppbilling.org"/>
  193. <action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
  194. <action application="export" data="call_type=13"/>
  195. <action application="set" data="custom_priority=1"/>
  196. <action application="set" data="custom_call_id=1"/>
  197. <action application="set" data="original_did_number=330444"/>
  198. <action application="bridge" data="user/3476897547@payfast.astppbilling.org"/>
  199. <action application="lua" data="astpp/lib/pbx/astpp-custom_call_flow.lua"/>
  200. </condition>
  201. </extension>
  202. </context>
  203. </section>
  204. </document>
  205. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->330444] continue=false
  206. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
  207. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_destination_number=330444)
  208. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  209. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  210. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(callstart=2021-12-23 10:58:31)
  211. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(hangup_after_bridge=true)
  212. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(continue_on_fail=TRUE)
  213. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(account_id=4)
  214. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(parent_id=0)
  215. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(entity_id=0)
  216. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_processed=internal)
  217. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_direction=inbound)
  218. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(accountname=default)
  219. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  220. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(origination_rates=0)
  221. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_name=9693017122)
  222. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_number=9693017122)
  223. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_name=9693017122)
  224. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_number=9693017122)
  225. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(receiver_accid=7)
  226. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_id=2)
  227. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_call_type=4)
  228. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_extensions=)
  229. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(busy_status=1)
  230. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_status=1)
  231. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(always_status=1)
  232. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_status=1)
  233. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(variable_sip_to_host=${domain_name})
  234. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(domain_name=payfast.astppbilling.org)
  235. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(sip_to_host=payfast.astppbilling.org)
  236. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  237. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(call_type=13)
  238. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_priority=1)
  239. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_call_id=1)
  240. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_did_number=330444)
  241. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action bridge(user/3476897547@payfast.astppbilling.org)
  242. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
  243. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
  244. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
  245. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 23)
  246. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
  247. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
  248. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
  249. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_destination_number=330444)
  250. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_destination_number]=[330444]
  251. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_app=sched_hangup)
  252. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_app]=[sched_hangup]
  253. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  254. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  255. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(callstart=2021-12-23 10:58:31)
  256. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [callstart]=[2021-12-23 10:58:31]
  257. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(hangup_after_bridge=true)
  258. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [hangup_after_bridge]=[true]
  259. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(continue_on_fail=TRUE)
  260. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [continue_on_fail]=[TRUE]
  261. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(account_id=4)
  262. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [account_id]=[4]
  263. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(parent_id=0)
  264. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [parent_id]=[0]
  265. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(entity_id=0)
  266. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [entity_id]=[0]
  267. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_processed=internal)
  268. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_processed]=[internal]
  269. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_direction=inbound)
  270. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_direction]=[inbound]
  271. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(accountname=default)
  272. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [accountname]=[default]
  273. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  274. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  275. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(origination_rates=0)
  276. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates]=[0]
  277. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_name=9693017122)
  278. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_name]=[9693017122]
  279. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_number=9693017122)
  280. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_number]=[9693017122]
  281. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_name=9693017122)
  282. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_name]=[9693017122]
  283. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_number=9693017122)
  284. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_number]=[9693017122]
  285. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(receiver_accid=7)
  286. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [receiver_accid]=[7]
  287. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_id=2)
  288. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_id]=[2]
  289. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_call_type=4)
  290. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_call_type]=[4]
  291. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_extensions=)
  292. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_extensions]=[UNDEF]
  293. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(busy_status=1)
  294. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [busy_status]=[1]
  295. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_status=1)
  296. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_status]=[1]
  297. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(always_status=1)
  298. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [always_status]=[1]
  299. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_status=1)
  300. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_status]=[1]
  301. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(variable_sip_to_host=pkcall.astppbilling.org)
  302. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [variable_sip_to_host]=[pkcall.astppbilling.org]
  303. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(domain_name=payfast.astppbilling.org)
  304. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
  305. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(sip_to_host=payfast.astppbilling.org)
  306. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
  307. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  308. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162]
  309. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(call_type=13)
  310. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13]
  311. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_priority=1)
  312. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_priority]=[1]
  313. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_call_id=1)
  314. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_call_id]=[1]
  315. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_did_number=330444)
  316. 2021-12-23 10:58:31.387979 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_did_number]=[330444]
  317. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 bridge(user/3476897547@payfast.astppbilling.org)
  318. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  319. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  320. 2021-12-23 10:58:31.387979 95.13% [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
  321. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  322. 2021-12-23 10:58:31.387979 95.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  323. 2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  324. 2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  325. 2021-12-23 10:58:31.408028 95.13% [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
  326. 2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  327. 2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  328. 2021-12-23 10:58:31.408028 95.13% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  329. 2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  330. 2021-12-23 10:58:31.408028 95.13% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  331. 2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  332. 2021-12-23 10:58:31.408028 95.13% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_NOT_REGISTERED
  333. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
  334. 2021-12-23 10:58:31.408028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  335. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1
  336. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '1')
  337. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)')
  338. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 transfer(330444 XML default)
  339. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_EXECUTE -> CS_ROUTING
  340. 2021-12-23 10:58:31.429018 95.13% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5022 to XML[330444@default]
  341. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5022 destroy/unlink session from object
  342. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
  343. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 23)
  344. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
  345. 2021-12-23 10:58:31.429018 95.13% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  346. 2021-12-23 10:58:31.429018 95.13% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
  347. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
  348. 2021-12-23 10:58:31.429018 95.13% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
  349. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  350. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  351. 2021-12-23 10:58:31.429018 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  352. 2021-12-23 10:58:31.429018 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
  353. 2021-12-23 10:58:31.429018 95.13% [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
  354. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1
  355. 2021-12-23 10:58:31.429018 95.13% [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
  356. 2021-12-23 10:58:31.429018 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  357. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  358. 2021-12-23 10:58:31.429018 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'payfast.astppbilling.org' limit 1
  359. 2021-12-23 10:58:31.468028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '330444' limit 1
  360. 2021-12-23 10:58:31.468028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  361. 2021-12-23 10:58:31.468028 95.13% [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
  362. 2021-12-23 10:58:31.468028 95.13% [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
  363. 2021-12-23 10:58:31.468028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  364. 2021-12-23 10:58:31.468028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  365. 2021-12-23 10:58:31.468028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  366. 2021-12-23 10:58:31.468028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  367. 2021-12-23 10:58:31.468028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1
  368. 2021-12-23 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  369. 2021-12-23 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  370. 2021-12-23 10:58:31.488027 95.13% [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
  371. 2021-12-23 10:58:31.488027 95.13% [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
  372. 2021-12-23 10:58:31.488027 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
  373. 2021-12-23 10:58:31.488027 95.13% [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
  374. 2021-12-23 10:58:31.488027 95.13% [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
  375. 2021-12-23 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  376. 2021-12-23 10:58:31.488027 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  377. 2021-12-23 10:58:31.488027 95.13% [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
  378. 2021-12-23 10:58:31.488027 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  379. 2021-12-23 10:58:31.488027 95.13% [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
  380. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  381. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  382. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  383. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
  384. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  385. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  386. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  387. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  388. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  389. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  390. 2021-12-23 10:58:31.508028 95.13% [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
  391. 2021-12-23 10:58:31.508028 95.13% [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
  392. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  393. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  394. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  395. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  396. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  397. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  398. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  399. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
  400. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  401. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  402. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  403. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
  404. 2021-12-23 10:58:31.508028 95.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  405. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  406. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  407. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  408. 2021-12-23 10:58:31.508028 95.13% [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
  409. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  410. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  411. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  412. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  413. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  414. 2021-12-23 10:58:31.508028 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
  415. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  416. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  417. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  418. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  419. 2021-12-23 10:58:31.508028 95.13% [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
  420. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  421. 2021-12-23 10:58:31.508028 95.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
  422. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7  and status = 0 limit 1
  423. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
  424. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
  425. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
  426. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1
  427. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 2
  428. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 2
  429. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 14
  430. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 12
  431. 2021-12-23 10:58:31.508028 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  condition_value['extensions']::12
  432. 2021-12-23 10:58:31.508028 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '12' LIMIT 1
  433. 2021-12-23 10:58:31.528030 95.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== music_file_name=File name==================file_examp_.wav
  434. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  435. <document type="freeswitch/xml">
  436. <section name="dialplan" description="ASTPP Dialplan">
  437. <context name="default">
  438. <extension name="330444">
  439. <condition field="destination_number" expression="330444">
  440. <action application="set" data="effective_destination_number=330444"/>
  441. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  442. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  443. <action application="set" data="callstart=2021-12-23 10:58:31"/>
  444. <action application="set" data="hangup_after_bridge=true"/>
  445. <action application="set" data="continue_on_fail=TRUE"/>
  446. <action application="set" data="account_id=4"/>
  447. <action application="set" data="parent_id=0"/>
  448. <action application="set" data="entity_id=0"/>
  449. <action application="set" data="call_processed=internal"/>
  450. <action application="set" data="call_direction=inbound"/>
  451. <action application="set" data="accountname=default"/>
  452. <action application="set" data="origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  453. <action application="set" data="origination_rates=0"/>
  454. <action application="set" data="original_caller_id_name=9693017122"/>
  455. <action application="set" data="original_caller_id_number=9693017122"/>
  456. <action application="set" data="effective_caller_id_name=9693017122"/>
  457. <action application="set" data="effective_caller_id_number=9693017122"/>
  458. <action application="set" data="receiver_accid=7"/>
  459. <action application="set" data="did_id=2"/>
  460. <action application="set" data="transfer_call_type=4"/>
  461. <action application="set" data="transfer_extensions="/>
  462. <action application="set" data="busy_status=1"/>
  463. <action application="set" data="no_answer_status=1"/>
  464. <action application="set" data="always_status=1"/>
  465. <action application="set" data="transfer_status=1"/>
  466. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  467. <action application="export" data="domain_name=payfast.astppbilling.org"/>
  468. <action application="export" data="sip_to_host=payfast.astppbilling.org"/>
  469. <action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
  470. <action application="export" data="call_type=13"/>
  471. <action application="set" data="custom_priority=2"/>
  472. <action application="set" data="custom_call_id=1"/>
  473. <action application="set" data="original_did_number=330444"/>
  474.     <action application="answer"/>
  475. <action application="playback" data="/var/www/html/astpp//upload/pbx/file_examp_.wav"/>
  476. <action application="lua" data="astpp/lib/pbx/astpp-custom_call_flow.lua"/>
  477. </condition>
  478. </extension>
  479. </context>
  480. </section>
  481. </document>
  482. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->330444] continue=false
  483. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
  484. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_destination_number=330444)
  485. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  486. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  487. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(callstart=2021-12-23 10:58:31)
  488. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(hangup_after_bridge=true)
  489. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(continue_on_fail=TRUE)
  490. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(account_id=4)
  491. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(parent_id=0)
  492. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(entity_id=0)
  493. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_processed=internal)
  494. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_direction=inbound)
  495. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(accountname=default)
  496. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  497. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(origination_rates=0)
  498. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_name=9693017122)
  499. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_number=9693017122)
  500. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_name=9693017122)
  501. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_number=9693017122)
  502. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(receiver_accid=7)
  503. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_id=2)
  504. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_call_type=4)
  505. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_extensions=)
  506. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(busy_status=1)
  507. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_status=1)
  508. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(always_status=1)
  509. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_status=1)
  510. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(variable_sip_to_host=${domain_name})
  511. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(domain_name=payfast.astppbilling.org)
  512. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(sip_to_host=payfast.astppbilling.org)
  513. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  514. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(call_type=13)
  515. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_priority=2)
  516. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_call_id=1)
  517. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_did_number=330444)
  518. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action answer()
  519. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action playback(/var/www/html/astpp//upload/pbx/file_examp_.wav)
  520. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
  521. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
  522. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
  523. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 23)
  524. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
  525. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
  526. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
  527. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_destination_number=330444)
  528. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_destination_number]=[330444]
  529. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_app=sched_hangup)
  530. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_app]=[sched_hangup]
  531. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  532. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  533. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(callstart=2021-12-23 10:58:31)
  534. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [callstart]=[2021-12-23 10:58:31]
  535. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(hangup_after_bridge=true)
  536. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [hangup_after_bridge]=[true]
  537. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(continue_on_fail=TRUE)
  538. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [continue_on_fail]=[TRUE]
  539. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(account_id=4)
  540. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [account_id]=[4]
  541. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(parent_id=0)
  542. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [parent_id]=[0]
  543. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(entity_id=0)
  544. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [entity_id]=[0]
  545. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_processed=internal)
  546. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_processed]=[internal]
  547. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_direction=inbound)
  548. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_direction]=[inbound]
  549. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(accountname=default)
  550. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [accountname]=[default]
  551. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  552. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  553. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(origination_rates=0)
  554. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates]=[0]
  555. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_name=9693017122)
  556. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_name]=[9693017122]
  557. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_number=9693017122)
  558. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_number]=[9693017122]
  559. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_name=9693017122)
  560. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_name]=[9693017122]
  561. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_number=9693017122)
  562. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_number]=[9693017122]
  563. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(receiver_accid=7)
  564. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [receiver_accid]=[7]
  565. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_id=2)
  566. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_id]=[2]
  567. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_call_type=4)
  568. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_call_type]=[4]
  569. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_extensions=)
  570. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_extensions]=[UNDEF]
  571. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(busy_status=1)
  572. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [busy_status]=[1]
  573. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_status=1)
  574. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_status]=[1]
  575. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(always_status=1)
  576. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [always_status]=[1]
  577. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_status=1)
  578. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_status]=[1]
  579. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(variable_sip_to_host=payfast.astppbilling.org)
  580. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [variable_sip_to_host]=[payfast.astppbilling.org]
  581. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(domain_name=payfast.astppbilling.org)
  582. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
  583. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(sip_to_host=payfast.astppbilling.org)
  584. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
  585. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  586. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162]
  587. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(call_type=13)
  588. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13]
  589. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_priority=2)
  590. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_priority]=[2]
  591. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_call_id=1)
  592. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_call_id]=[1]
  593. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_did_number=330444)
  594. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_did_number]=[330444]
  595. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 answer()
  596. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9693017122@pkcall.astppbilling.org:5022] 172.31.43.241 port 31804 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  597. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  598. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:9089 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf send payload to 101
  599. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:9096 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set 2833 dtmf receive payload to 101
  600. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_core_media.c:9119 sofia/default/9693017122@pkcall.astppbilling.org:5022 Set rtp dtmf delay to 40
  601. 2021-12-23 10:58:31.528030 95.13% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9693017122@pkcall.astppbilling.org:5022:
  602. v=0
  603. o=FreeSWITCH 1640225307 1640225308 IN IP4 3.23.127.90
  604. s=FreeSWITCH
  605. c=IN IP4 3.23.127.90
  606. t=0 0
  607. m=audio 31804 RTP/AVP 8 101
  608. a=rtpmap:8 PCMA/8000
  609. a=rtpmap:101 telephone-event/8000
  610. a=fmtp:101 0-15
  611. a=ptime:20
  612. a=sendrecv
  613.  
  614. 2021-12-23 10:58:31.528030 95.13% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [completed][200]
  615. 2021-12-23 10:58:31.528030 95.13% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/9693017122@pkcall.astppbilling.org:5022] has been answered
  616. 2021-12-23 10:58:31.528030 95.13% [DEBUG] switch_channel.c:3950 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RINGING -> ACTIVE
  617. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 playback(/var/www/html/astpp//upload/pbx/file_examp_.wav)
  618. 2021-12-23 10:58:31.548029 95.13% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  619. 2021-12-23 10:58:31.548029 95.13% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  620. 2021-12-23 10:58:31.808045 95.13% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 entering state [ready][200]
  621. 2021-12-23 10:58:31.828054 95.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  622. 2021-12-23 10:59:05.068046 95.77% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp//upload/pbx/file_examp_.wav
  623. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
  624. 2021-12-23 10:59:05.088029 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  625. 2021-12-23 10:59:05.088029 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1
  626. 2021-12-23 10:59:05.088029 95.77% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '2')
  627. 2021-12-23 10:59:05.088029 95.77% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)')
  628. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 transfer(330444 XML default)
  629. 2021-12-23 10:59:05.088029 95.77% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_EXECUTE -> CS_ROUTING
  630. 2021-12-23 10:59:05.088029 95.77% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5022 to XML[330444@default]
  631. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5022 destroy/unlink session from object
  632. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
  633. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 23)
  634. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RINGING
  635. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
  636. 2021-12-23 10:59:05.108034 95.77% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
  637. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
  638. 2021-12-23 10:59:05.108034 95.77% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
  639. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  640. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  641. 2021-12-23 10:59:05.108034 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  642. 2021-12-23 10:59:05.108034 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
  643. 2021-12-23 10:59:05.108034 95.77% [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
  644. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1
  645. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '330444' and status=0 LIMIT 1
  646. 2021-12-23 10:59:05.108034 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  647. 2021-12-23 10:59:05.108034 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  648. 2021-12-23 10:59:05.128033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'payfast.astppbilling.org' limit 1
  649. 2021-12-23 10:59:05.128033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '330444' limit 1
  650. 2021-12-23 10:59:05.128033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  651. 2021-12-23 10:59:05.128033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  652. 2021-12-23 10:59:05.128033 95.77% [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
  653. 2021-12-23 10:59:05.128033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  654. 2021-12-23 10:59:05.128033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  655. 2021-12-23 10:59:05.128033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  656. 2021-12-23 10:59:05.128033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  657. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1
  658. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  659. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  660. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (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
  661. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="330444" AND A.accountid = '4' limit 1
  662. 2021-12-23 10:59:05.148051 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
  663. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  664. 2021-12-23 10:59:05.148051 95.77% [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
  665. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  666. 2021-12-23 10:59:05.148051 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  667. 2021-12-23 10:59:05.148051 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '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
  668. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  669. 2021-12-23 10:59:05.168033 95.77% [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
  670. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  671. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  672. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  673. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
  674. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  675. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  676. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  677. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  678. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  679. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  680. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  681. 2021-12-23 10:59:05.168033 95.77% [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
  682. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  683. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  684. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  685. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  686. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  687. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  688. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  689. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
  690. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  691. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  692. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  693. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
  694. 2021-12-23 10:59:05.168033 95.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  695. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  696. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  697. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  698. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 4 AND status=0 LIMIT 1
  699. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  700. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  701. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  702. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  703. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  704. 2021-12-23 10:59:05.168033 95.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
  705. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  706. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  707. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  708. 2021-12-23 10:59:05.168033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  709. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
  710. 2021-12-23 10:59:05.168033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  711. 2021-12-23 10:59:05.188033 95.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
  712. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7  and status = 0 limit 1
  713. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
  714. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
  715. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
  716. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1
  717. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority_array : 3
  718. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] priority : 3
  719. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] no_answer_call_type : 7
  720. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [custom_call] extensions : 5
  721. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_type : Ring group
  722. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value,music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 5 and status = 0 LIMIT 1
  723. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"7135873514","delay_1":"0","time_out_1":"0","Promptdropdown_1":"1","destination_2":"6258825497","delay_2":"0","time_out_2":"0","Promptdropdown_2":"1","destination_3":"330000500055#","delay_3":"0","time_out_3":"0","Promptdropdown_3":"1"}
  724. span style="color: green; font-weight: bold;"> 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement====Count===============12
  725. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  726. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== final_count========final_count===========0===
  727. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== final_count========final_count===========0===
  728. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== final_count========final_count===========0===
  729. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== ring_group_recording===================0
  730. 2021-12-23 10:59:05.188033 95.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== ringgroup_dlr_str===================[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/330000500055@payfast.astppbilling.org|
  731. span style="color: green; font-weight: bold;"> 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  732. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  733. <document type="freeswitch/xml">
  734. <section name="dialplan" description="ASTPP Dialplan">
  735. <context name="default">
  736. <extension name="330444">
  737. <condition field="destination_number" expression="330444">
  738. <action application="set" data="effective_destination_number=330444"/>
  739. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  740. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  741. <action application="set" data="callstart=2021-12-23 10:59:05"/>
  742. <action application="set" data="hangup_after_bridge=true"/>
  743. <action application="set" data="continue_on_fail=TRUE"/>
  744. <action application="set" data="account_id=4"/>
  745. <action application="set" data="parent_id=0"/>
  746. <action application="set" data="entity_id=0"/>
  747. <action application="set" data="call_processed=internal"/>
  748. <action application="set" data="call_direction=inbound"/>
  749. <action application="set" data="accountname=default"/>
  750. <action application="set" data="origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  751. <action application="set" data="origination_rates=0"/>
  752. <action application="set" data="original_caller_id_name=9693017122"/>
  753. <action application="set" data="original_caller_id_number=9693017122"/>
  754. <action application="set" data="effective_caller_id_name=9693017122"/>
  755. <action application="set" data="effective_caller_id_number=9693017122"/>
  756. <action application="set" data="receiver_accid=7"/>
  757. <action application="set" data="did_id=2"/>
  758. <action application="set" data="transfer_call_type=4"/>
  759. <action application="set" data="transfer_extensions="/>
  760. <action application="set" data="busy_status=1"/>
  761. <action application="set" data="no_answer_status=1"/>
  762. <action application="set" data="always_status=1"/>
  763. <action application="set" data="transfer_status=1"/>
  764. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  765. <action application="export" data="domain_name=payfast.astppbilling.org"/>
  766. <action application="export" data="sip_to_host=payfast.astppbilling.org"/>
  767. <action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
  768. <action application="export" data="call_type=13"/>
  769. <action application="set" data="custom_priority=3"/>
  770. <action application="set" data="custom_call_id=1"/>
  771. <action application="set" data="original_did_number=330444"/>
  772. <action application="set" data="group_confirm_key=exec"/>
  773. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  774. <action application="export" data="is_recording=1"/>
  775. <action application="export" data="media_bug_answer_req=true"/>
  776. <action application="export" data="RECORD_STEREO=true"/>
  777. <action application="export" data="record_sample_rate=8000"/>
  778. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  779. <action application="set" data="ringback="/>
  780. <action application="set" data="module_name=pbx"/>
  781. <action application="bridge" data="{sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/330000500055@payfast.astppbilling.org|"/>
  782. <action application="lua" data="astpp/lib/pbx/astpp-custom_call_flow.lua"/>
  783. </condition>
  784. </extension>
  785. </context>
  786. </section>
  787. </document>
  788. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 parsing [default->330444] continue=false
  789. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
  790. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_destination_number=330444)
  791. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  792. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  793. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(callstart=2021-12-23 10:59:05)
  794. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(hangup_after_bridge=true)
  795. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(continue_on_fail=TRUE)
  796. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(account_id=4)
  797. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(parent_id=0)
  798. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(entity_id=0)
  799. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_processed=internal)
  800. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(call_direction=inbound)
  801. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(accountname=default)
  802. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  803. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(origination_rates=0)
  804. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_name=9693017122)
  805. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_caller_id_number=9693017122)
  806. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_name=9693017122)
  807. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(effective_caller_id_number=9693017122)
  808. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(receiver_accid=7)
  809. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(did_id=2)
  810. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_call_type=4)
  811. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_extensions=)
  812. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(busy_status=1)
  813. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(no_answer_status=1)
  814. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(always_status=1)
  815. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(transfer_status=1)
  816. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(variable_sip_to_host=${domain_name})
  817. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(domain_name=payfast.astppbilling.org)
  818. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(sip_to_host=payfast.astppbilling.org)
  819. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  820. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(call_type=13)
  821. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_priority=3)
  822. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(custom_call_id=1)
  823. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(original_did_number=330444)
  824. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(group_confirm_key=exec)
  825. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  826. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(is_recording=1)
  827. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(media_bug_answer_req=true)
  828. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(RECORD_STEREO=true)
  829. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(record_sample_rate=8000)
  830. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  831. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(ringback=)
  832. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action set(module_name=pbx)
  833. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/${sofia_profile_name}/330000500055@payfast.astppbilling.org|)
  834. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5022 Action lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
  835. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_ROUTING -> CS_EXECUTE
  836. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
  837. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_EXECUTE (Cur 1 Tot 23)
  838. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_channel.c:2382 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RINGING -> ACTIVE
  839. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE
  840. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA EXECUTE
  841. 2021-12-23 10:59:05.188033 95.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard EXECUTE
  842. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_destination_number=330444)
  843. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_destination_number]=[330444]
  844. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_app=sched_hangup)
  845. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_app]=[sched_hangup]
  846. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  847. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  848. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(callstart=2021-12-23 10:59:05)
  849. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [callstart]=[2021-12-23 10:59:05]
  850. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(hangup_after_bridge=true)
  851. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [hangup_after_bridge]=[true]
  852. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(continue_on_fail=TRUE)
  853. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [continue_on_fail]=[TRUE]
  854. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(account_id=4)
  855. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [account_id]=[4]
  856. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(parent_id=0)
  857. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [parent_id]=[0]
  858. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(entity_id=0)
  859. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [entity_id]=[0]
  860. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_processed=internal)
  861. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_processed]=[internal]
  862. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(call_direction=inbound)
  863. 2021-12-23 10:59:05.188033 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [call_direction]=[inbound]
  864. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(accountname=default)
  865. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [accountname]=[default]
  866. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  867. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:13|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  868. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(origination_rates=0)
  869. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [origination_rates]=[0]
  870. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_name=9693017122)
  871. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_name]=[9693017122]
  872. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_caller_id_number=9693017122)
  873. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_caller_id_number]=[9693017122]
  874. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_name=9693017122)
  875. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_name]=[9693017122]
  876. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(effective_caller_id_number=9693017122)
  877. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [effective_caller_id_number]=[9693017122]
  878. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(receiver_accid=7)
  879. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [receiver_accid]=[7]
  880. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(did_id=2)
  881. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [did_id]=[2]
  882. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_call_type=4)
  883. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_call_type]=[4]
  884. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_extensions=)
  885. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_extensions]=[UNDEF]
  886. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(busy_status=1)
  887. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [busy_status]=[1]
  888. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(no_answer_status=1)
  889. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [no_answer_status]=[1]
  890. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(always_status=1)
  891. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [always_status]=[1]
  892. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(transfer_status=1)
  893. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [transfer_status]=[1]
  894. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(variable_sip_to_host=payfast.astppbilling.org)
  895. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [variable_sip_to_host]=[payfast.astppbilling.org]
  896. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(domain_name=payfast.astppbilling.org)
  897. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
  898. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(sip_to_host=payfast.astppbilling.org)
  899. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
  900. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  901. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162]
  902. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(call_type=13)
  903. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[13]
  904. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_priority=3)
  905. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_priority]=[3]
  906. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(custom_call_id=1)
  907. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [custom_call_id]=[1]
  908. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(original_did_number=330444)
  909. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [original_did_number]=[330444]
  910. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(group_confirm_key=exec)
  911. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [group_confirm_key]=[exec]
  912. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  913. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  914. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(is_recording=1)
  915. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  916. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(media_bug_answer_req=true)
  917. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  918. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(RECORD_STEREO=true)
  919. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  920. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(record_sample_rate=8000)
  921. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  922. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav)
  923. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav]
  924. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(ringback=)
  925. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [ringback]=[UNDEF]
  926. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 set(module_name=pbx)
  927. 2021-12-23 10:59:05.208063 95.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5022 [module_name]=[pbx]
  928. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=7135873514,leg_timeout=0,leg_delay_start=0]user/7135873514@payfast.astppbilling.org|[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=6258825497,leg_timeout=0,leg_delay_start=0]user/6258825497@payfast.astppbilling.org|[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=4,call_timeout=0,confirm=false,announcement=no_file,dialed_user=330000500055#,leg_timeout=0,leg_delay_start=0]sofia/default/330000500055@payfast.astppbilling.org|)
  929. span style="color: goldenrod; font-weight: bold;"> 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1954 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RING_WAIT
  930. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  931. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  932. 2021-12-23 10:59:05.208063 95.77% [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
  933. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  934. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  935. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  936. 2021-12-23 10:59:05.208063 95.77% [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
  937. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  938. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  939. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  940. 2021-12-23 10:59:05.208063 95.77% [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
  941. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  942. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [is_recording]=[1] to event
  943. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  944. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  945. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  946. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav] to event
  947. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  948. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  949. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  950. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  951. 2021-12-23 10:59:05.208063 95.77% [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
  952. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  953. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  954. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  955. 2021-12-23 10:59:05.208063 95.77% [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
  956. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  957. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  958. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  959. 2021-12-23 10:59:05.208063 95.77% [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
  960. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  961. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [is_recording]=[1] to event
  962. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  963. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  964. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  965. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav] to event
  966. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  967. 2021-12-23 10:59:05.208063 95.77% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  968. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  969. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_channel.c:2178 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RING_WAIT -> ACTIVE
  970. 2021-12-23 10:59:05.208063 95.77% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  971. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  972. 2021-12-23 10:59:05.208063 95.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  973. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1954 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RING_WAIT
  974. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  975. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  976. 2021-12-23 10:59:05.228032 95.77% [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
  977. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  978. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  979. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  980. 2021-12-23 10:59:05.228032 95.77% [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
  981. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  982. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [domain_name]=[payfast.astppbilling.org] to event
  983. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [sip_to_host]=[payfast.astppbilling.org] to event
  984. 2021-12-23 10:59:05.228032 95.77% [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
  985. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [call_type]=[13] to event
  986. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [is_recording]=[1] to event
  987. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  988. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  989. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  990. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:1269 sofia/default/9693017122@pkcall.astppbilling.org:5022 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/37d106b5-4327-42fb-93a5-723dd0e6d213.wav] to event
  991. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  992. 2021-12-23 10:59:05.228032 95.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6258825497@49.34.152.238:54190 [a10ac3ef-5036-4dee-8e61-cd1b97cb09d0]
  993. 2021-12-23 10:59:05.228032 95.77% [DEBUG] mod_sofia.c:5121 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_NEW -> CS_INIT
  994. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_channel.c:2178 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RING_WAIT -> ACTIVE
  995. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_INIT (Cur 2 Tot 24)
  996. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6258825497@49.34.152.238:54190) State INIT
  997. 2021-12-23 10:59:05.228032 95.77% [DEBUG] mod_sofia.c:97 sofia/default/6258825497@49.34.152.238:54190 SOFIA INIT
  998. 2021-12-23 10:59:05.228032 95.77% [DEBUG] sofia_glue.c:1620 sip:6258825497@49.34.152.238:39489;transport=TCP;rinstance=a6b91da4ad111090 Setting proxy route to sofia/default/6258825497@49.34.152.238:54190
  999. 2021-12-23 10:59:05.228032 95.77% [INFO] sofia_glue.c:1651 sofia/default/6258825497@49.34.152.238:54190 sending invite call-id: (null)
  1000. 2021-12-23 10:59:05.228032 95.77% [DEBUG] sofia_glue.c:1654 sofia/default/6258825497@49.34.152.238:54190 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1001. Local SDP:
  1002. v=0
  1003. o=FreeSWITCH 1640238549 1640238550 IN IP4 3.23.127.90
  1004. s=FreeSWITCH
  1005. c=IN IP4 3.23.127.90
  1006. t=0 0
  1007. m=audio 18596 RTP/AVP 8 0 101
  1008. a=rtpmap:8 PCMA/8000
  1009. a=rtpmap:0 PCMU/8000
  1010. a=rtpmap:101 telephone-event/8000
  1011. a=fmtp:101 0-15
  1012. a=ptime:20
  1013. a=sendrecv
  1014.  
  1015. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/6258825497@49.34.152.238:54190 Standard INIT
  1016. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_INIT -> CS_ROUTING
  1017. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6258825497@49.34.152.238:54190) State INIT going to sleep
  1018. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_ROUTING (Cur 2 Tot 24)
  1019. 2021-12-23 10:59:05.228032 95.77% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:54190 entering state [calling][0]
  1020. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6258825497@49.34.152.238:54190) State ROUTING
  1021. 2021-12-23 10:59:05.228032 95.77% [DEBUG] mod_sofia.c:158 sofia/default/6258825497@49.34.152.238:54190 SOFIA ROUTING
  1022. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1023. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6258825497@49.34.152.238:54190) State ROUTING going to sleep
  1024. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 24)
  1025. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6258825497@49.34.152.238:54190) State CONSUME_MEDIA
  1026. 2021-12-23 10:59:05.228032 95.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/6258825497@49.34.152.238:54190) State CONSUME_MEDIA going to sleep
  1027. 2021-12-23 10:59:06.688050 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:54190 entering state [proceeding][180]
  1028. 2021-12-23 10:59:06.688050 94.40% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/6258825497@49.34.152.238:54190!
  1029. 2021-12-23 10:59:06.688050 94.40% [DEBUG] switch_channel.c:3494 (sofia/default/6258825497@49.34.152.238:54190) Callstate Change DOWN -> RINGING
  1030. 2021-12-23 10:59:12.908043 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/6258825497@49.34.152.238:54190 entering state [terminated][486]
  1031. 2021-12-23 10:59:12.908043 94.40% [NOTICE] sofia.c:8738 Hangup sofia/default/6258825497@49.34.152.238:54190 [CS_CONSUME_MEDIA] [USER_BUSY]
  1032. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_HANGUP (Cur 2 Tot 24)
  1033. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6258825497@49.34.152.238:54190) Callstate Change RINGING -> HANGUP
  1034. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6258825497@49.34.152.238:54190) State HANGUP
  1035. 2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/6258825497@49.34.152.238:54190 hanging up, cause: USER_BUSY
  1036. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/6258825497@49.34.152.238:54190 Standard HANGUP, cause: USER_BUSY
  1037. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6258825497@49.34.152.238:54190) State HANGUP going to sleep
  1038. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_HANGUP -> CS_REPORTING
  1039. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_REPORTING (Cur 2 Tot 24)
  1040. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6258825497@49.34.152.238:54190) State REPORTING
  1041. 2021-12-23 10:59:12.908043 94.40% [INFO] mod_json_cdr.c:271 Process [a10ac3ef-5036-4dee-8e61-cd1b97cb09d0.cdr.json]
  1042. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/6258825497@49.34.152.238:54190 Standard REPORTING, cause: USER_BUSY
  1043. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6258825497@49.34.152.238:54190) State REPORTING going to sleep
  1044. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6258825497@49.34.152.238:54190) State Change CS_REPORTING -> CS_DESTROY
  1045. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_session.c:1753 Session 24 (sofia/default/6258825497@49.34.152.238:54190) Locked, Waiting on external entities
  1046. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  1047. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1048. 2021-12-23 10:59:12.908043 94.40% [NOTICE] switch_channel.c:1123 New Channel sofia/default/330000500055@payfast.astppbilling.org [491a42c9-6a4a-4e0e-9ee1-d946acbdb4a4]
  1049. 2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:5121 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_NEW -> CS_INIT
  1050. 2021-12-23 10:59:12.908043 94.40% [NOTICE] switch_core_session.c:1771 Session 24 (sofia/default/6258825497@49.34.152.238:54190) Ended
  1051. 2021-12-23 10:59:12.908043 94.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/6258825497@49.34.152.238:54190 [CS_DESTROY]
  1052. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6258825497@49.34.152.238:54190) Running State Change CS_DESTROY (Cur 2 Tot 25)
  1053. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6258825497@49.34.152.238:54190) State DESTROY
  1054. 2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:379 sofia/default/6258825497@49.34.152.238:54190 SOFIA DESTROY
  1055. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/6258825497@49.34.152.238:54190 Standard DESTROY
  1056. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6258825497@49.34.152.238:54190) State DESTROY going to sleep
  1057. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_INIT (Cur 2 Tot 25)
  1058. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/330000500055@payfast.astppbilling.org) State INIT
  1059. 2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:97 sofia/default/330000500055@payfast.astppbilling.org SOFIA INIT
  1060. 2021-12-23 10:59:12.908043 94.40% [INFO] sofia_glue.c:1651 sofia/default/330000500055@payfast.astppbilling.org sending invite call-id: (null)
  1061. 2021-12-23 10:59:12.908043 94.40% [DEBUG] sofia_glue.c:1654 sofia/default/330000500055@payfast.astppbilling.org sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1062. Local SDP:
  1063. v=0
  1064. o=FreeSWITCH 1640240626 1640240627 IN IP4 3.23.127.90
  1065. s=FreeSWITCH
  1066. c=IN IP4 3.23.127.90
  1067. t=0 0
  1068. m=audio 16526 RTP/AVP 8 101
  1069. a=rtpmap:8 PCMA/8000
  1070. a=rtpmap:101 telephone-event/8000
  1071. a=fmtp:101 0-15
  1072. a=ptime:20
  1073. a=sendrecv
  1074.  
  1075. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/330000500055@payfast.astppbilling.org Standard INIT
  1076. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  1077. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/330000500055@payfast.astppbilling.org) State INIT going to sleep
  1078. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_ROUTING (Cur 2 Tot 25)
  1079. 2021-12-23 10:59:12.908043 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/330000500055@payfast.astppbilling.org entering state [calling][0]
  1080. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/330000500055@payfast.astppbilling.org) State ROUTING
  1081. 2021-12-23 10:59:12.908043 94.40% [DEBUG] mod_sofia.c:158 sofia/default/330000500055@payfast.astppbilling.org SOFIA ROUTING
  1082. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_ivr_originate.c:67 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1083. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/330000500055@payfast.astppbilling.org) State ROUTING going to sleep
  1084. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 25)
  1085. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/330000500055@payfast.astppbilling.org) State CONSUME_MEDIA
  1086. 2021-12-23 10:59:12.908043 94.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/330000500055@payfast.astppbilling.org) State CONSUME_MEDIA going to sleep
  1087. 2021-12-23 10:59:12.928038 94.40% [DEBUG] sofia.c:7499 Channel sofia/default/330000500055@payfast.astppbilling.org entering state [terminated][503]
  1088. 2021-12-23 10:59:12.928038 94.40% [NOTICE] sofia.c:8738 Hangup sofia/default/330000500055@payfast.astppbilling.org [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  1089. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 25)
  1090. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/330000500055@payfast.astppbilling.org) Callstate Change DOWN -> HANGUP
  1091. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/330000500055@payfast.astppbilling.org) State HANGUP
  1092. 2021-12-23 10:59:12.928038 94.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/330000500055@payfast.astppbilling.org hanging up, cause: NORMAL_TEMPORARY_FAILURE
  1093. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/330000500055@payfast.astppbilling.org Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  1094. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/330000500055@payfast.astppbilling.org) State HANGUP going to sleep
  1095. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  1096. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 25)
  1097. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/330000500055@payfast.astppbilling.org) State REPORTING
  1098. 2021-12-23 10:59:12.928038 94.40% [INFO] mod_json_cdr.c:271 Process [491a42c9-6a4a-4e0e-9ee1-d946acbdb4a4.cdr.json]
  1099. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/330000500055@payfast.astppbilling.org Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  1100. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/330000500055@payfast.astppbilling.org) State REPORTING going to sleep
  1101. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/330000500055@payfast.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  1102. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_core_session.c:1753 Session 25 (sofia/default/330000500055@payfast.astppbilling.org) Locked, Waiting on external entities
  1103. 2021-12-23 10:59:12.928038 94.40% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  1104. 2021-12-23 10:59:12.928038 94.40% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  1105. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 lua(astpp/lib/pbx/astpp-custom_call_flow.lua)
  1106. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1107. 2021-12-23 10:59:12.947978 94.40% [NOTICE] switch_core_session.c:1771 Session 25 (sofia/default/330000500055@payfast.astppbilling.org) Ended
  1108. 2021-12-23 10:59:12.947978 94.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/330000500055@payfast.astppbilling.org [CS_DESTROY]
  1109. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/330000500055@payfast.astppbilling.org) Running State Change CS_DESTROY (Cur 1 Tot 25)
  1110. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/330000500055@payfast.astppbilling.org) State DESTROY
  1111. 2021-12-23 10:59:12.947978 94.40% [DEBUG] mod_sofia.c:379 sofia/default/330000500055@payfast.astppbilling.org SOFIA DESTROY
  1112. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/330000500055@payfast.astppbilling.org Standard DESTROY
  1113. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/330000500055@payfast.astppbilling.org) State DESTROY going to sleep
  1114. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1
  1115. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('custom_priority', '3')
  1116. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('no_answer_number', '(null)')
  1117. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5022 transfer(330444 XML default)
  1118. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_ivr.c:2289 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_EXECUTE -> CS_ROUTING
  1119. 2021-12-23 10:59:12.947978 94.40% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9693017122@pkcall.astppbilling.org:5022 to XML[330444@default]
  1120. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5022 destroy/unlink session from object
  1121. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State EXECUTE going to sleep
  1122. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_ROUTING (Cur 1 Tot 25)
  1123. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change ACTIVE -> RINGING
  1124. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING
  1125. 2021-12-23 10:59:12.947978 94.40% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA ROUTING
  1126. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard ROUTING
  1127. 2021-12-23 10:59:12.947978 94.40% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
  1128. 2021-12-23 10:59:12.947978 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1129. 2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1130. 2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1131. 2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
  1132. 2021-12-23 10:59:12.968036 94.40% [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
  1133. 2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1
  1134. 2021-12-23 10:59:12.968036 94.40% [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
  1135. 2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  1136. 2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1137. 2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'payfast.astppbilling.org' limit 1
  1138. 2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '330444' limit 1
  1139. 2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  1140. 2021-12-23 10:59:12.968036 94.40% [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
  1141. 2021-12-23 10:59:12.968036 94.40% [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
  1142. 2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1143. 2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  1144. 2021-12-23 10:59:12.968036 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  1145. 2021-12-23 10:59:12.968036 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  1146. 2021-12-23 10:59:12.988023 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1
  1147. 2021-12-23 10:59:12.988023 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  1148. 2021-12-23 10:59:12.988023 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  1149. 2021-12-23 10:59:12.988023 94.40% [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
  1150. 2021-12-23 10:59:12.988023 94.40% [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
  1151. 2021-12-23 10:59:12.988023 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
  1152. 2021-12-23 10:59:12.988023 94.40% [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
  1153. 2021-12-23 10:59:12.988023 94.40% [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
  1154. 2021-12-23 10:59:12.988023 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1155. 2021-12-23 10:59:12.988023 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  1156. 2021-12-23 10:59:13.008030 94.40% [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
  1157. 2021-12-23 10:59:13.008030 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1158. 2021-12-23 10:59:13.008030 94.40% [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
  1159. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1160. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  1161. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  1162. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
  1163. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1164. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  1165. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1166. 2021-12-23 10:59:13.008030 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1167. 2021-12-23 10:59:13.008030 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1168. 2021-12-23 10:59:13.008030 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  1169. 2021-12-23 10:59:13.008030 94.40% [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
  1170. 2021-12-23 10:59:13.008030 94.40% [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
  1171. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1172. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  1173. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1174. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  1175. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1176. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1177. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  1178. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
  1179. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  1180. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  1181. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1182. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
  1183. 2021-12-23 10:59:13.027981 94.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1184. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1185. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  1186. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  1187. 2021-12-23 10:59:13.027981 94.40% [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
  1188. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  1189. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  1190. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  1191. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  1192. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  1193. 2021-12-23 10:59:13.027981 94.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
  1194. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1195. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1196. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1197. 2021-12-23 10:59:13.027981 94.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  1198. 2021-12-23 10:59:13.027981 94.40% [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
  1199. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  1200. 2021-12-23 10:59:13.027981 94.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
  1201. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7  and status = 0 limit 1
  1202. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_13
  1203. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2
  1204. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_call_id 1
  1205. 2021-12-23 10:59:13.027981 94.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_call_flow_QUERY] Query :SELECT * from call_flow WHERE id = '1' and status =0 LIMIT 1
  1206. 2021-12-23 10:59:13.048032 94.40% [ERR] mod_lua.cpp:202 ...freeswitch/scripts/astpp/lib/addons/astpp.customcall.lua:25: bad argument #1 to 'min' (number expected, got no value)
  1207. stack traceback:
  1208.         [C]: in function 'min'
  1209.         ...freeswitch/scripts/astpp/lib/addons/astpp.customcall.lua:25: in function '?'
  1210.         /usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:412: in function 'freeswitch_xml_inbound'
  1211.         ...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:762: in main chunk
  1212.         [C]: in function 'dofile'
  1213.         /usr/share/freeswitch/scripts/astpp/astpp.lua:94: in main chunk
  1214. 2021-12-23 10:59:13.048032 94.40% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
  1215. 2021-12-23 10:59:13.048032 94.40% [WARNING] mod_dialplan_xml.c:669 Context default not found
  1216. 2021-12-23 10:59:13.048032 94.40% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  1217. 2021-12-23 10:59:13.048032 94.40% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9693017122@pkcall.astppbilling.org:5022 [CS_ROUTING] [NO_ROUTE_DESTINATION]
  1218. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State ROUTING going to sleep
  1219. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_HANGUP (Cur 1 Tot 25)
  1220. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Callstate Change RINGING -> HANGUP
  1221. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State HANGUP
  1222. 2021-12-23 10:59:13.048032 94.40% [DEBUG] mod_sofia.c:462 sofia/default/9693017122@pkcall.astppbilling.org:5022 Overriding SIP cause 404 with 503 from the other leg
  1223. 2021-12-23 10:59:13.048032 94.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 hanging up, cause: NO_ROUTE_DESTINATION
  1224. 2021-12-23 10:59:13.048032 94.40% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9693017122@pkcall.astppbilling.org:5022
  1225. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard HANGUP, cause: NO_ROUTE_DESTINATION
  1226. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State HANGUP going to sleep
  1227. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_HANGUP -> CS_REPORTING
  1228. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_REPORTING (Cur 1 Tot 25)
  1229. 2021-12-23 10:59:13.048032 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State REPORTING
  1230. 2021-12-23 10:59:13.048032 94.40% [INFO] mod_json_cdr.c:271 Process [37d106b5-4327-42fb-93a5-723dd0e6d213.cdr.json]
  1231. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard REPORTING, cause: NO_ROUTE_DESTINATION
  1232. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State REPORTING going to sleep
  1233. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State Change CS_REPORTING -> CS_DESTROY
  1234. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_session.c:1753 Session 23 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Locked, Waiting on external entities
  1235. 2021-12-23 10:59:13.067992 94.40% [NOTICE] switch_core_session.c:1771 Session 23 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Ended
  1236. 2021-12-23 10:59:13.067992 94.40% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9693017122@pkcall.astppbilling.org:5022 [CS_DESTROY]
  1237. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9693017122@pkcall.astppbilling.org:5022) Running State Change CS_DESTROY (Cur 0 Tot 25)
  1238. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State DESTROY
  1239. 2021-12-23 10:59:13.067992 94.40% [DEBUG] mod_sofia.c:379 sofia/default/9693017122@pkcall.astppbilling.org:5022 SOFIA DESTROY
  1240. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/9693017122@pkcall.astppbilling.org:5022 Standard DESTROY
  1241. 2021-12-23 10:59:13.067992 94.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5022) State DESTROY going to sleep
  1242. 2021-12-23 11:14:07.948025 94.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9693017122@pkcall.astppbilling.org] from ip 117.247.91.162
  1243. 2021-12-23 11:14:08.488043 94.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4727985745@newpbx.astppbilling.org] from ip 117.247.91.162
  1244. 2021-12-23 11:14:08.768028 94.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [7516854441@pkcall.astppbilling.org] from ip 117.247.91.162
  1245. freeswitch@ip-172-31-43-241>
  1246.