From nnn, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and nn
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-02-15 18:29:23.674601 [NOTICE] switch_channel.c:1118 New Channel sofia/default/07943550553@87.238.73.159 [e5ca7a50-efb7-49ba-ab45-65d1722a4357]
  2. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_NEW (Cur 1 Tot 43938)
  3. 2021-02-15 18:29:23.674601 [DEBUG] sofia.c:10280 sofia/default/07943550553@87.238.73.159 receiving invite from 87.238.72.130:5060 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2021-02-15 18:29:23.674601 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 87.238.72.130:0.
  5. 2021-02-15 18:29:23.674601 [DEBUG] sofia.c:10403 IP 87.238.72.130 Approved by acl "default[]". Access Granted.
  6. 2021-02-15 18:29:23.674601 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.159 entering state [received][100]
  7. 2021-02-15 18:29:23.674601 [DEBUG] sofia.c:7336 Remote SDP:
  8. v=0
  9. o=- 5 1 IN IP4 213.166.4.161
  10. s=-
  11. c=IN IP4 213.166.4.161
  12. t=0 0
  13. m=audio 26752 RTP/AVP 8 0 3 18 4 101
  14. a=rtpmap:18 G729/8000
  15. a=fmtp:18 annexb=no
  16. a=fmtp:4 bitrate=5.3;annexa=yes
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19.  
  20. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  21. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  22. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  23. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  26. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  29. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  30. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMA:8:8000:20:64000:1]
  31. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMU:0:8000:20:64000:1]
  32. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  33. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/07943550553@87.238.73.159 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  34. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_codec.c:111 sofia/default/07943550553@87.238.73.159 Original read codec set to PCMA:8
  35. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  36. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5911 sofia/default/07943550553@87.238.73.159 Set 2833 dtmf send payload to 101 recv payload to 101
  37. 2021-02-15 18:29:23.674601 [DEBUG] sofia.c:7760 (sofia/default/07943550553@87.238.73.159) State Change CS_NEW -> CS_INIT
  38. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:604 (sofia/default/07943550553@87.238.73.159) State NEW
  39. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_INIT (Cur 1 Tot 43938)
  40. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.159) State INIT
  41. 2021-02-15 18:29:23.674601 [DEBUG] mod_sofia.c:93 sofia/default/07943550553@87.238.73.159 SOFIA INIT
  42. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:40 sofia/default/07943550553@87.238.73.159 Standard INIT
  43. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:48 (sofia/default/07943550553@87.238.73.159) State Change CS_INIT -> CS_ROUTING
  44. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.159) State INIT going to sleep
  45. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_ROUTING (Cur 1 Tot 43938)
  46. 2021-02-15 18:29:23.674601 [DEBUG] switch_channel.c:2332 (sofia/default/07943550553@87.238.73.159) Callstate Change DOWN -> RINGING
  47. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.159) State ROUTING
  48. 2021-02-15 18:29:23.674601 [DEBUG] mod_sofia.c:154 sofia/default/07943550553@87.238.73.159 SOFIA ROUTING
  49. 2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:236 sofia/default/07943550553@87.238.73.159 Standard ROUTING
  50. 2021-02-15 18:29:23.674601 [INFO] mod_dialplan_xml.c:637 Processing 07943550553 <07943550553>->03333059910 in context default
  51. 2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  52. 2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2021-02-15 18:29:23.694542 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  54. 2021-02-15 18:29:23.694542 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 03333059910
  55. 2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '03333059910' limit 1
  56. 2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '03333059910' AND status=0 limit 1
  57. 2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '03333059910' and status=0 LIMIT 1
  58. 2021-02-15 18:29:23.694542 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
  59. 2021-02-15 18:29:23.694542 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 07943550553 / 07943550553
  60. 2021-02-15 18:29:23.694542 [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 ="03333059910" LIMIT 1
  61. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
  62. 2021-02-15 18:29:23.714531 [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("87.238.72.130") 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 "03333059910"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  63. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3673942894]
  64. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  65. 2021-02-15 18:29:23.714531 [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 ="03333059910" AND A.accountid = '3' limit 1
  66. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 03333059910
  67. 2021-02-15 18:29:23.714531 [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 ="03333059910" LIMIT 1
  68. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
  69. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="03333059910" AND (accountid = 0 OR status = 1) LIMIT 1
  70. 2021-02-15 18:29:23.714531 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  71. 2021-02-15 18:29:23.714531 [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 = 1 AND status=0 limit 1
  72. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  73. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :84
  74. 2021-02-15 18:29:23.714531 [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 = '^03333059910.*' OR patterns = '^0333305991.*' OR patterns = '^033330599.*' OR patterns = '^03333059.*' OR patterns = '^0333305.*' OR patterns = '^033330.*' OR patterns = '^03333.*' OR patterns = '^0333.*' OR patterns = '^033.*' OR patterns = '^03.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 84 ORDER BY LENGTH(PKGPTR.patterns) DESC
  75. 2021-02-15 18:29:23.714531 [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 = '03333059910' OR number = '0333305991' OR number = '033330599' OR number = '03333059' OR number = '0333305' OR number = '033330' OR number = '03333' OR number = '0333' OR number = '033' OR number = '03' OR number = '0' OR number ='--') OR (number = '03333059910*' OR number = '0333305991*' OR number = '033330599*' OR number = '03333059*' OR number = '0333305*' OR number = '033330*' OR number = '03333*' OR number = '0333*' OR number = '033*' OR number = '03*' OR number = '0*' OR number ='--') OR (number = '07943550553' OR number = '0794355055' OR number = '079435505' OR number = '07943550' OR number = '0794355' OR number = '079435' OR number = '07943' OR number = '0794' OR number = '079' OR number = '07' OR number = '0' OR number ='--') OR (number = '07943550553*' OR number = '0794355055*' OR number = '079435505*' OR number = '07943550*' OR number = '0794355*' OR number = '079435*' OR number = '07943*' OR number = '0794*' OR number = '079*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  76. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  77. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '03333059910' OR routing_prefix = '0333305991' OR routing_prefix = '033330599' OR routing_prefix = '03333059' OR routing_prefix = '0333305' OR routing_prefix = '033330' OR routing_prefix = '03333' OR routing_prefix = '0333' OR routing_prefix = '033' OR routing_prefix = '03' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  78. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  79. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 3
  80. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3673942894
  81. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
  82. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  83. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3
  84. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  85. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  86. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  87. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  88. 2021-02-15 18:29:23.714531 [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 ="03333059910" LIMIT 1
  89. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
  90. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  91. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1042
  92. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  93. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  94. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  95. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 03333059910
  96. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 200
  97. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 3
  98. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  99. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  100. 2021-02-15 18:29:23.714531 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  101. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  102. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  103. 2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  104. 2021-02-15 18:29:23.714531 [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 = 3 AND status=0 LIMIT 1
  105. 2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "84" AND deleted = 0 limit 1
  106. 2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  107. 2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:3
  108. 2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  109. 2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
  110. 2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
  111. 2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  112. 2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound
  113. 2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
  114. 2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
  115. 2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
  116. 2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
  117. 2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
  118. 2021-02-15 18:29:23.734552 [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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
  119. 2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
  120. 2021-02-15 18:29:23.734552 [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
  121. 2021-02-15 18:29:23.734552 [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
  122. 2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain beforeDont66.appcaption.com
  123. 2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] pickup_group_permission pickup_str
  124. 2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  125. 2021-02-15 18:29:23.734552 [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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
  126. 2021-02-15 18:29:23.754537 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
  127. 2021-02-15 18:29:23.754537 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  128. <document type="freeswitch/xml">
  129. <section name="dialplan" description="ASTPP Dialplan">
  130. <context name="default">
  131. <extension name="03333059910">
  132. <condition field="destination_number" expression="03333059910">
  133. <action application="set" data="effective_destination_number=03333059910"/>
  134. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  135. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  136. <action application="set" data="callstart=2021-02-15 18:29:23"/>
  137. <action application="set" data="hangup_after_bridge=true"/>
  138. <action application="set" data="continue_on_fail=TRUE"/>
  139. <action application="set" data="account_id=3"/>
  140. <action application="set" data="parent_id=0"/>
  141. <action application="set" data="entity_id=3"/>
  142. <action application="set" data="call_processed=internal"/>
  143. <action application="set" data="call_direction=inbound"/>
  144. <action application="set" data="accountname=Magrathea_IP_2"/>
  145. <action application="set" data="filename1=astpp.pbx.lua"/>
  146. <action application="set" data="origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84"/>
  147. <action application="set" data="origination_rates=0"/>
  148. <action application="set" data="original_caller_id_name=07943550553"/>
  149. <action application="set" data="original_caller_id_number=07943550553"/>
  150. <action application="limit" data="db 84 user_84 1000 !SWITCH_CONGESTION"/>
  151. <action application="set" data="effective_caller_id_name=07943550553"/>
  152. <action application="set" data="effective_caller_id_number=07943550553"/>
  153. <action application="set" data="receiver_accid=84"/>
  154. <action application="limit" data="db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION"/>
  155. <action application="export" data="presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID"/>
  156. <action application="export" data="call_type=0"/>
  157. <action application="set" data="calltype=DID-LOCAL"/>
  158. <action application="db" data="insert/pickup_any_group_${callgroup}/8389988158/${uuid}"/>
  159. <action application="set" data="dialed_extension=transfer_call"/>
  160. <action application="export" data="dialed_extension=transfer_call"/>
  161. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  162. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  163. <action application="set" data="hangup_after_bridge=true"/>
  164. <action application="export" data="did_user_domain=Dont66.appcaption.com"/>
  165. <action application="bridge" data="[leg_timeout=180]user/8389988158@Dont66.appcaption.com"/>
  166. <action application="set" data="on_busy_flag=1"/>
  167. <action application="set" data="on_busy_destination="/>
  168. <action application="set" data="no_answer_flag=1"/>
  169. <action application="set" data="no_answer_destination="/>
  170. <action application="set" data="not_register_flag=1"/>
  171. <action application="set" data="not_register_destination="/>
  172. <action application="set" data="opensips_flag=1"/>
  173. <action application="set" data="variable_sip_to_host=Dont66.appcaption.com"/>
  174. <action application="set" data="opensips_domain=127.0.0.1"/>
  175. <action application="set" data="leg_timeout=180"/>
  176. <action application="set" data="userinfo_id=84"/>
  177. <action application="set" data="sip_destination_number=8389988158"/>
  178. <action application="set" data="destination_number=03333059910"/>
  179. <action application="set" data="did_number=03333059910"/>
  180. <action application="set" data="user_domain=Dont66.appcaption.com"/>
  181. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  182. <condition field="${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  183. <action application="answer"/>
  184. <action application="export" data="voicemail_alternate_greet_id=03333059910"/>
  185. <action application="voicemail" data="default $${domain_name} 8389988158"/>
  186. <anti-action application="hangup" data="${originate_disposition}"/>
  187. </condition>
  188. </condition>
  189. </extension>
  190. </context>
  191. </section>
  192. </document>
  193. Dialplan: sofia/default/07943550553@87.238.73.159 parsing [default->03333059910] continue=false
  194. Dialplan: sofia/default/07943550553@87.238.73.159 Regex (PASS) [03333059910] destination_number(03333059910) =~ /03333059910/ break=on-false
  195. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(effective_destination_number=03333059910)
  196. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  197. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  198. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(callstart=2021-02-15 18:29:23)
  199. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(hangup_after_bridge=true)
  200. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(continue_on_fail=TRUE)
  201. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(account_id=3)
  202. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(parent_id=0)
  203. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(entity_id=3)
  204. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(call_processed=internal)
  205. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(call_direction=inbound)
  206. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(accountname=Magrathea_IP_2)
  207. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(filename1=astpp.pbx.lua)
  208. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
  209. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(origination_rates=0)
  210. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(original_caller_id_name=07943550553)
  211. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(original_caller_id_number=07943550553)
  212. Dialplan: sofia/default/07943550553@87.238.73.159 Action limit(db 84 user_84 1000 !SWITCH_CONGESTION)
  213. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(effective_caller_id_name=07943550553)
  214. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(effective_caller_id_number=07943550553)
  215. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(receiver_accid=84)
  216. Dialplan: sofia/default/07943550553@87.238.73.159 Action limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
  217. Dialplan: sofia/default/07943550553@87.238.73.159 Action export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
  218. Dialplan: sofia/default/07943550553@87.238.73.159 Action export(call_type=0)
  219. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(calltype=DID-LOCAL)
  220. Dialplan: sofia/default/07943550553@87.238.73.159 Action db(insert/pickup_any_group_${callgroup}/8389988158/${uuid})
  221. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(dialed_extension=transfer_call)
  222. Dialplan: sofia/default/07943550553@87.238.73.159 Action export(dialed_extension=transfer_call)
  223. Dialplan: sofia/default/07943550553@87.238.73.159 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  224. Dialplan: sofia/default/07943550553@87.238.73.159 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  225. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(hangup_after_bridge=true)
  226. Dialplan: sofia/default/07943550553@87.238.73.159 Action export(did_user_domain=Dont66.appcaption.com)
  227. Dialplan: sofia/default/07943550553@87.238.73.159 Action bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
  228. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(on_busy_flag=1)
  229. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(on_busy_destination=)
  230. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(no_answer_flag=1)
  231. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(no_answer_destination=)
  232. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(not_register_flag=1)
  233. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(not_register_destination=)
  234. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(opensips_flag=1)
  235. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(variable_sip_to_host=Dont66.appcaption.com)
  236. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(opensips_domain=127.0.0.1)
  237. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(leg_timeout=180)
  238. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(userinfo_id=84)
  239. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(sip_destination_number=8389988158)
  240. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(destination_number=03333059910)
  241. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(did_number=03333059910)
  242. Dialplan: sofia/default/07943550553@87.238.73.159 Action set(user_domain=Dont66.appcaption.com)
  243. Dialplan: sofia/default/07943550553@87.238.73.159 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  244. |--- Dialplan: Processing recursive conditions level:1 [03333059910_recur_1] require-nested=TRUE
  245. |--- Dialplan: sofia/default/07943550553@87.238.73.159 Regex (FAIL) [03333059910_recur_1] ${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  246. |--- Dialplan: sofia/default/07943550553@87.238.73.159 ANTI-Action hangup(${originate_disposition})
  247. 2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:287 (sofia/default/07943550553@87.238.73.159) State Change CS_ROUTING -> CS_EXECUTE
  248. 2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.159) State ROUTING going to sleep
  249. 2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_EXECUTE (Cur 1 Tot 43938)
  250. 2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.159) State EXECUTE
  251. 2021-02-15 18:29:23.774526 [DEBUG] mod_sofia.c:209 sofia/default/07943550553@87.238.73.159 SOFIA EXECUTE
  252. 2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:329 sofia/default/07943550553@87.238.73.159 Standard EXECUTE
  253. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(effective_destination_number=03333059910)
  254. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [effective_destination_number]=[03333059910]
  255. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(bridge_pre_execute_bleg_app=sched_hangup)
  256. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [bridge_pre_execute_bleg_app]=[sched_hangup]
  257. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  258. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  259. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(callstart=2021-02-15 18:29:23)
  260. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [callstart]=[2021-02-15 18:29:23]
  261. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(hangup_after_bridge=true)
  262. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [hangup_after_bridge]=[true]
  263. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(continue_on_fail=TRUE)
  264. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [continue_on_fail]=[TRUE]
  265. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(account_id=3)
  266. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [account_id]=[3]
  267. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(parent_id=0)
  268. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [parent_id]=[0]
  269. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(entity_id=3)
  270. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [entity_id]=[3]
  271. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(call_processed=internal)
  272. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [call_processed]=[internal]
  273. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(call_direction=inbound)
  274. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [call_direction]=[inbound]
  275. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(accountname=Magrathea_IP_2)
  276. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [accountname]=[Magrathea_IP_2]
  277. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(filename1=astpp.pbx.lua)
  278. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [filename1]=[astpp.pbx.lua]
  279. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
  280. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [origination_rates_did]=[ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84]
  281. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(origination_rates=0)
  282. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [origination_rates]=[0]
  283. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(original_caller_id_name=07943550553)
  284. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [original_caller_id_name]=[07943550553]
  285. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(original_caller_id_number=07943550553)
  286. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [original_caller_id_number]=[07943550553]
  287. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 limit(db 84 user_84 1000 !SWITCH_CONGESTION)
  288. 2021-02-15 18:29:23.774526 [DEBUG] switch_limit.c:124 incr called: 84_user_84 max:1000, interval:0
  289. 2021-02-15 18:29:23.774526 [DEBUG] mod_db.c:194 Usage for 84_user_84 is now 1/1000
  290. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(effective_caller_id_name=07943550553)
  291. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [effective_caller_id_name]=[07943550553]
  292. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(effective_caller_id_number=07943550553)
  293. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [effective_caller_id_number]=[07943550553]
  294. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(receiver_accid=84)
  295. 2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [receiver_accid]=[84]
  296. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
  297. 2021-02-15 18:29:23.794529 [DEBUG] switch_limit.c:124 incr called: 03333059910_did_03333059910 max:1000, interval:0
  298. 2021-02-15 18:29:23.794529 [DEBUG] mod_db.c:194 Usage for 03333059910_did_03333059910 is now 1/1000
  299. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
  300. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID]
  301. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(call_type=0)
  302. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  303. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(calltype=DID-LOCAL)
  304. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [calltype]=[DID-LOCAL]
  305. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 db(insert/pickup_any_group_/8389988158/e5ca7a50-efb7-49ba-ab45-65d1722a4357)
  306. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(dialed_extension=transfer_call)
  307. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [dialed_extension]=[transfer_call]
  308. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(dialed_extension=transfer_call)
  309. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  310. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  311. 2021-02-15 18:29:23.794529 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  312. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  313. 2021-02-15 18:29:23.794529 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  314. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(hangup_after_bridge=true)
  315. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [hangup_after_bridge]=[true]
  316. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(did_user_domain=Dont66.appcaption.com)
  317. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[Dont66.appcaption.com]
  318. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
  319. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
  320. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [call_type]=[0] to event
  321. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  322. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
  323. 2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  324. 2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  325. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
  326. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [call_type]=[0] to event
  327. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  328. 2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
  329. 2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  330. 2021-02-15 18:29:23.794529 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  331. 2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  332. 2021-02-15 18:29:23.794529 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  333. 2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  334. 2021-02-15 18:29:23.794529 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: USER_NOT_REGISTERED
  335. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(on_busy_flag=1)
  336. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [on_busy_flag]=[1]
  337. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(on_busy_destination=)
  338. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [on_busy_destination]=[UNDEF]
  339. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(no_answer_flag=1)
  340. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [no_answer_flag]=[1]
  341. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(no_answer_destination=)
  342. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [no_answer_destination]=[UNDEF]
  343. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(not_register_flag=1)
  344. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [not_register_flag]=[1]
  345. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(not_register_destination=)
  346. 2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [not_register_destination]=[UNDEF]
  347. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(opensips_flag=1)
  348. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [opensips_flag]=[1]
  349. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(variable_sip_to_host=Dont66.appcaption.com)
  350. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [variable_sip_to_host]=[Dont66.appcaption.com]
  351. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(opensips_domain=127.0.0.1)
  352. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [opensips_domain]=[127.0.0.1]
  353. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(leg_timeout=180)
  354. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [leg_timeout]=[180]
  355. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(userinfo_id=84)
  356. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [userinfo_id]=[84]
  357. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(sip_destination_number=8389988158)
  358. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [sip_destination_number]=[8389988158]
  359. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(destination_number=03333059910)
  360. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [destination_number]=[03333059910]
  361. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(did_number=03333059910)
  362. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [did_number]=[03333059910]
  363. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(user_domain=Dont66.appcaption.com)
  364. 2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [user_domain]=[Dont66.appcaption.com]
  365. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  366. 2021-02-15 18:29:23.814537 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] This is last dispositions USER_NOT_REGISTERED This is SIP Number : 8389988158
  367. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 answer()
  368. 2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/07943550553@87.238.73.159] 172.31.7.52 port 30258 -> 213.166.4.161 port 26752 codec: 8 ms: 20
  369. 2021-02-15 18:29:23.814537 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  370. 2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:8977 sofia/default/07943550553@87.238.73.159 Set 2833 dtmf send payload to 101
  371. 2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:8984 sofia/default/07943550553@87.238.73.159 Set 2833 dtmf receive payload to 101
  372. 2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:9007 sofia/default/07943550553@87.238.73.159 Set rtp dtmf delay to 40
  373. 2021-02-15 18:29:23.814537 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/07943550553@87.238.73.159:
  374. v=0
  375. o=FreeSWITCH 1613383505 1613383506 IN IP4 35.176.176.116
  376. s=FreeSWITCH
  377. c=IN IP4 35.176.176.116
  378. t=0 0
  379. m=audio 30258 RTP/AVP 8 101
  380. a=rtpmap:8 PCMA/8000
  381. a=rtpmap:101 telephone-event/8000
  382. a=fmtp:101 0-16
  383. a=ptime:20
  384. a=sendrecv
  385.  
  386. 2021-02-15 18:29:23.814537 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/07943550553@87.238.73.159] has been answered
  387. 2021-02-15 18:29:23.814537 [DEBUG] switch_channel.c:3865 (sofia/default/07943550553@87.238.73.159) Callstate Change RINGING -> ACTIVE
  388. 2021-02-15 18:29:23.814537 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.159 entering state [completed][200]
  389. 2021-02-15 18:29:23.814537 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] dialed_user for voicemail::: 8389988158
  390. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 voicemail(default Dont66.appcaption.com 8389988158)
  391. 2021-02-15 18:29:23.814537 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.159 entering state [ready][200]
  392. 2021-02-15 18:29:23.914585 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  393. 2021-02-15 18:29:23.934542 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  394. 2021-02-15 18:29:23.934542 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  395. 2021-02-15 18:29:23.954528 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  396. 2021-02-15 18:29:25.274557 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  397. 2021-02-15 18:29:25.374562 [DEBUG] switch_ivr_play_say.c:250 Handle say:[8389988158] (en:en)
  398. 2021-02-15 18:29:25.374562 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  399. 2021-02-15 18:29:29.574551 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/8.wav!digits/3.wav!digits/8.wav!digits/9.wav!digits/9.wav!digits/8.wav!digits/8.wav!digits/1.wav!digits/5.wav!digits/8.wav
  400. 2021-02-15 18:29:29.674586 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
  401. 2021-02-15 18:29:29.674586 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  402. 2021-02-15 18:29:30.654557 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
  403. 2021-02-15 18:29:30.754562 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  404. 2021-02-15 18:29:30.754562 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
  405. 2021-02-15 18:29:30.754562 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  406. 2021-02-15 18:29:32.234551 [NOTICE] sofia.c:1089 Hangup sofia/default/07943550553@87.238.73.159 [CS_EXECUTE] [NORMAL_CLEARING]
  407. 2021-02-15 18:29:32.234551 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
  408. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.159 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  409. 2021-02-15 18:29:32.234551 [DEBUG] switch_cpp.cpp:1191 sofia/default/07943550553@87.238.73.159 destroy/unlink session from object
  410. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.159 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  411. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.159) State EXECUTE going to sleep
  412. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_HANGUP (Cur 1 Tot 43938)
  413. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:848 (sofia/default/07943550553@87.238.73.159) Callstate Change ACTIVE -> HANGUP
  414. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.159) State HANGUP
  415. 2021-02-15 18:29:32.234551 [DEBUG] mod_sofia.c:453 Channel sofia/default/07943550553@87.238.73.159 hanging up, cause: NORMAL_CLEARING
  416. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:60 sofia/default/07943550553@87.238.73.159 Standard HANGUP, cause: NORMAL_CLEARING
  417. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.159) State HANGUP going to sleep
  418. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:620 (sofia/default/07943550553@87.238.73.159) State Change CS_HANGUP -> CS_REPORTING
  419. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_REPORTING (Cur 1 Tot 43938)
  420. 2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.159) State REPORTING
  421. 2021-02-15 18:29:32.234551 [INFO] mod_json_cdr.c:271 Process [e5ca7a50-efb7-49ba-ab45-65d1722a4357.cdr.json]
  422. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:174 sofia/default/07943550553@87.238.73.159 Standard REPORTING, cause: NORMAL_CLEARING
  423. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.159) State REPORTING going to sleep
  424. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:611 (sofia/default/07943550553@87.238.73.159) State Change CS_REPORTING -> CS_DESTROY
  425. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_session.c:1726 Session 43938 (sofia/default/07943550553@87.238.73.159) Locked, Waiting on external entities
  426. 2021-02-15 18:29:32.254563 [NOTICE] switch_core_session.c:1744 Session 43938 (sofia/default/07943550553@87.238.73.159) Ended
  427. 2021-02-15 18:29:32.254563 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/07943550553@87.238.73.159 [CS_DESTROY]
  428. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:739 (sofia/default/07943550553@87.238.73.159) Running State Change CS_DESTROY (Cur 0 Tot 43938)
  429. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.159) State DESTROY
  430. 2021-02-15 18:29:32.254563 [DEBUG] mod_sofia.c:364 sofia/default/07943550553@87.238.73.159 SOFIA DESTROY
  431. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:181 sofia/default/07943550553@87.238.73.159 Standard DESTROY
  432. 2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.159) State DESTROY going to sleep
  433. 2021-02-15 18:29:34.194567 [NOTICE] switch_channel.c:1118 New Channel sofia/default/07943550553@87.238.73.151 [c75a8bf0-ca34-4074-aa59-d3853566842b]
  434. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_NEW (Cur 1 Tot 43939)
  435. 2021-02-15 18:29:34.194567 [DEBUG] sofia.c:10280 sofia/default/07943550553@87.238.73.151 receiving invite from 87.238.72.130:5060 version: 1.10.5 -release-17-25569c1631 64bit
  436. 2021-02-15 18:29:34.194567 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 87.238.72.130:0.
  437. 2021-02-15 18:29:34.194567 [DEBUG] sofia.c:10403 IP 87.238.72.130 Approved by acl "default[]". Access Granted.
  438. 2021-02-15 18:29:34.194567 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.151 entering state [received][100]
  439. 2021-02-15 18:29:34.194567 [DEBUG] sofia.c:7336 Remote SDP:
  440. v=0
  441. o=- 5 1 IN IP4 213.166.4.163
  442. s=-
  443. c=IN IP4 213.166.4.163
  444. t=0 0
  445. m=audio 30228 RTP/AVP 8 0 3 18 4 101
  446. a=rtpmap:18 G729/8000
  447. a=fmtp:18 annexb=no
  448. a=fmtp:4 bitrate=5.3;annexa=yes
  449. a=rtpmap:101 telephone-event/8000
  450. a=fmtp:101 0-15
  451.  
  452. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  453. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  454. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  455. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  456. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  457. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  458. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  459. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  460. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  461. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  462. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMA:8:8000:20:64000:1]
  463. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMU:0:8000:20:64000:1]
  464. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  465. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/07943550553@87.238.73.151 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  466. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_codec.c:111 sofia/default/07943550553@87.238.73.151 Original read codec set to PCMA:8
  467. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  468. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5911 sofia/default/07943550553@87.238.73.151 Set 2833 dtmf send payload to 101 recv payload to 101
  469. 2021-02-15 18:29:34.194567 [DEBUG] sofia.c:7760 (sofia/default/07943550553@87.238.73.151) State Change CS_NEW -> CS_INIT
  470. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:604 (sofia/default/07943550553@87.238.73.151) State NEW
  471. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_INIT (Cur 1 Tot 43939)
  472. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.151) State INIT
  473. 2021-02-15 18:29:34.194567 [DEBUG] mod_sofia.c:93 sofia/default/07943550553@87.238.73.151 SOFIA INIT
  474. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:40 sofia/default/07943550553@87.238.73.151 Standard INIT
  475. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:48 (sofia/default/07943550553@87.238.73.151) State Change CS_INIT -> CS_ROUTING
  476. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.151) State INIT going to sleep
  477. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_ROUTING (Cur 1 Tot 43939)
  478. 2021-02-15 18:29:34.194567 [DEBUG] switch_channel.c:2332 (sofia/default/07943550553@87.238.73.151) Callstate Change DOWN -> RINGING
  479. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.151) State ROUTING
  480. 2021-02-15 18:29:34.194567 [DEBUG] mod_sofia.c:154 sofia/default/07943550553@87.238.73.151 SOFIA ROUTING
  481. 2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:236 sofia/default/07943550553@87.238.73.151 Standard ROUTING
  482. 2021-02-15 18:29:34.194567 [INFO] mod_dialplan_xml.c:637 Processing 07943550553 <07943550553>->03333059910 in context default
  483. 2021-02-15 18:29:34.214531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  484. 2021-02-15 18:29:34.214531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  485. 2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  486. 2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 03333059910
  487. 2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '03333059910' limit 1
  488. 2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '03333059910' AND status=0 limit 1
  489. 2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '03333059910' and status=0 LIMIT 1
  490. 2021-02-15 18:29:34.234535 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
  491. 2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 07943550553 / 07943550553
  492. 2021-02-15 18:29:34.234535 [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 ="03333059910" LIMIT 1
  493. 2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
  494. 2021-02-15 18:29:34.234535 [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("87.238.72.130") 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 "03333059910"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  495. 2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3673942894]
  496. 2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  497. 2021-02-15 18:29:34.234535 [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 ="03333059910" AND A.accountid = '3' limit 1
  498. 2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 03333059910
  499. 2021-02-15 18:29:34.234535 [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 ="03333059910" LIMIT 1
  500. 2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
  501. 2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="03333059910" AND (accountid = 0 OR status = 1) LIMIT 1
  502. 2021-02-15 18:29:34.234535 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  503. 2021-02-15 18:29:34.234535 [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 = 1 AND status=0 limit 1
  504. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  505. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :84
  506. 2021-02-15 18:29:34.254531 [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 = '^03333059910.*' OR patterns = '^0333305991.*' OR patterns = '^033330599.*' OR patterns = '^03333059.*' OR patterns = '^0333305.*' OR patterns = '^033330.*' OR patterns = '^03333.*' OR patterns = '^0333.*' OR patterns = '^033.*' OR patterns = '^03.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 84 ORDER BY LENGTH(PKGPTR.patterns) DESC
  507. 2021-02-15 18:29:34.254531 [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 = '03333059910' OR number = '0333305991' OR number = '033330599' OR number = '03333059' OR number = '0333305' OR number = '033330' OR number = '03333' OR number = '0333' OR number = '033' OR number = '03' OR number = '0' OR number ='--') OR (number = '03333059910*' OR number = '0333305991*' OR number = '033330599*' OR number = '03333059*' OR number = '0333305*' OR number = '033330*' OR number = '03333*' OR number = '0333*' OR number = '033*' OR number = '03*' OR number = '0*' OR number ='--') OR (number = '07943550553' OR number = '0794355055' OR number = '079435505' OR number = '07943550' OR number = '0794355' OR number = '079435' OR number = '07943' OR number = '0794' OR number = '079' OR number = '07' OR number = '0' OR number ='--') OR (number = '07943550553*' OR number = '0794355055*' OR number = '079435505*' OR number = '07943550*' OR number = '0794355*' OR number = '079435*' OR number = '07943*' OR number = '0794*' OR number = '079*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  508. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  509. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '03333059910' OR routing_prefix = '0333305991' OR routing_prefix = '033330599' OR routing_prefix = '03333059' OR routing_prefix = '0333305' OR routing_prefix = '033330' OR routing_prefix = '03333' OR routing_prefix = '0333' OR routing_prefix = '033' OR routing_prefix = '03' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  510. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  511. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 3
  512. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3673942894
  513. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
  514. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  515. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3
  516. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  517. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  518. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  519. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  520. 2021-02-15 18:29:34.254531 [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 ="03333059910" LIMIT 1
  521. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
  522. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  523. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1042
  524. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  525. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  526. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  527. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 03333059910
  528. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 200
  529. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 3
  530. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  531. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  532. 2021-02-15 18:29:34.254531 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  533. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  534. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  535. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  536. 2021-02-15 18:29:34.254531 [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 = 3 AND status=0 LIMIT 1
  537. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "84" AND deleted = 0 limit 1
  538. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  539. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:3
  540. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  541. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
  542. 2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
  543. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  544. 2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound
  545. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
  546. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
  547. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
  548. 2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
  549. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
  550. 2021-02-15 18:29:34.254531 [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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
  551. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
  552. 2021-02-15 18:29:34.254531 [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
  553. 2021-02-15 18:29:34.254531 [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
  554. 2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain beforeDont66.appcaption.com
  555. 2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] pickup_group_permission pickup_str
  556. 2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  557. 2021-02-15 18:29:34.254531 [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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
  558. 2021-02-15 18:29:34.274534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
  559. 2021-02-15 18:29:34.274534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  560. <document type="freeswitch/xml">
  561. <section name="dialplan" description="ASTPP Dialplan">
  562. <context name="default">
  563. <extension name="03333059910">
  564. <condition field="destination_number" expression="03333059910">
  565. <action application="set" data="effective_destination_number=03333059910"/>
  566. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  567. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  568. <action application="set" data="callstart=2021-02-15 18:29:34"/>
  569. <action application="set" data="hangup_after_bridge=true"/>
  570. <action application="set" data="continue_on_fail=TRUE"/>
  571. <action application="set" data="account_id=3"/>
  572. <action application="set" data="parent_id=0"/>
  573. <action application="set" data="entity_id=3"/>
  574. <action application="set" data="call_processed=internal"/>
  575. <action application="set" data="call_direction=inbound"/>
  576. <action application="set" data="accountname=Magrathea_IP_2"/>
  577. <action application="set" data="filename1=astpp.pbx.lua"/>
  578. <action application="set" data="origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84"/>
  579. <action application="set" data="origination_rates=0"/>
  580. <action application="set" data="original_caller_id_name=07943550553"/>
  581. <action application="set" data="original_caller_id_number=07943550553"/>
  582. <action application="limit" data="db 84 user_84 1000 !SWITCH_CONGESTION"/>
  583. <action application="set" data="effective_caller_id_name=07943550553"/>
  584. <action application="set" data="effective_caller_id_number=07943550553"/>
  585. <action application="set" data="receiver_accid=84"/>
  586. <action application="limit" data="db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION"/>
  587. <action application="export" data="presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID"/>
  588. <action application="export" data="call_type=0"/>
  589. <action application="set" data="calltype=DID-LOCAL"/>
  590. <action application="db" data="insert/pickup_any_group_${callgroup}/8389988158/${uuid}"/>
  591. <action application="set" data="dialed_extension=transfer_call"/>
  592. <action application="export" data="dialed_extension=transfer_call"/>
  593. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  594. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  595. <action application="set" data="hangup_after_bridge=true"/>
  596. <action application="export" data="did_user_domain=Dont66.appcaption.com"/>
  597. <action application="bridge" data="[leg_timeout=180]user/8389988158@Dont66.appcaption.com"/>
  598. <action application="set" data="on_busy_flag=1"/>
  599. <action application="set" data="on_busy_destination="/>
  600. <action application="set" data="no_answer_flag=1"/>
  601. <action application="set" data="no_answer_destination="/>
  602. <action application="set" data="not_register_flag=1"/>
  603. <action application="set" data="not_register_destination="/>
  604. <action application="set" data="opensips_flag=1"/>
  605. <action application="set" data="variable_sip_to_host=Dont66.appcaption.com"/>
  606. <action application="set" data="opensips_domain=127.0.0.1"/>
  607. <action application="set" data="leg_timeout=180"/>
  608. <action application="set" data="userinfo_id=84"/>
  609. <action application="set" data="sip_destination_number=8389988158"/>
  610. <action application="set" data="destination_number=03333059910"/>
  611. <action application="set" data="did_number=03333059910"/>
  612. <action application="set" data="user_domain=Dont66.appcaption.com"/>
  613. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  614. <condition field="${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  615. <action application="answer"/>
  616. <action application="export" data="voicemail_alternate_greet_id=03333059910"/>
  617. <action application="voicemail" data="default $${domain_name} 8389988158"/>
  618. <anti-action application="hangup" data="${originate_disposition}"/>
  619. </condition>
  620. </condition>
  621. </extension>
  622. </context>
  623. </section>
  624. </document>
  625. Dialplan: sofia/default/07943550553@87.238.73.151 parsing [default->03333059910] continue=false
  626. Dialplan: sofia/default/07943550553@87.238.73.151 Regex (PASS) [03333059910] destination_number(03333059910) =~ /03333059910/ break=on-false
  627. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(effective_destination_number=03333059910)
  628. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  629. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  630. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(callstart=2021-02-15 18:29:34)
  631. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(hangup_after_bridge=true)
  632. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(continue_on_fail=TRUE)
  633. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(account_id=3)
  634. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(parent_id=0)
  635. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(entity_id=3)
  636. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(call_processed=internal)
  637. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(call_direction=inbound)
  638. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(accountname=Magrathea_IP_2)
  639. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(filename1=astpp.pbx.lua)
  640. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
  641. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(origination_rates=0)
  642. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(original_caller_id_name=07943550553)
  643. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(original_caller_id_number=07943550553)
  644. Dialplan: sofia/default/07943550553@87.238.73.151 Action limit(db 84 user_84 1000 !SWITCH_CONGESTION)
  645. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(effective_caller_id_name=07943550553)
  646. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(effective_caller_id_number=07943550553)
  647. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(receiver_accid=84)
  648. Dialplan: sofia/default/07943550553@87.238.73.151 Action limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
  649. Dialplan: sofia/default/07943550553@87.238.73.151 Action export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
  650. Dialplan: sofia/default/07943550553@87.238.73.151 Action export(call_type=0)
  651. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(calltype=DID-LOCAL)
  652. Dialplan: sofia/default/07943550553@87.238.73.151 Action db(insert/pickup_any_group_${callgroup}/8389988158/${uuid})
  653. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(dialed_extension=transfer_call)
  654. Dialplan: sofia/default/07943550553@87.238.73.151 Action export(dialed_extension=transfer_call)
  655. Dialplan: sofia/default/07943550553@87.238.73.151 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  656. Dialplan: sofia/default/07943550553@87.238.73.151 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  657. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(hangup_after_bridge=true)
  658. Dialplan: sofia/default/07943550553@87.238.73.151 Action export(did_user_domain=Dont66.appcaption.com)
  659. Dialplan: sofia/default/07943550553@87.238.73.151 Action bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
  660. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(on_busy_flag=1)
  661. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(on_busy_destination=)
  662. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(no_answer_flag=1)
  663. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(no_answer_destination=)
  664. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(not_register_flag=1)
  665. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(not_register_destination=)
  666. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(opensips_flag=1)
  667. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(variable_sip_to_host=Dont66.appcaption.com)
  668. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(opensips_domain=127.0.0.1)
  669. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(leg_timeout=180)
  670. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(userinfo_id=84)
  671. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(sip_destination_number=8389988158)
  672. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(destination_number=03333059910)
  673. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(did_number=03333059910)
  674. Dialplan: sofia/default/07943550553@87.238.73.151 Action set(user_domain=Dont66.appcaption.com)
  675. Dialplan: sofia/default/07943550553@87.238.73.151 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  676. |--- Dialplan: Processing recursive conditions level:1 [03333059910_recur_1] require-nested=TRUE
  677. |--- Dialplan: sofia/default/07943550553@87.238.73.151 Regex (FAIL) [03333059910_recur_1] ${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  678. |--- Dialplan: sofia/default/07943550553@87.238.73.151 ANTI-Action hangup(${originate_disposition})
  679. 2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:287 (sofia/default/07943550553@87.238.73.151) State Change CS_ROUTING -> CS_EXECUTE
  680. 2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.151) State ROUTING going to sleep
  681. 2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_EXECUTE (Cur 1 Tot 43939)
  682. 2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.151) State EXECUTE
  683. 2021-02-15 18:29:34.294534 [DEBUG] mod_sofia.c:209 sofia/default/07943550553@87.238.73.151 SOFIA EXECUTE
  684. 2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:329 sofia/default/07943550553@87.238.73.151 Standard EXECUTE
  685. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(effective_destination_number=03333059910)
  686. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [effective_destination_number]=[03333059910]
  687. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(bridge_pre_execute_bleg_app=sched_hangup)
  688. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [bridge_pre_execute_bleg_app]=[sched_hangup]
  689. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  690. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  691. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(callstart=2021-02-15 18:29:34)
  692. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [callstart]=[2021-02-15 18:29:34]
  693. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(hangup_after_bridge=true)
  694. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [hangup_after_bridge]=[true]
  695. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(continue_on_fail=TRUE)
  696. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [continue_on_fail]=[TRUE]
  697. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(account_id=3)
  698. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [account_id]=[3]
  699. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(parent_id=0)
  700. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [parent_id]=[0]
  701. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(entity_id=3)
  702. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [entity_id]=[3]
  703. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(call_processed=internal)
  704. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [call_processed]=[internal]
  705. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(call_direction=inbound)
  706. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [call_direction]=[inbound]
  707. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(accountname=Magrathea_IP_2)
  708. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [accountname]=[Magrathea_IP_2]
  709. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(filename1=astpp.pbx.lua)
  710. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [filename1]=[astpp.pbx.lua]
  711. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
  712. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [origination_rates_did]=[ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84]
  713. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(origination_rates=0)
  714. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [origination_rates]=[0]
  715. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(original_caller_id_name=07943550553)
  716. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [original_caller_id_name]=[07943550553]
  717. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(original_caller_id_number=07943550553)
  718. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [original_caller_id_number]=[07943550553]
  719. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 limit(db 84 user_84 1000 !SWITCH_CONGESTION)
  720. 2021-02-15 18:29:34.294534 [DEBUG] switch_limit.c:124 incr called: 84_user_84 max:1000, interval:0
  721. 2021-02-15 18:29:34.294534 [DEBUG] mod_db.c:194 Usage for 84_user_84 is now 1/1000
  722. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(effective_caller_id_name=07943550553)
  723. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [effective_caller_id_name]=[07943550553]
  724. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(effective_caller_id_number=07943550553)
  725. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [effective_caller_id_number]=[07943550553]
  726. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(receiver_accid=84)
  727. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [receiver_accid]=[84]
  728. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
  729. 2021-02-15 18:29:34.294534 [DEBUG] switch_limit.c:124 incr called: 03333059910_did_03333059910 max:1000, interval:0
  730. 2021-02-15 18:29:34.294534 [DEBUG] mod_db.c:194 Usage for 03333059910_did_03333059910 is now 1/1000
  731. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
  732. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID]
  733. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(call_type=0)
  734. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  735. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(calltype=DID-LOCAL)
  736. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [calltype]=[DID-LOCAL]
  737. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 db(insert/pickup_any_group_/8389988158/c75a8bf0-ca34-4074-aa59-d3853566842b)
  738. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(dialed_extension=transfer_call)
  739. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [dialed_extension]=[transfer_call]
  740. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(dialed_extension=transfer_call)
  741. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  742. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  743. 2021-02-15 18:29:34.294534 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  744. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  745. 2021-02-15 18:29:34.294534 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  746. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(hangup_after_bridge=true)
  747. 2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [hangup_after_bridge]=[true]
  748. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(did_user_domain=Dont66.appcaption.com)
  749. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[Dont66.appcaption.com]
  750. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
  751. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
  752. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [call_type]=[0] to event
  753. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  754. 2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
  755. 2021-02-15 18:29:34.294534 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  756. 2021-02-15 18:29:34.294534 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  757. 2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
  758. 2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [call_type]=[0] to event
  759. 2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  760. 2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
  761. 2021-02-15 18:29:34.314528 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  762. 2021-02-15 18:29:34.314528 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  763. 2021-02-15 18:29:34.314528 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  764. 2021-02-15 18:29:34.314528 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  765. 2021-02-15 18:29:34.314528 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  766. 2021-02-15 18:29:34.314528 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: USER_NOT_REGISTERED
  767. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(on_busy_flag=1)
  768. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [on_busy_flag]=[1]
  769. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(on_busy_destination=)
  770. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [on_busy_destination]=[UNDEF]
  771. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(no_answer_flag=1)
  772. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [no_answer_flag]=[1]
  773. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(no_answer_destination=)
  774. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [no_answer_destination]=[UNDEF]
  775. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(not_register_flag=1)
  776. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [not_register_flag]=[1]
  777. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(not_register_destination=)
  778. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [not_register_destination]=[UNDEF]
  779. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(opensips_flag=1)
  780. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [opensips_flag]=[1]
  781. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(variable_sip_to_host=Dont66.appcaption.com)
  782. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [variable_sip_to_host]=[Dont66.appcaption.com]
  783. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(opensips_domain=127.0.0.1)
  784. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [opensips_domain]=[127.0.0.1]
  785. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(leg_timeout=180)
  786. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [leg_timeout]=[180]
  787. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(userinfo_id=84)
  788. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [userinfo_id]=[84]
  789. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(sip_destination_number=8389988158)
  790. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [sip_destination_number]=[8389988158]
  791. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(destination_number=03333059910)
  792. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [destination_number]=[03333059910]
  793. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(did_number=03333059910)
  794. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [did_number]=[03333059910]
  795. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(user_domain=Dont66.appcaption.com)
  796. 2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [user_domain]=[Dont66.appcaption.com]
  797. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  798. 2021-02-15 18:29:34.314528 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] This is last dispositions USER_NOT_REGISTERED This is SIP Number : 8389988158
  799. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 answer()
  800. 2021-02-15 18:29:34.314528 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/07943550553@87.238.73.151] 172.31.7.52 port 25206 -> 213.166.4.163 port 30228 codec: 8 ms: 20
  801. 2021-02-15 18:29:34.314528 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  802. 2021-02-15 18:29:34.334526 [DEBUG] switch_core_media.c:8977 sofia/default/07943550553@87.238.73.151 Set 2833 dtmf send payload to 101
  803. 2021-02-15 18:29:34.334526 [DEBUG] switch_core_media.c:8984 sofia/default/07943550553@87.238.73.151 Set 2833 dtmf receive payload to 101
  804. 2021-02-15 18:29:34.334526 [DEBUG] switch_core_media.c:9007 sofia/default/07943550553@87.238.73.151 Set rtp dtmf delay to 40
  805. 2021-02-15 18:29:34.334526 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/07943550553@87.238.73.151:
  806. v=0
  807. o=FreeSWITCH 1613388568 1613388569 IN IP4 35.176.176.116
  808. s=FreeSWITCH
  809. c=IN IP4 35.176.176.116
  810. t=0 0
  811. m=audio 25206 RTP/AVP 8 101
  812. a=rtpmap:8 PCMA/8000
  813. a=rtpmap:101 telephone-event/8000
  814. a=fmtp:101 0-16
  815. a=ptime:20
  816. a=sendrecv
  817.  
  818. 2021-02-15 18:29:34.334526 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/07943550553@87.238.73.151] has been answered
  819. 2021-02-15 18:29:34.334526 [DEBUG] switch_channel.c:3865 (sofia/default/07943550553@87.238.73.151) Callstate Change RINGING -> ACTIVE
  820. 2021-02-15 18:29:34.334526 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.151 entering state [completed][200]
  821. 2021-02-15 18:29:34.334526 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] dialed_user for voicemail::: 8389988158
  822. EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 voicemail(default Dont66.appcaption.com 8389988158)
  823. 2021-02-15 18:29:34.334526 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.151 entering state [ready][200]
  824. 2021-02-15 18:29:34.434526 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  825. 2021-02-15 18:29:34.434526 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  826. 2021-02-15 18:29:34.454547 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  827. 2021-02-15 18:29:34.454547 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  828. 2021-02-15 18:29:35.794574 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  829. 2021-02-15 18:29:35.914550 [DEBUG] switch_ivr_play_say.c:250 Handle say:[8389988158] (en:en)
  830. 2021-02-15 18:29:35.914550 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  831. 2021-02-15 18:29:36.314533 [NOTICE] sofia.c:1089 Hangup sofia/default/07943550553@87.238.73.151 [CS_EXECUTE] [NORMAL_CLEARING]
  832. 2021-02-15 18:29:36.334536 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/8.wav!digits/3.wav!digits/8.wav!digits/9.wav!digits/9.wav!digits/8.wav!digits/8.wav!digits/1.wav!digits/5.wav!digits/8.wav
  833. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.151 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  834. 2021-02-15 18:29:36.334536 [DEBUG] switch_cpp.cpp:1191 sofia/default/07943550553@87.238.73.151 destroy/unlink session from object
  835. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.151 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  836. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.151) State EXECUTE going to sleep
  837. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_HANGUP (Cur 1 Tot 43939)
  838. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:848 (sofia/default/07943550553@87.238.73.151) Callstate Change ACTIVE -> HANGUP
  839. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.151) State HANGUP
  840. 2021-02-15 18:29:36.334536 [DEBUG] mod_sofia.c:453 Channel sofia/default/07943550553@87.238.73.151 hanging up, cause: NORMAL_CLEARING
  841. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:60 sofia/default/07943550553@87.238.73.151 Standard HANGUP, cause: NORMAL_CLEARING
  842. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.151) State HANGUP going to sleep
  843. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:620 (sofia/default/07943550553@87.238.73.151) State Change CS_HANGUP -> CS_REPORTING
  844. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_REPORTING (Cur 1 Tot 43939)
  845. 2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.151) State REPORTING
  846. 2021-02-15 18:29:36.334536 [INFO] mod_json_cdr.c:271 Process [c75a8bf0-ca34-4074-aa59-d3853566842b.cdr.json]
  847. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:174 sofia/default/07943550553@87.238.73.151 Standard REPORTING, cause: NORMAL_CLEARING
  848. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.151) State REPORTING going to sleep
  849. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:611 (sofia/default/07943550553@87.238.73.151) State Change CS_REPORTING -> CS_DESTROY
  850. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_session.c:1726 Session 43939 (sofia/default/07943550553@87.238.73.151) Locked, Waiting on external entities
  851. 2021-02-15 18:29:36.354530 [NOTICE] switch_core_session.c:1744 Session 43939 (sofia/default/07943550553@87.238.73.151) Ended
  852. 2021-02-15 18:29:36.354530 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/07943550553@87.238.73.151 [CS_DESTROY]
  853. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:739 (sofia/default/07943550553@87.238.73.151) Running State Change CS_DESTROY (Cur 0 Tot 43939)
  854. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.151) State DESTROY
  855. 2021-02-15 18:29:36.354530 [DEBUG] mod_sofia.c:364 sofia/default/07943550553@87.238.73.151 SOFIA DESTROY
  856. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:181 sofia/default/07943550553@87.238.73.151 Standard DESTROY
  857. 2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.151) State DESTROY going to sleep
  858. freeswitch@ip-172-31-7-52> /quit