From Eduardo, 5 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2019-01-31 19:39:47.248456 [NOTICE] switch_channel.c:1104 New Channel sofia/Default/Eduardo@52.67.133.254 [9bda101a-b53a-4e24-b659-d10475e97ac3]
  2. 2019-01-31 19:39:47.248456 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_NEW
  3. 2019-01-31 19:39:47.248456 [DEBUG] sofia.c:9376 sofia/Default/Eduardo@52.67.133.254 receiving invite from 177.189.208.91:63579 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  4. 2019-01-31 19:39:47.248456 [DEBUG] sofia.c:9543 IP 177.189.208.91 Rejected by acl "default". Falling back to Digest auth.
  5. 2019-01-31 19:39:47.248456 [DEBUG] sofia.c:2214 detaching session 9bda101a-b53a-4e24-b659-d10475e97ac3
  6. 2019-01-31 19:39:47.248456 [WARNING] sofia_reg.c:1775 SIP auth challenge (INVITE) on sofia profile 'Default' for [552135147320@52.67.133.254] from ip 177.189.208.91
  7. 2019-01-31 19:39:47.248456 [DEBUG] switch_core_state_machine.c:562 (sofia/Default/Eduardo@52.67.133.254) State NEW
  8. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:2322 Re-attaching to session 9bda101a-b53a-4e24-b659-d10475e97ac3
  9. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:9376 sofia/Default/Eduardo@52.67.133.254 receiving invite from 177.189.208.91:63579 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  10. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:9543 IP 177.189.208.91 Rejected by acl "default". Falling back to Digest auth.
  11. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:10678 Setting NAT mode based on via received
  12. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:6858 Channel sofia/Default/Eduardo@52.67.133.254 entering state [received][100]
  13. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:6868 Remote SDP:
  14. v=0
  15. o=- 3757952387 3757952387 IN IP4 192.168.4.10
  16. s=pjmedia
  17. b=AS:84
  18. t=0 0
  19. a=X-nat:0
  20. m=audio 4066 RTP/AVP 18 0 8 101
  21. c=IN IP4 192.168.4.10
  22. b=TIAS:64000
  23. a=rtpmap:18 G729/8000
  24. a=rtpmap:0 PCMU/8000
  25. a=rtpmap:8 PCMA/8000
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-16
  28. a=rtcp:4067 IN IP4 192.168.4.10
  29. a=ssrc:722937765 cname:2a9a013d795002cf
  30.  
  31. 2019-01-31 19:39:47.268448 [DEBUG] sofia.c:7213 (sofia/Default/Eduardo@52.67.133.254) State Change CS_NEW -> CS_INIT
  32. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_INIT
  33. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:586 (sofia/Default/Eduardo@52.67.133.254) State INIT
  34. 2019-01-31 19:39:47.268448 [DEBUG] mod_sofia.c:89 sofia/Default/Eduardo@52.67.133.254 SOFIA INIT
  35. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:40 sofia/Default/Eduardo@52.67.133.254 Standard INIT
  36. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:48 (sofia/Default/Eduardo@52.67.133.254) State Change CS_INIT -> CS_ROUTING
  37. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:586 (sofia/Default/Eduardo@52.67.133.254) State INIT going to sleep
  38. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_ROUTING
  39. 2019-01-31 19:39:47.268448 [DEBUG] switch_channel.c:2249 (sofia/Default/Eduardo@52.67.133.254) Callstate Change DOWN -> RINGING
  40. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:602 (sofia/Default/Eduardo@52.67.133.254) State ROUTING
  41. 2019-01-31 19:39:47.268448 [DEBUG] mod_sofia.c:142 sofia/Default/Eduardo@52.67.133.254 SOFIA ROUTING
  42. 2019-01-31 19:39:47.268448 [DEBUG] switch_core_state_machine.c:236 sofia/Default/Eduardo@52.67.133.254 Standard ROUTING
  43. 2019-01-31 19:39:47.268448 [INFO] mod_dialplan_xml.c:637 Processing Eduardo <Eduardo>->552135147320 in context default
  44. 2019-01-31 19:39:47.268448 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f558c0aef70 Connected.
  45. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  46. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 552135147320
  47. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Caller Id name / number  : Eduardo / 551135880115
  48. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,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 FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="552135147320" LIMIT 1
  49. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [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="552135147320" limit 1
  50. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : outbound
  51. 2019-01-31 19:39:47.288430 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 7160147804]
  52. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "7160147804" OR id="7160147804") AND status=0 AND deleted=0 AND (expiry >= '2019-01-31 21:39:47' OR expiry = '0000-00-00 00:00:00') limit 1
  53. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^552135147320.*' OR blocked_patterns ='^55213514732.*' OR blocked_patterns ='^5521351473.*' OR blocked_patterns ='^552135147.*' OR blocked_patterns ='^55213514.*' OR blocked_patterns ='^5521351.*' OR blocked_patterns ='^552135.*' OR blocked_patterns ='^55213.*' OR blocked_patterns ='^5521.*' OR blocked_patterns ='^552.*' OR blocked_patterns ='^55.*' OR blocked_patterns ='^5.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  54. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages  as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^552135147320.*' OR patterns ='^55213514732.*' OR patterns ='^5521351473.*' OR patterns ='^552135147.*' OR patterns ='^55213514.*' OR patterns ='^5521351.*' OR patterns ='^552135.*' OR patterns ='^55213.*' OR patterns ='^5521.*' OR patterns ='^552.*' OR patterns ='^55.*' OR patterns ='^5.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  55. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information ===================
  56. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 7
  57. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 7160147804
  58. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 10
  59. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  60. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 1
  61. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================================================
  62. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  63. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^552135147320.*' OR pattern ='^55213514732.*' OR pattern ='^5521351473.*' OR pattern ='^552135147.*' OR pattern ='^55213514.*' OR pattern ='^5521351.*' OR pattern ='^552135.*' OR pattern ='^55213.*' OR pattern ='^5521.*' OR pattern ='^552.*' OR pattern ='^55.*' OR pattern ='^5.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  64. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  65. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Rates Information ===================
  66. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 4385
  67. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Code : ^5521.*
  68. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Destination : Rio de Janeiro
  69. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  70. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Includedseconds : 4
  71. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Cost : 0.00000
  72. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Initial Increment : 30
  73. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Increment : 6
  74. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Accid : 7
  75. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] ================================================================
  76. 2019-01-31 19:39:47.288430 [INFO] switch_cpp.cpp:1360 [ASTPP] Call Max length duration : 100 minutes
  77. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1
  78. 2019-01-31 19:39:47.288430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TK.cid_translation,TR.init_inc,TK.status,TK.dialed_modify,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 ='^552135147320.*' OR pattern ='^55213514732.*' OR pattern ='^5521351473.*' OR pattern ='^552135147.*' OR pattern ='^55213514.*' OR pattern ='^5521351.*' OR pattern ='^552135.*' OR pattern ='^55213.*' OR pattern ='^5521.*' OR pattern ='^552.*' OR pattern ='^55.*' OR pattern ='^5.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  79. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Termination Rates Information ===================
  80. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 5016
  81. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Code : ^5521.*
  82. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Destination : Rio de Janeiro Fixo
  83. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  84. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Free Seconds : 4
  85. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Prefix : ^5521.*
  86. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Strip : 55
  87. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Prepend :
  88. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Carrier id : 5
  89. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] carrier_name : Trunk-Basix
  90. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] dialplan_variable :
  91. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Failover gateway :
  92. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Vendor id : 8
  93. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Number Translation :
  94. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] Max channels : 0
  95. 2019-01-31 19:39:47.308430 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================END OF TERMINATION RATES=======================
  96. 2019-01-31 19:39:47.308430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  97. 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts
  98. 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends
  99. 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] Before number translation : 552135147320
  100. 2019-01-31 19:39:47.308430 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] After  number translation : 2135147320
  101. 2019-01-31 19:39:47.308430 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Generated XML:
  102. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  103. <document type="freeswitch/xml">
  104. <section name="dialplan" description="ASTPP Dialplan">
  105. <context name="default">
  106. <extension name="552135147320">
  107. <condition field="destination_number" expression="552135147320">
  108. <action application="set" data="effective_destination_number=552135147320"/>
  109. <action application="sched_hangup" data="+6000 normal_clearing"/>
  110. <action application="set" data="callstart=2019-01-31 21:39:47"/>
  111. <action application="set" data="hangup_after_bridge=true"/>
  112. <action application="set" data="continue_on_fail=!USER_BUSY"/>
  113. <action application="set" data="account_id=7"/>
  114. <action application="set" data="parent_id=0"/>
  115. <action application="set" data="entity_id=0"/>
  116. <action application="set" data="call_processed=internal"/>
  117. <action application="set" data="call_direction=outbound"/>
  118. <action application="set" data="accountname=default"/>
  119. <action application="export" data="t38_passthru=true"/>
  120. <action application="set" data="fax_enable_t38=true"/>
  121. <action application="set" data="fax_enable_t38_request=true"/>
  122. <action application="set" data="origination_rates=ID:4385|CODE:^5521.*|DESTINATION:Rio de Janeiro|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:7"/>
  123.  
  124. <action application="set" data="original_caller_id_name=Eduardo"/>
  125. <action application="set" data="original_caller_id_number=551135880115"/>
  126. <action application="set" data="effective_caller_id_name=Eduardo"/>
  127. <action application="set" data="effective_caller_id_number=551135880115"/>
  128. <action application="set" data="calltype=STANDARD"/>
  129. <action application="set" data="termination_rates=ID:5016|CODE:^5521.*|DESTINATION:Rio de Janeiro Fixo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|TRUNK:5|PROVIDER:8"/>
  130. <action application="set" data="trunk_id=5"/>
  131. <action application="set" data="provider_id=8"/>
  132. <action application="limit" data="hash CPS_5 CPS_trunk_5 1/1 !SWITCH_CONGESTION"/>
  133. <action application="bridge" data="[leg_timeout=120,absolute_codec_string=^^:PCMU:PCMA:G729]sofia/gateway/Trunk-Basix/2135147320"/>
  134. </condition>
  135. </extension>
  136. </context>
  137. </section>
  138. </document>
  139. 2019-01-31 19:39:47.308430 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f558c0aef70 released.
  140. Dialplan: sofia/Default/Eduardo@52.67.133.254 parsing [default->552135147320] continue=false
  141. Dialplan: sofia/Default/Eduardo@52.67.133.254 Regex (PASS) [552135147320] destination_number(552135147320) =~ /552135147320/ break=on-false
  142. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(effective_destination_number=552135147320)
  143. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action sched_hangup(+6000 normal_clearing)
  144. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(callstart=2019-01-31 21:39:47)
  145. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(hangup_after_bridge=true)
  146. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(continue_on_fail=!USER_BUSY)
  147. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(account_id=7)
  148. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(parent_id=0)
  149. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(entity_id=0)
  150. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(call_processed=internal)
  151. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(call_direction=outbound)
  152. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(accountname=default)
  153. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action export(t38_passthru=true)
  154. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(fax_enable_t38=true)
  155. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(fax_enable_t38_request=true)
  156. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(origination_rates=ID:4385|CODE:^5521.*|DESTINATION:Rio de Janeiro|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:7)
  157. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(original_caller_id_name=Eduardo)
  158. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(original_caller_id_number=551135880115)
  159. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(effective_caller_id_name=Eduardo)
  160. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(effective_caller_id_number=551135880115)
  161. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(calltype=STANDARD)
  162. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(termination_rates=ID:5016|CODE:^5521.*|DESTINATION:Rio de Janeiro Fixo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|TRUNK:5|PROVIDER:8)
  163. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(trunk_id=5)
  164. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action set(provider_id=8)
  165. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action limit(hash CPS_5 CPS_trunk_5 1/1 !SWITCH_CONGESTION)
  166. Dialplan: sofia/Default/Eduardo@52.67.133.254 Action bridge([leg_timeout=120,absolute_codec_string=^^:PCMU:PCMA:G729]sofia/gateway/Trunk-Basix/2135147320)
  167. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:286 (sofia/Default/Eduardo@52.67.133.254) State Change CS_ROUTING -> CS_EXECUTE
  168. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:602 (sofia/Default/Eduardo@52.67.133.254) State ROUTING going to sleep
  169. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_EXECUTE
  170. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:609 (sofia/Default/Eduardo@52.67.133.254) State EXECUTE
  171. 2019-01-31 19:39:47.308430 [DEBUG] mod_sofia.c:197 sofia/Default/Eduardo@52.67.133.254 SOFIA EXECUTE
  172. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:328 sofia/Default/Eduardo@52.67.133.254 Standard EXECUTE
  173. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(effective_destination_number=552135147320)
  174. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [effective_destination_number]=[552135147320]
  175. EXECUTE sofia/Default/Eduardo@52.67.133.254 sched_hangup(+6000 normal_clearing)
  176. 2019-01-31 19:39:47.308430 [DEBUG] switch_scheduler.c:249 Added task 10 switch_ivr_schedule_hangup (9bda101a-b53a-4e24-b659-d10475e97ac3) to run at 1548976787
  177. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(callstart=2019-01-31 21:39:47)
  178. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [callstart]=[2019-01-31 21:39:47]
  179. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(hangup_after_bridge=true)
  180. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [hangup_after_bridge]=[true]
  181. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(continue_on_fail=!USER_BUSY)
  182. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [continue_on_fail]=[!USER_BUSY]
  183. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(account_id=7)
  184. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [account_id]=[7]
  185. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(parent_id=0)
  186. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [parent_id]=[0]
  187. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(entity_id=0)
  188. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [entity_id]=[0]
  189. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(call_processed=internal)
  190. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [call_processed]=[internal]
  191. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(call_direction=outbound)
  192. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [call_direction]=[outbound]
  193. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(accountname=default)
  194. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [accountname]=[default]
  195. EXECUTE sofia/Default/Eduardo@52.67.133.254 export(t38_passthru=true)
  196. 2019-01-31 19:39:47.308430 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  197. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(fax_enable_t38=true)
  198. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [fax_enable_t38]=[true]
  199. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(fax_enable_t38_request=true)
  200. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [fax_enable_t38_request]=[true]
  201. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(origination_rates=ID:4385|CODE:^5521.*|DESTINATION:Rio de Janeiro|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:7)
  202. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [origination_rates]=[ID:4385|CODE:^5521.*|DESTINATION:Rio de Janeiro|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:7]
  203. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(original_caller_id_name=Eduardo)
  204. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [original_caller_id_name]=[Eduardo]
  205. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(original_caller_id_number=551135880115)
  206. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [original_caller_id_number]=[551135880115]
  207. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(effective_caller_id_name=Eduardo)
  208. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [effective_caller_id_name]=[Eduardo]
  209. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(effective_caller_id_number=551135880115)
  210. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [effective_caller_id_number]=[551135880115]
  211. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(calltype=STANDARD)
  212. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [calltype]=[STANDARD]
  213. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(termination_rates=ID:5016|CODE:^5521.*|DESTINATION:Rio de Janeiro Fixo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|TRUNK:5|PROVIDER:8)
  214. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [termination_rates]=[ID:5016|CODE:^5521.*|DESTINATION:Rio de Janeiro Fixo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:4|COST:0.00000|INC:6|INITIALBLOCK:30|TRUNK:5|PROVIDER:8]
  215. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(trunk_id=5)
  216. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [trunk_id]=[5]
  217. EXECUTE sofia/Default/Eduardo@52.67.133.254 set(provider_id=8)
  218. 2019-01-31 19:39:47.308430 [DEBUG] mod_dptools.c:1519 SET sofia/Default/Eduardo@52.67.133.254 [provider_id]=[8]
  219. EXECUTE sofia/Default/Eduardo@52.67.133.254 limit(hash CPS_5 CPS_trunk_5 1/1 !SWITCH_CONGESTION)
  220. 2019-01-31 19:39:47.308430 [DEBUG] switch_limit.c:43 Unable to locate limit backend: hash
  221. 2019-01-31 19:39:47.308430 [ERR] switch_limit.c:122 Limit subsystem hash not found!
  222. 2019-01-31 19:39:47.308430 [NOTICE] mod_dptools.c:4532 Hangup sofia/Default/Eduardo@52.67.133.254 [CS_EXECUTE] [SWITCH_CONGESTION]
  223. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_session.c:2796 sofia/Default/Eduardo@52.67.133.254 skip receive message [PHONE_EVENT] (channel is hungup already)
  224. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:609 (sofia/Default/Eduardo@52.67.133.254) State EXECUTE going to sleep
  225. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_HANGUP
  226. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:809 (sofia/Default/Eduardo@52.67.133.254) Callstate Change RINGING -> HANGUP
  227. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:811 (sofia/Default/Eduardo@52.67.133.254) State HANGUP
  228. 2019-01-31 19:39:47.308430 [DEBUG] mod_sofia.c:437 Channel sofia/Default/Eduardo@52.67.133.254 hanging up, cause: SWITCH_CONGESTION
  229. 2019-01-31 19:39:47.308430 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 503
  230. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:60 sofia/Default/Eduardo@52.67.133.254 Standard HANGUP, cause: SWITCH_CONGESTION
  231. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:811 (sofia/Default/Eduardo@52.67.133.254) State HANGUP going to sleep
  232. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:578 (sofia/Default/Eduardo@52.67.133.254) State Change CS_HANGUP -> CS_REPORTING
  233. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:543 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_REPORTING
  234. 2019-01-31 19:39:47.308430 [DEBUG] switch_core_state_machine.c:897 (sofia/Default/Eduardo@52.67.133.254) State REPORTING
  235. 2019-01-31 19:39:47.308430 [INFO] mod_json_cdr.c:271 Process [9bda101a-b53a-4e24-b659-d10475e97ac3.cdr.json]
  236. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:174 sofia/Default/Eduardo@52.67.133.254 Standard REPORTING, cause: SWITCH_CONGESTION
  237. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:897 (sofia/Default/Eduardo@52.67.133.254) State REPORTING going to sleep
  238. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:569 (sofia/Default/Eduardo@52.67.133.254) State Change CS_REPORTING -> CS_DESTROY
  239. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_session.c:1646 Session 10 (sofia/Default/Eduardo@52.67.133.254) Locked, Waiting on external entities
  240. 2019-01-31 19:39:47.328428 [NOTICE] switch_core_session.c:1664 Session 10 (sofia/Default/Eduardo@52.67.133.254) Ended
  241. 2019-01-31 19:39:47.328428 [NOTICE] switch_core_session.c:1668 Close Channel sofia/Default/Eduardo@52.67.133.254 [CS_DESTROY]
  242. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:700 (sofia/Default/Eduardo@52.67.133.254) Running State Change CS_DESTROY
  243. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:710 (sofia/Default/Eduardo@52.67.133.254) State DESTROY
  244. 2019-01-31 19:39:47.328428 [DEBUG] mod_sofia.c:342 sofia/Default/Eduardo@52.67.133.254 SOFIA DESTROY
  245. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:181 sofia/Default/Eduardo@52.67.133.254 Standard DESTROY
  246. 2019-01-31 19:39:47.328428 [DEBUG] switch_core_state_machine.c:710 (sofia/Default/Eduardo@52.67.133.254) State DESTROY going to sleep
  247. 2019-01-31 19:39:47.808456 [DEBUG] switch_scheduler.c:144 Deleting task 10 switch_ivr_schedule_hangup (9bda101a-b53a-4e24-b659-d10475e97ac3)