saifulalam

Freeswitch log - IP call - Prepend working

Apr 17th, 2017
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.51 KB | None | 0 0
  1. 2017-04-17 02:57:30.928641 [NOTICE] switch_channel.c:1104 New Channel sofia/default/FreeSWITCH@137.63.74.221:5569 [20421f46-233b-11e7-85a4-85c010fb95b9]
  2. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@137.63.74.221:5569) Running State Change CS_NEW
  3. 2017-04-17 02:57:30.928641 [DEBUG] sofia.c:9376 sofia/default/FreeSWITCH@137.63.74.221:5569 receiving invite from 137.63.74.182:5568 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  4. 2017-04-17 02:57:30.928641 [DEBUG] sofia.c:9488 IP 137.63.74.182 Approved by acl "default[]". Access Granted.
  5. 2017-04-17 02:57:30.928641 [DEBUG] sofia.c:6858 Channel sofia/default/FreeSWITCH@137.63.74.221:5569 entering state [received][100]
  6. 2017-04-17 02:57:30.928641 [DEBUG] sofia.c:6868 Remote SDP:
  7. v=0
  8. o=FreeSWITCH 1492391084 1492391085 IN IP4 137.63.74.182
  9. s=FreeSWITCH
  10. c=IN IP4 137.63.74.182
  11. t=0 0
  12. m=audio 24764 RTP/AVP 0 18 101 13
  13. a=rtpmap:0 PCMU/8000
  14. a=rtpmap:18 G729/8000
  15. a=rtpmap:101 telephone-event/8000
  16. a=fmtp:101 0-16
  17. a=rtpmap:13 CN/8000
  18. a=ptime:20
  19.  
  20. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  21. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  22. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  23. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  24. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/FreeSWITCH@137.63.74.221:5569 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  25. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_codec.c:111 sofia/default/FreeSWITCH@137.63.74.221:5569 Original read codec set to PCMU:0
  26. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  27. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_media.c:4681 sofia/default/FreeSWITCH@137.63.74.221:5569 Set 2833 dtmf send payload to 101 recv payload to 101
  28. 2017-04-17 02:57:30.928641 [DEBUG] sofia.c:7248 (sofia/default/FreeSWITCH@137.63.74.221:5569) State Change CS_NEW -> CS_INIT
  29. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:562 (sofia/default/FreeSWITCH@137.63.74.221:5569) State NEW
  30. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@137.63.74.221:5569) Running State Change CS_INIT
  31. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:586 (sofia/default/FreeSWITCH@137.63.74.221:5569) State INIT
  32. 2017-04-17 02:57:30.928641 [DEBUG] mod_sofia.c:89 sofia/default/FreeSWITCH@137.63.74.221:5569 SOFIA INIT
  33. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:40 sofia/default/FreeSWITCH@137.63.74.221:5569 Standard INIT
  34. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:48 (sofia/default/FreeSWITCH@137.63.74.221:5569) State Change CS_INIT -> CS_ROUTING
  35. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:586 (sofia/default/FreeSWITCH@137.63.74.221:5569) State INIT going to sleep
  36. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@137.63.74.221:5569) Running State Change CS_ROUTING
  37. 2017-04-17 02:57:30.928641 [DEBUG] switch_channel.c:2249 (sofia/default/FreeSWITCH@137.63.74.221:5569) Callstate Change DOWN -> RINGING
  38. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:602 (sofia/default/FreeSWITCH@137.63.74.221:5569) State ROUTING
  39. 2017-04-17 02:57:30.928641 [DEBUG] mod_sofia.c:142 sofia/default/FreeSWITCH@137.63.74.221:5569 SOFIA ROUTING
  40. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:236 sofia/default/FreeSWITCH@137.63.74.221:5569 Standard ROUTING
  41. 2017-04-17 02:57:30.928641 [INFO] mod_dialplan_xml.c:637 Processing +14168028324 <+14168028324>->8801730493004 in context default
  42. 2017-04-17 02:57:30.928641 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f91782b1a60 Connected.
  43. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  44. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 8801730493004
  45. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,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 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 ="8801730493004" LIMIT 1
  46. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,number as accountcode,sip_devices.accountid as accountid FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND username="8801730493004" limit 1
  47. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : outbound
  48. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [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("137.63.74.182") & (0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1)))) = ((0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1))) & INET_ATON(SUBSTRING_INDEX(ip,'/',1))) OR SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "137.63.74.182" AND prefix IN (NULL,'') OR SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "137.63.74.182" AND "8801730493004" RLIKE prefix ORDER BY LENGTH(prefix) DESC LIMIT 1
  49. 2017-04-17 02:57:30.928641 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 2588681950]
  50. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "2588681950" OR id="2588681950") AND status=0 AND deleted=0 AND (expiry >= '2017-04-17 06:57:30' OR expiry = '0000-00-00 00:00:00') limit 1
  51. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^8801730493004.*' OR blocked_patterns ='^880173049300.*' OR blocked_patterns ='^88017304930.*' OR blocked_patterns ='^8801730493.*' OR blocked_patterns ='^880173049.*' OR blocked_patterns ='^88017304.*' OR blocked_patterns ='^8801730.*' OR blocked_patterns ='^880173.*' OR blocked_patterns ='^88017.*' OR blocked_patterns ='^8801.*' OR blocked_patterns ='^880.*' OR blocked_patterns ='^88.*' OR blocked_patterns ='^8.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  52. 2017-04-17 02:57:30.928641 [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 ='^8801730493004.*' OR patterns ='^880173049300.*' OR patterns ='^88017304930.*' OR patterns ='^8801730493.*' OR patterns ='^880173049.*' OR patterns ='^88017304.*' OR patterns ='^8801730.*' OR patterns ='^880173.*' OR patterns ='^88017.*' OR patterns ='^8801.*' OR patterns ='^880.*' OR patterns ='^88.*' OR patterns ='^8.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  53. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information ===================
  54. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 16
  55. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 2588681950
  56. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 91.22535
  57. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  58. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 1
  59. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================================================
  60. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  61. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^8801730493004.*' OR pattern ='^880173049300.*' OR pattern ='^88017304930.*' OR pattern ='^8801730493.*' OR pattern ='^880173049.*' OR pattern ='^88017304.*' OR pattern ='^8801730.*' OR pattern ='^880173.*' OR pattern ='^88017.*' OR pattern ='^8801.*' OR pattern ='^880.*' OR pattern ='^88.*' OR pattern ='^8.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  62. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Markup : 14
  63. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Rates Information ===================
  64. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 1650
  65. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  66. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Includedseconds : 0
  67. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Cost : 0.03648
  68. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] comment : Bangladesh
  69. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Accid : 16
  70. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] ================================================================
  71. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Call Max length duration : 2500.6949013158 minutes
  72. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1
  73. 2017-04-17 02:57:30.928641 [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,TR.init_inc,TK.status,TK.dialed_modify,TK.maxchannels,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 ='^8801730493004.*' OR pattern ='^880173049300.*' OR pattern ='^88017304930.*' OR pattern ='^8801730493.*' OR pattern ='^880173049.*' OR pattern ='^88017304.*' OR pattern ='^8801730.*' OR pattern ='^880173.*' OR pattern ='^88017.*' OR pattern ='^8801.*' OR pattern ='^880.*' OR pattern ='^88.*' OR pattern ='^8.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (2) ORDER by TR.cost ASC,TR.precedence ASC, TK.precedence
  74. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Termination Rates Information ===================
  75. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 1620
  76. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Code : ^88017.*
  77. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Destination : Bangladesh
  78. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  79. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Free Seconds : 0
  80. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Prefix : ^88017.*
  81. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Strip :
  82. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Prepend : 7790
  83. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Carrier id : 2
  84. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] carrier_name : VOS2124
  85. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] dialplan_variable :
  86. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Failover gateway :
  87. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Vendor id : 3
  88. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Number Translation :
  89. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] Max channels : 500
  90. 2017-04-17 02:57:30.928641 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================END OF TERMINATION RATES=======================
  91. 2017-04-17 02:57:30.928641 [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 = 16 AND status=0 LIMIT 1
  92. 2017-04-17 02:57:30.928641 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] Before number translation : 8801730493004
  93. 2017-04-17 02:57:30.928641 [WARNING] switch_cpp.cpp:1360 [ASTPP] [DONUMBERTRANSLATION] After number translation : 77908801730493004
  94. 2017-04-17 02:57:30.928641 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Generated XML:
  95. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  96. <document type="freeswitch/xml">
  97. <section name="dialplan" description="ASTPP Dialplan">
  98. <context name="default">
  99. <extension name="8801730493004">
  100. <condition field="destination_number" expression="8801730493004">
  101. <action application="set" data="effective_destination_number=8801730493004"/>
  102. <action application="sched_hangup" data="+150041.69407895 normal_clearing"/>
  103. <action application="set" data="callstart=2017-04-17 06:57:30"/>
  104. <action application="set" data="hangup_after_bridge=true"/>
  105. <action application="set" data="continue_on_fail=true"/>
  106. <action application="set" data="account_id=16"/>
  107. <action application="set" data="parent_id=0"/>
  108. <action application="set" data="entity_id=0"/>
  109. <action application="set" data="call_processed=internal"/>
  110. <action application="set" data="call_direction=outbound"/>
  111. <action application="set" data="accountname=Fusion"/>
  112. <action application="export" data="t38_passthru=true"/>
  113. <action application="set" data="fax_enable_t38=true"/>
  114. <action application="set" data="fax_enable_t38_request=true"/>
  115. <action application="set" data="origination_rates=ID:1650|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03648|INC:1|INITIALBLOCK:0|RATEGROUP:1|MARKUP:14|ACCID:16"/>
  116. <action application="set" data="calltype=STANDARD"/>
  117. <action application="set" data="termination_rates=ID:1620|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02642|INC:1|INITIALBLOCK:0|TRUNK:2|PROVIDER:3"/>
  118. <action application="set" data="trunk_id=2"/>
  119. <action application="set" data="provider_id=3"/>
  120. <action application="set" data="absolute_codec_string=PCMU"/>
  121. <action application="limit_execute" data="db VOS2124 gw_VOS2124 500 bridge sofia/gateway/VOS2124/77908801730493004"/>
  122. </condition>
  123. </extension>
  124. </context>
  125. </section>
  126. </document>
  127. 2017-04-17 02:57:30.928641 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f91782b1a60 released.
  128. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 parsing [default->8801730493004] continue=false
  129. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Regex (PASS) [8801730493004] destination_number(8801730493004) =~ /8801730493004/ break=on-false
  130. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(effective_destination_number=8801730493004)
  131. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action sched_hangup(+150041.69407895 normal_clearing)
  132. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(callstart=2017-04-17 06:57:30)
  133. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(hangup_after_bridge=true)
  134. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(continue_on_fail=true)
  135. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(account_id=16)
  136. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(parent_id=0)
  137. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(entity_id=0)
  138. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(call_processed=internal)
  139. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(call_direction=outbound)
  140. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(accountname=Fusion)
  141. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action export(t38_passthru=true)
  142. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(fax_enable_t38=true)
  143. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(fax_enable_t38_request=true)
  144. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(origination_rates=ID:1650|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03648|INC:1|INITIALBLOCK:0|RATEGROUP:1|MARKUP:14|ACCID:16)
  145. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(calltype=STANDARD)
  146. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(termination_rates=ID:1620|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02642|INC:1|INITIALBLOCK:0|TRUNK:2|PROVIDER:3)
  147. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(trunk_id=2)
  148. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(provider_id=3)
  149. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action set(absolute_codec_string=PCMU)
  150. Dialplan: sofia/default/FreeSWITCH@137.63.74.221:5569 Action limit_execute(db VOS2124 gw_VOS2124 500 bridge sofia/gateway/VOS2124/77908801730493004)
  151. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:286 (sofia/default/FreeSWITCH@137.63.74.221:5569) State Change CS_ROUTING -> CS_EXECUTE
  152. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:602 (sofia/default/FreeSWITCH@137.63.74.221:5569) State ROUTING going to sleep
  153. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@137.63.74.221:5569) Running State Change CS_EXECUTE
  154. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:609 (sofia/default/FreeSWITCH@137.63.74.221:5569) State EXECUTE
  155. 2017-04-17 02:57:30.928641 [DEBUG] mod_sofia.c:197 sofia/default/FreeSWITCH@137.63.74.221:5569 SOFIA EXECUTE
  156. 2017-04-17 02:57:30.928641 [DEBUG] switch_core_state_machine.c:328 sofia/default/FreeSWITCH@137.63.74.221:5569 Standard EXECUTE
  157. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(effective_destination_number=8801730493004)
  158. 2017-04-17 02:57:30.928641 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [effective_destination_number]=[8801730493004]
  159. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 sched_hangup(+150041.69407895 normal_clearing)
  160. 2017-04-17 02:57:30.928641 [DEBUG] switch_scheduler.c:249 Added task 85 switch_ivr_schedule_hangup (20421f46-233b-11e7-85a4-85c010fb95b9) to run at 1492562291
  161. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(callstart=2017-04-17 06:57:30)
  162. 2017-04-17 02:57:30.928641 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [callstart]=[2017-04-17 06:57:30]
  163. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(hangup_after_bridge=true)
  164. 2017-04-17 02:57:30.928641 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [hangup_after_bridge]=[true]
  165. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(continue_on_fail=true)
  166. 2017-04-17 02:57:30.928641 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [continue_on_fail]=[true]
  167. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(account_id=16)
  168. 2017-04-17 02:57:30.928641 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [account_id]=[16]
  169. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(parent_id=0)
  170. 2017-04-17 02:57:30.928641 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [parent_id]=[0]
  171. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(entity_id=0)
  172. 2017-04-17 02:57:30.928641 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [entity_id]=[0]
  173. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(call_processed=internal)
  174. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [call_processed]=[internal]
  175. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(call_direction=outbound)
  176. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [call_direction]=[outbound]
  177. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(accountname=Fusion)
  178. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [accountname]=[Fusion]
  179. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 export(t38_passthru=true)
  180. 2017-04-17 02:57:30.948631 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  181. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(fax_enable_t38=true)
  182. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [fax_enable_t38]=[true]
  183. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(fax_enable_t38_request=true)
  184. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [fax_enable_t38_request]=[true]
  185. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(origination_rates=ID:1650|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03648|INC:1|INITIALBLOCK:0|RATEGROUP:1|MARKUP:14|ACCID:16)
  186. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [origination_rates]=[ID:1650|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03648|INC:1|INITIALBLOCK:0|RATEGROUP:1|MARKUP:14|ACCID:16]
  187. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(calltype=STANDARD)
  188. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [calltype]=[STANDARD]
  189. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(termination_rates=ID:1620|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02642|INC:1|INITIALBLOCK:0|TRUNK:2|PROVIDER:3)
  190. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [termination_rates]=[ID:1620|CODE:^88017.*|DESTINATION:Bangladesh|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02642|INC:1|INITIALBLOCK:0|TRUNK:2|PROVIDER:3]
  191. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(trunk_id=2)
  192. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [trunk_id]=[2]
  193. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(provider_id=3)
  194. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [provider_id]=[3]
  195. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 set(absolute_codec_string=PCMU)
  196. 2017-04-17 02:57:30.948631 [DEBUG] mod_dptools.c:1519 SET sofia/default/FreeSWITCH@137.63.74.221:5569 [absolute_codec_string]=[PCMU]
  197. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 limit_execute(db VOS2124 gw_VOS2124 500 bridge sofia/gateway/VOS2124/77908801730493004)
  198. 2017-04-17 02:57:30.948631 [DEBUG] switch_limit.c:126 incr called: VOS2124_gw_VOS2124 max:500, interval:0
  199. 2017-04-17 02:57:30.948631 [DEBUG] mod_db.c:194 Usage for VOS2124_gw_VOS2124 is now 1/500
  200. EXECUTE sofia/default/FreeSWITCH@137.63.74.221:5569 bridge(sofia/gateway/VOS2124/77908801730493004)
  201. 2017-04-17 02:57:30.948631 [DEBUG] switch_channel.c:1250 sofia/default/FreeSWITCH@137.63.74.221:5569 EXPORTING[export_vars] [t38_passthru]=[true] to event
  202. 2017-04-17 02:57:30.948631 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables
  203. 2017-04-17 02:57:30.948631 [NOTICE] switch_channel.c:1104 New Channel sofia/default/77908801730493004 [2044bc88-233b-11e7-85be-85c010fb95b9]
  204. 2017-04-17 02:57:30.948631 [DEBUG] mod_sofia.c:4813 (sofia/default/77908801730493004) State Change CS_NEW -> CS_INIT
  205. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:543 (sofia/default/77908801730493004) Running State Change CS_INIT
  206. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:586 (sofia/default/77908801730493004) State INIT
  207. 2017-04-17 02:57:30.948631 [DEBUG] mod_sofia.c:89 sofia/default/77908801730493004 SOFIA INIT
  208. 2017-04-17 02:57:30.948631 [DEBUG] sofia_glue.c:1257 sofia/default/77908801730493004 sending invite version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  209. Local SDP:
  210. v=0
  211. o=FreeSWITCH 1492394442 1492394443 IN IP4 137.63.74.221
  212. s=FreeSWITCH
  213. c=IN IP4 137.63.74.221
  214. t=0 0
  215. m=audio 17808 RTP/AVP 0 101
  216. a=rtpmap:0 PCMU/8000
  217. a=rtpmap:101 telephone-event/8000
  218. a=fmtp:101 0-16
  219. a=ptime:20
  220. a=sendrecv
  221.  
  222. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:40 sofia/default/77908801730493004 Standard INIT
  223. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:48 (sofia/default/77908801730493004) State Change CS_INIT -> CS_ROUTING
  224. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:586 (sofia/default/77908801730493004) State INIT going to sleep
  225. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:543 (sofia/default/77908801730493004) Running State Change CS_ROUTING
  226. 2017-04-17 02:57:30.948631 [DEBUG] sofia.c:6858 Channel sofia/default/77908801730493004 entering state [calling][0]
  227. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:602 (sofia/default/77908801730493004) State ROUTING
  228. 2017-04-17 02:57:30.948631 [DEBUG] mod_sofia.c:142 sofia/default/77908801730493004 SOFIA ROUTING
  229. 2017-04-17 02:57:30.948631 [DEBUG] switch_ivr_originate.c:67 (sofia/default/77908801730493004) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  230. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:602 (sofia/default/77908801730493004) State ROUTING going to sleep
  231. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:543 (sofia/default/77908801730493004) Running State Change CS_CONSUME_MEDIA
  232. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:621 (sofia/default/77908801730493004) State CONSUME_MEDIA
  233. 2017-04-17 02:57:30.948631 [DEBUG] switch_core_state_machine.c:621 (sofia/default/77908801730493004) State CONSUME_MEDIA going to sleep
  234. 2017-04-17 02:57:32.028632 [DEBUG] sofia.c:6858 Channel sofia/default/77908801730493004 entering state [terminated][503]
  235. 2017-04-17 02:57:32.028632 [NOTICE] sofia.c:7881 Hangup sofia/default/77908801730493004 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  236. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:543 (sofia/default/77908801730493004) Running State Change CS_HANGUP
  237. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:809 (sofia/default/77908801730493004) Callstate Change DOWN -> HANGUP
  238. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:811 (sofia/default/77908801730493004) State HANGUP
  239. 2017-04-17 02:57:32.028632 [DEBUG] mod_sofia.c:437 Channel sofia/default/77908801730493004 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  240. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:60 sofia/default/77908801730493004 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  241. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:811 (sofia/default/77908801730493004) State HANGUP going to sleep
  242. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:578 (sofia/default/77908801730493004) State Change CS_HANGUP -> CS_REPORTING
  243. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:543 (sofia/default/77908801730493004) Running State Change CS_REPORTING
  244. 2017-04-17 02:57:32.028632 [DEBUG] switch_core_state_machine.c:897 (sofia/default/77908801730493004) State REPORTING
  245. 2017-04-17 02:57:32.028632 [INFO] mod_json_cdr.c:271 Process [2044bc88-233b-11e7-85be-85c010fb95b9.cdr.json]
  246. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:174 sofia/default/77908801730493004 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  247. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:897 (sofia/default/77908801730493004) State REPORTING going to sleep
  248. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:569 (sofia/default/77908801730493004) State Change CS_REPORTING -> CS_DESTROY
  249. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_session.c:1646 Session 171 (sofia/default/77908801730493004) Locked, Waiting on external entities
  250. 2017-04-17 02:57:32.048627 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  251. 2017-04-17 02:57:32.048627 [INFO] mod_dptools.c:3401 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
  252. 2017-04-17 02:57:32.048627 [INFO] mod_dptools.c:4624 immediately releasing
  253. 2017-04-17 02:57:32.048627 [NOTICE] switch_core_state_machine.c:385 sofia/default/FreeSWITCH@137.63.74.221:5569 has executed the last dialplan instruction, hanging up.
  254. 2017-04-17 02:57:32.048627 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/FreeSWITCH@137.63.74.221:5569 [CS_EXECUTE] [NORMAL_CLEARING]
  255. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:609 (sofia/default/FreeSWITCH@137.63.74.221:5569) State EXECUTE going to sleep
  256. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@137.63.74.221:5569) Running State Change CS_HANGUP
  257. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:809 (sofia/default/FreeSWITCH@137.63.74.221:5569) Callstate Change RINGING -> HANGUP
  258. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:811 (sofia/default/FreeSWITCH@137.63.74.221:5569) State HANGUP
  259. 2017-04-17 02:57:32.048627 [DEBUG] mod_sofia.c:431 sofia/default/FreeSWITCH@137.63.74.221:5569 Overriding SIP cause 480 with 503 from the other leg
  260. 2017-04-17 02:57:32.048627 [DEBUG] mod_sofia.c:437 Channel sofia/default/FreeSWITCH@137.63.74.221:5569 hanging up, cause: NORMAL_CLEARING
  261. 2017-04-17 02:57:32.048627 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 503
  262. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:60 sofia/default/FreeSWITCH@137.63.74.221:5569 Standard HANGUP, cause: NORMAL_CLEARING
  263. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:811 (sofia/default/FreeSWITCH@137.63.74.221:5569) State HANGUP going to sleep
  264. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:578 (sofia/default/FreeSWITCH@137.63.74.221:5569) State Change CS_HANGUP -> CS_REPORTING
  265. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:543 (sofia/default/FreeSWITCH@137.63.74.221:5569) Running State Change CS_REPORTING
  266. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:897 (sofia/default/FreeSWITCH@137.63.74.221:5569) State REPORTING
  267. 2017-04-17 02:57:32.048627 [INFO] mod_json_cdr.c:271 Process [a_20421f46-233b-11e7-85a4-85c010fb95b9.cdr.json]
  268. 2017-04-17 02:57:32.048627 [NOTICE] switch_core_session.c:1664 Session 171 (sofia/default/77908801730493004) Ended
  269. 2017-04-17 02:57:32.048627 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/77908801730493004 [CS_DESTROY]
  270. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:700 (sofia/default/77908801730493004) Running State Change CS_DESTROY
  271. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:710 (sofia/default/77908801730493004) State DESTROY
  272. 2017-04-17 02:57:32.048627 [DEBUG] mod_sofia.c:342 sofia/default/77908801730493004 SOFIA DESTROY
  273. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:181 sofia/default/77908801730493004 Standard DESTROY
  274. 2017-04-17 02:57:32.048627 [DEBUG] switch_core_state_machine.c:710 (sofia/default/77908801730493004) State DESTROY going to sleep
  275. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_state_machine.c:174 sofia/default/FreeSWITCH@137.63.74.221:5569 Standard REPORTING, cause: NORMAL_CLEARING
  276. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_state_machine.c:897 (sofia/default/FreeSWITCH@137.63.74.221:5569) State REPORTING going to sleep
  277. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_state_machine.c:569 (sofia/default/FreeSWITCH@137.63.74.221:5569) State Change CS_REPORTING -> CS_DESTROY
  278. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_session.c:1646 Session 170 (sofia/default/FreeSWITCH@137.63.74.221:5569) Locked, Waiting on external entities
  279. 2017-04-17 02:57:32.108661 [NOTICE] switch_core_session.c:1664 Session 170 (sofia/default/FreeSWITCH@137.63.74.221:5569) Ended
  280. 2017-04-17 02:57:32.108661 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/FreeSWITCH@137.63.74.221:5569 [CS_DESTROY]
  281. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_state_machine.c:700 (sofia/default/FreeSWITCH@137.63.74.221:5569) Running State Change CS_DESTROY
  282. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_state_machine.c:710 (sofia/default/FreeSWITCH@137.63.74.221:5569) State DESTROY
  283. 2017-04-17 02:57:32.108661 [DEBUG] mod_sofia.c:342 sofia/default/FreeSWITCH@137.63.74.221:5569 SOFIA DESTROY
  284. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_state_machine.c:181 sofia/default/FreeSWITCH@137.63.74.221:5569 Standard DESTROY
  285. 2017-04-17 02:57:32.108661 [DEBUG] switch_core_state_machine.c:710 (sofia/default/FreeSWITCH@137.63.74.221:5569) State DESTROY going to sleep
  286. 2017-04-17 02:57:32.448642 [DEBUG] switch_scheduler.c:144 Deleting task 85 switch_ivr_schedule_hangup (20421f46-233b-11e7-85a4-85c010fb95b9)
Add Comment
Please, Sign In to add comment