From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-43-241>
  2. freeswitch@ip-172-31-43-241>
  3. freeswitch@ip-172-31-43-241>
  4. 2021-12-23 08:10:36.186694 99.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 [9a355887-1e79-46de-9607-b3e27c0ca429]
  5. 2021-12-23 08:10:36.186694 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_NEW (Cur 1 Tot 47)
  6. 2021-12-23 08:10:36.186694 99.23% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5044 receiving invite from 117.247.91.162:52524 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZmQ5NTZmYmUxZDM0NDJlMzJjNTg2MWE5N2Y0YzE2OWE.
  7. 2021-12-23 08:10:36.186694 99.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  8. 2021-12-23 08:10:36.186694 99.23% [DEBUG] sofia.c:2419 detaching session 9a355887-1e79-46de-9607-b3e27c0ca429
  9. 2021-12-23 08:10:36.186694 99.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [330444@pkcall.astppbilling.org] from ip 117.247.91.162
  10. 2021-12-23 08:10:36.186694 99.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State NEW
  11. 2021-12-23 08:10:36.726728 99.20% [DEBUG] sofia.c:2532 Re-attaching to session 9a355887-1e79-46de-9607-b3e27c0ca429
  12. 2021-12-23 08:10:36.746710 99.20% [INFO] sofia.c:10462 sofia/default/9693017122@pkcall.astppbilling.org:5044 receiving invite from 117.247.91.162:52524 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZmQ5NTZmYmUxZDM0NDJlMzJjNTg2MWE5N2Y0YzE2OWE.
  13. 2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  14. 2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  15. 2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [received][100]
  16. 2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:7509 Remote SDP:
  17. v=0
  18. o=Z 0 0 IN IP4 117.247.91.162
  19. s=Z
  20. c=IN IP4 117.247.91.162
  21. t=0 0
  22. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  23. a=rtpmap:110 speex/8000
  24. a=rtpmap:98 iLBC/8000
  25. a=fmtp:98 mode=20
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-15
  28.  
  29. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  31. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  33. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  35. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9693017122@pkcall.astppbilling.org:5044 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_codec.c:111 sofia/default/9693017122@pkcall.astppbilling.org:5044 Original read codec set to PCMA:8
  44. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_media.c:5973 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2021-12-23 08:10:36.746710 99.20% [DEBUG] sofia.c:7933 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_NEW -> CS_INIT
  47. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_INIT (Cur 1 Tot 47)
  48. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State INIT
  49. 2021-12-23 08:10:36.746710 99.20% [DEBUG] mod_sofia.c:97 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA INIT
  50. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard INIT
  51. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_INIT -> CS_ROUTING
  52. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State INIT going to sleep
  53. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_ROUTING (Cur 1 Tot 47)
  54. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_channel.c:2380 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change DOWN -> RINGING
  55. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING
  56. 2021-12-23 08:10:36.746710 99.20% [DEBUG] mod_sofia.c:158 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA ROUTING
  57. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard ROUTING
  58. 2021-12-23 08:10:36.746710 99.20% [INFO] mod_dialplan_xml.c:639 Processing 9693017122 <9693017122>->330444 in context default
  59. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  60. 2021-12-23 08:10:36.746710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  62. 2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 330444
  63. 2021-12-23 08:10:36.766710 99.20% [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
  64. 2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '330444' AND status=0 limit 1
  65. 2021-12-23 08:10:36.766710 99.20% [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
  66. 2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9693017122
  67. 2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'pkcall.astppbilling.org' limit 1
  69. 2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '330444' limit 1
  70. 2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9693017122 / 9693017122
  71. 2021-12-23 08:10:36.766710 99.20% [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
  72. 2021-12-23 08:10:36.766710 99.20% [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
  73. 2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  75. 2021-12-23 08:10:36.766710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9693017122]
  76. 2021-12-23 08:10:36.766710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9693017122" AND deleted = 0 limit 1
  77. 2021-12-23 08:10:36.786709 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="330444" AND (accountid = 0 OR status = 1) LIMIT 1
  78. 2021-12-23 08:10:36.786709 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  79. 2021-12-23 08:10:36.786709 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  80. 2021-12-23 08:10:36.786709 99.20% [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
  81. 2021-12-23 08:10:36.786709 99.20% [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
  82. 2021-12-23 08:10:36.806710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 330444
  83. 2021-12-23 08:10:36.806710 99.20% [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
  84. 2021-12-23 08:10:36.806710 99.20% [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
  85. 2021-12-23 08:10:36.806710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  86. 2021-12-23 08:10:36.806710 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  87. 2021-12-23 08:10:36.806710 99.20% [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
  88. 2021-12-23 08:10:36.806710 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2021-12-23 08:10:36.806710 99.20% [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
  90. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  92. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9693017122
  93. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 394.7
  94. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  95. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  96. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  97. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  98. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  99. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  100. 2021-12-23 08:10:36.826711 99.20% [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
  101. 2021-12-23 08:10:36.826711 99.20% [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
  102. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  103. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  104. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  105. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  106. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  107. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  108. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  109. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 330444
  110. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  111. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  112. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  113. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your394.7 balance Accountid 4 !!!
  114. 2021-12-23 08:10:36.826711 99.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  115. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  116. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  117. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  118. 2021-12-23 08:10:36.826711 99.20% [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
  119. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  120. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
  121. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
  122. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
  123. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  124. 2021-12-23 08:10:36.826711 99.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : payfast.astppbilling.org
  125. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  126. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  127. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  128. 2021-12-23 08:10:36.826711 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  129. 2021-12-23 08:10:36.826711 99.20% [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 = "2" AND accounts.status = 0
  130. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  131. 2021-12-23 08:10:36.826711 99.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : payfast.astppbilling.org
  132. 2021-12-23 08:10:36.826711 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7  and status = 0 limit 1
  133. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  134. 2021-12-23 08:10:36.846712 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 10
  135. 2021-12-23 08:10:36.846712 99.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : IVR
  136. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 2 and status=0 LIMIT 1
  137. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  138. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  139. <document type="freeswitch/xml">
  140. <section name="dialplan" description="ASTPP Dialplan">
  141. <context name="default">
  142. <extension name="330444">
  143. <condition field="destination_number" expression="330444">
  144. <action application="set" data="effective_destination_number=330444"/>
  145. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  146. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  147. <action application="set" data="callstart=2021-12-23 08:10:36"/>
  148. <action application="set" data="hangup_after_bridge=true"/>
  149. <action application="set" data="continue_on_fail=TRUE"/>
  150. <action application="set" data="account_id=4"/>
  151. <action application="set" data="parent_id=0"/>
  152. <action application="set" data="entity_id=0"/>
  153. <action application="set" data="call_processed=internal"/>
  154. <action application="set" data="call_direction=inbound"/>
  155. <action application="set" data="accountname=default"/>
  156. <action application="set" data="origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  157. <action application="set" data="origination_rates=0"/>
  158. <action application="set" data="original_caller_id_name=9693017122"/>
  159. <action application="set" data="original_caller_id_number=9693017122"/>
  160. <action application="set" data="effective_caller_id_name=9693017122"/>
  161. <action application="set" data="effective_caller_id_number=9693017122"/>
  162. <action application="set" data="receiver_accid=7"/>
  163. <action application="set" data="did_id=2"/>
  164. <action application="set" data="transfer_call_type=4"/>
  165. <action application="set" data="transfer_extensions="/>
  166. <action application="set" data="busy_status=1"/>
  167. <action application="set" data="no_answer_status=1"/>
  168. <action application="set" data="always_status=1"/>
  169. <action application="set" data="transfer_status=1"/>
  170. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  171. <action application="export" data="domain_name=payfast.astppbilling.org"/>
  172. <action application="export" data="sip_to_host=payfast.astppbilling.org"/>
  173. <action application="export" data="presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162"/>
  174. <action application="export" data="call_type=10"/>
  175. <action application="set" data="did_calltype=10"/>
  176. <action application="set" data="did_extensions=2"/>
  177. <action application="set" data="ringback=0"/>
  178. <action application="set" data="module_name=pbx"/>
  179. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  180. <action application="set" data="sip_h_P-Accountcode=7"/>
  181. <action application="set" data="variable_sip_to_host=payfast.astppbilling.org"/>
  182. <action application="set" data="userinfo_id=4"/>
  183. <action application="set" data="variable_sip_to_host=payfast.astppbilling.org"/>
  184. <action application="set" data="original_did_number=330444"/>
  185.     <action application="answer"/>
  186. <action application="ivr" data="IVR_CUST_Reseller_PK_Admin0"/>
  187. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  188. </condition>
  189. </extension>
  190. </context>
  191. </section>
  192. </document>
  193. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 parsing [default->330444] continue=false
  194. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Regex (PASS) [330444] destination_number(330444) =~ /330444/ break=on-false
  195. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_destination_number=330444)
  196. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  197. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  198. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(callstart=2021-12-23 08:10:36)
  199. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(hangup_after_bridge=true)
  200. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(continue_on_fail=TRUE)
  201. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(account_id=4)
  202. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(parent_id=0)
  203. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(entity_id=0)
  204. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_processed=internal)
  205. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(call_direction=inbound)
  206. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(accountname=default)
  207. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  208. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(origination_rates=0)
  209. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_name=9693017122)
  210. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_caller_id_number=9693017122)
  211. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_name=9693017122)
  212. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(effective_caller_id_number=9693017122)
  213. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(receiver_accid=7)
  214. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_id=2)
  215. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_call_type=4)
  216. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_extensions=)
  217. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(busy_status=1)
  218. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(no_answer_status=1)
  219. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(always_status=1)
  220. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(transfer_status=1)
  221. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=${domain_name})
  222. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(domain_name=payfast.astppbilling.org)
  223. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(sip_to_host=payfast.astppbilling.org)
  224. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  225. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action export(call_type=10)
  226. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_calltype=10)
  227. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(did_extensions=2)
  228. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(ringback=0)
  229. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(module_name=pbx)
  230. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(sip_h_P-call_type=custom_forward)
  231. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(sip_h_P-Accountcode=7)
  232. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=payfast.astppbilling.org)
  233. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(userinfo_id=4)
  234. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(variable_sip_to_host=payfast.astppbilling.org)
  235. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action set(original_did_number=330444)
  236. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action answer()
  237. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action ivr(IVR_CUST_Reseller_PK_Admin0)
  238. Dialplan: sofia/default/9693017122@pkcall.astppbilling.org:5044 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  239. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_ROUTING -> CS_EXECUTE
  240. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State ROUTING going to sleep
  241. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_EXECUTE (Cur 1 Tot 47)
  242. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE
  243. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_sofia.c:213 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA EXECUTE
  244. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard EXECUTE
  245. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_destination_number=330444)
  246. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_destination_number]=[330444]
  247. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_app=sched_hangup)
  248. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_app]=[sched_hangup]
  249. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  250. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  251. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(callstart=2021-12-23 08:10:36)
  252. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [callstart]=[2021-12-23 08:10:36]
  253. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(hangup_after_bridge=true)
  254. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [hangup_after_bridge]=[true]
  255. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(continue_on_fail=TRUE)
  256. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [continue_on_fail]=[TRUE]
  257. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(account_id=4)
  258. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [account_id]=[4]
  259. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(parent_id=0)
  260. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [parent_id]=[0]
  261. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(entity_id=0)
  262. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [entity_id]=[0]
  263. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_processed=internal)
  264. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_processed]=[internal]
  265. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(call_direction=inbound)
  266. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [call_direction]=[inbound]
  267. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(accountname=default)
  268. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [accountname]=[default]
  269. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates_did=ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  270. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates_did]=[ID:2|CODE:^330444.*|DESTINATION:330444|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  271. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(origination_rates=0)
  272. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [origination_rates]=[0]
  273. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_name=9693017122)
  274. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_name]=[9693017122]
  275. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_caller_id_number=9693017122)
  276. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_caller_id_number]=[9693017122]
  277. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_name=9693017122)
  278. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_name]=[9693017122]
  279. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(effective_caller_id_number=9693017122)
  280. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [effective_caller_id_number]=[9693017122]
  281. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(receiver_accid=7)
  282. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [receiver_accid]=[7]
  283. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_id=2)
  284. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_id]=[2]
  285. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_call_type=4)
  286. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_call_type]=[4]
  287. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_extensions=)
  288. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_extensions]=[UNDEF]
  289. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(busy_status=1)
  290. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [busy_status]=[1]
  291. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(no_answer_status=1)
  292. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [no_answer_status]=[1]
  293. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(always_status=1)
  294. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [always_status]=[1]
  295. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(transfer_status=1)
  296. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [transfer_status]=[1]
  297. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=pkcall.astppbilling.org)
  298. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[pkcall.astppbilling.org]
  299. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(domain_name=payfast.astppbilling.org)
  300. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[payfast.astppbilling.org]
  301. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(sip_to_host=payfast.astppbilling.org)
  302. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[payfast.astppbilling.org]
  303. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(presence_data=x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162)
  304. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Customer Of(7135873514)|||||||||DID|||117.247.91.162]
  305. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 export(call_type=10)
  306. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[10]
  307. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_calltype=10)
  308. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_calltype]=[10]
  309. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(did_extensions=2)
  310. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [did_extensions]=[2]
  311. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(ringback=0)
  312. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [ringback]=[0]
  313. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(module_name=pbx)
  314. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [module_name]=[pbx]
  315. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(sip_h_P-call_type=custom_forward)
  316. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [sip_h_P-call_type]=[custom_forward]
  317. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(sip_h_P-Accountcode=7)
  318. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [sip_h_P-Accountcode]=[7]
  319. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org)
  320. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org]
  321. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(userinfo_id=4)
  322. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [userinfo_id]=[4]
  323. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(variable_sip_to_host=payfast.astppbilling.org)
  324. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [variable_sip_to_host]=[payfast.astppbilling.org]
  325. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 set(original_did_number=330444)
  326. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/9693017122@pkcall.astppbilling.org:5044 [original_did_number]=[330444]
  327. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 answer()
  328. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9693017122@pkcall.astppbilling.org:5044] 172.31.43.241 port 20268 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  329. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  330. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:9089 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf send payload to 101
  331. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:9096 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set 2833 dtmf receive payload to 101
  332. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_core_media.c:9119 sofia/default/9693017122@pkcall.astppbilling.org:5044 Set rtp dtmf delay to 40
  333. 2021-12-23 08:10:36.846712 99.20% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9693017122@pkcall.astppbilling.org:5044:
  334. v=0
  335. o=FreeSWITCH 1640226768 1640226769 IN IP4 3.23.127.90
  336. s=FreeSWITCH
  337. c=IN IP4 3.23.127.90
  338. t=0 0
  339. m=audio 20268 RTP/AVP 8 101
  340. a=rtpmap:8 PCMA/8000
  341. a=rtpmap:101 telephone-event/8000
  342. a=fmtp:101 0-15
  343. a=ptime:20
  344. a=sendrecv
  345.  
  346. 2021-12-23 08:10:36.846712 99.20% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [completed][200]
  347. 2021-12-23 08:10:36.846712 99.20% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/9693017122@pkcall.astppbilling.org:5044] has been answered
  348. 2021-12-23 08:10:36.846712 99.20% [DEBUG] switch_channel.c:3950 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change RINGING -> ACTIVE
  349. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 ivr(IVR_CUST_Reseller_PK_Admin0)
  350. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  351. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  352. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  353. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  354. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  355. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  356. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:883 building menu 'IVR_CUST_Reseller_PK_Admin0'
  357. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '8'
  358. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '9'
  359. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '7'
  360. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  361. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu IVR_CUST_Reseller_PK_Admin0
  362. 2021-12-23 08:10:36.866709 99.20% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.]
  363. 2021-12-23 08:10:36.866709 99.20% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  364. 2021-12-23 08:10:37.126709 99.20% [DEBUG] sofia.c:7499 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 entering state [ready][200]
  365. 2021-12-23 08:10:37.166726 99.20% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  366. 2021-12-23 08:10:46.866741 98.23% [DEBUG] switch_ivr_menu.c:425 digits ''
  367. 2021-12-23 08:10:46.866741 98.23% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.]
  368. 2021-12-23 08:10:46.866741 98.23% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  369. 2021-12-23 08:10:56.886733 98.07% [DEBUG] switch_ivr_menu.c:425 digits ''
  370. 2021-12-23 08:10:56.886733 98.07% [WARNING] mod_sndfile.c:281 Error Opening File [/var/www/html/astpp/upload/pbx/welcome_v6_.wav] [File contains data in an unknown format.]
  371. 2021-12-23 08:10:56.886733 98.07% [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  372. 2021-12-23 08:11:03.746749 94.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4727985745@newpbx.astppbilling.org] from ip 117.247.91.162
  373. 2021-12-23 08:11:04.386730 94.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9693017122@pkcall.astppbilling.org] from ip 117.247.91.162
  374. 2021-12-23 08:11:04.986731 94.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [7516854441@pkcall.astppbilling.org] from ip 117.247.91.162
  375. 2021-12-23 08:11:06.906727 94.80% [DEBUG] switch_ivr_menu.c:425 digits ''
  376. 2021-12-23 08:11:06.906727 94.80% [DEBUG] switch_ivr_menu.c:516 Maximum timeouts
  377. 2021-12-23 08:11:06.906727 94.80% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
  378. EXECUTE [depth=0] sofia/default/9693017122@pkcall.astppbilling.org:5044 lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  379. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  380. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_cpp.cpp:1209 sofia/default/9693017122@pkcall.astppbilling.org:5044 destroy/unlink session from object
  381. 2021-12-23 08:11:06.926707 94.80% [NOTICE] switch_core_state_machine.c:382 sofia/default/9693017122@pkcall.astppbilling.org:5044 has executed the last dialplan instruction, hanging up.
  382. 2021-12-23 08:11:06.926707 94.80% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/9693017122@pkcall.astppbilling.org:5044 [CS_EXECUTE] [NORMAL_CLEARING]
  383. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State EXECUTE going to sleep
  384. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_HANGUP (Cur 1 Tot 47)
  385. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Callstate Change ACTIVE -> HANGUP
  386. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State HANGUP
  387. 2021-12-23 08:11:06.926707 94.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 hanging up, cause: NORMAL_CLEARING
  388. 2021-12-23 08:11:06.926707 94.80% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9693017122@pkcall.astppbilling.org:5044
  389. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard HANGUP, cause: NORMAL_CLEARING
  390. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State HANGUP going to sleep
  391. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_HANGUP -> CS_REPORTING
  392. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_REPORTING (Cur 1 Tot 47)
  393. 2021-12-23 08:11:06.926707 94.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State REPORTING
  394. 2021-12-23 08:11:06.926707 94.80% [INFO] mod_json_cdr.c:271 Process [9a355887-1e79-46de-9607-b3e27c0ca429.cdr.json]
  395. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard REPORTING, cause: NORMAL_CLEARING
  396. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State REPORTING going to sleep
  397. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State Change CS_REPORTING -> CS_DESTROY
  398. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_session.c:1753 Session 47 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Locked, Waiting on external entities
  399. 2021-12-23 08:11:06.986729 94.80% [NOTICE] switch_core_session.c:1771 Session 47 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Ended
  400. 2021-12-23 08:11:06.986729 94.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9693017122@pkcall.astppbilling.org:5044 [CS_DESTROY]
  401. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9693017122@pkcall.astppbilling.org:5044) Running State Change CS_DESTROY (Cur 0 Tot 47)
  402. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State DESTROY
  403. 2021-12-23 08:11:06.986729 94.80% [DEBUG] mod_sofia.c:379 sofia/default/9693017122@pkcall.astppbilling.org:5044 SOFIA DESTROY
  404. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/9693017122@pkcall.astppbilling.org:5044 Standard DESTROY
  405. 2021-12-23 08:11:06.986729 94.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9693017122@pkcall.astppbilling.org:5044) State DESTROY going to sleep
  406. freeswitch@ip-172-31-43-241>
  407.