Advertisement
superdigi

ASTPP

Jul 20th, 2021
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.22 KB | None | 0 0
  1. +OK log level [7]
  2. 2021-07-20 20:04:01.103671 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0000000000@192.168.0.150 [9200c83a-e952-11eb-b59b-cb8edfaa2ad3]
  3. 2021-07-20 20:04:01.103671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0000000000@192.168.0.150) Running State Change CS_NEW (Cur 1 Tot 296)
  4. 2021-07-20 20:04:01.103671 [DEBUG] sofia.c:9873 sofia/default/0000000000@192.168.0.150 receiving invite from 202.187.212.89:5060 version: 1.6.20 64bit
  5. 2021-07-20 20:04:01.103671 [DEBUG] sofia.c:10044 IP 202.187.212.89 Rejected by acl "default". Falling back to Digest auth.
  6. 2021-07-20 20:04:01.103671 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [60123322179@210.24.102.198] from ip 202.187.212.89
  7. 2021-07-20 20:04:01.103671 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0000000000@192.168.0.150) State NEW
  8. 2021-07-20 20:04:01.103671 [DEBUG] sofia.c:2334 detaching session 9200c83a-e952-11eb-b59b-cb8edfaa2ad3
  9. 2021-07-20 20:04:01.103671 [DEBUG] sofia.c:2442 Re-attaching to session 9200c83a-e952-11eb-b59b-cb8edfaa2ad3
  10. 2021-07-20 20:04:01.123654 [DEBUG] sofia.c:9873 sofia/default/0000000000@192.168.0.150 receiving invite from 202.187.212.89:5060 version: 1.6.20 64bit
  11. 2021-07-20 20:04:01.123654 [DEBUG] sofia.c:10044 IP 202.187.212.89 Rejected by acl "default". Falling back to Digest auth.
  12. 2021-07-20 20:04:01.123654 [DEBUG] sofia.c:11168 Setting NAT mode based on via received
  13. 2021-07-20 20:04:01.123654 [DEBUG] sofia.c:7084 Channel sofia/default/0000000000@192.168.0.150 entering state [received][100]
  14. 2021-07-20 20:04:01.123654 [DEBUG] sofia.c:7094 Remote SDP:
  15. v=0
  16. o=root 153036676 153036677 IN IP4 192.168.0.150
  17. s=Asterisk PBX 1.8.23.0-1_centos5.go RPM by demian@goautodial.com
  18. c=IN IP4 192.168.0.150
  19. t=0 0
  20. m=audio 19156 RTP/AVP 3 0
  21. a=rtpmap:3 GSM/8000
  22. a=rtpmap:0 PCMU/8000
  23. a=ptime:20
  24.  
  25. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  26. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  27. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  30. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0000000000@192.168.0.150 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  31. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_codec.c:111 sofia/default/0000000000@192.168.0.150 Original read codec set to PCMU:0
  32. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:4738 No 2833 in SDP. Liberal DTMF mode adding 101 as telephone-event.
  33. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_media.c:4767 sofia/default/0000000000@192.168.0.150 Set 2833 dtmf send payload to 101 recv payload to 101
  34. 2021-07-20 20:04:01.123654 [DEBUG] sofia.c:7507 (sofia/default/0000000000@192.168.0.150) State Change CS_NEW -> CS_INIT
  35. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0000000000@192.168.0.150) Running State Change CS_INIT (Cur 1 Tot 296)
  36. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0000000000@192.168.0.150) State INIT
  37. 2021-07-20 20:04:01.123654 [DEBUG] mod_sofia.c:90 sofia/default/0000000000@192.168.0.150 SOFIA INIT
  38. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:40 sofia/default/0000000000@192.168.0.150 Standard INIT
  39. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0000000000@192.168.0.150) State Change CS_INIT -> CS_ROUTING
  40. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0000000000@192.168.0.150) State INIT going to sleep
  41. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0000000000@192.168.0.150) Running State Change CS_ROUTING (Cur 1 Tot 296)
  42. 2021-07-20 20:04:01.123654 [DEBUG] switch_channel.c:2249 (sofia/default/0000000000@192.168.0.150) Callstate Change DOWN -> RINGING
  43. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0000000000@192.168.0.150) State ROUTING
  44. 2021-07-20 20:04:01.123654 [DEBUG] mod_sofia.c:143 sofia/default/0000000000@192.168.0.150 SOFIA ROUTING
  45. 2021-07-20 20:04:01.123654 [DEBUG] switch_core_state_machine.c:236 sofia/default/0000000000@192.168.0.150 Standard ROUTING
  46. 2021-07-20 20:04:01.123654 [INFO] mod_dialplan_xml.c:637 Processing V7201604160000000060 <0000000000>->60123322179 in context default
  47. 2021-07-20 20:04:01.169391 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f9dcc1c6b20 Connected.
  48. 2021-07-20 20:04:01.169391 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  49. 2021-07-20 20:04:01.169391 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  50. 2021-07-20 20:04:01.183618 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 60123322179
  51. 2021-07-20 20:04:01.183618 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '60123322179' AND status=0 limit 1
  52. 2021-07-20 20:04:01.203669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 9603801728 / 9603801728
  53. 2021-07-20 20:04:01.203669 [DEBUG] switch_cpp.cpp:1365 [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 ="60123322179" LIMIT 1
  54. 2021-07-20 20:04:01.203669 [DEBUG] switch_cpp.cpp:1365 [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 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="60123322179" limit 1
  55. 2021-07-20 20:04:01.203669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  56. 2021-07-20 20:04:01.203669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9603801728]
  57. 2021-07-20 20:04:01.203669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9603801728" AND deleted = 0 limit 1
  58. 2021-07-20 20:04:01.203669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^60123322179.*' OR blocked_patterns = '^6012332217.*' OR blocked_patterns = '^601233221.*' OR blocked_patterns = '^60123322.*' OR blocked_patterns = '^6012332.*' OR blocked_patterns = '^601233.*' OR blocked_patterns = '^60123.*' OR blocked_patterns = '^6012.*' OR blocked_patterns = '^601.*' OR blocked_patterns = '^60.*' OR blocked_patterns = '^6.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  59. 2021-07-20 20:04:01.203669 [DEBUG] switch_cpp.cpp:1365 [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 ="60123322179" AND A.accountid = '16' limit 1
  60. 2021-07-20 20:04:01.203669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 60123322179
  61. 2021-07-20 20:04:01.203669 [DEBUG] switch_cpp.cpp:1365 [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 ="60123322179" LIMIT 1
  62. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [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 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="60123322179" limit 1
  63. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  64. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="60123322179" AND (accountid = 0 OR status = 1) LIMIT 1
  65. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [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 = '^60123322179.*' OR patterns = '^6012332217.*' OR patterns = '^601233221.*' OR patterns = '^60123322.*' OR patterns = '^6012332.*' OR patterns = '^601233.*' OR patterns = '^60123.*' OR patterns = '^6012.*' OR patterns = '^601.*' OR patterns = '^60.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  66. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  67. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 16
  68. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9603801728
  69. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 4.4505
  70. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  71. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 4
  72. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  73. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  74. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  75. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^60123322179.*' OR pattern = '^6012332217.*' OR pattern = '^601233221.*' OR pattern = '^60123322.*' OR pattern = '^6012332.*' OR pattern = '^601233.*' OR pattern = '^60123.*' OR pattern = '^6012.*' OR pattern = '^601.*' OR pattern = '^60.*' OR pattern = '^6.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 4 OR accountid=16) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  76. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  77. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  78. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7
  79. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  80. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  81. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.07000
  82. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Malaysia
  83. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 117
  84. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 16
  85. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  86. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  87. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  88. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your4.4505 balance Accountid 16 !!!
  89. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 63.578571428571 minutes
  90. 2021-07-20 20:04:01.223697 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 7
  91. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  92. 2021-07-20 20:04:01.223697 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^60123322179.*' OR pattern = '^6012332217.*' OR pattern = '^601233221.*' OR pattern = '^60123322.*' OR pattern = '^6012332.*' OR pattern = '^601233.*' OR pattern = '^60123.*' OR pattern = '^6012.*' OR pattern = '^601.*' OR pattern = '^60.*' OR pattern = '^6.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  93. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  94. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 3
  95. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^60.*
  96. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Malaysia
  97. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  98. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  99. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^60.*
  100. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 6
  101. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  102. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1
  103. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Redtone
  104. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  105. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : Redtone
  106. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  107. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  108. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Redtone
  109. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  110. 2021-07-20 20:04:01.243663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 16 AND status=0 LIMIT 1
  111. 2021-07-20 20:04:01.243663 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 63.578571428571
  112. 2021-07-20 20:04:01.243663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  113. 2021-07-20 20:04:01.243663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  114. 2021-07-20 20:04:01.263656 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 60123322179
  115. 2021-07-20 20:04:01.263656 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0123322179
  116. 2021-07-20 20:04:01.263656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  117. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  118. <document type="freeswitch/xml">
  119. <section name="dialplan" description="ASTPP Dialplan">
  120. <context name="default">
  121. <extension name="60123322179">
  122. <condition field="destination_number" expression="60123322179">
  123. <action application="set" data="effective_destination_number=60123322179"/>
  124. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  125. <action application="set" data="bridge_pre_execute_bleg_data=+3814.7142857143 normal_clearing"/>
  126. <action application="set" data="callstart=2021-07-20 12:04:01"/>
  127. <action application="set" data="hangup_after_bridge=true"/>
  128. <action application="set" data="continue_on_fail=TRUE"/>
  129. <action application="set" data="account_id=16"/>
  130. <action application="set" data="parent_id=0"/>
  131. <action application="set" data="entity_id=0"/>
  132. <action application="set" data="call_processed=internal"/>
  133. <action application="set" data="call_direction=outbound"/>
  134. <action application="set" data="accountname=default"/>
  135. <action application="set" data="origination_rates=ID:7|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:10|INITIALBLOCK:10|RATEGROUP:4|MARKUP:0|CI:117|ACCID:16"/>
  136. <action application="set" data="original_caller_id_name=9603801728"/>
  137. <action application="set" data="original_caller_id_number=9603801728"/>
  138.  
  139. <action application="set" data="calltype=STANDARD"/>
  140. <action application="set" data="termination_rates=ID:3|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3"/>
  141. <action application="set" data="trunk_id=1"/>
  142. <action application="set" data="provider_id=3"/>
  143. <action application="set" data="rate_flag=0"/>
  144. <action application="set" data="force_trunk_flag=7"/>
  145. <action application="export" data="presence_data=trunk_id=1"/>
  146. <action application="set" data="intcall=0"/>
  147. <action application="export" data="presence_data=x|||goautodial(9603801728)|||^60.* // Malaysia // 0.07000 // trunk_id=0|||Redtone // ^60.* // Malaysia // 0.05000 // trunk_id=1|||STD"/>
  148. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/Redtone/0123322179"/>
  149. </condition>
  150. </extension>
  151. </context>
  152. </section>
  153. </document>
  154. 2021-07-20 20:04:01.263656 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f9dcc1c6b20 released.
  155. Dialplan: sofia/default/0000000000@192.168.0.150 parsing [default->60123322179] continue=false
  156. Dialplan: sofia/default/0000000000@192.168.0.150 Regex (PASS) [60123322179] destination_number(60123322179) =~ /60123322179/ break=on-false
  157. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(effective_destination_number=60123322179)
  158. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  159. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(bridge_pre_execute_bleg_data=+3814.7142857143 normal_clearing)
  160. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(callstart=2021-07-20 12:04:01)
  161. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(hangup_after_bridge=true)
  162. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(continue_on_fail=TRUE)
  163. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(account_id=16)
  164. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(parent_id=0)
  165. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(entity_id=0)
  166. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(call_processed=internal)
  167. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(call_direction=outbound)
  168. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(accountname=default)
  169. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(origination_rates=ID:7|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:10|INITIALBLOCK:10|RATEGROUP:4|MARKUP:0|CI:117|ACCID:16)
  170. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(original_caller_id_name=9603801728)
  171. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(original_caller_id_number=9603801728)
  172. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(calltype=STANDARD)
  173. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(termination_rates=ID:3|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3)
  174. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(trunk_id=1)
  175. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(provider_id=3)
  176. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(rate_flag=0)
  177. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(force_trunk_flag=7)
  178. Dialplan: sofia/default/0000000000@192.168.0.150 Action export(presence_data=trunk_id=1)
  179. Dialplan: sofia/default/0000000000@192.168.0.150 Action set(intcall=0)
  180. Dialplan: sofia/default/0000000000@192.168.0.150 Action export(presence_data=x|||goautodial(9603801728)|||^60.* // Malaysia // 0.07000 // trunk_id=0|||Redtone // ^60.* // Malaysia // 0.05000 // trunk_id=1|||STD)
  181. Dialplan: sofia/default/0000000000@192.168.0.150 Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/Redtone/0123322179)
  182. 2021-07-20 20:04:01.263656 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0000000000@192.168.0.150) State Change CS_ROUTING -> CS_EXECUTE
  183. 2021-07-20 20:04:01.263656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0000000000@192.168.0.150) State ROUTING going to sleep
  184. 2021-07-20 20:04:01.263656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0000000000@192.168.0.150) Running State Change CS_EXECUTE (Cur 1 Tot 296)
  185. 2021-07-20 20:04:01.263656 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0000000000@192.168.0.150) State EXECUTE
  186. 2021-07-20 20:04:01.263656 [DEBUG] mod_sofia.c:198 sofia/default/0000000000@192.168.0.150 SOFIA EXECUTE
  187. 2021-07-20 20:04:01.263656 [DEBUG] switch_core_state_machine.c:328 sofia/default/0000000000@192.168.0.150 Standard EXECUTE
  188. EXECUTE sofia/default/0000000000@192.168.0.150 set(effective_destination_number=60123322179)
  189. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [effective_destination_number]=[60123322179]
  190. EXECUTE sofia/default/0000000000@192.168.0.150 set(bridge_pre_execute_bleg_app=sched_hangup)
  191. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [bridge_pre_execute_bleg_app]=[sched_hangup]
  192. EXECUTE sofia/default/0000000000@192.168.0.150 set(bridge_pre_execute_bleg_data=+3814.7142857143 normal_clearing)
  193. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [bridge_pre_execute_bleg_data]=[+3814.7142857143 normal_clearing]
  194. EXECUTE sofia/default/0000000000@192.168.0.150 set(callstart=2021-07-20 12:04:01)
  195. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [callstart]=[2021-07-20 12:04:01]
  196. EXECUTE sofia/default/0000000000@192.168.0.150 set(hangup_after_bridge=true)
  197. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [hangup_after_bridge]=[true]
  198. EXECUTE sofia/default/0000000000@192.168.0.150 set(continue_on_fail=TRUE)
  199. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [continue_on_fail]=[TRUE]
  200. EXECUTE sofia/default/0000000000@192.168.0.150 set(account_id=16)
  201. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [account_id]=[16]
  202. EXECUTE sofia/default/0000000000@192.168.0.150 set(parent_id=0)
  203. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [parent_id]=[0]
  204. EXECUTE sofia/default/0000000000@192.168.0.150 set(entity_id=0)
  205. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [entity_id]=[0]
  206. EXECUTE sofia/default/0000000000@192.168.0.150 set(call_processed=internal)
  207. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [call_processed]=[internal]
  208. EXECUTE sofia/default/0000000000@192.168.0.150 set(call_direction=outbound)
  209. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [call_direction]=[outbound]
  210. EXECUTE sofia/default/0000000000@192.168.0.150 set(accountname=default)
  211. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [accountname]=[default]
  212. EXECUTE sofia/default/0000000000@192.168.0.150 set(origination_rates=ID:7|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:10|INITIALBLOCK:10|RATEGROUP:4|MARKUP:0|CI:117|ACCID:16)
  213. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [origination_rates]=[ID:7|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:10|INITIALBLOCK:10|RATEGROUP:4|MARKUP:0|CI:117|ACCID:16]
  214. EXECUTE sofia/default/0000000000@192.168.0.150 set(original_caller_id_name=9603801728)
  215. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [original_caller_id_name]=[9603801728]
  216. EXECUTE sofia/default/0000000000@192.168.0.150 set(original_caller_id_number=9603801728)
  217. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [original_caller_id_number]=[9603801728]
  218. EXECUTE sofia/default/0000000000@192.168.0.150 set(calltype=STANDARD)
  219. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [calltype]=[STANDARD]
  220. EXECUTE sofia/default/0000000000@192.168.0.150 set(termination_rates=ID:3|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3)
  221. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [termination_rates]=[ID:3|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:1|INITIALBLOCK:1|TRUNK:1|PROVIDER:3]
  222. EXECUTE sofia/default/0000000000@192.168.0.150 set(trunk_id=1)
  223. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [trunk_id]=[1]
  224. EXECUTE sofia/default/0000000000@192.168.0.150 set(provider_id=3)
  225. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [provider_id]=[3]
  226. EXECUTE sofia/default/0000000000@192.168.0.150 set(rate_flag=0)
  227. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [rate_flag]=[0]
  228. EXECUTE sofia/default/0000000000@192.168.0.150 set(force_trunk_flag=7)
  229. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [force_trunk_flag]=[7]
  230. EXECUTE sofia/default/0000000000@192.168.0.150 export(presence_data=trunk_id=1)
  231. 2021-07-20 20:04:01.263656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  232. EXECUTE sofia/default/0000000000@192.168.0.150 set(intcall=0)
  233. 2021-07-20 20:04:01.263656 [DEBUG] mod_dptools.c:1548 SET sofia/default/0000000000@192.168.0.150 [intcall]=[0]
  234. EXECUTE sofia/default/0000000000@192.168.0.150 export(presence_data=x|||goautodial(9603801728)|||^60.* // Malaysia // 0.07000 // trunk_id=0|||Redtone // ^60.* // Malaysia // 0.05000 // trunk_id=1|||STD)
  235. 2021-07-20 20:04:01.263656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||goautodial(9603801728)|||^60.* // Malaysia // 0.07000 // trunk_id=0|||Redtone // ^60.* // Malaysia // 0.05000 // trunk_id=1|||STD]
  236. EXECUTE sofia/default/0000000000@192.168.0.150 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/Redtone/0123322179)
  237. 2021-07-20 20:04:01.263656 [DEBUG] switch_channel.c:1250 sofia/default/0000000000@192.168.0.150 EXPORTING[export_vars] [presence_data]=[x|||goautodial(9603801728)|||^60.* // Malaysia // 0.07000 // trunk_id=0|||Redtone // ^60.* // Malaysia // 0.05000 // trunk_id=1|||STD] to event
  238. 2021-07-20 20:04:01.263656 [DEBUG] switch_channel.c:1250 sofia/default/0000000000@192.168.0.150 EXPORTING[export_vars] [presence_data]=[x|||goautodial(9603801728)|||^60.* // Malaysia // 0.07000 // trunk_id=0|||Redtone // ^60.* // Malaysia // 0.05000 // trunk_id=1|||STD] to event
  239. 2021-07-20 20:04:01.263656 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  240. 2021-07-20 20:04:01.263656 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  241. 2021-07-20 20:04:01.263656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0123322179 [921bc87e-e952-11eb-b5bb-cb8edfaa2ad3]
  242. 2021-07-20 20:04:01.263656 [DEBUG] mod_sofia.c:4819 (sofia/default/0123322179) State Change CS_NEW -> CS_INIT
  243. 2021-07-20 20:04:01.263656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/0123322179 Setting leg timeout to 30
  244. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0123322179) Running State Change CS_INIT (Cur 2 Tot 297)
  245. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0123322179) State INIT
  246. 2021-07-20 20:04:01.283919 [DEBUG] mod_sofia.c:90 sofia/default/0123322179 SOFIA INIT
  247. 2021-07-20 20:04:01.283919 [DEBUG] sofia_glue.c:1295 sofia/default/0123322179 sending invite version: 1.6.20 64bit
  248. Local SDP:
  249. v=0
  250. o=FreeSWITCH 1626765853 1626765854 IN IP4 210.24.102.198
  251. s=FreeSWITCH
  252. c=IN IP4 210.24.102.198
  253. t=0 0
  254. m=audio 16788 RTP/AVP 8 18 101
  255. a=rtpmap:8 PCMA/8000
  256. a=rtpmap:18 G729/8000
  257. a=rtpmap:101 telephone-event/8000
  258. a=fmtp:101 0-16
  259. a=ptime:20
  260. a=sendrecv
  261.  
  262. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:40 sofia/default/0123322179 Standard INIT
  263. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0123322179) State Change CS_INIT -> CS_ROUTING
  264. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0123322179) State INIT going to sleep
  265. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0123322179) Running State Change CS_ROUTING (Cur 2 Tot 297)
  266. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0123322179) State ROUTING
  267. 2021-07-20 20:04:01.283919 [DEBUG] mod_sofia.c:143 sofia/default/0123322179 SOFIA ROUTING
  268. 2021-07-20 20:04:01.283919 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0123322179) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  269. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0123322179) State ROUTING going to sleep
  270. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0123322179) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 297)
  271. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0123322179) State CONSUME_MEDIA
  272. 2021-07-20 20:04:01.283919 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0123322179) State CONSUME_MEDIA going to sleep
  273. 2021-07-20 20:04:01.283919 [DEBUG] sofia.c:7084 Channel sofia/default/0123322179 entering state [calling][0]
  274. 2021-07-20 20:04:01.283919 [DEBUG] sofia.c:7084 Channel sofia/default/0123322179 entering state [calling][0]
  275. 2021-07-20 20:04:07.543660 [DEBUG] sofia.c:7084 Channel sofia/default/0123322179 entering state [proceeding][183]
  276. 2021-07-20 20:04:07.543660 [DEBUG] sofia.c:7094 Remote SDP:
  277. v=0
  278. o=- 23967665568251 23967665568251 IN IP4 103.251.203.196
  279. s=-
  280. c=IN IP4 103.251.203.196
  281. t=0 0
  282. m=audio 35068 RTP/AVP 8 101
  283. a=rtpmap:8 PCMA/8000
  284. a=rtpmap:101 telephone-event/8000
  285. a=ptime:20
  286.  
  287. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  288. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  289. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  290. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  291. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0123322179 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  292. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_codec.c:111 sofia/default/0123322179 Original read codec set to PCMA:8
  293. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  294. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:4767 sofia/default/0123322179 Set 2833 dtmf send payload to 101 recv payload to 101
  295. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0123322179] 172.28.10.198 port 16788 -> 103.251.203.196 port 35068 codec: 8 ms: 20
  296. 2021-07-20 20:04:07.543660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  297. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:7180 sofia/default/0123322179 Set 2833 dtmf send payload to 101
  298. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:7187 sofia/default/0123322179 Set 2833 dtmf receive payload to 101
  299. 2021-07-20 20:04:07.543660 [DEBUG] switch_core_media.c:7210 sofia/default/0123322179 Set rtp dtmf delay to 40
  300. 2021-07-20 20:04:07.543660 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0123322179!
  301. 2021-07-20 20:04:07.543660 [DEBUG] switch_channel.c:3474 (sofia/default/0123322179) Callstate Change DOWN -> EARLY
  302. 2021-07-20 20:04:07.563663 [INFO] switch_ivr_originate.c:3654 Sending early media
  303. 2021-07-20 20:04:07.563663 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0000000000@192.168.0.150] 172.28.10.198 port 19632 -> 192.168.0.150 port 19156 codec: 0 ms: 20
  304. 2021-07-20 20:04:07.563663 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  305. 2021-07-20 20:04:07.563663 [DEBUG] switch_core_media.c:7180 sofia/default/0000000000@192.168.0.150 Set 2833 dtmf send payload to 101
  306. 2021-07-20 20:04:07.563663 [DEBUG] switch_core_media.c:7187 sofia/default/0000000000@192.168.0.150 Set 2833 dtmf receive payload to 101
  307. 2021-07-20 20:04:07.563663 [DEBUG] switch_core_media.c:7210 sofia/default/0000000000@192.168.0.150 Set rtp dtmf delay to 40
  308. 2021-07-20 20:04:07.563663 [DEBUG] mod_sofia.c:2364 Ring SDP:
  309. v=0
  310. o=FreeSWITCH 1626763015 1626763016 IN IP4 210.24.102.198
  311. s=FreeSWITCH
  312. c=IN IP4 210.24.102.198
  313. t=0 0
  314. m=audio 19632 RTP/AVP 0 101
  315. a=rtpmap:0 PCMU/8000
  316. a=rtpmap:101 telephone-event/8000
  317. a=fmtp:101 0-16
  318. a=ptime:20
  319. a=sendrecv
  320.  
  321. 2021-07-20 20:04:07.563663 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/0000000000@192.168.0.150!
  322. 2021-07-20 20:04:07.563663 [DEBUG] switch_channel.c:3474 (sofia/default/0000000000@192.168.0.150) Callstate Change RINGING -> EARLY
  323. 2021-07-20 20:04:07.563663 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0123322179]
  324. 2021-07-20 20:04:07.563663 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0123322179) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  325. 2021-07-20 20:04:07.563663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0123322179) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 297)
  326. 2021-07-20 20:04:07.563663 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0123322179) State EXCHANGE_MEDIA
  327. 2021-07-20 20:04:07.563663 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  328. 2021-07-20 20:04:07.563663 [DEBUG] sofia.c:7084 Channel sofia/default/0000000000@192.168.0.150 entering state [early][183]
  329. 2021-07-20 20:04:07.743659 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0123322179 Bridge execute app sched_hangup(+3814.7142857143 normal_clearing)
  330. 2021-07-20 20:04:07.763659 [DEBUG] switch_ivr.c:623 sofia/default/0123322179 Command Execute sched_hangup(+3814.7142857143 normal_clearing)
  331. EXECUTE sofia/default/0123322179 sched_hangup(+3814.7142857143 normal_clearing)
  332. 2021-07-20 20:04:07.763659 [DEBUG] switch_scheduler.c:249 Added task 94 switch_ivr_schedule_hangup (921bc87e-e952-11eb-b5bb-cb8edfaa2ad3) to run at 1626786461
  333. 2021-07-20 20:04:08.003599 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  334. 2021-07-20 20:04:13.303661 [DEBUG] sofia.c:7084 Channel sofia/default/0123322179 entering state [completing][200]
  335. 2021-07-20 20:04:13.303661 [DEBUG] sofia.c:7091 Duplicate SDP
  336. v=0
  337. o=- 23967665568251 23967665568251 IN IP4 103.251.203.196
  338. s=-
  339. c=IN IP4 103.251.203.196
  340. t=0 0
  341. m=audio 35068 RTP/AVP 8 101
  342. a=rtpmap:8 PCMA/8000
  343. a=rtpmap:101 telephone-event/8000
  344. a=ptime:20
  345.  
  346. 2021-07-20 20:04:13.303661 [DEBUG] sofia.c:7084 Channel sofia/default/0123322179 entering state [ready][200]
  347. 2021-07-20 20:04:13.303661 [NOTICE] sofia.c:8159 Channel [sofia/default/0123322179] has been answered
  348. 2021-07-20 20:04:13.303661 [DEBUG] switch_channel.c:3773 (sofia/default/0123322179) Callstate Change EARLY -> ACTIVE
  349. 2021-07-20 20:04:13.303661 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/0000000000@192.168.0.150.
  350. 2021-07-20 20:04:13.303661 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0000000000@192.168.0.150:
  351. v=0
  352. o=FreeSWITCH 1626763015 1626763017 IN IP4 210.24.102.198
  353. s=FreeSWITCH
  354. c=IN IP4 210.24.102.198
  355. t=0 0
  356. m=audio 19632 RTP/AVP 0 101
  357. a=rtpmap:0 PCMU/8000
  358. a=rtpmap:101 telephone-event/8000
  359. a=fmtp:101 0-16
  360. a=ptime:20
  361. a=sendrecv
  362.  
  363. 2021-07-20 20:04:13.303661 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/0000000000@192.168.0.150] has been answered
  364. 2021-07-20 20:04:13.303661 [DEBUG] switch_channel.c:3773 (sofia/default/0000000000@192.168.0.150) Callstate Change EARLY -> ACTIVE
  365. 2021-07-20 20:04:13.303661 [DEBUG] sofia.c:7084 Channel sofia/default/0000000000@192.168.0.150 entering state [completed][200]
  366. 2021-07-20 20:04:13.323598 [DEBUG] sofia.c:7084 Channel sofia/default/0000000000@192.168.0.150 entering state [ready][200]
  367. 2021-07-20 20:04:13.363674 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  368. 2021-07-20 20:04:17.483659 [NOTICE] sofia.c:1012 Hangup sofia/default/0000000000@192.168.0.150 [CS_EXECUTE] [NORMAL_CLEARING]
  369. 2021-07-20 20:04:17.483659 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0000000000@192.168.0.150]
  370. 2021-07-20 20:04:17.503658 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0000000000@192.168.0.150 ending bridge by request from write function
  371. 2021-07-20 20:04:17.503658 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0123322179]
  372. 2021-07-20 20:04:17.503658 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0123322179 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  373. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0123322179) State EXCHANGE_MEDIA going to sleep
  374. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0123322179) Running State Change CS_HANGUP (Cur 2 Tot 297)
  375. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0123322179) Callstate Change ACTIVE -> HANGUP
  376. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0123322179) State HANGUP
  377. 2021-07-20 20:04:17.503658 [DEBUG] mod_sofia.c:432 sofia/default/0123322179 Overriding SIP cause 480 with 200 from the other leg
  378. 2021-07-20 20:04:17.503658 [DEBUG] mod_sofia.c:438 Channel sofia/default/0123322179 hanging up, cause: NORMAL_CLEARING
  379. 2021-07-20 20:04:17.503658 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0123322179
  380. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:60 sofia/default/0123322179 Standard HANGUP, cause: NORMAL_CLEARING
  381. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0123322179) State HANGUP going to sleep
  382. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0123322179) State Change CS_HANGUP -> CS_REPORTING
  383. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0123322179) Running State Change CS_REPORTING (Cur 2 Tot 297)
  384. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0123322179) State REPORTING
  385. 2021-07-20 20:04:17.503658 [INFO] mod_json_cdr.c:271 Process [921bc87e-e952-11eb-b5bb-cb8edfaa2ad3.cdr.json]
  386. 2021-07-20 20:04:17.503658 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0123322179 skip receive message [UNBRIDGE] (channel is hungup already)
  387. 2021-07-20 20:04:17.503658 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0000000000@192.168.0.150 skip receive message [UNBRIDGE] (channel is hungup already)
  388. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_session.c:2815 sofia/default/0000000000@192.168.0.150 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  389. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0000000000@192.168.0.150) State EXECUTE going to sleep
  390. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0000000000@192.168.0.150) Running State Change CS_HANGUP (Cur 2 Tot 297)
  391. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0000000000@192.168.0.150) Callstate Change ACTIVE -> HANGUP
  392. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0000000000@192.168.0.150) State HANGUP
  393. 2021-07-20 20:04:17.503658 [DEBUG] mod_sofia.c:438 Channel sofia/default/0000000000@192.168.0.150 hanging up, cause: NORMAL_CLEARING
  394. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:60 sofia/default/0000000000@192.168.0.150 Standard HANGUP, cause: NORMAL_CLEARING
  395. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0000000000@192.168.0.150) State HANGUP going to sleep
  396. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0000000000@192.168.0.150) State Change CS_HANGUP -> CS_REPORTING
  397. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0000000000@192.168.0.150) Running State Change CS_REPORTING (Cur 2 Tot 297)
  398. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0000000000@192.168.0.150) State REPORTING
  399. 2021-07-20 20:04:17.503658 [INFO] mod_json_cdr.c:271 Process [9200c83a-e952-11eb-b59b-cb8edfaa2ad3.cdr.json]
  400. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:174 sofia/default/0123322179 Standard REPORTING, cause: NORMAL_CLEARING
  401. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0123322179) State REPORTING going to sleep
  402. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0123322179) State Change CS_REPORTING -> CS_DESTROY
  403. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_session.c:1665 Session 297 (sofia/default/0123322179) Locked, Waiting on external entities
  404. 2021-07-20 20:04:17.503658 [NOTICE] switch_core_session.c:1683 Session 297 (sofia/default/0123322179) Ended
  405. 2021-07-20 20:04:17.503658 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0123322179 [CS_DESTROY]
  406. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0123322179) Running State Change CS_DESTROY (Cur 1 Tot 297)
  407. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0123322179) State DESTROY
  408. 2021-07-20 20:04:17.503658 [DEBUG] mod_sofia.c:343 sofia/default/0123322179 SOFIA DESTROY
  409. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:181 sofia/default/0123322179 Standard DESTROY
  410. 2021-07-20 20:04:17.503658 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0123322179) State DESTROY going to sleep
  411. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_state_machine.c:174 sofia/default/0000000000@192.168.0.150 Standard REPORTING, cause: NORMAL_CLEARING
  412. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0000000000@192.168.0.150) State REPORTING going to sleep
  413. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0000000000@192.168.0.150) State Change CS_REPORTING -> CS_DESTROY
  414. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_session.c:1665 Session 296 (sofia/default/0000000000@192.168.0.150) Locked, Waiting on external entities
  415. 2021-07-20 20:04:17.703673 [NOTICE] switch_core_session.c:1683 Session 296 (sofia/default/0000000000@192.168.0.150) Ended
  416. 2021-07-20 20:04:17.703673 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0000000000@192.168.0.150 [CS_DESTROY]
  417. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0000000000@192.168.0.150) Running State Change CS_DESTROY (Cur 0 Tot 297)
  418. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0000000000@192.168.0.150) State DESTROY
  419. 2021-07-20 20:04:17.703673 [DEBUG] mod_sofia.c:343 sofia/default/0000000000@192.168.0.150 SOFIA DESTROY
  420. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_state_machine.c:181 sofia/default/0000000000@192.168.0.150 Standard DESTROY
  421. 2021-07-20 20:04:17.703673 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0000000000@192.168.0.150) State DESTROY going to sleep
  422. 2021-07-20 20:04:17.763659 [DEBUG] switch_scheduler.c:144 Deleting task 94 switch_ivr_schedule_hangup (921bc87e-e952-11eb-b5bb-cb8edfaa2ad3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement