From QA, 1 Year ago, written in Plain Text.
- go back
Embed
Viewing differences between and Direct DID-Local charges not apply dial from other
  1.  
  2. [This app Best viewed at 160x60 or more..]
  3. +OK log level  [7]
  4. freeswitch@AlphaQA>
  5. freeswitch@AlphaQA>
  6. 2023-01-23 13:08:45.987161 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [6727158131@alpha.astppbilling.org] from ip 103.240.35.46
  7. 2023-01-23 13:08:46.127170 99.03% [WARNING] sofia_reg.c:3223 Can't find user [6727158131@alpha.astppbilling.org] from 103.240.35.46
  8. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="6727158131" attribute
  9. and you must configure your device to use the proper domain in its authentication credentials.
  10. 2023-01-23 13:08:46.747164 99.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [7352592817@alpha.astppbilling.org] from ip 103.240.35.46
  11. 2023-01-23 13:08:46.887210 99.03% [WARNING] sofia_reg.c:3223 Can't find user [7352592817@alpha.astppbilling.org] from 103.240.35.46
  12. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="7352592817" attribute
  13. and you must configure your device to use the proper domain in its authentication credentials.
  14. freeswitch@AlphaQA>
  15. freeswitch@AlphaQA>
  16. freeswitch@AlphaQA>
  17. 2023-01-23 13:09:17.287160 98.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990007@142.132.184.134 [69d314cc-f8f6-4505-938c-802e4990c748]
  18. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990007@142.132.184.134) Running State Change CS_NEW (Cur 1 Tot 564)
  19. 2023-01-23 13:09:17.287160 98.63% [INFO] sofia.c:10462 sofia/default/990007@142.132.184.134 receiving invite from 142.132.184.134:5076 version: 1.10.7 -release 64bit call-id: fba12926-15c1-123c-6ba8-9600013c8d14
  20. 2023-01-23 13:09:17.287160 98.63% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0.
  21. 2023-01-23 13:09:17.287160 98.63% [DEBUG] sofia.c:10585 IP 142.132.184.134 Approved by acl "default[]". Access Granted.
  22. 2023-01-23 13:09:17.287160 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/990007@142.132.184.134 entering state [received][100]
  23. 2023-01-23 13:09:17.287160 98.63% [DEBUG] sofia.c:7509 Remote SDP:
  24. v=0
  25. o=FreeSWITCH 1674460445 1674460446 IN IP4 142.132.184.134
  26. s=FreeSWITCH
  27. c=IN IP4 142.132.184.134
  28. t=0 0
  29. m=audio 18912 RTP/AVP 8 101
  30. a=rtpmap:8 PCMA/8000
  31. a=rtpmap:101 telephone-event/8000
  32. a=fmtp:101 0-15
  33. a=ptime:20
  34.  
  35. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  37. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  39. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/990007@142.132.184.134 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_codec.c:111 sofia/default/990007@142.132.184.134 Original read codec set to PCMA:8
  41. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  42. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_media.c:5973 sofia/default/990007@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2023-01-23 13:09:17.287160 98.63% [DEBUG] sofia.c:7933 (sofia/default/990007@142.132.184.134) State Change CS_NEW -> CS_INIT
  44. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990007@142.132.184.134) State NEW
  45. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990007@142.132.184.134) Running State Change CS_INIT (Cur 1 Tot 564)
  46. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990007@142.132.184.134) State INIT
  47. 2023-01-23 13:09:17.287160 98.63% [DEBUG] mod_sofia.c:97 sofia/default/990007@142.132.184.134 SOFIA INIT
  48. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/990007@142.132.184.134 Standard INIT
  49. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990007@142.132.184.134) State Change CS_INIT -> CS_ROUTING
  50. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990007@142.132.184.134) State INIT going to sleep
  51. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990007@142.132.184.134) Running State Change CS_ROUTING (Cur 1 Tot 564)
  52. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_channel.c:2380 (sofia/default/990007@142.132.184.134) Callstate Change DOWN -> RINGING
  53. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990007@142.132.184.134) State ROUTING
  54. 2023-01-23 13:09:17.287160 98.63% [DEBUG] mod_sofia.c:158 sofia/default/990007@142.132.184.134 SOFIA ROUTING
  55. 2023-01-23 13:09:17.287160 98.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/990007@142.132.184.134 Standard ROUTING
  56. 2023-01-23 13:09:17.287160 98.63% [INFO] mod_dialplan_xml.c:639 Processing 990007 <990007>->900039 in context default
  57. 2023-01-23 13:09:17.307158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  58. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  60. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2023-01-23 13:09:17.307158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 900039
  62. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  63. 2023-01-23 13:09:17.307158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERadmin
  64. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '900039' limit 1
  66. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '402' and username = '900039' limit 1
  67. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = 'admin' limit 1
  68. 2023-01-23 13:09:17.307158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 990007 / 990007
  69. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  70. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="900039" limit 1
  71. 2023-01-23 13:09:17.307158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
  72. 2023-01-23 13:09:17.307158 98.63% [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("142.132.184.134") 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 "900039"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  73. 2023-01-23 13:09:17.307158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  74. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  75. 2023-01-23 13:09:17.307158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  76. 2023-01-23 13:09:17.307158 98.63% [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 = '^900039.*' OR patterns = '^90003.*' OR patterns = '^9000.*' OR patterns = '^900.*' OR patterns = '^90.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2023-01-23 13:09:17.327158 98.63% [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 ="900039" AND A.accountid = '3' limit 1
  78. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 900039
  79. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  80. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="900039" limit 1
  81. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : local
  82. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '900039' OR number = '90003' OR number = '9000' OR number = '900' OR number = '90' OR number = '9' OR number ='--') OR (number = '900039*' OR number = '90003*' OR number = '9000*' OR number = '900*' OR number = '90*' OR number = '9*' OR number ='--') OR (number = '990007' OR number = '99000' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990007*' OR number = '99000*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  83. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  84. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '900039' OR routing_prefix = '90003' OR routing_prefix = '9000' OR routing_prefix = '900' OR routing_prefix = '90' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  85. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  86. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  87. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  88. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
  89. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  91. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  94. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  95. 2023-01-23 13:09:17.327158 98.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
  96. 2023-01-23 13:09:17.327158 98.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
  97. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 3 !!!
  98. 2023-01-23 13:09:17.327158 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  99. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  100. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="900039" limit 1
  101. 2023-01-23 13:09:17.327158 98.63% [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 = 3 AND status=0 LIMIT 1
  102. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  103. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  104. 2023-01-23 13:09:17.327158 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  105. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  106. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='900039'
  107. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  108. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  109. <document type="freeswitch/xml">
  110. <section name="dialplan" description="ASTPP Dialplan">
  111. <context name="default">
  112. <extension name="900039">
  113. <condition field="destination_number" expression="900039">
  114. <action application="set" data="effective_destination_number=900039"/>
  115. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  116. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  117. <action application="set" data="type=3"/>
  118. <action application="set" data="callstart=2023-01-23 13:09:17"/>
  119. <action application="set" data="hangup_after_bridge=true"/>
  120. <action application="set" data="continue_on_fail=TRUE"/>
  121. <action application="set" data="account_id=3"/>
  122. <action application="set" data="parent_id=0"/>
  123. <action application="set" data="entity_id=3"/>
  124. <action application="set" data="call_processed=internal"/>
  125. <action application="set" data="call_direction=local"/>
  126. <action application="set" data="accountname=BETA"/>
  127. <action application="set" data="origination_rates=ID:0|CODE:^900039.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3"/>
  128. <action application="set" data="original_caller_id_name=990007"/>
  129. <action application="set" data="original_caller_id_number=990007"/>
  130. <action application="export" data="is_recording=1"/>
  131. <action application="export" data="media_bug_answer_req=true"/>
  132. <action application="export" data="record_sample_rate=8000"/>
  133. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  134. <action application="set" data="effective_caller_id_name=990007"/>
  135. <action application="set" data="effective_caller_id_number=990007"/>
  136. <action application="set" data="calltype=LOCAL"/>
  137. <action application="set" data="daily_call_credit_limit=0.00000"/>
  138. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  139. <action application="set" data="daily_call_used_limit=0.00000"/>
  140. <action application="set" data="monthly_call_used_limit=0.00000"/>
  141. <action application="set" data="receiver_accid=402"/>
  142. <action application="export" data="presence_data=x|||default(3673942894)|||^900039.* // Local // 0||||||Local|||142.132.184.134"/>
  143. <action application="export" data="presence_data=x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134"/>
  144. <action application="ring_ready"/>
  145. <action application="sleep" data="5000"/>
  146. <action application="bridge" data="[leg_timeout=60]user/900039@${domain_name}"/>
  147. <condition field="${cond(${user_data 900039@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  148. <action application="answer"/>
  149. <action application="export" data="voicemail_alternate_greet_id=900039"/>
  150. <action application="voicemail" data="default $${domain_name} 900039"/>
  151. <anti-action application="hangup" data="${originate_disposition}"/>
  152. </condition>
  153. </condition>
  154. </extension>
  155. </context>
  156. </section>
  157. </document>
  158. Dialplan: sofia/default/990007@142.132.184.134 parsing [default->900039] continue=false
  159. Dialplan: sofia/default/990007@142.132.184.134 Regex (PASS) [900039] destination_number(900039) =~ /900039/ break=on-false
  160. Dialplan: sofia/default/990007@142.132.184.134 Action set(effective_destination_number=900039)
  161. Dialplan: sofia/default/990007@142.132.184.134 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  162. Dialplan: sofia/default/990007@142.132.184.134 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  163. Dialplan: sofia/default/990007@142.132.184.134 Action set(type=3)
  164. Dialplan: sofia/default/990007@142.132.184.134 Action set(callstart=2023-01-23 13:09:17)
  165. Dialplan: sofia/default/990007@142.132.184.134 Action set(hangup_after_bridge=true)
  166. Dialplan: sofia/default/990007@142.132.184.134 Action set(continue_on_fail=TRUE)
  167. Dialplan: sofia/default/990007@142.132.184.134 Action set(account_id=3)
  168. Dialplan: sofia/default/990007@142.132.184.134 Action set(parent_id=0)
  169. Dialplan: sofia/default/990007@142.132.184.134 Action set(entity_id=3)
  170. Dialplan: sofia/default/990007@142.132.184.134 Action set(call_processed=internal)
  171. Dialplan: sofia/default/990007@142.132.184.134 Action set(call_direction=local)
  172. Dialplan: sofia/default/990007@142.132.184.134 Action set(accountname=BETA)
  173. Dialplan: sofia/default/990007@142.132.184.134 Action set(origination_rates=ID:0|CODE:^900039.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3)
  174. Dialplan: sofia/default/990007@142.132.184.134 Action set(original_caller_id_name=990007)
  175. Dialplan: sofia/default/990007@142.132.184.134 Action set(original_caller_id_number=990007)
  176. Dialplan: sofia/default/990007@142.132.184.134 Action export(is_recording=1)
  177. Dialplan: sofia/default/990007@142.132.184.134 Action export(media_bug_answer_req=true)
  178. Dialplan: sofia/default/990007@142.132.184.134 Action export(record_sample_rate=8000)
  179. Dialplan: sofia/default/990007@142.132.184.134 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  180. Dialplan: sofia/default/990007@142.132.184.134 Action set(effective_caller_id_name=990007)
  181. Dialplan: sofia/default/990007@142.132.184.134 Action set(effective_caller_id_number=990007)
  182. Dialplan: sofia/default/990007@142.132.184.134 Action set(calltype=LOCAL)
  183. Dialplan: sofia/default/990007@142.132.184.134 Action set(daily_call_credit_limit=0.00000)
  184. Dialplan: sofia/default/990007@142.132.184.134 Action set(monthly_call_credit_limit=0.00000)
  185. Dialplan: sofia/default/990007@142.132.184.134 Action set(daily_call_used_limit=0.00000)
  186. Dialplan: sofia/default/990007@142.132.184.134 Action set(monthly_call_used_limit=0.00000)
  187. Dialplan: sofia/default/990007@142.132.184.134 Action set(receiver_accid=402)
  188. Dialplan: sofia/default/990007@142.132.184.134 Action export(presence_data=x|||default(3673942894)|||^900039.* // Local // 0||||||Local|||142.132.184.134)
  189. Dialplan: sofia/default/990007@142.132.184.134 Action export(presence_data=x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134)
  190. Dialplan: sofia/default/990007@142.132.184.134 Action ring_ready()
  191. Dialplan: sofia/default/990007@142.132.184.134 Action sleep(5000)
  192. Dialplan: sofia/default/990007@142.132.184.134 Action bridge([leg_timeout=60]user/900039@${domain_name})
  193. |--- Dialplan: Processing recursive conditions level:1 [900039_recur_1] require-nested=TRUE
  194. |--- Dialplan: sofia/default/990007@142.132.184.134 Regex (PASS) [900039_recur_1] ${cond(${user_data 900039@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  195. |--- Dialplan: sofia/default/990007@142.132.184.134 Action answer()
  196. |--- Dialplan: sofia/default/990007@142.132.184.134 Action export(voicemail_alternate_greet_id=900039)
  197. |--- Dialplan: sofia/default/990007@142.132.184.134 Action voicemail(default $${domain_name} 900039)
  198. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/990007@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE
  199. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990007@142.132.184.134) State ROUTING going to sleep
  200. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990007@142.132.184.134) Running State Change CS_EXECUTE (Cur 1 Tot 564)
  201. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990007@142.132.184.134) State EXECUTE
  202. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_sofia.c:213 sofia/default/990007@142.132.184.134 SOFIA EXECUTE
  203. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/990007@142.132.184.134 Standard EXECUTE
  204. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(effective_destination_number=900039)
  205. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [effective_destination_number]=[900039]
  206. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(bridge_pre_execute_bleg_app=sched_hangup)
  207. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [bridge_pre_execute_bleg_app]=[sched_hangup]
  208. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  209. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  210. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(type=3)
  211. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [type]=[3]
  212. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(callstart=2023-01-23 13:09:17)
  213. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [callstart]=[2023-01-23 13:09:17]
  214. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(hangup_after_bridge=true)
  215. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [hangup_after_bridge]=[true]
  216. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(continue_on_fail=TRUE)
  217. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [continue_on_fail]=[TRUE]
  218. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(account_id=3)
  219. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [account_id]=[3]
  220. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(parent_id=0)
  221. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [parent_id]=[0]
  222. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(entity_id=3)
  223. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [entity_id]=[3]
  224. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(call_processed=internal)
  225. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [call_processed]=[internal]
  226. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(call_direction=local)
  227. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [call_direction]=[local]
  228. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(accountname=BETA)
  229. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [accountname]=[BETA]
  230. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(origination_rates=ID:0|CODE:^900039.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3)
  231. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [origination_rates]=[ID:0|CODE:^900039.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3]
  232. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(original_caller_id_name=990007)
  233. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [original_caller_id_name]=[990007]
  234. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(original_caller_id_number=990007)
  235. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [original_caller_id_number]=[990007]
  236. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 export(is_recording=1)
  237. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  238. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 export(media_bug_answer_req=true)
  239. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  240. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 export(record_sample_rate=8000)
  241. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  242. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav)
  243. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav]
  244. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(effective_caller_id_name=990007)
  245. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [effective_caller_id_name]=[990007]
  246. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(effective_caller_id_number=990007)
  247. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [effective_caller_id_number]=[990007]
  248. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(calltype=LOCAL)
  249. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [calltype]=[LOCAL]
  250. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(daily_call_credit_limit=0.00000)
  251. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [daily_call_credit_limit]=[0.00000]
  252. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(monthly_call_credit_limit=0.00000)
  253. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [monthly_call_credit_limit]=[0.00000]
  254. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(daily_call_used_limit=0.00000)
  255. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [daily_call_used_limit]=[0.00000]
  256. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(monthly_call_used_limit=0.00000)
  257. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [monthly_call_used_limit]=[0.00000]
  258. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 set(receiver_accid=402)
  259. 2023-01-23 13:09:17.327158 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/990007@142.132.184.134 [receiver_accid]=[402]
  260. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 export(presence_data=x|||default(3673942894)|||^900039.* // Local // 0||||||Local|||142.132.184.134)
  261. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^900039.* // Local // 0||||||Local|||142.132.184.134]
  262. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 export(presence_data=x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134)
  263. 2023-01-23 13:09:17.327158 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134]
  264. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 ring_ready()
  265. 2023-01-23 13:09:17.327158 98.63% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/990007@142.132.184.134!
  266. 2023-01-23 13:09:17.327158 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/990007@142.132.184.134 entering state [early][180]
  267. 2023-01-23 13:09:17.327158 98.63% [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/990007@142.132.184.134!
  268. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 sleep(5000)
  269. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 bridge([leg_timeout=60]user/900039@168.119.48.166)
  270. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [is_recording]=[1] to event
  271. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  272. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  273. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav] to event
  274. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134] to event
  275. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134] to event
  276. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  277. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  278. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [is_recording]=[1] to event
  279. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  280. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  281. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav] to event
  282. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134] to event
  283. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_channel.c:1269 sofia/default/990007@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^900039.* // Local // 0||||||LOCAL|||142.132.184.134] to event
  284. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  285. 2023-01-23 13:09:22.347161 96.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/900039@103.240.35.46:35481 [80b8102b-e5ea-402d-8a5d-d4b8b5b29cca]
  286. 2023-01-23 13:09:22.347161 96.97% [DEBUG] mod_sofia.c:5121 (sofia/default/900039@103.240.35.46:35481) State Change CS_NEW -> CS_INIT
  287. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_ivr_originate.c:3151 sofia/default/900039@103.240.35.46:35481 Setting leg timeout to 60
  288. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/900039@103.240.35.46:35481) Running State Change CS_INIT (Cur 2 Tot 565)
  289. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/900039@103.240.35.46:35481) State INIT
  290. 2023-01-23 13:09:22.347161 96.97% [DEBUG] mod_sofia.c:97 sofia/default/900039@103.240.35.46:35481 SOFIA INIT
  291. 2023-01-23 13:09:22.347161 96.97% [DEBUG] sofia_glue.c:1620 sip:900039@103.240.35.46:51340;rinstance=99717252fc7d8a9c;transport=TCP Setting proxy route to sofia/default/900039@103.240.35.46:35481
  292. 2023-01-23 13:09:22.347161 96.97% [INFO] sofia_glue.c:1651 sofia/default/900039@103.240.35.46:35481 sending invite call-id: (null)
  293. 2023-01-23 13:09:22.347161 96.97% [DEBUG] sofia_glue.c:1654 sofia/default/900039@103.240.35.46:35481 sending invite version: 1.10.7 -release 64bit
  294. Local SDP:
  295. v=0
  296. o=FreeSWITCH 1674462110 1674462111 IN IP4 168.119.48.166
  297. s=FreeSWITCH
  298. c=IN IP4 168.119.48.166
  299. t=0 0
  300. m=audio 17252 RTP/AVP 8 101
  301. a=rtpmap:8 PCMA/8000
  302. a=rtpmap:101 telephone-event/8000
  303. a=fmtp:101 0-15
  304. a=ptime:20
  305. a=sendrecv
  306.  
  307. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/900039@103.240.35.46:35481 Standard INIT
  308. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/900039@103.240.35.46:35481) State Change CS_INIT -> CS_ROUTING
  309. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/900039@103.240.35.46:35481) State INIT going to sleep
  310. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/900039@103.240.35.46:35481) Running State Change CS_ROUTING (Cur 2 Tot 565)
  311. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/900039@103.240.35.46:35481) State ROUTING
  312. 2023-01-23 13:09:22.347161 96.97% [DEBUG] mod_sofia.c:158 sofia/default/900039@103.240.35.46:35481 SOFIA ROUTING
  313. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/900039@103.240.35.46:35481) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  314. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/900039@103.240.35.46:35481) State ROUTING going to sleep
  315. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/900039@103.240.35.46:35481) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 565)
  316. 2023-01-23 13:09:22.347161 96.97% [DEBUG] sofia.c:7499 Channel sofia/default/900039@103.240.35.46:35481 entering state [calling][0]
  317. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/900039@103.240.35.46:35481) State CONSUME_MEDIA
  318. 2023-01-23 13:09:22.347161 96.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/900039@103.240.35.46:35481) State CONSUME_MEDIA going to sleep
  319. 2023-01-23 13:09:22.927154 96.97% [DEBUG] sofia.c:7499 Channel sofia/default/900039@103.240.35.46:35481 entering state [proceeding][180]
  320. 2023-01-23 13:09:22.927154 96.97% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/900039@103.240.35.46:35481!
  321. 2023-01-23 13:09:22.947161 96.97% [DEBUG] switch_channel.c:3494 (sofia/default/900039@103.240.35.46:35481) Callstate Change DOWN -> RINGING
  322. 2023-01-23 13:09:22.947161 96.97% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/990007@142.132.184.134!
  323. 2023-01-23 13:09:24.247180 96.67% [DEBUG] sofia.c:7499 Channel sofia/default/900039@103.240.35.46:35481 entering state [completing][200]
  324. 2023-01-23 13:09:24.247180 96.67% [DEBUG] sofia.c:7509 Remote SDP:
  325. v=0
  326. o=Z 0 3 IN IP4 103.240.35.46
  327. s=Z
  328. c=IN IP4 103.240.35.46
  329. t=0 0
  330. m=audio 8002 RTP/AVP 8 3 110 0 98 101
  331. a=rtpmap:110 speex/8000
  332. a=rtpmap:98 iLBC/8000
  333. a=fmtp:98 mode=20
  334. a=rtpmap:101 telephone-event/8000
  335. a=fmtp:101 0-15
  336.  
  337. 2023-01-23 13:09:24.247180 96.67% [DEBUG] sofia.c:7499 Channel sofia/default/900039@103.240.35.46:35481 entering state [ready][200]
  338. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  339. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  340. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  341. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  342. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  343. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  344. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  345. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/900039@103.240.35.46:35481 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  346. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_codec.c:111 sofia/default/900039@103.240.35.46:35481 Original read codec set to PCMA:8
  347. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  348. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:5973 sofia/default/900039@103.240.35.46:35481 Set 2833 dtmf send payload to 101 recv payload to 101
  349. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/900039@103.240.35.46:35481] 168.119.48.166 port 17252 -> 103.240.35.46 port 8002 codec: 8 ms: 20
  350. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  351. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:9089 sofia/default/900039@103.240.35.46:35481 Set 2833 dtmf send payload to 101
  352. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:9096 sofia/default/900039@103.240.35.46:35481 Set 2833 dtmf receive payload to 101
  353. 2023-01-23 13:09:24.247180 96.67% [DEBUG] switch_core_media.c:9119 sofia/default/900039@103.240.35.46:35481 Set rtp dtmf delay to 40
  354. 2023-01-23 13:09:24.247180 96.67% [NOTICE] sofia.c:8683 Channel [sofia/default/900039@103.240.35.46:35481] has been answered
  355. EXECUTE [depth=1] sofia/default/900039@103.240.35.46:35481 record_session(/usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav)
  356. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  357. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/900039@103.240.35.46:35481
  358. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_channel.c:3950 (sofia/default/900039@103.240.35.46:35481) Callstate Change RINGING -> ACTIVE
  359. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/990007@142.132.184.134] 168.119.48.166 port 27818 -> 142.132.184.134 port 18912 codec: 8 ms: 20
  360. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  361. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_core_media.c:9089 sofia/default/990007@142.132.184.134 Set 2833 dtmf send payload to 101
  362. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_core_media.c:9096 sofia/default/990007@142.132.184.134 Set 2833 dtmf receive payload to 101
  363. 2023-01-23 13:09:24.267162 96.67% [DEBUG] switch_core_media.c:9119 sofia/default/990007@142.132.184.134 Set rtp dtmf delay to 40
  364. 2023-01-23 13:09:24.267162 96.67% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/990007@142.132.184.134:
  365. v=0
  366. o=FreeSWITCH 1674451546 1674451547 IN IP4 168.119.48.166
  367. s=FreeSWITCH
  368. c=IN IP4 168.119.48.166
  369. t=0 0
  370. m=audio 27818 RTP/AVP 8 101
  371. a=rtpmap:8 PCMA/8000
  372. a=rtpmap:101 telephone-event/8000
  373. a=fmtp:101 0-15
  374. a=ptime:20
  375. a=sendrecv
  376.  
  377. 2023-01-23 13:09:24.267162 96.67% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/990007@142.132.184.134] has been answered
  378. 2023-01-23 13:09:24.267162 96.67% [DEBUG] sofia.c:7499 Channel sofia/default/990007@142.132.184.134 entering state [completed][200]
  379. EXECUTE [depth=0] sofia/default/990007@142.132.184.134 record_session(/usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav)
  380. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  381. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/990007@142.132.184.134
  382. 2023-01-23 13:09:24.287156 96.67% [DEBUG] sofia.c:7499 Channel sofia/default/990007@142.132.184.134 entering state [ready][200]
  383. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_channel.c:3950 (sofia/default/990007@142.132.184.134) Callstate Change RINGING -> ACTIVE
  384. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/900039@103.240.35.46:35481] Peer UUID: 80b8102b-e5ea-402d-8a5d-d4b8b5b29cca
  385. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_ivr_originate.c:3151 sofia/default/900039@103.240.35.46:35481 Setting leg timeout to 60
  386. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/900039@103.240.35.46:35481] Peer UUID: 80b8102b-e5ea-402d-8a5d-d4b8b5b29cca
  387. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/900039@103.240.35.46:35481) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  388. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/900039@103.240.35.46:35481) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 565)
  389. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/900039@103.240.35.46:35481) State EXCHANGE_MEDIA
  390. 2023-01-23 13:09:24.287156 96.67% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  391. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  392. 2023-01-23 13:09:24.287156 96.67% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  393. 2023-01-23 13:09:24.307158 96.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  394. 2023-01-23 13:09:24.307158 96.67% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  395. 2023-01-23 13:09:24.447169 96.67% [DEBUG] switch_ivr_bridge.c:655 sofia/default/900039@103.240.35.46:35481 Bridge execute app sched_hangup(+6000 normal_clearing)
  396. 2023-01-23 13:09:24.467160 96.67% [DEBUG] switch_ivr.c:632 sofia/default/900039@103.240.35.46:35481 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  397. EXECUTE [depth=0] sofia/default/900039@103.240.35.46:35481 sched_hangup(+6000 normal_clearing)
  398. 2023-01-23 13:09:24.467160 96.67% [DEBUG] switch_scheduler.c:263 Added task 118 switch_ivr_schedule_hangup (80b8102b-e5ea-402d-8a5d-d4b8b5b29cca) to run at 1674485364
  399. 2023-01-23 13:09:24.907189 96.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  400. 2023-01-23 13:09:24.907189 96.67% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  401. 2023-01-23 13:09:34.447156 97.03% [NOTICE] sofia.c:1065 Hangup sofia/default/900039@103.240.35.46:35481 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  402. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_bridge.c:820 sofia/default/900039@103.240.35.46:35481 ending bridge by request from write function
  403. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/900039@103.240.35.46:35481]
  404. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:650 (sofia/default/900039@103.240.35.46:35481) State EXCHANGE_MEDIA going to sleep
  405. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/900039@103.240.35.46:35481) Running State Change CS_HANGUP (Cur 2 Tot 565)
  406. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/990007@142.132.184.134]
  407. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav
  408. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/900039@103.240.35.46:35481 skip receive message [UNBRIDGE] (channel is hungup already)
  409. 2023-01-23 13:09:34.447156 97.03% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/990007@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING]
  410. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  411. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_session.c:2983 sofia/default/990007@142.132.184.134 skip receive message [PHONE_EVENT] (channel is hungup already)
  412. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990007@142.132.184.134) State EXECUTE going to sleep
  413. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990007@142.132.184.134) Running State Change CS_HANGUP (Cur 2 Tot 565)
  414. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/69d314cc-f8f6-4505-938c-802e4990c748.wav
  415. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  416. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/900039@103.240.35.46:35481
  417. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/900039@103.240.35.46:35481) Callstate Change ACTIVE -> HANGUP
  418. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/900039@103.240.35.46:35481) State HANGUP
  419. 2023-01-23 13:09:34.447156 97.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/900039@103.240.35.46:35481 hanging up, cause: NORMAL_CLEARING
  420. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/990007@142.132.184.134
  421. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/900039@103.240.35.46:35481 Standard HANGUP, cause: NORMAL_CLEARING
  422. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/900039@103.240.35.46:35481) State HANGUP going to sleep
  423. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990007@142.132.184.134) Callstate Change ACTIVE -> HANGUP
  424. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/900039@103.240.35.46:35481) State Change CS_HANGUP -> CS_REPORTING
  425. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990007@142.132.184.134) State HANGUP
  426. 2023-01-23 13:09:34.447156 97.03% [DEBUG] mod_sofia.c:462 sofia/default/990007@142.132.184.134 Overriding SIP cause 480 with 200 from the other leg
  427. 2023-01-23 13:09:34.447156 97.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/990007@142.132.184.134 hanging up, cause: NORMAL_CLEARING
  428. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/900039@103.240.35.46:35481) Running State Change CS_REPORTING (Cur 2 Tot 565)
  429. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/900039@103.240.35.46:35481) State REPORTING
  430. 2023-01-23 13:09:34.447156 97.03% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/990007@142.132.184.134
  431. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/990007@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING
  432. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990007@142.132.184.134) State HANGUP going to sleep
  433. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990007@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING
  434. 2023-01-23 13:09:34.447156 97.03% [INFO] mod_json_cdr.c:271 Process [80b8102b-e5ea-402d-8a5d-d4b8b5b29cca.cdr.json]
  435. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990007@142.132.184.134) Running State Change CS_REPORTING (Cur 2 Tot 565)
  436. 2023-01-23 13:09:34.447156 97.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990007@142.132.184.134) State REPORTING
  437. 2023-01-23 13:09:34.447156 97.03% [INFO] mod_json_cdr.c:271 Process [69d314cc-f8f6-4505-938c-802e4990c748.cdr.json]
  438. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/900039@103.240.35.46:35481 Standard REPORTING, cause: NORMAL_CLEARING
  439. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/900039@103.240.35.46:35481) State REPORTING going to sleep
  440. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/900039@103.240.35.46:35481) State Change CS_REPORTING -> CS_DESTROY
  441. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_session.c:1753 Session 565 (sofia/default/900039@103.240.35.46:35481) Locked, Waiting on external entities
  442. 2023-01-23 13:09:34.467158 97.03% [NOTICE] switch_core_session.c:1771 Session 565 (sofia/default/900039@103.240.35.46:35481) Ended
  443. 2023-01-23 13:09:34.467158 97.03% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/900039@103.240.35.46:35481 [CS_DESTROY]
  444. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/900039@103.240.35.46:35481) Running State Change CS_DESTROY (Cur 1 Tot 565)
  445. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/900039@103.240.35.46:35481) State DESTROY
  446. 2023-01-23 13:09:34.467158 97.03% [DEBUG] mod_sofia.c:379 sofia/default/900039@103.240.35.46:35481 SOFIA DESTROY
  447. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/900039@103.240.35.46:35481 Standard DESTROY
  448. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/900039@103.240.35.46:35481) State DESTROY going to sleep
  449. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/990007@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING
  450. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990007@142.132.184.134) State REPORTING going to sleep
  451. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990007@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY
  452. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_session.c:1753 Session 564 (sofia/default/990007@142.132.184.134) Locked, Waiting on external entities
  453. 2023-01-23 13:09:34.467158 97.03% [NOTICE] switch_core_session.c:1771 Session 564 (sofia/default/990007@142.132.184.134) Ended
  454. 2023-01-23 13:09:34.467158 97.03% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990007@142.132.184.134 [CS_DESTROY]
  455. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990007@142.132.184.134) Running State Change CS_DESTROY (Cur 0 Tot 565)
  456. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990007@142.132.184.134) State DESTROY
  457. 2023-01-23 13:09:34.467158 97.03% [DEBUG] mod_sofia.c:379 sofia/default/990007@142.132.184.134 SOFIA DESTROY
  458. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/990007@142.132.184.134 Standard DESTROY
  459. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990007@142.132.184.134) State DESTROY going to sleep
  460. 2023-01-23 13:09:34.467158 97.03% [DEBUG] switch_scheduler.c:147 Deleting task 118 switch_ivr_schedule_hangup (80b8102b-e5ea-402d-8a5d-d4b8b5b29cca)
  461. freeswitch@AlphaQA> /exit
  462.  
  463. root@AlphaQA:/opt#