From Sahil, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-04-05 15:33:59.211778 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0645339450@154.118.252.35 [a9f7a9ab-1909-46c5-9e9d-cd98544d95a5]
  2. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_NEW (Cur 1 Tot 8851)
  3. 2021-04-05 15:33:59.211778 [DEBUG] sofia.c:10280 sofia/default/0645339450@154.118.252.35 receiving invite from 169.255.3.45:5060 version: 1.10.5 -release.8 64bit
  4. 2021-04-05 15:33:59.211778 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 169.255.3.45:0.
  5. 2021-04-05 15:33:59.211778 [DEBUG] sofia.c:10403 IP 169.255.3.45 Approved by acl "default[]". Access Granted.
  6. 2021-04-05 15:33:59.211778 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [received][100]
  7. 2021-04-05 15:33:59.211778 [DEBUG] sofia.c:7336 Remote SDP:
  8. v=0
  9. o=- 206133 1 IN IP4 169.255.3.52
  10. s=-
  11. c=IN IP4 169.255.3.52
  12. t=0 0
  13. m=audio 25012 RTP/AVP 18 8 116
  14. a=rtpmap:116 telephone-event/8000
  15. a=ptime:20
  16.  
  17. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  18. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  19. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  20. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  21. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  22. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  24. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 116@8000
  26. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/0645339450@154.118.252.35 G729/8000 20 ms 160 samples 8000 bits 1 channels
  27. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_codec.c:111 sofia/default/0645339450@154.118.252.35 Original read codec set to G729:18
  28. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 116@8000
  29. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_media.c:5911 sofia/default/0645339450@154.118.252.35 Set 2833 dtmf send payload to 116 recv payload to 116
  30. 2021-04-05 15:33:59.211778 [DEBUG] sofia.c:7760 (sofia/default/0645339450@154.118.252.35) State Change CS_NEW -> CS_INIT
  31. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:604 (sofia/default/0645339450@154.118.252.35) State NEW
  32. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_INIT (Cur 1 Tot 8851)
  33. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0645339450@154.118.252.35) State INIT
  34. 2021-04-05 15:33:59.211778 [DEBUG] mod_sofia.c:93 sofia/default/0645339450@154.118.252.35 SOFIA INIT
  35. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:40 sofia/default/0645339450@154.118.252.35 Standard INIT
  36. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0645339450@154.118.252.35) State Change CS_INIT -> CS_ROUTING
  37. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0645339450@154.118.252.35) State INIT going to sleep
  38. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_ROUTING (Cur 1 Tot 8851)
  39. 2021-04-05 15:33:59.211778 [DEBUG] switch_channel.c:2332 (sofia/default/0645339450@154.118.252.35) Callstate Change DOWN -> RINGING
  40. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING
  41. 2021-04-05 15:33:59.211778 [DEBUG] mod_sofia.c:154 sofia/default/0645339450@154.118.252.35 SOFIA ROUTING
  42. 2021-04-05 15:33:59.211778 [DEBUG] switch_core_state_machine.c:236 sofia/default/0645339450@154.118.252.35 Standard ROUTING
  43. 2021-04-05 15:33:59.211778 [INFO] mod_dialplan_xml.c:637 Processing +27645339450 <0645339450>->3100127214760151 in context default
  44. 2021-04-05 15:33:59.251770 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  45. 2021-04-05 15:33:59.271736 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  46. 2021-04-05 15:33:59.271736 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  47. 2021-04-05 15:33:59.271736 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 3100127214760151
  48. 2021-04-05 15:33:59.271736 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '3100127214760151' limit 1
  49. 2021-04-05 15:33:59.271736 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3100127214760151' AND status=0 limit 1
  50. 2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '3100127214760151' and status=0 LIMIT 1
  51. 2021-04-05 15:33:59.291719 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
  52. 2021-04-05 15:33:59.291719 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 0645339450 / <null>
  53. 2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [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 ="3100127214760151" LIMIT 1
  54. 2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3100127214760151"  AND domains.domain="169.255.3.52" limit 1
  55. 2021-04-05 15:33:59.291719 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  56. 2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("169.255.3.52") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "3100127214760151"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  57. 2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :31001/*.....3100127214760151
  58. 2021-04-05 15:33:59.291719 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3100127214760151
  59. 2021-04-05 15:33:59.291719 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27214760151
  60. 2021-04-05 15:33:59.291719 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9446295420]
  61. 2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =27214760151
  62. 2021-04-05 15:33:59.291719 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9446295420" AND deleted = 0 limit 1
  63. 2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27214760151.*' OR blocked_patterns = '^2721476015.*' OR blocked_patterns = '^272147601.*' OR blocked_patterns = '^27214760.*' OR blocked_patterns = '^2721476.*' OR blocked_patterns = '^272147.*' OR blocked_patterns = '^27214.*' OR blocked_patterns = '^2721.*' OR blocked_patterns = '^272.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 11 limit 1
  64. 2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [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 ="27214760151" AND A.accountid = '11' limit 1
  65. 2021-04-05 15:33:59.311714 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27214760151
  66. 2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [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 ="27214760151" LIMIT 1
  67. 2021-04-05 15:33:59.311714 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
  68. 2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27214760151" AND (accountid = 0 OR status = 1) LIMIT 1
  69. 2021-04-05 15:33:59.311714 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 7
  70. 2021-04-05 15:33:59.311714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 7 AND status=0 limit 1
  71. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  72. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :47
  73. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [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 = '^27214760151.*' OR patterns = '^2721476015.*' OR patterns = '^272147601.*' OR patterns = '^27214760.*' OR patterns = '^2721476.*' OR patterns = '^272147.*' OR patterns = '^27214.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 47 ORDER BY LENGTH(PKGPTR.patterns) DESC
  74. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '27214760151' OR number = '2721476015' OR number = '272147601' OR number = '27214760' OR number = '2721476' OR number = '272147' OR number = '27214' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27214760151*' OR number = '2721476015*' OR number = '272147601*' OR number = '27214760*' OR number = '2721476*' OR number = '272147*' OR number = '27214*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  75. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  76. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27214760151' OR routing_prefix = '2721476015' OR routing_prefix = '272147601' OR routing_prefix = '27214760' OR routing_prefix = '2721476' OR routing_prefix = '272147' OR routing_prefix = '27214' OR routing_prefix = '2721' OR routing_prefix = '272' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  77. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  78. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 11
  79. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9446295420
  80. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
  81. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  82. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 5
  83. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  84. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  85. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  86. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  87. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [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 ="27214760151" LIMIT 1
  88. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
  89. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  90. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 255
  91. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  92. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  93. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  94. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 27214760151
  95. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 171
  96. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 11
  97. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  98. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 11 !!!
  99. 2021-04-05 15:33:59.331714 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  100. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  101. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  102. 2021-04-05 15:33:59.331714 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  103. 2021-04-05 15:33:59.331714 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
  104. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "47" AND deleted = 0 limit 1
  105. 2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:11
  106. 2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:11
  107. 2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
  108. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 47 limit 1
  109. 2021-04-05 15:33:59.351717 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaintestfuse.techfuse.co.za
  110. 2021-04-05 15:33:59.351717 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  111. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"31001/".....0645339450
  112. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"31001/".....<null>
  113. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 47 limit 1
  114. 2021-04-05 15:33:59.351717 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaintestfuse.techfuse.co.za
  115. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
  116. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2007"  AND domains.domain="testfuse.techfuse.co.za" limit 1
  117. 2021-04-05 15:33:59.351717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 565 limit 1
  118. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  119. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  120. 2021-04-05 15:33:59.371715 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain beforetestfuse.techfuse.co.za
  121. 2021-04-05 15:33:59.371715 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] pickup_group_permission pickup_str
  122. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  123. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2007"  AND domains.domain="testfuse.techfuse.co.za" limit 1
  124. 2021-04-05 15:33:59.371715 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 565
  125. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 565 limit 1
  126. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  127. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  128. 2021-04-05 15:33:59.371715 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] call_forwarding_flag : 1
  129. 2021-04-05 15:33:59.371715 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call forwarding Disable
  130. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  131. 2021-04-05 15:33:59.371715 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2007"  AND domains.domain="testfuse.techfuse.co.za" limit 1
  132. 2021-04-05 15:33:59.391713 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 565 limit 1
  133. 2021-04-05 15:33:59.391713 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  134. <document type="freeswitch/xml">
  135. <section name="dialplan" description="ASTPP Dialplan">
  136. <context name="default">
  137. <extension name="27214760151">
  138. <condition field="destination_number" expression="3100127214760151">
  139. <action application="set" data="effective_destination_number=27214760151"/>
  140. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  141. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  142. <action application="set" data="callstart=2021-04-05 13:33:59"/>
  143. <action application="set" data="hangup_after_bridge=true"/>
  144. <action application="set" data="continue_on_fail=false"/>
  145. <action application="set" data="account_id=11"/>
  146. <action application="set" data="parent_id=0"/>
  147. <action application="set" data="entity_id=3"/>
  148. <action application="set" data="call_processed=internal"/>
  149. <action application="set" data="call_direction=inbound"/>
  150. <action application="set" data="accountname=default"/>
  151. <action application="set" data="filename1=astpp.pbx.lua"/>
  152. <action application="set" data="origination_rates_did=ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47"/>
  153. <action application="set" data="origination_rates=0"/>
  154. <action application="set" data="original_caller_id_name=0645339450"/>
  155. <action application="set" data="effective_caller_id_name=0645339450"/>
  156. <action application="set" data="receiver_accid=47"/>
  157. <action application="export" data="domain_name=testfuse.techfuse.co.za"/>
  158. <action application="export" data="sip_to_host=testfuse.techfuse.co.za"/>
  159. <action application="export" data="presence_data=x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52"/>
  160. <action application="export" data="call_type=0"/>
  161. <action application="set" data="calltype=DID-LOCAL"/>
  162. <action application="db" data="insert/pickup_any_group_${callgroup}/2007/${uuid}"/>
  163. <action application="set" data="dialed_extension=transfer_call"/>
  164. <action application="export" data="dialed_extension=transfer_call"/>
  165. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  166. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  167. <action application="set" data="hangup_after_bridge=true"/>
  168. <action application="export" data="did_user_domain=testfuse.techfuse.co.za"/>
  169. <action application="set" data="sip_h_X-call-type=did"/>
  170. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  171. <action application="db" data="insert/pickup_any_group_${callgroup}/2007/${uuid}"/>
  172. <action application="set" data="dialed_extension=transfer_call"/>
  173. <action application="export" data="dialed_extension=transfer_call"/>
  174. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  175. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  176. <action application="set" data="hangup_after_bridge=true"/>
  177. <action application="bridge" data="{sip_to_user=2007,sip_to_host=testfuse.techfuse.co.za,sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=47}[leg_timeout=60 ] sofia/${sofia_profile_name}/2007@testfuse.techfuse.co.za"/>
  178. <action application="set" data="on_busy_flag=1"/>
  179. <action application="set" data="on_busy_destination="/>
  180. <action application="set" data="no_answer_flag=1"/>
  181. <action application="set" data="no_answer_destination="/>
  182. <action application="set" data="not_register_flag=1"/>
  183. <action application="set" data="not_register_destination="/>
  184. <action application="set" data="opensips_flag=0"/>
  185. <action application="set" data="variable_sip_to_host=testfuse.techfuse.co.za"/>
  186. <action application="set" data="opensips_domain=169.255.3.45"/>
  187. <action application="set" data="leg_timeout=60"/>
  188. <action application="set" data="userinfo_id=47"/>
  189. <action application="set" data="sip_destination_number=2007"/>
  190. <action application="set" data="did_number=2007"/>
  191. <action application="set" data="user_domain=testfuse.techfuse.co.za"/>
  192. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  193. <action application="set" data="on_busy_flag=1"/>
  194. <action application="set" data="on_busy_destination="/>
  195. <action application="set" data="no_answer_flag=1"/>
  196. <action application="set" data="no_answer_destination="/>
  197. <action application="set" data="not_register_flag=1"/>
  198. <action application="set" data="not_register_destination="/>
  199. <action application="set" data="opensips_flag=0"/>
  200. <action application="set" data="variable_sip_to_host=testfuse.techfuse.co.za"/>
  201. <action application="set" data="opensips_domain=169.255.3.45"/>
  202. <action application="set" data="leg_timeout=60"/>
  203. <action application="set" data="userinfo_id=47"/>
  204. <action application="set" data="sip_destination_number=2007"/>
  205. <action application="set" data="destination_number=27214760151"/>
  206. <action application="set" data="did_number=27214760151"/>
  207. <action application="set" data="user_domain=testfuse.techfuse.co.za"/>
  208. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  209. <condition field="${cond(${user_data 2007@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  210. <action application="answer"/>
  211. <action application="export" data="voicemail_alternate_greet_id=27214760151"/>
  212. <action application="voicemail" data="default $${domain_name} 2007"/>
  213. <anti-action application="hangup" data="${originate_disposition}"/>
  214. </condition>
  215. </condition>
  216. </extension>
  217. </context>
  218. </section>
  219. </document>
  220. Dialplan: sofia/default/0645339450@154.118.252.35 parsing [default->27214760151] continue=false
  221. Dialplan: sofia/default/0645339450@154.118.252.35 Regex (PASS) [27214760151] destination_number(3100127214760151) =~ /3100127214760151/ break=on-false
  222. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(effective_destination_number=27214760151)
  223. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  224. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  225. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(callstart=2021-04-05 13:33:59)
  226. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(hangup_after_bridge=true)
  227. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(continue_on_fail=false)
  228. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(account_id=11)
  229. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(parent_id=0)
  230. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(entity_id=3)
  231. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_processed=internal)
  232. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_direction=inbound)
  233. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(accountname=default)
  234. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(filename1=astpp.pbx.lua)
  235. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(origination_rates_did=ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47)
  236. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(origination_rates=0)
  237. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(original_caller_id_name=0645339450)
  238. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(effective_caller_id_name=0645339450)
  239. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(receiver_accid=47)
  240. Dialplan: sofia/default/0645339450@154.118.252.35 Action export(domain_name=testfuse.techfuse.co.za)
  241. Dialplan: sofia/default/0645339450@154.118.252.35 Action export(sip_to_host=testfuse.techfuse.co.za)
  242. Dialplan: sofia/default/0645339450@154.118.252.35 Action export(presence_data=x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52)
  243. Dialplan: sofia/default/0645339450@154.118.252.35 Action export(call_type=0)
  244. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(calltype=DID-LOCAL)
  245. Dialplan: sofia/default/0645339450@154.118.252.35 Action db(insert/pickup_any_group_${callgroup}/2007/${uuid})
  246. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(dialed_extension=transfer_call)
  247. Dialplan: sofia/default/0645339450@154.118.252.35 Action export(dialed_extension=transfer_call)
  248. Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  249. Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  250. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(hangup_after_bridge=true)
  251. Dialplan: sofia/default/0645339450@154.118.252.35 Action export(did_user_domain=testfuse.techfuse.co.za)
  252. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_h_X-call-type=did)
  253. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_h_X-did-call-type=DID-LOCAL)
  254. Dialplan: sofia/default/0645339450@154.118.252.35 Action db(insert/pickup_any_group_${callgroup}/2007/${uuid})
  255. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(dialed_extension=transfer_call)
  256. Dialplan: sofia/default/0645339450@154.118.252.35 Action export(dialed_extension=transfer_call)
  257. Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  258. Dialplan: sofia/default/0645339450@154.118.252.35 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  259. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(hangup_after_bridge=true)
  260. Dialplan: sofia/default/0645339450@154.118.252.35 Action bridge({sip_to_user=2007,sip_to_host=testfuse.techfuse.co.za,sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=47}[leg_timeout=60 ] sofia/${sofia_profile_name}/2007@testfuse.techfuse.co.za)
  261. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_flag=1)
  262. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_destination=)
  263. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_flag=1)
  264. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_destination=)
  265. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_flag=1)
  266. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_destination=)
  267. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_flag=0)
  268. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(variable_sip_to_host=testfuse.techfuse.co.za)
  269. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_domain=169.255.3.45)
  270. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(leg_timeout=60)
  271. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(userinfo_id=47)
  272. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_destination_number=2007)
  273. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(did_number=2007)
  274. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(user_domain=testfuse.techfuse.co.za)
  275. Dialplan: sofia/default/0645339450@154.118.252.35 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  276. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_flag=1)
  277. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(on_busy_destination=)
  278. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_flag=1)
  279. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(no_answer_destination=)
  280. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_flag=1)
  281. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(not_register_destination=)
  282. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_flag=0)
  283. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(variable_sip_to_host=testfuse.techfuse.co.za)
  284. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(opensips_domain=169.255.3.45)
  285. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(leg_timeout=60)
  286. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(userinfo_id=47)
  287. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_destination_number=2007)
  288. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(destination_number=27214760151)
  289. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(did_number=27214760151)
  290. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(user_domain=testfuse.techfuse.co.za)
  291. Dialplan: sofia/default/0645339450@154.118.252.35 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  292. |--- Dialplan: Processing recursive conditions level:1 [27214760151_recur_1] require-nested=TRUE
  293. |--- Dialplan: sofia/default/0645339450@154.118.252.35 Regex (FAIL) [27214760151_recur_1] ${cond(${user_data 2007@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  294. |--- Dialplan: sofia/default/0645339450@154.118.252.35 ANTI-Action hangup(${originate_disposition})
  295. 2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:287 (sofia/default/0645339450@154.118.252.35) State Change CS_ROUTING -> CS_EXECUTE
  296. 2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING going to sleep
  297. 2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_EXECUTE (Cur 1 Tot 8851)
  298. 2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE
  299. 2021-04-05 15:33:59.411713 [DEBUG] mod_sofia.c:209 sofia/default/0645339450@154.118.252.35 SOFIA EXECUTE
  300. 2021-04-05 15:33:59.411713 [DEBUG] switch_core_state_machine.c:329 sofia/default/0645339450@154.118.252.35 Standard EXECUTE
  301. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(effective_destination_number=27214760151)
  302. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [effective_destination_number]=[27214760151]
  303. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(bridge_pre_execute_bleg_app=sched_hangup)
  304. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [bridge_pre_execute_bleg_app]=[sched_hangup]
  305. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  306. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  307. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(callstart=2021-04-05 13:33:59)
  308. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [callstart]=[2021-04-05 13:33:59]
  309. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(hangup_after_bridge=true)
  310. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [hangup_after_bridge]=[true]
  311. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(continue_on_fail=false)
  312. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [continue_on_fail]=[false]
  313. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(account_id=11)
  314. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [account_id]=[11]
  315. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(parent_id=0)
  316. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [parent_id]=[0]
  317. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(entity_id=3)
  318. 2021-04-05 15:33:59.411713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [entity_id]=[3]
  319. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_processed=internal)
  320. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_processed]=[internal]
  321. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_direction=inbound)
  322. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_direction]=[inbound]
  323. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(accountname=default)
  324. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [accountname]=[default]
  325. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(filename1=astpp.pbx.lua)
  326. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [filename1]=[astpp.pbx.lua]
  327. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(origination_rates_did=ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47)
  328. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [origination_rates_did]=[ID:255|CODE:^27214760151.*|DESTINATION:27214760151|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:47]
  329. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(origination_rates=0)
  330. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [origination_rates]=[0]
  331. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(original_caller_id_name=0645339450)
  332. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [original_caller_id_name]=[0645339450]
  333. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(effective_caller_id_name=0645339450)
  334. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [effective_caller_id_name]=[0645339450]
  335. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(receiver_accid=47)
  336. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [receiver_accid]=[47]
  337. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(domain_name=testfuse.techfuse.co.za)
  338. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[testfuse.techfuse.co.za]
  339. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(sip_to_host=testfuse.techfuse.co.za)
  340. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[testfuse.techfuse.co.za]
  341. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(presence_data=x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52)
  342. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52]
  343. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(call_type=0)
  344. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  345. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(calltype=DID-LOCAL)
  346. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [calltype]=[DID-LOCAL]
  347. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 db(insert/pickup_any_group_/2007/a9f7a9ab-1909-46c5-9e9d-cd98544d95a5)
  348. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(dialed_extension=transfer_call)
  349. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [dialed_extension]=[transfer_call]
  350. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(dialed_extension=transfer_call)
  351. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  352. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  353. 2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  354. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  355. 2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  356. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(hangup_after_bridge=true)
  357. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [hangup_after_bridge]=[true]
  358. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(did_user_domain=testfuse.techfuse.co.za)
  359. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[testfuse.techfuse.co.za]
  360. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(sip_h_X-call-type=did)
  361. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [sip_h_X-call-type]=[did]
  362. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(sip_h_X-did-call-type=DID-LOCAL)
  363. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [sip_h_X-did-call-type]=[DID-LOCAL]
  364. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 db(insert/pickup_any_group_/2007/a9f7a9ab-1909-46c5-9e9d-cd98544d95a5)
  365. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(dialed_extension=transfer_call)
  366. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [dialed_extension]=[transfer_call]
  367. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 export(dialed_extension=transfer_call)
  368. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  369. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  370. 2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  371. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  372. 2021-04-05 15:33:59.431713 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  373. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(hangup_after_bridge=true)
  374. 2021-04-05 15:33:59.431713 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [hangup_after_bridge]=[true]
  375. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 bridge({sip_to_user=2007,sip_to_host=testfuse.techfuse.co.za,sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=47}[leg_timeout=60 ] sofia/default/2007@testfuse.techfuse.co.za)
  376. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [domain_name]=[testfuse.techfuse.co.za] to event
  377. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [sip_to_host]=[testfuse.techfuse.co.za] to event
  378. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [presence_data]=[x|||CONVERGED(9446295420)|||^27214760151.* // 27214760151 // 0.00000||||||DID|||169.255.3.52] to event
  379. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [call_type]=[0] to event
  380. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  381. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [did_user_domain]=[testfuse.techfuse.co.za] to event
  382. 2021-04-05 15:33:59.431713 [DEBUG] switch_channel.c:1264 sofia/default/0645339450@154.118.252.35 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  383. 2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  384. 2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  385. 2021-04-05 15:33:59.431713 [NOTICE] switch_channel.c:1118 New Channel sofia/default/2007@testfuse.techfuse.co.za [d5daabe5-095f-44f3-ba5e-aedcb23e537a]
  386. 2021-04-05 15:33:59.431713 [DEBUG] mod_sofia.c:5089 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_NEW -> CS_INIT
  387. 2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:3111 sofia/default/2007@testfuse.techfuse.co.za Setting leg timeout to 60
  388. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_INIT (Cur 2 Tot 8852)
  389. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2007@testfuse.techfuse.co.za) State INIT
  390. 2021-04-05 15:33:59.431713 [DEBUG] mod_sofia.c:93 sofia/default/2007@testfuse.techfuse.co.za SOFIA INIT
  391. 2021-04-05 15:33:59.431713 [DEBUG] sofia_glue.c:1618 sofia/default/2007@testfuse.techfuse.co.za sending invite version: 1.10.5 -release.8 64bit
  392. Local SDP:
  393. v=0
  394. o=FreeSWITCH 1617601691 1617601692 IN IP4 169.255.3.42
  395. s=FreeSWITCH
  396. c=IN IP4 169.255.3.42
  397. t=0 0
  398. m=audio 27948 RTP/AVP 18 101
  399. a=rtpmap:18 G729/8000
  400. a=fmtp:18 annexb=no
  401. a=rtpmap:101 telephone-event/8000
  402. a=fmtp:101 0-16
  403. a=ptime:20
  404. a=sendrecv
  405.  
  406. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:40 sofia/default/2007@testfuse.techfuse.co.za Standard INIT
  407. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_INIT -> CS_ROUTING
  408. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2007@testfuse.techfuse.co.za) State INIT going to sleep
  409. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_ROUTING (Cur 2 Tot 8852)
  410. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@testfuse.techfuse.co.za) State ROUTING
  411. 2021-04-05 15:33:59.431713 [DEBUG] mod_sofia.c:154 sofia/default/2007@testfuse.techfuse.co.za SOFIA ROUTING
  412. 2021-04-05 15:33:59.431713 [DEBUG] switch_ivr_originate.c:67 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  413. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@testfuse.techfuse.co.za) State ROUTING going to sleep
  414. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8852)
  415. 2021-04-05 15:33:59.431713 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [calling][0]
  416. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:663 (sofia/default/2007@testfuse.techfuse.co.za) State CONSUME_MEDIA
  417. 2021-04-05 15:33:59.431713 [DEBUG] switch_core_state_machine.c:663 (sofia/default/2007@testfuse.techfuse.co.za) State CONSUME_MEDIA going to sleep
  418. 2021-04-05 15:33:59.711752 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [proceeding][180]
  419. 2021-04-05 15:33:59.711752 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/2007@testfuse.techfuse.co.za!
  420. 2021-04-05 15:33:59.711752 [DEBUG] switch_channel.c:3437 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change DOWN -> RINGING
  421. 2021-04-05 15:33:59.711752 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/0645339450@154.118.252.35!
  422. 2021-04-05 15:33:59.711752 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [early][180]
  423. 2021-04-05 15:33:59.711752 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/0645339450@154.118.252.35!
  424. 2021-04-05 15:34:01.471738 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [completing][200]
  425. 2021-04-05 15:34:01.471738 [DEBUG] sofia.c:7336 Remote SDP:
  426. v=0
  427. o=2004 2420929561 2867022905 IN IP4 156.155.136.234
  428. s=A conversation
  429. c=IN IP4 156.155.136.234
  430. t=0 0
  431. m=audio 10022 RTP/AVP 18 101
  432. a=rtpmap:18 G729/8000
  433. a=fmtp:18 annexb=no
  434. a=rtpmap:101 telephone-event/8000
  435. a=fmtp:101 0-15
  436. a=oldoip:192.168.2.122
  437. a=oldcip:192.168.2.122
  438.  
  439. 2021-04-05 15:34:01.471738 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [ready][200]
  440. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  441. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  442. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  443. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/2007@testfuse.techfuse.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  444. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_codec.c:111 sofia/default/2007@testfuse.techfuse.co.za Original read codec set to G729:18
  445. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  446. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:5911 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  447. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/2007@testfuse.techfuse.co.za] 169.255.3.42 port 27948 -> 156.155.136.234 port 10022 codec: 18 ms: 20
  448. 2021-04-05 15:34:01.471738 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  449. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:8977 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf send payload to 101
  450. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:8984 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf receive payload to 101
  451. 2021-04-05 15:34:01.471738 [DEBUG] switch_core_media.c:9007 sofia/default/2007@testfuse.techfuse.co.za Set rtp dtmf delay to 40
  452. 2021-04-05 15:34:01.471738 [NOTICE] sofia.c:8504 Channel [sofia/default/2007@testfuse.techfuse.co.za] has been answered
  453. 2021-04-05 15:34:01.471738 [DEBUG] switch_channel.c:3865 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change RINGING -> ACTIVE
  454. 2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/0645339450@154.118.252.35] 169.255.3.42 port 20072 -> 169.255.3.52 port 25012 codec: 18 ms: 20
  455. 2021-04-05 15:34:01.491731 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  456. 2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:8977 sofia/default/0645339450@154.118.252.35 Set 2833 dtmf send payload to 116
  457. 2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:8984 sofia/default/0645339450@154.118.252.35 Set 2833 dtmf receive payload to 116
  458. 2021-04-05 15:34:01.491731 [DEBUG] switch_core_media.c:9007 sofia/default/0645339450@154.118.252.35 Set rtp dtmf delay to 40
  459. 2021-04-05 15:34:01.491731 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/0645339450@154.118.252.35:
  460. v=0
  461. o=FreeSWITCH 1617609569 1617609570 IN IP4 169.255.3.42
  462. s=FreeSWITCH
  463. c=IN IP4 169.255.3.42
  464. t=0 0
  465. m=audio 20072 RTP/AVP 18 116
  466. a=rtpmap:18 G729/8000
  467. a=fmtp:18 annexb=no
  468. a=rtpmap:116 telephone-event/8000
  469. a=fmtp:116 0-16
  470. a=ptime:20
  471. a=sendrecv
  472.  
  473. 2021-04-05 15:34:01.491731 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/0645339450@154.118.252.35] has been answered
  474. 2021-04-05 15:34:01.491731 [DEBUG] switch_channel.c:3865 (sofia/default/0645339450@154.118.252.35) Callstate Change RINGING -> ACTIVE
  475. 2021-04-05 15:34:01.491731 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [completed][200]
  476. 2021-04-05 15:34:01.491731 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/2007@testfuse.techfuse.co.za]
  477. 2021-04-05 15:34:01.491731 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  478. 2021-04-05 15:34:01.491731 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 8852)
  479. 2021-04-05 15:34:01.491731 [DEBUG] switch_core_state_machine.c:654 (sofia/default/2007@testfuse.techfuse.co.za) State EXCHANGE_MEDIA
  480. 2021-04-05 15:34:01.491731 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  481. 2021-04-05 15:34:01.531732 [DEBUG] sofia.c:7326 Channel sofia/default/0645339450@154.118.252.35 entering state [ready][200]
  482. 2021-04-05 15:34:01.631754 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  483. 2021-04-05 15:34:01.671758 [DEBUG] switch_ivr_bridge.c:655 sofia/default/2007@testfuse.techfuse.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  484. 2021-04-05 15:34:01.691759 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  485. 2021-04-05 15:34:01.691759 [DEBUG] switch_ivr.c:632 sofia/default/2007@testfuse.techfuse.co.za Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  486. EXECUTE [depth=0] sofia/default/2007@testfuse.techfuse.co.za sched_hangup(+6000 normal_clearing)
  487. 2021-04-05 15:34:01.691759 [DEBUG] switch_scheduler.c:252 Added task 2177 switch_ivr_schedule_hangup (d5daabe5-095f-44f3-ba5e-aedcb23e537a) to run at 1617635641
  488. 2021-04-05 15:34:03.131764 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [received][100]
  489. 2021-04-05 15:34:03.131764 [DEBUG] sofia.c:7336 Remote SDP:
  490. v=0
  491. o=2004 2420929561 2867022906 IN IP4 156.155.136.234
  492. s=A conversation
  493. c=IN IP4 156.155.136.234
  494. t=0 0
  495. m=audio 10022 RTP/AVP 18 101
  496. a=rtpmap:18 G729/8000
  497. a=fmtp:18 annexb=no
  498. a=rtpmap:101 telephone-event/8000
  499. a=fmtp:101 0-15
  500. a=sendonly
  501. a=oldoip:192.168.2.122
  502. a=oldcip:192.168.2.122
  503.  
  504. 2021-04-05 15:34:03.131764 [DEBUG] switch_channel.c:1927 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change ACTIVE -> HELD
  505. 2021-04-05 15:34:03.291727 [DEBUG] switch_ivr.c:632 sofia/default/0645339450@154.118.252.35 Command Execute [depth=0] playback(local_stream://moh)
  506. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 playback(local_stream://moh)
  507. 2021-04-05 15:34:03.291727 [DEBUG] mod_local_stream.c:909 Opening Stream [moh/8000] 8000hz
  508. 2021-04-05 15:34:03.291727 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  509. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  510. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  511. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  512. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  513. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  514. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  515. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:5911 sofia/default/2007@testfuse.techfuse.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  516. 2021-04-05 15:34:03.371775 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/2007@testfuse.techfuse.co.za.
  517. 2021-04-05 15:34:03.371775 [DEBUG] sofia.c:8275 Processing updated SDP
  518. 2021-04-05 15:34:03.391774 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [completed][200]
  519. 2021-04-05 15:34:03.411779 [DEBUG] sofia.c:7326 Channel sofia/default/2007@testfuse.techfuse.co.za entering state [ready][200]
  520. 2021-04-05 15:34:07.751782 [DEBUG] sofia.c:8835 Process REFER to [2002@testfuse.techfuse.co.za]
  521. 2021-04-05 15:34:07.751782 [DEBUG] switch_ivr.c:2243 (sofia/default/0645339450@154.118.252.35) State Change CS_EXECUTE -> CS_ROUTING
  522. 2021-04-05 15:34:07.751782 [NOTICE] switch_ivr.c:2250 Transfer sofia/default/0645339450@154.118.252.35 to XML[2002@default]
  523. 2021-04-05 15:34:07.771725 [DEBUG] switch_ivr_play_say.c:1933 done playing file local_stream://moh
  524. 2021-04-05 15:34:07.771725 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/2007@testfuse.techfuse.co.za]
  525. 2021-04-05 15:34:07.771725 [DEBUG] switch_channel.c:2112 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change HELD -> UNHELD
  526. 2021-04-05 15:34:07.771725 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/2007@testfuse.techfuse.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  527. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:654 (sofia/default/2007@testfuse.techfuse.co.za) State EXCHANGE_MEDIA going to sleep
  528. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_HANGUP (Cur 2 Tot 8852)
  529. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:848 (sofia/default/2007@testfuse.techfuse.co.za) Callstate Change UNHELD -> HANGUP
  530. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2007@testfuse.techfuse.co.za) State HANGUP
  531. 2021-04-05 15:34:07.771725 [DEBUG] mod_sofia.c:453 Channel sofia/default/2007@testfuse.techfuse.co.za hanging up, cause: NORMAL_CLEARING
  532. 2021-04-05 15:34:07.771725 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/2007@testfuse.techfuse.co.za
  533. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:60 sofia/default/2007@testfuse.techfuse.co.za Standard HANGUP, cause: NORMAL_CLEARING
  534. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2007@testfuse.techfuse.co.za) State HANGUP going to sleep
  535. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:620 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_HANGUP -> CS_REPORTING
  536. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_REPORTING (Cur 2 Tot 8852)
  537. 2021-04-05 15:34:07.771725 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2007@testfuse.techfuse.co.za) State REPORTING
  538. 2021-04-05 15:34:07.771725 [INFO] mod_json_cdr.c:271 Process [d5daabe5-095f-44f3-ba5e-aedcb23e537a.cdr.json]
  539. 2021-04-05 15:34:07.791788 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/0645339450@154.118.252.35]
  540. 2021-04-05 15:34:07.791788 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/2007@testfuse.techfuse.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  541. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE going to sleep
  542. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_ROUTING (Cur 2 Tot 8852)
  543. 2021-04-05 15:34:07.791788 [DEBUG] switch_channel.c:2332 (sofia/default/0645339450@154.118.252.35) Callstate Change ACTIVE -> RINGING
  544. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING
  545. 2021-04-05 15:34:07.791788 [DEBUG] mod_sofia.c:154 sofia/default/0645339450@154.118.252.35 SOFIA ROUTING
  546. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:236 sofia/default/0645339450@154.118.252.35 Standard ROUTING
  547. 2021-04-05 15:34:07.791788 [INFO] mod_dialplan_xml.c:637 Processing +27645339450 <0645339450>->2002 in context default
  548. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:174 sofia/default/2007@testfuse.techfuse.co.za Standard REPORTING, cause: NORMAL_CLEARING
  549. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2007@testfuse.techfuse.co.za) State REPORTING going to sleep
  550. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:611 (sofia/default/2007@testfuse.techfuse.co.za) State Change CS_REPORTING -> CS_DESTROY
  551. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_session.c:1726 Session 8852 (sofia/default/2007@testfuse.techfuse.co.za) Locked, Waiting on external entities
  552. 2021-04-05 15:34:07.791788 [NOTICE] switch_core_session.c:1744 Session 8852 (sofia/default/2007@testfuse.techfuse.co.za) Ended
  553. 2021-04-05 15:34:07.791788 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/2007@testfuse.techfuse.co.za [CS_DESTROY]
  554. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:739 (sofia/default/2007@testfuse.techfuse.co.za) Running State Change CS_DESTROY (Cur 1 Tot 8852)
  555. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2007@testfuse.techfuse.co.za) State DESTROY
  556. 2021-04-05 15:34:07.791788 [DEBUG] mod_sofia.c:364 sofia/default/2007@testfuse.techfuse.co.za SOFIA DESTROY
  557. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:181 sofia/default/2007@testfuse.techfuse.co.za Standard DESTROY
  558. 2021-04-05 15:34:07.791788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2007@testfuse.techfuse.co.za) State DESTROY going to sleep
  559. 2021-04-05 15:34:07.791788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  560. 2021-04-05 15:34:07.791788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  561. 2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  562. 2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] hunt_destination_number: 2002
  563. 2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  564. 2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  565. 2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Cod..transfer_blind_value*2
  566. 2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Code blind_value_two_digit*2
  567. 2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Code destination_number_two_digit20
  568. 2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Feature Code transfer_attended_two_digit*3
  569. 2021-04-05 15:34:07.811725 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 2002
  570. 2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '2002' limit 1
  571. 2021-04-05 15:34:07.811725 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2002' AND status=0 limit 1
  572. 2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '2002' and status=0 LIMIT 1
  573. 2021-04-05 15:34:07.831717 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
  574. 2021-04-05 15:34:07.831717 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 0645339450 / <null>
  575. 2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [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 ="2002" LIMIT 1
  576. 2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2002"  AND domains.domain="testfuse.techfuse.co.za" limit 1
  577. 2021-04-05 15:34:07.831717 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : local
  578. 2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("169.255.3.52") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "310012002"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  579. 2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :31001/*.....310012002
  580. 2021-04-05 15:34:07.831717 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 310012002
  581. 2021-04-05 15:34:07.831717 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 2002
  582. 2021-04-05 15:34:07.831717 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9446295420]
  583. 2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =2002
  584. 2021-04-05 15:34:07.831717 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9446295420" AND deleted = 0 limit 1
  585. 2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [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 ="2002" AND A.accountid = '11' limit 1
  586. 2021-04-05 15:34:07.851752 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2002
  587. 2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [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 ="2002" LIMIT 1
  588. 2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2002"  AND domains.domain="testfuse.techfuse.co.za" limit 1
  589. 2021-04-05 15:34:07.851752 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : local
  590. 2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2002" AND (accountid = 0 OR status = 1) LIMIT 1
  591. 2021-04-05 15:34:07.851752 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 7
  592. 2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 7 AND status=0 limit 1
  593. 2021-04-05 15:34:07.851752 [DEBUG] switch_cpp.cpp:1447 [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 = '^2002.*' OR patterns = '^200.*' OR patterns = '^20.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  594. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '2002' OR number = '200' OR number = '20' OR number = '2' OR number ='--') OR (number = '2002*' OR number = '200*' OR number = '20*' OR number = '2*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  595. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  596. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2002' OR routing_prefix = '200' OR routing_prefix = '20' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  597. 2021-04-05 15:34:07.871728 [WARNING] switch_cpp.cpp:1447 [ASTPP] [Functions] [DOAUTHORIZATION] [9446295420] LOCAL CALL IS DISABLE....!!
  598. 2021-04-05 15:34:07.871728 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] Get Destination Number (2002)!!!!
  599. 2021-04-05 15:34:07.871728 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [PORTED_NUMBER] After append Ported Number:::: (2002)!!!!
  600. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  601. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 11
  602. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9446295420
  603. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 1680.36
  604. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  605. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 5
  606. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  607. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  608. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  609. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  610. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  611. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2002.*' OR pattern = '^200.*' OR pattern = '^20.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=11)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  612. 2021-04-05 15:34:07.871728 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound
  613. 2021-04-05 15:34:07.871728 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Rates not found!!!
  614. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] post_cdrs:::0
  615. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 11
  616. 2021-04-05 15:34:07.871728 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
  617. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  618. <document type="freeswitch/xml">
  619. <section name="dialplan" description="ASTPP Dialplan">
  620. <context name="default">
  621. <extension name="2002">
  622. <condition field="destination_number" expression="2002">
  623. <action application="log" data="WARNING Accountcode . Dialed number (2002)  origination rates not found!!"/>
  624. <action application="set" data="original_caller_id_name=0645339450"/>
  625. <action application="set" data="error_cdr=1"/>
  626. <action application="set" data="callstart=2021-04-05 13:34:07"/>
  627. <action application="set" data="account_id=11"/>
  628. <action application="set" data="parent_id=0"/>
  629. <action application="set" data="call_direction=outbound"/>
  630. <action application="set" data="sip_ignore_remote_cause=true"/>
  631. <action application="set" data="call_processed=internal"/>
  632. <action application="set" data="effective_destination_number=2002"/>
  633. <action application="set" data="last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND"/>
  634. <action application="hangup" data="ORIGNATION_RATE_NOT_FOUND"/>
  635. </condition>
  636. </extension>
  637. </context>
  638. </section>
  639. </document>
  640. Dialplan: sofia/default/0645339450@154.118.252.35 parsing [default->2002] continue=false
  641. Dialplan: sofia/default/0645339450@154.118.252.35 Regex (PASS) [2002] destination_number(2002) =~ /2002/ break=on-false
  642. Dialplan: sofia/default/0645339450@154.118.252.35 Action log(WARNING Accountcode . Dialed number (2002)  origination rates not found!!)
  643. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(original_caller_id_name=0645339450)
  644. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(error_cdr=1)
  645. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(callstart=2021-04-05 13:34:07)
  646. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(account_id=11)
  647. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(parent_id=0)
  648. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_direction=outbound)
  649. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(sip_ignore_remote_cause=true)
  650. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(call_processed=internal)
  651. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(effective_destination_number=2002)
  652. Dialplan: sofia/default/0645339450@154.118.252.35 Action set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
  653. Dialplan: sofia/default/0645339450@154.118.252.35 Action hangup(ORIGNATION_RATE_NOT_FOUND)
  654. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:287 (sofia/default/0645339450@154.118.252.35) State Change CS_ROUTING -> CS_EXECUTE
  655. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0645339450@154.118.252.35) State ROUTING going to sleep
  656. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_EXECUTE (Cur 1 Tot 8852)
  657. 2021-04-05 15:34:07.891728 [DEBUG] switch_channel.c:2334 (sofia/default/0645339450@154.118.252.35) Callstate Change RINGING -> ACTIVE
  658. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE
  659. 2021-04-05 15:34:07.891728 [DEBUG] mod_sofia.c:209 sofia/default/0645339450@154.118.252.35 SOFIA EXECUTE
  660. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:329 sofia/default/0645339450@154.118.252.35 Standard EXECUTE
  661. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 log(WARNING Accountcode . Dialed number (2002)  origination rates not found!!)
  662. 2021-04-05 15:34:07.891728 [WARNING] mod_dptools.c:1866 Accountcode . Dialed number (2002)  origination rates not found!!
  663. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(original_caller_id_name=0645339450)
  664. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [original_caller_id_name]=[0645339450]
  665. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(error_cdr=1)
  666. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [error_cdr]=[1]
  667. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(callstart=2021-04-05 13:34:07)
  668. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [callstart]=[2021-04-05 13:34:07]
  669. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(account_id=11)
  670. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [account_id]=[11]
  671. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(parent_id=0)
  672. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [parent_id]=[0]
  673. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_direction=outbound)
  674. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_direction]=[outbound]
  675. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(sip_ignore_remote_cause=true)
  676. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [sip_ignore_remote_cause]=[true]
  677. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(call_processed=internal)
  678. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [call_processed]=[internal]
  679. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(effective_destination_number=2002)
  680. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [effective_destination_number]=[2002]
  681. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
  682. 2021-04-05 15:34:07.891728 [DEBUG] mod_dptools.c:1672 SET sofia/default/0645339450@154.118.252.35 [last_bridge_hangup_cause]=[ORIGNATION_RATE_NOT_FOUND]
  683. EXECUTE [depth=0] sofia/default/0645339450@154.118.252.35 hangup(ORIGNATION_RATE_NOT_FOUND)
  684. 2021-04-05 15:34:07.891728 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/0645339450@154.118.252.35 [CS_EXECUTE] [NORMAL_CLEARING]
  685. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_session.c:2905 sofia/default/0645339450@154.118.252.35 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  686. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:651 (sofia/default/0645339450@154.118.252.35) State EXECUTE going to sleep
  687. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_HANGUP (Cur 1 Tot 8852)
  688. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0645339450@154.118.252.35) Callstate Change ACTIVE -> HANGUP
  689. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0645339450@154.118.252.35) State HANGUP
  690. 2021-04-05 15:34:07.891728 [DEBUG] mod_sofia.c:453 Channel sofia/default/0645339450@154.118.252.35 hanging up, cause: NORMAL_CLEARING
  691. 2021-04-05 15:34:07.891728 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/0645339450@154.118.252.35
  692. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:60 sofia/default/0645339450@154.118.252.35 Standard HANGUP, cause: NORMAL_CLEARING
  693. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0645339450@154.118.252.35) State HANGUP going to sleep
  694. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0645339450@154.118.252.35) State Change CS_HANGUP -> CS_REPORTING
  695. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0645339450@154.118.252.35) Running State Change CS_REPORTING (Cur 1 Tot 8852)
  696. 2021-04-05 15:34:07.891728 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0645339450@154.118.252.35) State REPORTING
  697. 2021-04-05 15:34:07.891728 [INFO] mod_json_cdr.c:271 Process [a9f7a9ab-1909-46c5-9e9d-cd98544d95a5.cdr.json]
  698. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:174 sofia/default/0645339450@154.118.252.35 Standard REPORTING, cause: NORMAL_CLEARING
  699. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0645339450@154.118.252.35) State REPORTING going to sleep
  700. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0645339450@154.118.252.35) State Change CS_REPORTING -> CS_DESTROY
  701. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_session.c:1726 Session 8851 (sofia/default/0645339450@154.118.252.35) Locked, Waiting on external entities
  702. 2021-04-05 15:34:07.911746 [NOTICE] switch_core_session.c:1744 Session 8851 (sofia/default/0645339450@154.118.252.35) Ended
  703. 2021-04-05 15:34:07.911746 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/0645339450@154.118.252.35 [CS_DESTROY]
  704. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0645339450@154.118.252.35) Running State Change CS_DESTROY (Cur 0 Tot 8852)
  705. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0645339450@154.118.252.35) State DESTROY
  706. 2021-04-05 15:34:07.911746 [DEBUG] mod_sofia.c:364 sofia/default/0645339450@154.118.252.35 SOFIA DESTROY
  707. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:181 sofia/default/0645339450@154.118.252.35 Standard DESTROY
  708. 2021-04-05 15:34:07.911746 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0645339450@154.118.252.35) State DESTROY going to sleep
  709. 2021-04-05 15:34:08.191735 [DEBUG] switch_scheduler.c:147 Deleting task 2177 switch_ivr_schedule_hangup (d5daabe5-095f-44f3-ba5e-aedcb23e537a)
  710.