From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and ring grop selected device sip routing not working
  1. freeswitch@entdemo-gibfibre>
  2. freeswitch@entdemo-gibfibre>
  3. 2022-10-13 13:22:12.233384 92.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  4. 2022-10-13 13:22:12.393386 92.17% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  5. 2022-10-13 13:22:44.613409 90.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  6. 2022-10-13 13:22:44.813412 90.40% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  7. 2022-10-13 13:23:17.053388 84.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  8. 2022-10-13 13:23:17.293392 83.97% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  9. 2022-10-13 13:23:22.793393 85.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4727985745@entdemo.astppbilling.org:5064 [80ba9458-5ab0-4145-915f-1a8f401e2861]
  10. 2022-10-13 13:23:22.793393 85.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Running State Change CS_NEW (Cur 1 Tot 547)
  11. 2022-10-13 13:23:22.793393 85.30% [INFO] sofia.c:10462 sofia/default/4727985745@entdemo.astppbilling.org:5064 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: qaytggkemymevzh@pk-qa
  12. 2022-10-13 13:23:22.793393 85.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  13. 2022-10-13 13:23:22.793393 85.30% [DEBUG] sofia.c:2419 detaching session 80ba9458-5ab0-4145-915f-1a8f401e2861
  14. 2022-10-13 13:23:22.793393 85.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [1011@entdemo.astppbilling.org] from ip 103.240.35.46
  15. 2022-10-13 13:23:22.793393 85.30% [DEBUG] switch_core_state_machine.c:600 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State NEW
  16. 2022-10-13 13:23:22.933398 85.30% [DEBUG] sofia.c:2532 Re-attaching to session 80ba9458-5ab0-4145-915f-1a8f401e2861
  17. 2022-10-13 13:23:22.953406 85.30% [INFO] sofia.c:10462 sofia/default/4727985745@entdemo.astppbilling.org:5064 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: qaytggkemymevzh@pk-qa
  18. 2022-10-13 13:23:22.953406 85.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  19. 2022-10-13 13:23:22.973389 85.30% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  20. 2022-10-13 13:23:22.973389 85.30% [DEBUG] sofia.c:7499 Channel sofia/default/4727985745@entdemo.astppbilling.org:5064 entering state [received][100]
  21. 2022-10-13 13:23:22.973389 85.30% [DEBUG] sofia.c:7509 Remote SDP:
  22. v=0
  23. o=twinkle 470244751 1930983821 IN IP4 192.168.1.51
  24. s=-
  25. c=IN IP4 192.168.1.51
  26. t=0 0
  27. m=audio 8000 RTP/AVP 98 97 8 0 3 101
  28. a=rtpmap:98 speex/16000
  29. a=rtpmap:97 speex/8000
  30. a=rtpmap:8 PCMA/8000
  31. a=rtpmap:0 PCMU/8000
  32. a=rtpmap:3 GSM/8000
  33. a=rtpmap:101 telephone-event/8000
  34. a=fmtp:101 0-15
  35. a=ptime:20
  36.  
  37. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  43. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  44. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  45. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  46. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  47. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  48. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  49. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  50. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/4727985745@entdemo.astppbilling.org:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  51. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_codec.c:111 sofia/default/4727985745@entdemo.astppbilling.org:5064 Original read codec set to PCMA:8
  52. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  53. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_media.c:5973 sofia/default/4727985745@entdemo.astppbilling.org:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  54. 2022-10-13 13:23:22.973389 85.30% [DEBUG] sofia.c:7933 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State Change CS_NEW -> CS_INIT
  55. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Running State Change CS_INIT (Cur 1 Tot 547)
  56. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State INIT
  57. 2022-10-13 13:23:22.973389 85.30% [DEBUG] mod_sofia.c:97 sofia/default/4727985745@entdemo.astppbilling.org:5064 SOFIA INIT
  58. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/4727985745@entdemo.astppbilling.org:5064 Standard INIT
  59. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State Change CS_INIT -> CS_ROUTING
  60. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State INIT going to sleep
  61. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Running State Change CS_ROUTING (Cur 1 Tot 547)
  62. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_channel.c:2380 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Callstate Change DOWN -> RINGING
  63. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State ROUTING
  64. 2022-10-13 13:23:22.973389 85.30% [DEBUG] mod_sofia.c:158 sofia/default/4727985745@entdemo.astppbilling.org:5064 SOFIA ROUTING
  65. 2022-10-13 13:23:22.973389 85.30% [DEBUG] switch_core_state_machine.c:230 sofia/default/4727985745@entdemo.astppbilling.org:5064 Standard ROUTING
  66. 2022-10-13 13:23:22.973389 85.30% [INFO] mod_dialplan_xml.c:639 Processing 4727985745 <4727985745>->1011 in context default
  67. 2022-10-13 13:23:23.013389 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  68. 2022-10-13 13:23:23.013389 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  69. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1011
  70. 2022-10-13 13:23:23.053384 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1011' AND status=0 limit 1
  71. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : ASTPP / 4810338297
  72. 2022-10-13 13:23:23.053384 85.30% [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 ="1011" LIMIT 1
  73. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  74. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  75. 2022-10-13 13:23:23.053384 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1
  76. 2022-10-13 13:23:23.053384 85.30% [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 ="1011" AND A.accountid = '2' limit 1
  77. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1011
  78. 2022-10-13 13:23:23.053384 85.30% [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 ="1011" LIMIT 1
  79. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : inbound
  80. 2022-10-13 13:23:23.053384 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1011" AND (accountid = 0 OR status = 1) LIMIT 1
  81. 2022-10-13 13:23:23.053384 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  82. 2022-10-13 13:23:23.053384 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :18
  83. 2022-10-13 13:23:23.053384 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^1011.*' OR patterns = '^101.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 18 ORDER BY LENGTH(PKGPTR.patterns) DESC
  84. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  86. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  87. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 681.3
  88. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  89. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  90. 2022-10-13 13:23:23.053384 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  91. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  92. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  93. 2022-10-13 13:23:23.073382 85.30% [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 ="1011" LIMIT 1
  94. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
  95. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  96. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  97. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  98. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  99. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  100. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 1011
  101. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
  102. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  103. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  104. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your681.3 balance Accountid 2 !!!
  105. 2022-10-13 13:23:23.073382 85.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  106. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  107. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  108. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  109. 2022-10-13 13:23:23.073382 85.30% [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 = 2 AND status=0 LIMIT 1
  110. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "18" AND deleted = 0 limit 1
  111. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2
  112. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2
  113. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2
  114. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  115. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_7
  116. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [RINGGROUP] Call Type : 7
  117. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [RINGGROUP] Call Type : Ring Group
  118. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1
  119. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  120. 2022-10-13 13:23:23.073382 85.30% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,confirm=false,dialed_user=896,leg_timeout=20,leg_delay_start=1]user/896@entdemo.astppbilling.org:5064|
  121. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  122. <document type="freeswitch/xml">
  123. <section name="dialplan" description="ASTPP Dialplan">
  124. <context name="default">
  125. <extension name="1011">
  126. <condition field="destination_number" expression="1011">
  127. <action application="set" data="effective_destination_number=1011"/>
  128. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  129. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  130. <action application="set" data="callstart=2022-10-13 13:23:23"/>
  131. <action application="set" data="hangup_after_bridge=true"/>
  132. <action application="set" data="continue_on_fail=TRUE"/>
  133. <action application="set" data="account_id=2"/>
  134. <action application="set" data="parent_id=0"/>
  135. <action application="set" data="entity_id=0"/>
  136. <action application="set" data="call_processed=internal"/>
  137. <action application="set" data="call_direction=inbound"/>
  138. <action application="set" data="accountname=default"/>
  139. <action application="set" data="origination_rates_did=ID:2|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:18"/>
  140. <action application="set" data="origination_rates=0"/>
  141. <action application="set" data="original_caller_id_name=ASTPP"/>
  142. <action application="set" data="original_caller_id_number=4810338297"/>
  143. <action application="limit" data="db 4727985745 user_4727985745 1 !SWITCH_CONGESTION"/>
  144. <action application="export" data="is_recording=1"/>
  145. <action application="export" data="media_bug_answer_req=true"/>
  146. <action application="export" data="RECORD_STEREO=true"/>
  147. <action application="export" data="record_sample_rate=8000"/>
  148. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  149. <action application="set" data="effective_caller_id_name=ASTPP"/>
  150. <action application="set" data="effective_caller_id_number=4810338297"/>
  151. <action application="set" data="receiver_accid=18"/>
  152. <action application="export" data="presence_data=x|||default(4727985745)|||^1011.* // 1011 // 0.00000||||||DID"/>
  153. <action application="export" data="call_type=7"/>
  154. <action application="set" data="did_calltype=7"/>
  155. <action application="set" data="did_extensions=1"/>
  156. <action application="export" data="is_recording=1"/>
  157. <action application="export" data="media_bug_answer_req=true"/>
  158. <action application="export" data="RECORD_STEREO=true"/>
  159. <action application="export" data="record_sample_rate=8000"/>
  160. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  161. <action application="set" data="effective_caller_id_name=ASTPP"/>
  162. <action application="set" data="effective_caller_id_number=4810338297"/>
  163. <action application="set" data="module_name=ringgroup"/>
  164. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,confirm=false,dialed_user=896,leg_timeout=20,leg_delay_start=1]user/896@entdemo.astppbilling.org:5064|"/>
  165. </condition>
  166. </extension>
  167. </context>
  168. </section>
  169. </document>
  170. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 parsing [default->1011] continue=false
  171. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Regex (PASS) [1011] destination_number(1011) =~ /1011/ break=on-false
  172. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(effective_destination_number=1011)
  173. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  174. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  175. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(callstart=2022-10-13 13:23:23)
  176. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(hangup_after_bridge=true)
  177. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(continue_on_fail=TRUE)
  178. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(account_id=2)
  179. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(parent_id=0)
  180. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(entity_id=0)
  181. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(call_processed=internal)
  182. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(call_direction=inbound)
  183. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(accountname=default)
  184. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(origination_rates_did=ID:2|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:18)
  185. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(origination_rates=0)
  186. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(original_caller_id_name=ASTPP)
  187. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(original_caller_id_number=4810338297)
  188. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  189. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(is_recording=1)
  190. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(media_bug_answer_req=true)
  191. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(RECORD_STEREO=true)
  192. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(record_sample_rate=8000)
  193. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  194. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(effective_caller_id_name=ASTPP)
  195. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(effective_caller_id_number=4810338297)
  196. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(receiver_accid=18)
  197. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(presence_data=x|||default(4727985745)|||^1011.* // 1011 // 0.00000||||||DID)
  198. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(call_type=7)
  199. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(did_calltype=7)
  200. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(did_extensions=1)
  201. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(is_recording=1)
  202. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(media_bug_answer_req=true)
  203. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(RECORD_STEREO=true)
  204. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(record_sample_rate=8000)
  205. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  206. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(effective_caller_id_name=ASTPP)
  207. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(effective_caller_id_number=4810338297)
  208. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action set(module_name=ringgroup)
  209. Dialplan: sofia/default/4727985745@entdemo.astppbilling.org:5064 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,confirm=false,dialed_user=896,leg_timeout=20,leg_delay_start=1]user/896@entdemo.astppbilling.org:5064|)
  210. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State Change CS_ROUTING -> CS_EXECUTE
  211. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State ROUTING going to sleep
  212. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Running State Change CS_EXECUTE (Cur 1 Tot 547)
  213. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State EXECUTE
  214. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_sofia.c:213 sofia/default/4727985745@entdemo.astppbilling.org:5064 SOFIA EXECUTE
  215. 2022-10-13 13:23:23.073382 85.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/4727985745@entdemo.astppbilling.org:5064 Standard EXECUTE
  216. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(effective_destination_number=1011)
  217. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [effective_destination_number]=[1011]
  218. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(bridge_pre_execute_bleg_app=sched_hangup)
  219. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [bridge_pre_execute_bleg_app]=[sched_hangup]
  220. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  221. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  222. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(callstart=2022-10-13 13:23:23)
  223. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [callstart]=[2022-10-13 13:23:23]
  224. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(hangup_after_bridge=true)
  225. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [hangup_after_bridge]=[true]
  226. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(continue_on_fail=TRUE)
  227. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [continue_on_fail]=[TRUE]
  228. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(account_id=2)
  229. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [account_id]=[2]
  230. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(parent_id=0)
  231. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [parent_id]=[0]
  232. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(entity_id=0)
  233. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [entity_id]=[0]
  234. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(call_processed=internal)
  235. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [call_processed]=[internal]
  236. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(call_direction=inbound)
  237. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [call_direction]=[inbound]
  238. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(accountname=default)
  239. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [accountname]=[default]
  240. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(origination_rates_did=ID:2|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:18)
  241. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [origination_rates_did]=[ID:2|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:18]
  242. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(origination_rates=0)
  243. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [origination_rates]=[0]
  244. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(original_caller_id_name=ASTPP)
  245. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [original_caller_id_name]=[ASTPP]
  246. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(original_caller_id_number=4810338297)
  247. 2022-10-13 13:23:23.073382 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [original_caller_id_number]=[4810338297]
  248. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  249. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  250. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  251. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(is_recording=1)
  252. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  253. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(media_bug_answer_req=true)
  254. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  255. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(RECORD_STEREO=true)
  256. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  257. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(record_sample_rate=8000)
  258. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  259. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav)
  260. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav]
  261. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(effective_caller_id_name=ASTPP)
  262. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [effective_caller_id_name]=[ASTPP]
  263. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(effective_caller_id_number=4810338297)
  264. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [effective_caller_id_number]=[4810338297]
  265. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(receiver_accid=18)
  266. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [receiver_accid]=[18]
  267. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(presence_data=x|||default(4727985745)|||^1011.* // 1011 // 0.00000||||||DID)
  268. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^1011.* // 1011 // 0.00000||||||DID]
  269. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(call_type=7)
  270. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  271. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(did_calltype=7)
  272. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [did_calltype]=[7]
  273. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(did_extensions=1)
  274. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [did_extensions]=[1]
  275. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(is_recording=1)
  276. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  277. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(media_bug_answer_req=true)
  278. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  279. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(RECORD_STEREO=true)
  280. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  281. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(record_sample_rate=8000)
  282. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  283. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav)
  284. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav]
  285. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(effective_caller_id_name=ASTPP)
  286. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [effective_caller_id_name]=[ASTPP]
  287. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(effective_caller_id_number=4810338297)
  288. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [effective_caller_id_number]=[4810338297]
  289. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 set(module_name=ringgroup)
  290. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/4727985745@entdemo.astppbilling.org:5064 [module_name]=[ringgroup]
  291. EXECUTE [depth=0] sofia/default/4727985745@entdemo.astppbilling.org:5064 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,confirm=false,dialed_user=896,leg_timeout=20,leg_delay_start=1]user/896@entdemo.astppbilling.org:5064|)
  292. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [is_recording]=[1] to event
  293. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  294. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  295. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  296. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav] to event
  297. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1011.* // 1011 // 0.00000||||||DID] to event
  298. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [call_type]=[7] to event
  299. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [is_recording]=[1] to event
  300. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  301. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  302. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  303. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav] to event
  304. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  305. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  306. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [is_recording]=[1] to event
  307. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  308. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  309. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  310. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav] to event
  311. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1011.* // 1011 // 0.00000||||||DID] to event
  312. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [call_type]=[7] to event
  313. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [is_recording]=[1] to event
  314. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  315. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  316. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  317. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_channel.c:1269 sofia/default/4727985745@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/80ba9458-5ab0-4145-915f-1a8f401e2861.wav] to event
  318. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  319. 2022-10-13 13:23:23.093383 85.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/896@103.240.35.46:56306 [429250ee-1bca-45aa-9306-ba095496772a]
  320. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_sofia.c:5121 (sofia/default/896@103.240.35.46:56306) State Change CS_NEW -> CS_INIT
  321. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_ivr_originate.c:3151 sofia/default/896@103.240.35.46:56306 Setting leg timeout to 20
  322. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_ivr_originate.c:3169 sofia/default/896@103.240.35.46:56306 Setting leg delay start to 1
  323. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/896@103.240.35.46:56306) Running State Change CS_INIT (Cur 2 Tot 548)
  324. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/896@103.240.35.46:56306) State INIT
  325. 2022-10-13 13:23:23.093383 85.30% [DEBUG] mod_sofia.c:97 sofia/default/896@103.240.35.46:56306 SOFIA INIT
  326. 2022-10-13 13:23:23.093383 85.30% [DEBUG] sofia_glue.c:1620 sip:896@103.240.35.46:43884;rinstance=82b10231cdc6fc33;transport=TCP Setting proxy route to sofia/default/896@103.240.35.46:56306
  327. 2022-10-13 13:23:23.093383 85.30% [INFO] sofia_glue.c:1651 sofia/default/896@103.240.35.46:56306 sending invite call-id: (null)
  328. 2022-10-13 13:23:23.093383 85.30% [DEBUG] sofia_glue.c:1654 sofia/default/896@103.240.35.46:56306 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  329. Local SDP:
  330. v=0
  331. o=FreeSWITCH 1665649709 1665649710 IN IP4 46.101.114.158
  332. s=FreeSWITCH
  333. c=IN IP4 46.101.114.158
  334. t=0 0
  335. m=audio 17694 RTP/AVP 8 101
  336. a=rtpmap:8 PCMA/8000
  337. a=rtpmap:101 telephone-event/8000
  338. a=fmtp:101 0-15
  339. a=ptime:20
  340. a=sendrecv
  341.  
  342. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/896@103.240.35.46:56306 Standard INIT
  343. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/896@103.240.35.46:56306) State Change CS_INIT -> CS_ROUTING
  344. 2022-10-13 13:23:23.093383 85.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/896@103.240.35.46:56306) State INIT going to sleep
  345. 2022-10-13 13:23:23.113381 85.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/896@103.240.35.46:56306) Running State Change CS_ROUTING (Cur 2 Tot 548)
  346. 2022-10-13 13:23:23.113381 85.30% [DEBUG] sofia.c:7499 Channel sofia/default/896@103.240.35.46:56306 entering state [calling][0]
  347. 2022-10-13 13:23:23.113381 85.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/896@103.240.35.46:56306) State ROUTING
  348. 2022-10-13 13:23:23.113381 85.30% [DEBUG] mod_sofia.c:158 sofia/default/896@103.240.35.46:56306 SOFIA ROUTING
  349. 2022-10-13 13:23:23.113381 85.30% [DEBUG] switch_ivr_originate.c:67 (sofia/default/896@103.240.35.46:56306) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  350. 2022-10-13 13:23:23.113381 85.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/896@103.240.35.46:56306) State ROUTING going to sleep
  351. 2022-10-13 13:23:23.113381 85.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/896@103.240.35.46:56306) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 548)
  352. 2022-10-13 13:23:23.113381 85.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/896@103.240.35.46:56306) State CONSUME_MEDIA
  353. 2022-10-13 13:23:23.113381 85.30% [DEBUG] switch_core_state_machine.c:659 (sofia/default/896@103.240.35.46:56306) State CONSUME_MEDIA going to sleep
  354. 2022-10-13 13:23:23.533380 84.70% [DEBUG] sofia.c:7499 Channel sofia/default/896@103.240.35.46:56306 entering state [proceeding][180]
  355. 2022-10-13 13:23:23.533380 84.70% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/896@103.240.35.46:56306!
  356. 2022-10-13 13:23:23.533380 84.70% [DEBUG] switch_channel.c:3494 (sofia/default/896@103.240.35.46:56306) Callstate Change DOWN -> RINGING
  357. 2022-10-13 13:23:23.533380 84.70% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/4727985745@entdemo.astppbilling.org:5064!
  358. 2022-10-13 13:23:23.533380 84.70% [DEBUG] sofia.c:7499 Channel sofia/default/4727985745@entdemo.astppbilling.org:5064 entering state [early][180]
  359. 2022-10-13 13:23:23.533380 84.70% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/4727985745@entdemo.astppbilling.org:5064!
  360. 2022-10-13 13:23:35.253397 93.23% [DEBUG] sofia.c:7499 Channel sofia/default/896@103.240.35.46:56306 entering state [terminated][486]
  361. 2022-10-13 13:23:35.253397 93.23% [NOTICE] sofia.c:8738 Hangup sofia/default/896@103.240.35.46:56306 [CS_CONSUME_MEDIA] [USER_BUSY]
  362. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/896@103.240.35.46:56306) Running State Change CS_HANGUP (Cur 2 Tot 548)
  363. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/896@103.240.35.46:56306) Callstate Change RINGING -> HANGUP
  364. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/896@103.240.35.46:56306) State HANGUP
  365. 2022-10-13 13:23:35.253397 93.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/896@103.240.35.46:56306 hanging up, cause: USER_BUSY
  366. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/896@103.240.35.46:56306 Standard HANGUP, cause: USER_BUSY
  367. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/896@103.240.35.46:56306) State HANGUP going to sleep
  368. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/896@103.240.35.46:56306) State Change CS_HANGUP -> CS_REPORTING
  369. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/896@103.240.35.46:56306) Running State Change CS_REPORTING (Cur 2 Tot 548)
  370. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/896@103.240.35.46:56306) State REPORTING
  371. 2022-10-13 13:23:35.253397 93.23% [INFO] mod_json_cdr.c:271 Process [429250ee-1bca-45aa-9306-ba095496772a.cdr.json]
  372. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  373. 2022-10-13 13:23:35.253397 93.23% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_BUSY]
  374. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
  375. 2022-10-13 13:23:35.253397 93.23% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: USER_BUSY
  376. 2022-10-13 13:23:35.253397 93.23% [NOTICE] switch_core_state_machine.c:382 sofia/default/4727985745@entdemo.astppbilling.org:5064 has executed the last dialplan instruction, hanging up.
  377. 2022-10-13 13:23:35.253397 93.23% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/4727985745@entdemo.astppbilling.org:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  378. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State EXECUTE going to sleep
  379. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Running State Change CS_HANGUP (Cur 2 Tot 548)
  380. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Callstate Change RINGING -> HANGUP
  381. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State HANGUP
  382. 2022-10-13 13:23:35.253397 93.23% [DEBUG] mod_sofia.c:462 sofia/default/4727985745@entdemo.astppbilling.org:5064 Overriding SIP cause 480 with 486 from the other leg
  383. 2022-10-13 13:23:35.253397 93.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/4727985745@entdemo.astppbilling.org:5064 hanging up, cause: NORMAL_CLEARING
  384. 2022-10-13 13:23:35.253397 93.23% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
  385. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/4727985745@entdemo.astppbilling.org:5064 Standard HANGUP, cause: NORMAL_CLEARING
  386. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State HANGUP going to sleep
  387. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State Change CS_HANGUP -> CS_REPORTING
  388. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Running State Change CS_REPORTING (Cur 2 Tot 548)
  389. 2022-10-13 13:23:35.253397 93.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State REPORTING
  390. 2022-10-13 13:23:35.253397 93.23% [INFO] mod_json_cdr.c:271 Process [80ba9458-5ab0-4145-915f-1a8f401e2861.cdr.json]
  391. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/896@103.240.35.46:56306 Standard REPORTING, cause: USER_BUSY
  392. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/896@103.240.35.46:56306) State REPORTING going to sleep
  393. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/896@103.240.35.46:56306) State Change CS_REPORTING -> CS_DESTROY
  394. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_session.c:1753 Session 548 (sofia/default/896@103.240.35.46:56306) Locked, Waiting on external entities
  395. 2022-10-13 13:23:35.273388 93.23% [NOTICE] switch_core_session.c:1771 Session 548 (sofia/default/896@103.240.35.46:56306) Ended
  396. 2022-10-13 13:23:35.273388 93.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/896@103.240.35.46:56306 [CS_DESTROY]
  397. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/896@103.240.35.46:56306) Running State Change CS_DESTROY (Cur 1 Tot 548)
  398. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/896@103.240.35.46:56306) State DESTROY
  399. 2022-10-13 13:23:35.273388 93.23% [DEBUG] mod_sofia.c:379 sofia/default/896@103.240.35.46:56306 SOFIA DESTROY
  400. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/896@103.240.35.46:56306 Standard DESTROY
  401. 2022-10-13 13:23:35.273388 93.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/896@103.240.35.46:56306) State DESTROY going to sleep
  402. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/4727985745@entdemo.astppbilling.org:5064 Standard REPORTING, cause: NORMAL_CLEARING
  403. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State REPORTING going to sleep
  404. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State Change CS_REPORTING -> CS_DESTROY
  405. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_session.c:1753 Session 547 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Locked, Waiting on external entities
  406. 2022-10-13 13:23:35.293382 93.23% [NOTICE] switch_core_session.c:1771 Session 547 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Ended
  407. 2022-10-13 13:23:35.293382 93.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/4727985745@entdemo.astppbilling.org:5064 [CS_DESTROY]
  408. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4727985745@entdemo.astppbilling.org:5064) Running State Change CS_DESTROY (Cur 0 Tot 548)
  409. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State DESTROY
  410. 2022-10-13 13:23:35.293382 93.23% [DEBUG] mod_sofia.c:379 sofia/default/4727985745@entdemo.astppbilling.org:5064 SOFIA DESTROY
  411. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/4727985745@entdemo.astppbilling.org:5064 Standard DESTROY
  412. 2022-10-13 13:23:35.293382 93.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4727985745@entdemo.astppbilling.org:5064) State DESTROY going to sleep
  413. 2022-10-13 13:23:49.513413 98.10% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  414. 2022-10-13 13:23:49.673423 98.10% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  415. 2022-10-13 13:24:21.913496 90.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  416. 2022-10-13 13:24:22.113399 90.70% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1911@entdemo.astppbilling.org] from ip 103.240.35.46
  417. freeswitch@entdemo-gibfibre