From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-8-199>
  2. freeswitch@ip-172-31-8-199>
  3. 2021-09-21 11:22:07.843840 [NOTICE] switch_channel.c:1118 New Channel sofia/default/3348757062@46.101.114.158 [98d3607e-4ef8-49d7-a729-3a5479dcee3d]
  4. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 684)
  5. 2021-09-21 11:22:07.843840 [INFO] sofia.c:10362 sofia/default/3348757062@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ff58e3a8-9570-123a-12a3-ba05d31eb9f9
  6. 2021-09-21 11:22:07.843840 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 46.101.114.158:0.
  7. 2021-09-21 11:22:07.843840 [DEBUG] sofia.c:10485 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
  8. 2021-09-21 11:22:07.843840 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [received][100]
  9. 2021-09-21 11:22:07.843840 [DEBUG] sofia.c:7416 Remote SDP:
  10. v=0
  11. o=FreeSWITCH 1632204389 1632204390 IN IP4 46.101.114.158
  12. s=FreeSWITCH
  13. c=IN IP4 46.101.114.158
  14. t=0 0
  15. m=audio 18938 RTP/AVP 8 101
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-16
  19. a=ptime:20
  20.  
  21. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  25. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/3348757062@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  26. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_codec.c:111 sofia/default/3348757062@46.101.114.158 Original read codec set to PCMA:8
  27. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  28. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5918 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  29. 2021-09-21 11:22:07.843840 [DEBUG] sofia.c:7840 (sofia/default/3348757062@46.101.114.158) State Change CS_NEW -> CS_INIT
  30. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:604 (sofia/default/3348757062@46.101.114.158) State NEW
  31. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 684)
  32. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT
  33. 2021-09-21 11:22:07.843840 [DEBUG] mod_sofia.c:93 sofia/default/3348757062@46.101.114.158 SOFIA INIT
  34. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:40 sofia/default/3348757062@46.101.114.158 Standard INIT
  35. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3348757062@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  36. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT going to sleep
  37. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 684)
  38. 2021-09-21 11:22:07.843840 [DEBUG] switch_channel.c:2332 (sofia/default/3348757062@46.101.114.158) Callstate Change DOWN -> RINGING
  39. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING
  40. 2021-09-21 11:22:07.843840 [DEBUG] mod_sofia.c:154 sofia/default/3348757062@46.101.114.158 SOFIA ROUTING
  41. 2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:236 sofia/default/3348757062@46.101.114.158 Standard ROUTING
  42. 2021-09-21 11:22:07.843840 [INFO] mod_dialplan_xml.c:637 Processing 3348757062 <3348757062>->990666 in context default
  43. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  44. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  45. 2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  46. 2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 990666
  47. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '990666' limit 1
  48. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '990666' AND status=0 limit 1
  49. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '990666' and status=0 LIMIT 1
  50. 2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3348757062 / 3348757062
  51. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990666" LIMIT 1
  52. 2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  53. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [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("46.101.114.158") 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 "990666"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  54. 2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7858606680]
  55. 2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7858606680" AND deleted = 0 limit 1
  56. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="990666" AND (accountid = 0 OR status = 1) LIMIT 1
  57. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  58. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 9
  59. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^990666.*' OR patterns = '^99066.*' OR patterns = '^9906.*' OR patterns = '^990.*' OR patterns = '^99.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
  60. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="990666" AND A.accountid = '9' limit 1
  61. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 990666
  62. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990666" LIMIT 1
  63. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  64. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '990666' OR number = '99066' OR number = '9906' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990666*' OR number = '99066*' OR number = '9906*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--') OR (number = '3348757062' OR number = '334875706' OR number = '33487570' OR number = '3348757' OR number = '334875' OR number = '33487' OR number = '3348' OR number = '334' OR number = '33' OR number = '3' OR number ='--') OR (number = '3348757062*' OR number = '334875706*' OR number = '33487570*' OR number = '3348757*' OR number = '334875*' OR number = '33487*' OR number = '3348*' OR number = '334*' OR number = '33*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  65. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  66. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '990666' OR routing_prefix = '99066' OR routing_prefix = '9906' OR routing_prefix = '990' OR routing_prefix = '99' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  67. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  68. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  69. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7858606680
  70. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1233433
  71. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  72. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  73. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  74. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  75. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  76. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  77. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990666" LIMIT 1
  78. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  79. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  80. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  81. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  82. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  83. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  84. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 990666
  85. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
  86. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  87. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  88. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1233433 balance Accountid 9 !!!
  89. 2021-09-21 11:22:07.923816 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  90. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  91. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  92. 2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  93. 2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
  94. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "9" AND deleted = 0 limit 1
  95. 2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  96. 2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  97. 2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  98. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
  99. 2021-09-21 11:22:07.943816 [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 18.220.27.122
  100. 2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  101. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  102. 2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  103. 2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  104. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "6131665250" AND accounts.status = 0
  105. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
  106. 2021-09-21 11:22:07.943816 [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 18.220.27.122
  107. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 9  and status = 0 limit 1
  108. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  109. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250"  AND domains.domain="18.220.27.122" limit 1
  110. 2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
  111. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  112. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  113. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  114. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250"  AND domains.domain="18.220.27.122" limit 1
  115. 2021-09-21 11:22:07.963816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 6
  116. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
  117. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  118. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  119. 2021-09-21 11:22:07.963816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  120. 2021-09-21 11:22:07.963816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  121. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  122. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250"  AND domains.domain="18.220.27.122" limit 1
  123. 2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
  124. 2021-09-21 11:22:07.983824 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  125. <document type="freeswitch/xml">
  126. <section name="dialplan" description="ASTPP Dialplan">
  127. <context name="default">
  128. <extension name="990666">
  129. <condition field="destination_number" expression="990666">
  130. <action application="set" data="effective_destination_number=990666"/>
  131. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  132. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  133. <action application="set" data="callstart=2021-09-21 11:22:07"/>
  134. <action application="set" data="hangup_after_bridge=true"/>
  135. <action application="set" data="continue_on_fail=TRUE"/>
  136. <action application="set" data="account_id=9"/>
  137. <action application="set" data="parent_id=0"/>
  138. <action application="set" data="entity_id=0"/>
  139. <action application="set" data="call_processed=internal"/>
  140. <action application="set" data="call_direction=inbound"/>
  141. <action application="set" data="accountname=entdemo"/>
  142. <action application="set" data="origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9"/>
  143. <action application="set" data="origination_rates=0"/>
  144. <action application="set" data="original_caller_id_name=3348757062"/>
  145. <action application="set" data="original_caller_id_number=3348757062"/>
  146. <action application="set" data="effective_caller_id_name=3348757062"/>
  147. <action application="set" data="effective_caller_id_number=3348757062"/>
  148. <action application="set" data="receiver_accid=9"/>
  149. <action application="export" data="domain_name=18.220.27.122"/>
  150. <action application="export" data="sip_to_host=18.220.27.122"/>
  151. <action application="export" data="presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158"/>
  152. <action application="export" data="call_type=0"/>
  153. <action application="set" data="calltype=DID-LOCAL"/>
  154. <action application="db" data="insert/pickup_any_group_${callgroup}/6131665250/${uuid}"/>
  155. <action application="set" data="dialed_extension=transfer_call"/>
  156. <action application="export" data="dialed_extension=transfer_call"/>
  157. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  158. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  159. <action application="set" data="hangup_after_bridge=true"/>
  160. <action application="export" data="did_user_domain=18.220.27.122"/>
  161. <action application="db" data="insert/pickup_any_group_${callgroup}/6131665250/${uuid}"/>
  162. <action application="set" data="dialed_extension=transfer_call"/>
  163. <action application="export" data="dialed_extension=transfer_call"/>
  164. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  165. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  166. <action application="set" data="transfer_ringback=$${hold_music}"/>
  167. <action application="set" data="hangup_after_bridge=true"/>
  168. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122"/>
  169. <action application="set" data="on_busy_flag=1"/>
  170. <action application="set" data="on_busy_destination="/>
  171. <action application="set" data="no_answer_flag=1"/>
  172. <action application="set" data="no_answer_destination="/>
  173. <action application="set" data="not_register_flag=1"/>
  174. <action application="set" data="not_register_destination="/>
  175. <action application="set" data="opensips_flag=1"/>
  176. <action application="set" data="variable_sip_to_host=18.220.27.122"/>
  177. <action application="set" data="opensips_domain=127.0.0.1"/>
  178. <action application="set" data="leg_timeout=60"/>
  179. <action application="set" data="userinfo_id=9"/>
  180. <action application="set" data="sip_destination_number=6131665250"/>
  181. <action application="set" data="did_number=6131665250"/>
  182. <action application="set" data="user_domain=18.220.27.122"/>
  183. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  184. <action application="set" data="on_busy_flag=1"/>
  185. <action application="set" data="on_busy_destination="/>
  186. <action application="set" data="no_answer_flag=1"/>
  187. <action application="set" data="no_answer_destination="/>
  188. <action application="set" data="not_register_flag=1"/>
  189. <action application="set" data="not_register_destination="/>
  190. <action application="set" data="opensips_flag=1"/>
  191. <action application="set" data="variable_sip_to_host=18.220.27.122"/>
  192. <action application="set" data="opensips_domain=127.0.0.1"/>
  193. <action application="set" data="leg_timeout=60"/>
  194. <action application="set" data="userinfo_id=9"/>
  195. <action application="set" data="sip_destination_number=6131665250"/>
  196. <action application="set" data="destination_number=990666"/>
  197. <action application="set" data="did_number=990666"/>
  198. <action application="set" data="user_domain=18.220.27.122"/>
  199. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  200. <condition field="${cond(${user_data 6131665250@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  201. <action application="answer"/>
  202. <action application="export" data="voicemail_alternate_greet_id=990666"/>
  203. <action application="voicemail" data="default $${domain_name} 6131665250"/>
  204. <anti-action application="hangup" data="${originate_disposition}"/>
  205. </condition>
  206. </condition>
  207. </extension>
  208. </context>
  209. </section>
  210. </document>
  211. Dialplan: sofia/default/3348757062@46.101.114.158 parsing [default->990666] continue=false
  212. Dialplan: sofia/default/3348757062@46.101.114.158 Regex (PASS) [990666] destination_number(990666) =~ /990666/ break=on-false
  213. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_destination_number=990666)
  214. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  215. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  216. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(callstart=2021-09-21 11:22:07)
  217. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
  218. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(continue_on_fail=TRUE)
  219. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(account_id=9)
  220. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(parent_id=0)
  221. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(entity_id=0)
  222. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_processed=internal)
  223. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_direction=inbound)
  224. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(accountname=entdemo)
  225. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
  226. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates=0)
  227. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_name=3348757062)
  228. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_number=3348757062)
  229. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_name=3348757062)
  230. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_number=3348757062)
  231. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(receiver_accid=9)
  232. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(domain_name=18.220.27.122)
  233. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(sip_to_host=18.220.27.122)
  234. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
  235. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(call_type=0)
  236. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(calltype=DID-LOCAL)
  237. Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
  238. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
  239. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
  240. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  241. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  242. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
  243. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(did_user_domain=18.220.27.122)
  244. Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
  245. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
  246. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
  247. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  248. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  249. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  250. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
  251. Dialplan: sofia/default/3348757062@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
  252. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
  253. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
  254. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
  255. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
  256. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
  257. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
  258. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
  259. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
  260. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  261. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
  262. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
  263. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
  264. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=6131665250)
  265. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
  266. Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  267. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
  268. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
  269. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
  270. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
  271. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
  272. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
  273. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
  274. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
  275. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  276. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
  277. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
  278. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
  279. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(destination_number=990666)
  280. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=990666)
  281. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
  282. Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  283. |--- Dialplan: Processing recursive conditions level:1 [990666_recur_1] require-nested=TRUE
  284. |--- Dialplan: sofia/default/3348757062@46.101.114.158 Regex (FAIL) [990666_recur_1] ${cond(${user_data 6131665250@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  285. |--- Dialplan: sofia/default/3348757062@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  286. 2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:287 (sofia/default/3348757062@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  287. 2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING going to sleep
  288. 2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 684)
  289. 2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE
  290. 2021-09-21 11:22:08.023817 [DEBUG] mod_sofia.c:209 sofia/default/3348757062@46.101.114.158 SOFIA EXECUTE
  291. 2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:329 sofia/default/3348757062@46.101.114.158 Standard EXECUTE
  292. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_destination_number=990666)
  293. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_destination_number]=[990666]
  294. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  295. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  296. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  297. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  298. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(callstart=2021-09-21 11:22:07)
  299. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [callstart]=[2021-09-21 11:22:07]
  300. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
  301. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
  302. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(continue_on_fail=TRUE)
  303. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [continue_on_fail]=[TRUE]
  304. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(account_id=9)
  305. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [account_id]=[9]
  306. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(parent_id=0)
  307. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [parent_id]=[0]
  308. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(entity_id=0)
  309. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [entity_id]=[0]
  310. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_processed=internal)
  311. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_processed]=[internal]
  312. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_direction=inbound)
  313. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_direction]=[inbound]
  314. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(accountname=entdemo)
  315. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [accountname]=[entdemo]
  316. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
  317. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates_did]=[ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9]
  318. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates=0)
  319. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates]=[0]
  320. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_name=3348757062)
  321. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_name]=[3348757062]
  322. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_number=3348757062)
  323. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_number]=[3348757062]
  324. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_name=3348757062)
  325. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_name]=[3348757062]
  326. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_number=3348757062)
  327. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_number]=[3348757062]
  328. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(receiver_accid=9)
  329. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [receiver_accid]=[9]
  330. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(domain_name=18.220.27.122)
  331. 2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[18.220.27.122]
  332. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(sip_to_host=18.220.27.122)
  333. 2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[18.220.27.122]
  334. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
  335. 2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158]
  336. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(call_type=0)
  337. 2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  338. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(calltype=DID-LOCAL)
  339. 2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [calltype]=[DID-LOCAL]
  340. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/98d3607e-4ef8-49d7-a729-3a5479dcee3d)
  341. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
  342. 2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
  343. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
  344. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  345. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  346. 2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  347. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  348. 2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  349. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
  350. 2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
  351. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(did_user_domain=18.220.27.122)
  352. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[18.220.27.122]
  353. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/98d3607e-4ef8-49d7-a729-3a5479dcee3d)
  354. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
  355. 2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
  356. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
  357. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  358. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  359. 2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  360. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  361. 2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  362. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(transfer_ringback=local_stream://moh)
  363. 2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  364. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
  365. 2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
  366. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
  367. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
  368. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
  369. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
  370. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  371. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  372. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
  373. 2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  374. 2021-09-21 11:22:08.043811 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  375. 2021-09-21 11:22:08.043811 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  376. 2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
  377. 2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
  378. 2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
  379. 2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  380. 2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  381. 2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
  382. 2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  383. 2021-09-21 11:22:08.063816 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  384. 2021-09-21 11:22:08.063816 [NOTICE] switch_channel.c:1118 New Channel sofia/default/6131665250@192.168.1.13:39549 [60ff65f5-1e97-4361-89d6-577a5b6d5caf]
  385. 2021-09-21 11:22:08.063816 [DEBUG] mod_sofia.c:5102 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_NEW -> CS_INIT
  386. 2021-09-21 11:22:08.063816 [DEBUG] switch_ivr_originate.c:3142 sofia/default/6131665250@192.168.1.13:39549 Setting leg timeout to 60
  387. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_INIT (Cur 2 Tot 685)
  388. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT
  389. 2021-09-21 11:22:08.063816 [DEBUG] mod_sofia.c:93 sofia/default/6131665250@192.168.1.13:39549 SOFIA INIT
  390. 2021-09-21 11:22:08.063816 [DEBUG] sofia_glue.c:1590 sip:6131665250@117.247.91.162:59033;rinstance=24df7c8bec0d5a33;transport=tcp Setting proxy route to sofia/default/6131665250@192.168.1.13:39549
  391. 2021-09-21 11:22:08.063816 [INFO] sofia_glue.c:1621 sofia/default/6131665250@192.168.1.13:39549 sending invite call-id: (null)
  392. 2021-09-21 11:22:08.063816 [DEBUG] sofia_glue.c:1624 sofia/default/6131665250@192.168.1.13:39549 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  393. Local SDP:
  394. v=0
  395. o=FreeSWITCH 1632194012 1632194013 IN IP4 18.220.27.122
  396. s=FreeSWITCH
  397. c=IN IP4 18.220.27.122
  398. t=0 0
  399. m=audio 29316 RTP/AVP 8 101
  400. a=rtpmap:8 PCMA/8000
  401. a=rtpmap:101 telephone-event/8000
  402. a=fmtp:101 0-16
  403. a=ptime:20
  404. a=sendrecv
  405.  
  406. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:40 sofia/default/6131665250@192.168.1.13:39549 Standard INIT
  407. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_INIT -> CS_ROUTING
  408. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT going to sleep
  409. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_ROUTING (Cur 2 Tot 685)
  410. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING
  411. 2021-09-21 11:22:08.063816 [DEBUG] mod_sofia.c:154 sofia/default/6131665250@192.168.1.13:39549 SOFIA ROUTING
  412. 2021-09-21 11:22:08.063816 [DEBUG] switch_ivr_originate.c:67 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  413. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING going to sleep
  414. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 685)
  415. 2021-09-21 11:22:08.063816 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [calling][0]
  416. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA
  417. 2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA going to sleep
  418. 2021-09-21 11:22:08.723841 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [proceeding][180]
  419. 2021-09-21 11:22:08.723841 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/6131665250@192.168.1.13:39549!
  420. 2021-09-21 11:22:08.723841 [DEBUG] switch_channel.c:3437 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change DOWN -> RINGING
  421. 2021-09-21 11:22:08.723841 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/3348757062@46.101.114.158!
  422. 2021-09-21 11:22:08.723841 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [early][180]
  423. 2021-09-21 11:22:08.723841 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/3348757062@46.101.114.158!
  424. 2021-09-21 11:22:12.383833 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [terminated][486]
  425. 2021-09-21 11:22:12.383833 [NOTICE] sofia.c:8641 Hangup sofia/default/6131665250@192.168.1.13:39549 [CS_CONSUME_MEDIA] [USER_BUSY]
  426. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_HANGUP (Cur 2 Tot 685)
  427. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:848 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change RINGING -> HANGUP
  428. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP
  429. 2021-09-21 11:22:12.383833 [DEBUG] mod_sofia.c:453 Channel sofia/default/6131665250@192.168.1.13:39549 hanging up, cause: USER_BUSY
  430. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:60 sofia/default/6131665250@192.168.1.13:39549 Standard HANGUP, cause: USER_BUSY
  431. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP going to sleep
  432. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:620 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_HANGUP -> CS_REPORTING
  433. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_REPORTING (Cur 2 Tot 685)
  434. 2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING
  435. 2021-09-21 11:22:12.383833 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 17 [USER_BUSY]
  436. 2021-09-21 11:22:12.383833 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [user] cause: [USER_BUSY]
  437. 2021-09-21 11:22:12.383833 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 17 [USER_BUSY]
  438. 2021-09-21 11:22:12.383833 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: USER_BUSY
  439. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(on_busy_flag=1)
  440. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [on_busy_flag]=[1]
  441. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(on_busy_destination=)
  442. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [on_busy_destination]=[UNDEF]
  443. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(no_answer_flag=1)
  444. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [no_answer_flag]=[1]
  445. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(no_answer_destination=)
  446. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [no_answer_destination]=[UNDEF]
  447. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(not_register_flag=1)
  448. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [not_register_flag]=[1]
  449. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(not_register_destination=)
  450. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [not_register_destination]=[UNDEF]
  451. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(opensips_flag=1)
  452. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [opensips_flag]=[1]
  453. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(variable_sip_to_host=18.220.27.122)
  454. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [variable_sip_to_host]=[18.220.27.122]
  455. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(opensips_domain=127.0.0.1)
  456. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [opensips_domain]=[127.0.0.1]
  457. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(leg_timeout=60)
  458. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [leg_timeout]=[60]
  459. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(userinfo_id=9)
  460. 2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [userinfo_id]=[9]
  461. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(sip_destination_number=6131665250)
  462. 2021-09-21 11:22:12.403810 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [sip_destination_number]=[6131665250]
  463. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(did_number=6131665250)
  464. 2021-09-21 11:22:12.403810 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [did_number]=[6131665250]
  465. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(user_domain=18.220.27.122)
  466. 2021-09-21 11:22:12.403810 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [user_domain]=[18.220.27.122]
  467. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  468. 2021-09-21 11:22:12.403810 [INFO] mod_json_cdr.c:271 Process [60ff65f5-1e97-4361-89d6-577a5b6d5caf.cdr.json]
  469. 2021-09-21 11:22:12.403810 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions USER_BUSY This Is SIP Number : 6131665250
  470. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 answer()
  471. 2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/3348757062@46.101.114.158] 172.31.8.199 port 17458 -> 46.101.114.158 port 18938 codec: 8 ms: 20
  472. 2021-09-21 11:22:12.403810 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  473. 2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:8989 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101
  474. 2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:8996 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf receive payload to 101
  475. 2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:9019 sofia/default/3348757062@46.101.114.158 Set rtp dtmf delay to 40
  476. 2021-09-21 11:22:12.403810 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/3348757062@46.101.114.158:
  477. v=0
  478. o=FreeSWITCH 1632205874 1632205875 IN IP4 18.220.27.122
  479. s=FreeSWITCH
  480. c=IN IP4 18.220.27.122
  481. t=0 0
  482. m=audio 17458 RTP/AVP 8 101
  483. a=rtpmap:8 PCMA/8000
  484. a=rtpmap:101 telephone-event/8000
  485. a=fmtp:101 0-16
  486. a=ptime:20
  487. a=sendrecv
  488.  
  489. 2021-09-21 11:22:12.403810 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [completed][200]
  490. 2021-09-21 11:22:12.403810 [NOTICE] mod_dptools.c:1419 Channel [sofia/default/3348757062@46.101.114.158] has been answered
  491. 2021-09-21 11:22:12.403810 [DEBUG] switch_channel.c:3865 (sofia/default/3348757062@46.101.114.158) Callstate Change RINGING -> ACTIVE
  492. 2021-09-21 11:22:12.403810 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :6131665250
  493. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 voicemail(default 18.220.27.122 6131665250)
  494. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:174 sofia/default/6131665250@192.168.1.13:39549 Standard REPORTING, cause: USER_BUSY
  495. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING going to sleep
  496. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:611 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_REPORTING -> CS_DESTROY
  497. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_session.c:1736 Session 685 (sofia/default/6131665250@192.168.1.13:39549) Locked, Waiting on external entities
  498. 2021-09-21 11:22:12.423816 [NOTICE] switch_core_session.c:1754 Session 685 (sofia/default/6131665250@192.168.1.13:39549) Ended
  499. 2021-09-21 11:22:12.423816 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/6131665250@192.168.1.13:39549 [CS_DESTROY]
  500. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:739 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_DESTROY (Cur 1 Tot 685)
  501. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY
  502. 2021-09-21 11:22:12.423816 [DEBUG] mod_sofia.c:364 sofia/default/6131665250@192.168.1.13:39549 SOFIA DESTROY
  503. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:181 sofia/default/6131665250@192.168.1.13:39549 Standard DESTROY
  504. 2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY going to sleep
  505. 2021-09-21 11:22:12.523832 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  506. 2021-09-21 11:22:12.523832 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  507. 2021-09-21 11:22:12.523832 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [ready][200]
  508. 2021-09-21 11:22:12.543818 [DEBUG] switch_ivr_play_say.c:1486 Codec Activated L16@8000hz 1 channels 20ms
  509. 2021-09-21 11:22:12.743815 [NOTICE] sofia.c:1090 Hangup sofia/default/3348757062@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  510. 2021-09-21 11:22:12.743815 [DEBUG] switch_ivr_play_say.c:1931 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  511. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_session.c:2914 sofia/default/3348757062@46.101.114.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  512. 2021-09-21 11:22:12.743815 [DEBUG] switch_cpp.cpp:1209 sofia/default/3348757062@46.101.114.158 destroy/unlink session from object
  513. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_session.c:2914 sofia/default/3348757062@46.101.114.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  514. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE going to sleep
  515. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 685)
  516. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:848 (sofia/default/3348757062@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  517. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP
  518. 2021-09-21 11:22:12.743815 [DEBUG] mod_sofia.c:447 sofia/default/3348757062@46.101.114.158 Overriding SIP cause 480 with 486 from the other leg
  519. 2021-09-21 11:22:12.743815 [DEBUG] mod_sofia.c:453 Channel sofia/default/3348757062@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  520. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:60 sofia/default/3348757062@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  521. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP going to sleep
  522. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:620 (sofia/default/3348757062@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  523. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 685)
  524. 2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING
  525. 2021-09-21 11:22:12.743815 [INFO] mod_json_cdr.c:271 Process [98d3607e-4ef8-49d7-a729-3a5479dcee3d.cdr.json]
  526. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:174 sofia/default/3348757062@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  527. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING going to sleep
  528. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:611 (sofia/default/3348757062@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  529. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_session.c:1736 Session 684 (sofia/default/3348757062@46.101.114.158) Locked, Waiting on external entities
  530. 2021-09-21 11:22:12.783817 [NOTICE] switch_core_session.c:1754 Session 684 (sofia/default/3348757062@46.101.114.158) Ended
  531. 2021-09-21 11:22:12.783817 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/3348757062@46.101.114.158 [CS_DESTROY]
  532. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:739 (sofia/default/3348757062@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 685)
  533. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY
  534. 2021-09-21 11:22:12.783817 [DEBUG] mod_sofia.c:364 sofia/default/3348757062@46.101.114.158 SOFIA DESTROY
  535. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:181 sofia/default/3348757062@46.101.114.158 Standard DESTROY
  536. 2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY going to sleep
  537. 2021-09-21 11:22:28.143871 [NOTICE] switch_channel.c:1118 New Channel sofia/default/3348757062@46.101.114.158 [52145985-392f-423d-babc-b8ec5f05020e]
  538. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 686)
  539. 2021-09-21 11:22:28.143871 [INFO] sofia.c:10362 sofia/default/3348757062@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0b725146-9571-123a-12a3-ba05d31eb9f9
  540. 2021-09-21 11:22:28.143871 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 46.101.114.158:0.
  541. 2021-09-21 11:22:28.143871 [DEBUG] sofia.c:10485 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
  542. 2021-09-21 11:22:28.143871 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [received][100]
  543. 2021-09-21 11:22:28.143871 [DEBUG] sofia.c:7416 Remote SDP:
  544. v=0
  545. o=FreeSWITCH 1632212790 1632212791 IN IP4 46.101.114.158
  546. s=FreeSWITCH
  547. c=IN IP4 46.101.114.158
  548. t=0 0
  549. m=audio 10558 RTP/AVP 8 101
  550. a=rtpmap:8 PCMA/8000
  551. a=rtpmap:101 telephone-event/8000
  552. a=fmtp:101 0-16
  553. a=ptime:20
  554.  
  555. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  556. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  557. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  558. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  559. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/3348757062@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  560. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_codec.c:111 sofia/default/3348757062@46.101.114.158 Original read codec set to PCMA:8
  561. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  562. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5918 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  563. 2021-09-21 11:22:28.143871 [DEBUG] sofia.c:7840 (sofia/default/3348757062@46.101.114.158) State Change CS_NEW -> CS_INIT
  564. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:604 (sofia/default/3348757062@46.101.114.158) State NEW
  565. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 686)
  566. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT
  567. 2021-09-21 11:22:28.143871 [DEBUG] mod_sofia.c:93 sofia/default/3348757062@46.101.114.158 SOFIA INIT
  568. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:40 sofia/default/3348757062@46.101.114.158 Standard INIT
  569. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3348757062@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  570. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT going to sleep
  571. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 686)
  572. 2021-09-21 11:22:28.143871 [DEBUG] switch_channel.c:2332 (sofia/default/3348757062@46.101.114.158) Callstate Change DOWN -> RINGING
  573. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING
  574. 2021-09-21 11:22:28.143871 [DEBUG] mod_sofia.c:154 sofia/default/3348757062@46.101.114.158 SOFIA ROUTING
  575. 2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:236 sofia/default/3348757062@46.101.114.158 Standard ROUTING
  576. 2021-09-21 11:22:28.143871 [INFO] mod_dialplan_xml.c:637 Processing 3348757062 <3348757062>->990666 in context default
  577. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  578. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  579. 2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  580. 2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 990666
  581. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '990666' limit 1
  582. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '990666' AND status=0 limit 1
  583. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '990666' and status=0 LIMIT 1
  584. 2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3348757062 / 3348757062
  585. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990666" LIMIT 1
  586. 2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  587. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [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("46.101.114.158") 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 "990666"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  588. 2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7858606680]
  589. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7858606680" AND deleted = 0 limit 1
  590. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="990666" AND (accountid = 0 OR status = 1) LIMIT 1
  591. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  592. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 9
  593. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^990666.*' OR patterns = '^99066.*' OR patterns = '^9906.*' OR patterns = '^990.*' OR patterns = '^99.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
  594. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="990666" AND A.accountid = '9' limit 1
  595. 2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 990666
  596. 2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990666" LIMIT 1
  597. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  598. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '990666' OR number = '99066' OR number = '9906' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990666*' OR number = '99066*' OR number = '9906*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--') OR (number = '3348757062' OR number = '334875706' OR number = '33487570' OR number = '3348757' OR number = '334875' OR number = '33487' OR number = '3348' OR number = '334' OR number = '33' OR number = '3' OR number ='--') OR (number = '3348757062*' OR number = '334875706*' OR number = '33487570*' OR number = '3348757*' OR number = '334875*' OR number = '33487*' OR number = '3348*' OR number = '334*' OR number = '33*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  599. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  600. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '990666' OR routing_prefix = '99066' OR routing_prefix = '9906' OR routing_prefix = '990' OR routing_prefix = '99' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  601. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  602. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  603. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7858606680
  604. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1233433
  605. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  606. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  607. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  608. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  609. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  610. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  611. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990666" LIMIT 1
  612. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  613. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  614. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  615. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  616. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  617. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  618. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 990666
  619. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
  620. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  621. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  622. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1233433 balance Accountid 9 !!!
  623. 2021-09-21 11:22:28.183815 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  624. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  625. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  626. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  627. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
  628. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "9" AND deleted = 0 limit 1
  629. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  630. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  631. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  632. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
  633. 2021-09-21 11:22:28.183815 [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 18.220.27.122
  634. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  635. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  636. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  637. 2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  638. 2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "6131665250" AND accounts.status = 0
  639. 2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
  640. 2021-09-21 11:22:28.203814 [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 18.220.27.122
  641. 2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 9  and status = 0 limit 1
  642. 2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  643. 2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250"  AND domains.domain="18.220.27.122" limit 1
  644. 2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
  645. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  646. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  647. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  648. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250"  AND domains.domain="18.220.27.122" limit 1
  649. 2021-09-21 11:22:28.223817 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 6
  650. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
  651. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  652. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  653. 2021-09-21 11:22:28.223817 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  654. 2021-09-21 11:22:28.223817 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  655. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  656. 2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250"  AND domains.domain="18.220.27.122" limit 1
  657. 2021-09-21 11:22:28.243817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
  658. 2021-09-21 11:22:28.243817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  659. <document type="freeswitch/xml">
  660. <section name="dialplan" description="ASTPP Dialplan">
  661. <context name="default">
  662. <extension name="990666">
  663. <condition field="destination_number" expression="990666">
  664. <action application="set" data="effective_destination_number=990666"/>
  665. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  666. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  667. <action application="set" data="callstart=2021-09-21 11:22:28"/>
  668. <action application="set" data="hangup_after_bridge=true"/>
  669. <action application="set" data="continue_on_fail=TRUE"/>
  670. <action application="set" data="account_id=9"/>
  671. <action application="set" data="parent_id=0"/>
  672. <action application="set" data="entity_id=0"/>
  673. <action application="set" data="call_processed=internal"/>
  674. <action application="set" data="call_direction=inbound"/>
  675. <action application="set" data="accountname=entdemo"/>
  676. <action application="set" data="origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9"/>
  677. <action application="set" data="origination_rates=0"/>
  678. <action application="set" data="original_caller_id_name=3348757062"/>
  679. <action application="set" data="original_caller_id_number=3348757062"/>
  680. <action application="set" data="effective_caller_id_name=3348757062"/>
  681. <action application="set" data="effective_caller_id_number=3348757062"/>
  682. <action application="set" data="receiver_accid=9"/>
  683. <action application="export" data="domain_name=18.220.27.122"/>
  684. <action application="export" data="sip_to_host=18.220.27.122"/>
  685. <action application="export" data="presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158"/>
  686. <action application="export" data="call_type=0"/>
  687. <action application="set" data="calltype=DID-LOCAL"/>
  688. <action application="db" data="insert/pickup_any_group_${callgroup}/6131665250/${uuid}"/>
  689. <action application="set" data="dialed_extension=transfer_call"/>
  690. <action application="export" data="dialed_extension=transfer_call"/>
  691. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  692. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  693. <action application="set" data="hangup_after_bridge=true"/>
  694. <action application="export" data="did_user_domain=18.220.27.122"/>
  695. <action application="db" data="insert/pickup_any_group_${callgroup}/6131665250/${uuid}"/>
  696. <action application="set" data="dialed_extension=transfer_call"/>
  697. <action application="export" data="dialed_extension=transfer_call"/>
  698. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  699. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  700. <action application="set" data="transfer_ringback=$${hold_music}"/>
  701. <action application="set" data="hangup_after_bridge=true"/>
  702. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122"/>
  703. <action application="set" data="on_busy_flag=1"/>
  704. <action application="set" data="on_busy_destination="/>
  705. <action application="set" data="no_answer_flag=1"/>
  706. <action application="set" data="no_answer_destination="/>
  707. <action application="set" data="not_register_flag=1"/>
  708. <action application="set" data="not_register_destination="/>
  709. <action application="set" data="opensips_flag=1"/>
  710. <action application="set" data="variable_sip_to_host=18.220.27.122"/>
  711. <action application="set" data="opensips_domain=127.0.0.1"/>
  712. <action application="set" data="leg_timeout=60"/>
  713. <action application="set" data="userinfo_id=9"/>
  714. <action application="set" data="sip_destination_number=6131665250"/>
  715. <action application="set" data="did_number=6131665250"/>
  716. <action application="set" data="user_domain=18.220.27.122"/>
  717. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  718. <action application="set" data="on_busy_flag=1"/>
  719. <action application="set" data="on_busy_destination="/>
  720. <action application="set" data="no_answer_flag=1"/>
  721. <action application="set" data="no_answer_destination="/>
  722. <action application="set" data="not_register_flag=1"/>
  723. <action application="set" data="not_register_destination="/>
  724. <action application="set" data="opensips_flag=1"/>
  725. <action application="set" data="variable_sip_to_host=18.220.27.122"/>
  726. <action application="set" data="opensips_domain=127.0.0.1"/>
  727. <action application="set" data="leg_timeout=60"/>
  728. <action application="set" data="userinfo_id=9"/>
  729. <action application="set" data="sip_destination_number=6131665250"/>
  730. <action application="set" data="destination_number=990666"/>
  731. <action application="set" data="did_number=990666"/>
  732. <action application="set" data="user_domain=18.220.27.122"/>
  733. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  734. <condition field="${cond(${user_data 6131665250@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  735. <action application="answer"/>
  736. <action application="export" data="voicemail_alternate_greet_id=990666"/>
  737. <action application="voicemail" data="default $${domain_name} 6131665250"/>
  738. <anti-action application="hangup" data="${originate_disposition}"/>
  739. </condition>
  740. </condition>
  741. </extension>
  742. </context>
  743. </section>
  744. </document>
  745. Dialplan: sofia/default/3348757062@46.101.114.158 parsing [default->990666] continue=false
  746. Dialplan: sofia/default/3348757062@46.101.114.158 Regex (PASS) [990666] destination_number(990666) =~ /990666/ break=on-false
  747. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_destination_number=990666)
  748. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  749. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  750. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(callstart=2021-09-21 11:22:28)
  751. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
  752. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(continue_on_fail=TRUE)
  753. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(account_id=9)
  754. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(parent_id=0)
  755. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(entity_id=0)
  756. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_processed=internal)
  757. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_direction=inbound)
  758. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(accountname=entdemo)
  759. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
  760. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates=0)
  761. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_name=3348757062)
  762. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_number=3348757062)
  763. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_name=3348757062)
  764. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_number=3348757062)
  765. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(receiver_accid=9)
  766. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(domain_name=18.220.27.122)
  767. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(sip_to_host=18.220.27.122)
  768. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
  769. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(call_type=0)
  770. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(calltype=DID-LOCAL)
  771. Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
  772. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
  773. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
  774. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  775. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  776. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
  777. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(did_user_domain=18.220.27.122)
  778. Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
  779. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
  780. Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
  781. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  782. Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  783. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(transfer_ringback=$${hold_music})
  784. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
  785. Dialplan: sofia/default/3348757062@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
  786. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
  787. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
  788. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
  789. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
  790. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
  791. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
  792. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
  793. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
  794. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  795. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
  796. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
  797. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
  798. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=6131665250)
  799. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
  800. Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  801. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
  802. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
  803. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
  804. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
  805. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
  806. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
  807. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
  808. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
  809. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
  810. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
  811. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
  812. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
  813. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(destination_number=990666)
  814. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=990666)
  815. Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
  816. Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  817. |--- Dialplan: Processing recursive conditions level:1 [990666_recur_1] require-nested=TRUE
  818. |--- Dialplan: sofia/default/3348757062@46.101.114.158 Regex (FAIL) [990666_recur_1] ${cond(${user_data 6131665250@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  819. |--- Dialplan: sofia/default/3348757062@46.101.114.158 ANTI-Action hangup(${originate_disposition})
  820. 2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:287 (sofia/default/3348757062@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  821. 2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING going to sleep
  822. 2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 686)
  823. 2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE
  824. 2021-09-21 11:22:28.263816 [DEBUG] mod_sofia.c:209 sofia/default/3348757062@46.101.114.158 SOFIA EXECUTE
  825. 2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:329 sofia/default/3348757062@46.101.114.158 Standard EXECUTE
  826. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_destination_number=990666)
  827. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_destination_number]=[990666]
  828. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  829. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  830. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  831. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  832. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(callstart=2021-09-21 11:22:28)
  833. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [callstart]=[2021-09-21 11:22:28]
  834. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
  835. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
  836. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(continue_on_fail=TRUE)
  837. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [continue_on_fail]=[TRUE]
  838. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(account_id=9)
  839. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [account_id]=[9]
  840. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(parent_id=0)
  841. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [parent_id]=[0]
  842. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(entity_id=0)
  843. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [entity_id]=[0]
  844. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_processed=internal)
  845. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_processed]=[internal]
  846. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_direction=inbound)
  847. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_direction]=[inbound]
  848. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(accountname=entdemo)
  849. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [accountname]=[entdemo]
  850. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
  851. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates_did]=[ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9]
  852. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates=0)
  853. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates]=[0]
  854. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_name=3348757062)
  855. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_name]=[3348757062]
  856. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_number=3348757062)
  857. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_number]=[3348757062]
  858. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_name=3348757062)
  859. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_name]=[3348757062]
  860. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_number=3348757062)
  861. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_number]=[3348757062]
  862. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(receiver_accid=9)
  863. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [receiver_accid]=[9]
  864. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(domain_name=18.220.27.122)
  865. 2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[18.220.27.122]
  866. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(sip_to_host=18.220.27.122)
  867. 2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[18.220.27.122]
  868. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
  869. 2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158]
  870. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(call_type=0)
  871. 2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  872. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(calltype=DID-LOCAL)
  873. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [calltype]=[DID-LOCAL]
  874. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/52145985-392f-423d-babc-b8ec5f05020e)
  875. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
  876. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
  877. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
  878. 2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  879. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  880. 2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  881. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  882. 2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  883. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
  884. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
  885. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(did_user_domain=18.220.27.122)
  886. 2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[18.220.27.122]
  887. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/52145985-392f-423d-babc-b8ec5f05020e)
  888. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
  889. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
  890. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
  891. 2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  892. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  893. 2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  894. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  895. 2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  896. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(transfer_ringback=local_stream://moh)
  897. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [transfer_ringback]=[local_stream://moh]
  898. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
  899. 2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
  900. EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
  901. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
  902. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
  903. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
  904. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  905. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  906. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
  907. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  908. 2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  909. 2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  910. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
  911. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
  912. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
  913. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
  914. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  915. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
  916. 2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  917. 2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  918. 2021-09-21 11:22:28.283812 [NOTICE] switch_channel.c:1118 New Channel sofia/default/6131665250@192.168.1.13:39549 [c31e5bff-3943-4747-9fe3-6b73c375dd1d]
  919. 2021-09-21 11:22:28.283812 [DEBUG] mod_sofia.c:5102 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_NEW -> CS_INIT
  920. 2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:3142 sofia/default/6131665250@192.168.1.13:39549 Setting leg timeout to 60
  921. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_INIT (Cur 2 Tot 687)
  922. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT
  923. 2021-09-21 11:22:28.283812 [DEBUG] mod_sofia.c:93 sofia/default/6131665250@192.168.1.13:39549 SOFIA INIT
  924. 2021-09-21 11:22:28.283812 [DEBUG] sofia_glue.c:1590 sip:6131665250@117.247.91.162:59033;rinstance=24df7c8bec0d5a33;transport=tcp Setting proxy route to sofia/default/6131665250@192.168.1.13:39549
  925. 2021-09-21 11:22:28.283812 [INFO] sofia_glue.c:1621 sofia/default/6131665250@192.168.1.13:39549 sending invite call-id: (null)
  926. 2021-09-21 11:22:28.283812 [DEBUG] sofia_glue.c:1624 sofia/default/6131665250@192.168.1.13:39549 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  927. Local SDP:
  928. v=0
  929. o=FreeSWITCH 1632196098 1632196099 IN IP4 18.220.27.122
  930. s=FreeSWITCH
  931. c=IN IP4 18.220.27.122
  932. t=0 0
  933. m=audio 27250 RTP/AVP 8 101
  934. a=rtpmap:8 PCMA/8000
  935. a=rtpmap:101 telephone-event/8000
  936. a=fmtp:101 0-16
  937. a=ptime:20
  938. a=sendrecv
  939.  
  940. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:40 sofia/default/6131665250@192.168.1.13:39549 Standard INIT
  941. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_INIT -> CS_ROUTING
  942. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT going to sleep
  943. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_ROUTING (Cur 2 Tot 687)
  944. 2021-09-21 11:22:28.283812 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [calling][0]
  945. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING
  946. 2021-09-21 11:22:28.283812 [DEBUG] mod_sofia.c:154 sofia/default/6131665250@192.168.1.13:39549 SOFIA ROUTING
  947. 2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:67 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  948. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING going to sleep
  949. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 687)
  950. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA
  951. 2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA going to sleep
  952. 2021-09-21 11:22:28.943832 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [proceeding][180]
  953. 2021-09-21 11:22:28.943832 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/6131665250@192.168.1.13:39549!
  954. 2021-09-21 11:22:28.943832 [DEBUG] switch_channel.c:3437 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change DOWN -> RINGING
  955. 2021-09-21 11:22:28.943832 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/3348757062@46.101.114.158!
  956. 2021-09-21 11:22:28.963811 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [early][180]
  957. 2021-09-21 11:22:28.963811 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/3348757062@46.101.114.158!
  958. 2021-09-21 11:22:31.303835 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [completing][200]
  959. 2021-09-21 11:22:31.303835 [DEBUG] sofia.c:7416 Remote SDP:
  960. v=0
  961. o=Z 0 2 IN IP4 117.247.91.162
  962. s=Z
  963. c=IN IP4 117.247.91.162
  964. t=0 0
  965. m=audio 8002 RTP/AVP 8 3 110 0 97 101
  966. a=rtpmap:110 speex/8000
  967. a=rtpmap:97 iLBC/8000
  968. a=fmtp:97 mode=30
  969. a=rtpmap:101 telephone-event/8000
  970. a=fmtp:101 0-16
  971.  
  972. 2021-09-21 11:22:31.303835 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [ready][200]
  973. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  974. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  975. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  976. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  977. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  978. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  979. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  980. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/6131665250@192.168.1.13:39549 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  981. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_codec.c:111 sofia/default/6131665250@192.168.1.13:39549 Original read codec set to PCMA:8
  982. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  983. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5918 sofia/default/6131665250@192.168.1.13:39549 Set 2833 dtmf send payload to 101 recv payload to 101
  984. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/6131665250@192.168.1.13:39549] 172.31.8.199 port 27250 -> 117.247.91.162 port 8002 codec: 8 ms: 20
  985. 2021-09-21 11:22:31.303835 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  986. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8989 sofia/default/6131665250@192.168.1.13:39549 Set 2833 dtmf send payload to 101
  987. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8996 sofia/default/6131665250@192.168.1.13:39549 Set 2833 dtmf receive payload to 101
  988. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:9019 sofia/default/6131665250@192.168.1.13:39549 Set rtp dtmf delay to 40
  989. 2021-09-21 11:22:31.303835 [NOTICE] sofia.c:8586 Channel [sofia/default/6131665250@192.168.1.13:39549] has been answered
  990. 2021-09-21 11:22:31.303835 [DEBUG] switch_channel.c:3865 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change RINGING -> ACTIVE
  991. 2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/3348757062@46.101.114.158] 172.31.8.199 port 25362 -> 46.101.114.158 port 10558 codec: 8 ms: 20
  992. 2021-09-21 11:22:31.303835 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  993. 2021-09-21 11:22:31.323814 [DEBUG] switch_core_media.c:8989 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101
  994. 2021-09-21 11:22:31.323814 [DEBUG] switch_core_media.c:8996 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf receive payload to 101
  995. 2021-09-21 11:22:31.323814 [DEBUG] switch_core_media.c:9019 sofia/default/3348757062@46.101.114.158 Set rtp dtmf delay to 40
  996. 2021-09-21 11:22:31.323814 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/3348757062@46.101.114.158:
  997. v=0
  998. o=FreeSWITCH 1632197989 1632197990 IN IP4 18.220.27.122
  999. s=FreeSWITCH
  1000. c=IN IP4 18.220.27.122
  1001. t=0 0
  1002. m=audio 25362 RTP/AVP 8 101
  1003. a=rtpmap:8 PCMA/8000
  1004. a=rtpmap:101 telephone-event/8000
  1005. a=fmtp:101 0-16
  1006. a=ptime:20
  1007. a=sendrecv
  1008.  
  1009. 2021-09-21 11:22:31.323814 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [completed][200]
  1010. 2021-09-21 11:22:31.323814 [NOTICE] switch_ivr_originate.c:3825 Channel [sofia/default/3348757062@46.101.114.158] has been answered
  1011. 2021-09-21 11:22:31.323814 [DEBUG] switch_channel.c:3865 (sofia/default/3348757062@46.101.114.158) Callstate Change RINGING -> ACTIVE
  1012. 2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/6131665250@192.168.1.13:39549]
  1013. 2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_originate.c:3142 sofia/default/6131665250@192.168.1.13:39549 Setting leg timeout to 60
  1014. 2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/6131665250@192.168.1.13:39549]
  1015. 2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1016. 2021-09-21 11:22:31.323814 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 687)
  1017. 2021-09-21 11:22:31.323814 [DEBUG] switch_core_state_machine.c:654 (sofia/default/6131665250@192.168.1.13:39549) State EXCHANGE_MEDIA
  1018. 2021-09-21 11:22:31.323814 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  1019. 2021-09-21 11:22:31.363813 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  1020. 2021-09-21 11:22:31.423833 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [ready][200]
  1021. 2021-09-21 11:22:31.503818 [DEBUG] switch_ivr_bridge.c:655 sofia/default/6131665250@192.168.1.13:39549 Bridge execute app sched_hangup(+6000 normal_clearing)
  1022. 2021-09-21 11:22:31.523816 [DEBUG] switch_ivr.c:632 sofia/default/6131665250@192.168.1.13:39549 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1023. EXECUTE [depth=0] sofia/default/6131665250@192.168.1.13:39549 sched_hangup(+6000 normal_clearing)
  1024. 2021-09-21 11:22:31.523816 [DEBUG] switch_scheduler.c:263 Added task 21 switch_ivr_schedule_hangup (c31e5bff-3943-4747-9fe3-6b73c375dd1d) to run at 1632229351
  1025. 2021-09-21 11:22:31.663810 [NOTICE] sofia.c:1090 Hangup sofia/default/3348757062@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  1026. 2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3348757062@46.101.114.158]
  1027. 2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:820 sofia/default/3348757062@46.101.114.158 ending bridge by request from write function
  1028. 2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/6131665250@192.168.1.13:39549]
  1029. 2021-09-21 11:22:31.663810 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/6131665250@192.168.1.13:39549 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1030. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:654 (sofia/default/6131665250@192.168.1.13:39549) State EXCHANGE_MEDIA going to sleep
  1031. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_HANGUP (Cur 2 Tot 687)
  1032. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:848 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change ACTIVE -> HANGUP
  1033. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP
  1034. 2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:447 sofia/default/6131665250@192.168.1.13:39549 Overriding SIP cause 480 with 200 from the other leg
  1035. 2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:453 Channel sofia/default/6131665250@192.168.1.13:39549 hanging up, cause: NORMAL_CLEARING
  1036. 2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/6131665250@192.168.1.13:39549
  1037. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:60 sofia/default/6131665250@192.168.1.13:39549 Standard HANGUP, cause: NORMAL_CLEARING
  1038. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP going to sleep
  1039. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:620 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_HANGUP -> CS_REPORTING
  1040. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_REPORTING (Cur 2 Tot 687)
  1041. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING
  1042. 2021-09-21 11:22:31.663810 [INFO] mod_json_cdr.c:271 Process [c31e5bff-3943-4747-9fe3-6b73c375dd1d.cdr.json]
  1043. 2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/6131665250@192.168.1.13:39549 skip receive message [UNBRIDGE] (channel is hungup already)
  1044. 2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/3348757062@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  1045. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_session.c:2914 sofia/default/3348757062@46.101.114.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1046. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE going to sleep
  1047. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 687)
  1048. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:848 (sofia/default/3348757062@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  1049. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP
  1050. 2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:453 Channel sofia/default/3348757062@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  1051. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:60 sofia/default/3348757062@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  1052. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP going to sleep
  1053. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:620 (sofia/default/3348757062@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  1054. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 687)
  1055. 2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING
  1056. 2021-09-21 11:22:31.663810 [INFO] mod_json_cdr.c:271 Process [52145985-392f-423d-babc-b8ec5f05020e.cdr.json]
  1057. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:174 sofia/default/6131665250@192.168.1.13:39549 Standard REPORTING, cause: NORMAL_CLEARING
  1058. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING going to sleep
  1059. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:611 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_REPORTING -> CS_DESTROY
  1060. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_session.c:1736 Session 687 (sofia/default/6131665250@192.168.1.13:39549) Locked, Waiting on external entities
  1061. 2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1754 Session 687 (sofia/default/6131665250@192.168.1.13:39549) Ended
  1062. 2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/6131665250@192.168.1.13:39549 [CS_DESTROY]
  1063. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:739 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_DESTROY (Cur 1 Tot 687)
  1064. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY
  1065. 2021-09-21 11:22:31.683872 [DEBUG] mod_sofia.c:364 sofia/default/6131665250@192.168.1.13:39549 SOFIA DESTROY
  1066. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:181 sofia/default/6131665250@192.168.1.13:39549 Standard DESTROY
  1067. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY going to sleep
  1068. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:174 sofia/default/3348757062@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  1069. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING going to sleep
  1070. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:611 (sofia/default/3348757062@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  1071. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_session.c:1736 Session 686 (sofia/default/3348757062@46.101.114.158) Locked, Waiting on external entities
  1072. 2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1754 Session 686 (sofia/default/3348757062@46.101.114.158) Ended
  1073. 2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/3348757062@46.101.114.158 [CS_DESTROY]
  1074. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:739 (sofia/default/3348757062@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 687)
  1075. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY
  1076. 2021-09-21 11:22:31.683872 [DEBUG] mod_sofia.c:364 sofia/default/3348757062@46.101.114.158 SOFIA DESTROY
  1077. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:181 sofia/default/3348757062@46.101.114.158 Standard DESTROY
  1078. 2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY going to sleep
  1079. 2021-09-21 11:22:32.003851 [DEBUG] switch_scheduler.c:147 Deleting task 21 switch_ivr_schedule_hangup (c31e5bff-3943-4747-9fe3-6b73c375dd1d)
  1080. freeswitch@ip-172-31-8-199>
  1081.