dipenec2010

astpp freeswitch gsm to pcmu,pcma not work

May 27th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.35 KB | None | 0 0
  1. 2017-05-27 01:45:41.815477 [NOTICE] switch_channel.c:1104 New Channel sofia/default/918522825571@sipserver.hello.com [b858f90c-429f-11e7-9b0c-3b11ae4424b5]
  2. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:543 (sofia/default/918522825571@sipserver.hello.com) Running State Change CS_NEW
  3. 2017-05-27 01:45:41.815477 [DEBUG] sofia.c:9376 sofia/default/918522825571@sipserver.hello.com receiving invite from 174.19.34.118:5060 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  4. 2017-05-27 01:45:41.815477 [DEBUG] sofia.c:9488 IP 174.19.34.118 Approved by acl "default[]". Access Granted.
  5. 2017-05-27 01:45:41.815477 [DEBUG] sofia.c:6858 Channel sofia/default/918522825571@sipserver.hello.com entering state [received][100]
  6. 2017-05-27 01:45:41.815477 [DEBUG] sofia.c:6868 Remote SDP:
  7. v=0
  8. o=918522825571 1185 2406 IN IP4 174.19.34.118
  9. s=Talk
  10. c=IN IP4 174.19.34.118
  11. b=AS:380
  12. t=0 0
  13. a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
  14. m=audio 25978 RTP/AVP 3 101
  15. a=rtpmap:101 telephone-event/8000
  16. a=rtcp-fb:* ccm tmmbr
  17. a=nortpproxy:yes
  18.  
  19. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1]
  20. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match
  21. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  22. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/918522825571@sipserver.hello.com GSM/8000 20 ms 160 samples 13200 bits 1 channels
  23. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_codec.c:111 sofia/default/918522825571@sipserver.hello.com Original read codec set to GSM:3
  24. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  25. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_media.c:4681 sofia/default/918522825571@sipserver.hello.com Set 2833 dtmf send payload to 101 recv payload to 101
  26. 2017-05-27 01:45:41.815477 [DEBUG] sofia.c:7248 (sofia/default/918522825571@sipserver.hello.com) State Change CS_NEW -> CS_INIT
  27. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:562 (sofia/default/918522825571@sipserver.hello.com) State NEW
  28. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:543 (sofia/default/918522825571@sipserver.hello.com) Running State Change CS_INIT
  29. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:586 (sofia/default/918522825571@sipserver.hello.com) State INIT
  30. 2017-05-27 01:45:41.815477 [DEBUG] mod_sofia.c:89 sofia/default/918522825571@sipserver.hello.com SOFIA INIT
  31. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:40 sofia/default/918522825571@sipserver.hello.com Standard INIT
  32. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:48 (sofia/default/918522825571@sipserver.hello.com) State Change CS_INIT -> CS_ROUTING
  33. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:586 (sofia/default/918522825571@sipserver.hello.com) State INIT going to sleep
  34. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:543 (sofia/default/918522825571@sipserver.hello.com) Running State Change CS_ROUTING
  35. 2017-05-27 01:45:41.815477 [DEBUG] switch_channel.c:2249 (sofia/default/918522825571@sipserver.hello.com) Callstate Change DOWN -> RINGING
  36. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:602 (sofia/default/918522825571@sipserver.hello.com) State ROUTING
  37. 2017-05-27 01:45:41.815477 [DEBUG] mod_sofia.c:142 sofia/default/918522825571@sipserver.hello.com SOFIA ROUTING
  38. 2017-05-27 01:45:41.815477 [DEBUG] switch_core_state_machine.c:236 sofia/default/918522825571@sipserver.hello.com Standard ROUTING
  39. 2017-05-27 01:45:41.815477 [INFO] mod_dialplan_xml.c:637 Processing 918522825571 <918522825571>->917586911121 in context default
  40. 2017-05-27 01:45:41.815477 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fc000073610 Connected.
  41. 2017-05-27 01:45:41.815477 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  42. 2017-05-27 01:45:41.815477 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 917586911121
  43. 2017-05-27 01:45:41.815477 [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 ="917586911121" LIMIT 1
  44. 2017-05-27 01:45:41.815477 [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="917586911121" limit 1
  45. 2017-05-27 01:45:41.815477 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : outbound
  46. 2017-05-27 01:45:41.815477 [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("174.19.34.118") & (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 ) = "174.19.34.118" AND prefix IN (NULL,'') OR SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "174.19.34.118" AND "917586911121" RLIKE prefix ORDER BY LENGTH(prefix) DESC LIMIT 1
  47. 2017-05-27 01:45:41.815477 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 7335503421]
  48. 2017-05-27 01:45:41.815477 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "7335503421" OR id="7335503421") AND status=0 AND deleted=0 AND (expiry >= '2017-05-27 05:45:41' OR expiry = '0000-00-00 00:00:00') limit 1
  49. 2017-05-27 01:45:41.835478 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^917586911121.*' OR blocked_patterns ='^91748699912.*' OR blocked_patterns ='^9174869991.*' OR blocked_patterns ='^917486999.*' OR blocked_patterns ='^91748699.*' OR blocked_patterns ='^9174869.*' OR blocked_patterns ='^917486.*' OR blocked_patterns ='^91748.*' OR blocked_patterns ='^9174.*' OR blocked_patterns ='^917.*' OR blocked_patterns ='^91.*' OR blocked_patterns ='^9.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
  50. 2017-05-27 01:45:41.835478 [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 ='^917586911121.*' OR patterns ='^91748699912.*' OR patterns ='^9174869991.*' OR patterns ='^917486999.*' OR patterns ='^91748699.*' OR patterns ='^9174869.*' OR patterns ='^917486.*' OR patterns ='^91748.*' OR patterns ='^9174.*' OR patterns ='^917.*' OR patterns ='^91.*' OR patterns ='^9.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  51. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information ===================
  52. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 3
  53. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 7335503421
  54. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 103678.98
  55. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  56. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 1
  57. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================================================
  58. 2017-05-27 01:45:41.835478 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  59. 2017-05-27 01:45:41.835478 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^917586911121.*' OR pattern ='^91748699912.*' OR pattern ='^9174869991.*' OR pattern ='^917486999.*' OR pattern ='^91748699.*' OR pattern ='^9174869.*' OR pattern ='^917486.*' OR pattern ='^91748.*' OR pattern ='^9174.*' OR pattern ='^917.*' OR pattern ='^91.*' OR pattern ='^9.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  60. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Rates Information ===================
  61. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 1
  62. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  63. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Includedseconds : 0
  64. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Cost : 0.07000
  65. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] comment : IN
  66. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Accid : 3
  67. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] ================================================================
  68. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 24!!!
  69. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Call Max length duration : 24 minutes
  70. 2017-05-27 01:45:41.835478 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1
  71. 2017-05-27 01:45:41.835478 [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 ='^917586911121.*' OR pattern ='^91748699912.*' OR pattern ='^9174869991.*' OR pattern ='^917486999.*' OR pattern ='^91748699.*' OR pattern ='^9174869.*' OR pattern ='^917486.*' OR pattern ='^91748.*' OR pattern ='^9174.*' OR pattern ='^917.*' OR pattern ='^91.*' OR pattern ='^9.*' 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
  72. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Termination Rates Information ===================
  73. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] ID : 1
  74. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Code : ^91.*
  75. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Destination : IN
  76. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Connectcost : 0.00000
  77. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Free Seconds : 0
  78. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Prefix : ^91.*
  79. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Strip :
  80. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Prepend :
  81. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Carrier id : 1
  82. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] carrier_name : tsl-a-z
  83. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] dialplan_variable :
  84. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Failover gateway :
  85. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Vendor id : 3
  86. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Number Translation :
  87. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] Max channels : 0
  88. 2017-05-27 01:45:41.835478 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================END OF TERMINATION RATES=======================
  89. 2017-05-27 01:45:41.835478 [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 = 3 AND status=0 LIMIT 1
  90. 2017-05-27 01:45:41.835478 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Generated XML:
  91. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  92. <document type="freeswitch/xml">
  93. <section name="dialplan" description="ASTPP Dialplan">
  94. <context name="default">
  95. <extension name="917586911121">
  96. <condition field="destination_number" expression="917586911121">
  97. <action application="set" data="effective_destination_number=917586911121"/>
  98. <action application="sched_hangup" data="+1440 normal_clearing"/>
  99. <action application="set" data="callstart=2017-05-27 05:45:41"/>
  100. <action application="set" data="hangup_after_bridge=true"/>
  101. <action application="set" data="continue_on_fail=true"/>
  102. <action application="set" data="account_id=3"/>
  103. <action application="set" data="parent_id=0"/>
  104. <action application="set" data="entity_id=3"/>
  105. <action application="set" data="call_processed=internal"/>
  106. <action application="set" data="call_direction=outbound"/>
  107. <action application="set" data="accountname=sip_test"/>
  108. <action application="export" data="t38_passthru=true"/>
  109. <action application="set" data="fax_enable_t38=true"/>
  110. <action application="set" data="fax_enable_t38_request=true"/>
  111. <action application="set" data="origination_rates=ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:3"/>
  112. <action application="export" data="is_recording=1"/>
  113. <action application="export" data="media_bug_answer_req=true"/>
  114. <action application="export" data="RECORD_STEREO=true"/>
  115. <action application="export" data="record_sample_rate=8000"/>
  116. <action application="export" data="execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y-%m-%d-%H:%M:%S)}_7335503421.wav"/>
  117. <action application="set" data="calltype=STANDARD"/>
  118. <action application="set" data="termination_rates=ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  119. <action application="set" data="trunk_id=1"/>
  120. <action application="set" data="provider_id=3"/>
  121. <action application="set" data="absolute_codec_string=PCMU,PCMA"/>
  122. <action application="bridge" data="sofia/gateway/tsl-a-z/917586911121"/>
  123. </condition>
  124. </extension>
  125. </context>
  126. </section>
  127. </document>
  128. 2017-05-27 01:45:41.835478 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fc000073610 released.
  129. Dialplan: sofia/default/918522825571@sipserver.hello.com parsing [default->917586911121] continue=false
  130. Dialplan: sofia/default/918522825571@sipserver.hello.com Regex (PASS) [917586911121] destination_number(917586911121) =~ /917586911121/ break=on-false
  131. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(effective_destination_number=917586911121)
  132. Dialplan: sofia/default/918522825571@sipserver.hello.com Action sched_hangup(+1440 normal_clearing)
  133. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(callstart=2017-05-27 05:45:41)
  134. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(hangup_after_bridge=true)
  135. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(continue_on_fail=true)
  136. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(account_id=3)
  137. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(parent_id=0)
  138. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(entity_id=3)
  139. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(call_processed=internal)
  140. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(call_direction=outbound)
  141. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(accountname=sip_test)
  142. Dialplan: sofia/default/918522825571@sipserver.hello.com Action export(t38_passthru=true)
  143. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(fax_enable_t38=true)
  144. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(fax_enable_t38_request=true)
  145. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(origination_rates=ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:3)
  146. Dialplan: sofia/default/918522825571@sipserver.hello.com Action export(is_recording=1)
  147. Dialplan: sofia/default/918522825571@sipserver.hello.com Action export(media_bug_answer_req=true)
  148. Dialplan: sofia/default/918522825571@sipserver.hello.com Action export(RECORD_STEREO=true)
  149. Dialplan: sofia/default/918522825571@sipserver.hello.com Action export(record_sample_rate=8000)
  150. Dialplan: sofia/default/918522825571@sipserver.hello.com Action export(execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y-%m-%d-%H:%M:%S)}_7335503421.wav)
  151. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(calltype=STANDARD)
  152. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(termination_rates=ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  153. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(trunk_id=1)
  154. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(provider_id=3)
  155. Dialplan: sofia/default/918522825571@sipserver.hello.com Action set(absolute_codec_string=PCMU,PCMA)
  156. Dialplan: sofia/default/918522825571@sipserver.hello.com Action bridge(sofia/gateway/tsl-a-z/917586911121)
  157. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:286 (sofia/default/918522825571@sipserver.hello.com) State Change CS_ROUTING -> CS_EXECUTE
  158. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:602 (sofia/default/918522825571@sipserver.hello.com) State ROUTING going to sleep
  159. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:543 (sofia/default/918522825571@sipserver.hello.com) Running State Change CS_EXECUTE
  160. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:609 (sofia/default/918522825571@sipserver.hello.com) State EXECUTE
  161. 2017-05-27 01:45:41.835478 [DEBUG] mod_sofia.c:197 sofia/default/918522825571@sipserver.hello.com SOFIA EXECUTE
  162. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:328 sofia/default/918522825571@sipserver.hello.com Standard EXECUTE
  163. EXECUTE sofia/default/918522825571@sipserver.hello.com set(effective_destination_number=917586911121)
  164. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [effective_destination_number]=[917586911121]
  165. EXECUTE sofia/default/918522825571@sipserver.hello.com sched_hangup(+1440 normal_clearing)
  166. 2017-05-27 01:45:41.835478 [DEBUG] switch_scheduler.c:249 Added task 4 switch_ivr_schedule_hangup (b858f90c-429f-11e7-9b0c-3b11ae4424b5) to run at 1495865381
  167. EXECUTE sofia/default/918522825571@sipserver.hello.com set(callstart=2017-05-27 05:45:41)
  168. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [callstart]=[2017-05-27 05:45:41]
  169. EXECUTE sofia/default/918522825571@sipserver.hello.com set(hangup_after_bridge=true)
  170. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [hangup_after_bridge]=[true]
  171. EXECUTE sofia/default/918522825571@sipserver.hello.com set(continue_on_fail=true)
  172. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [continue_on_fail]=[true]
  173. EXECUTE sofia/default/918522825571@sipserver.hello.com set(account_id=3)
  174. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [account_id]=[3]
  175. EXECUTE sofia/default/918522825571@sipserver.hello.com set(parent_id=0)
  176. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [parent_id]=[0]
  177. EXECUTE sofia/default/918522825571@sipserver.hello.com set(entity_id=3)
  178. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [entity_id]=[3]
  179. EXECUTE sofia/default/918522825571@sipserver.hello.com set(call_processed=internal)
  180. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [call_processed]=[internal]
  181. EXECUTE sofia/default/918522825571@sipserver.hello.com set(call_direction=outbound)
  182. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [call_direction]=[outbound]
  183. EXECUTE sofia/default/918522825571@sipserver.hello.com set(accountname=sip_test)
  184. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [accountname]=[sip_test]
  185. EXECUTE sofia/default/918522825571@sipserver.hello.com export(t38_passthru=true)
  186. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  187. EXECUTE sofia/default/918522825571@sipserver.hello.com set(fax_enable_t38=true)
  188. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [fax_enable_t38]=[true]
  189. EXECUTE sofia/default/918522825571@sipserver.hello.com set(fax_enable_t38_request=true)
  190. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [fax_enable_t38_request]=[true]
  191. EXECUTE sofia/default/918522825571@sipserver.hello.com set(origination_rates=ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:3)
  192. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [origination_rates]=[ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|ACCID:3]
  193. EXECUTE sofia/default/918522825571@sipserver.hello.com export(is_recording=1)
  194. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  195. EXECUTE sofia/default/918522825571@sipserver.hello.com export(media_bug_answer_req=true)
  196. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  197. EXECUTE sofia/default/918522825571@sipserver.hello.com export(RECORD_STEREO=true)
  198. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  199. EXECUTE sofia/default/918522825571@sipserver.hello.com export(record_sample_rate=8000)
  200. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  201. EXECUTE sofia/default/918522825571@sipserver.hello.com export(execute_on_answer=record_session /usr/local/freeswitch/recordings/2017-05-27-01:45:41_7335503421.wav)
  202. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2017-05-27-01:45:41_7335503421.wav]
  203. EXECUTE sofia/default/918522825571@sipserver.hello.com set(calltype=STANDARD)
  204. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [calltype]=[STANDARD]
  205. EXECUTE sofia/default/918522825571@sipserver.hello.com set(termination_rates=ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  206. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [termination_rates]=[ID:1|CODE:^91.*|DESTINATION:IN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.05000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  207. EXECUTE sofia/default/918522825571@sipserver.hello.com set(trunk_id=1)
  208. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [trunk_id]=[1]
  209. EXECUTE sofia/default/918522825571@sipserver.hello.com set(provider_id=3)
  210. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [provider_id]=[3]
  211. EXECUTE sofia/default/918522825571@sipserver.hello.com set(absolute_codec_string=PCMU,PCMA)
  212. 2017-05-27 01:45:41.835478 [DEBUG] mod_dptools.c:1519 SET sofia/default/918522825571@sipserver.hello.com [absolute_codec_string]=[PCMU,PCMA]
  213. EXECUTE sofia/default/918522825571@sipserver.hello.com bridge(sofia/gateway/tsl-a-z/917586911121)
  214. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1250 sofia/default/918522825571@sipserver.hello.com EXPORTING[export_vars] [t38_passthru]=[true] to event
  215. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1250 sofia/default/918522825571@sipserver.hello.com EXPORTING[export_vars] [is_recording]=[1] to event
  216. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1250 sofia/default/918522825571@sipserver.hello.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  217. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1250 sofia/default/918522825571@sipserver.hello.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  218. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1250 sofia/default/918522825571@sipserver.hello.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  219. 2017-05-27 01:45:41.835478 [DEBUG] switch_channel.c:1250 sofia/default/918522825571@sipserver.hello.com EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/2017-05-27-01:45:41_7335503421.wav] to event
  220. 2017-05-27 01:45:41.835478 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables
  221. 2017-05-27 01:45:41.835478 [NOTICE] switch_channel.c:1104 New Channel sofia/default/917586911121 [b86050a8-429f-11e7-9b2a-3b11ae4424b5]
  222. 2017-05-27 01:45:41.835478 [DEBUG] mod_sofia.c:4813 (sofia/default/917586911121) State Change CS_NEW -> CS_INIT
  223. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:543 (sofia/default/917586911121) Running State Change CS_INIT
  224. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:586 (sofia/default/917586911121) State INIT
  225. 2017-05-27 01:45:41.835478 [DEBUG] mod_sofia.c:89 sofia/default/917586911121 SOFIA INIT
  226. 2017-05-27 01:45:41.835478 [DEBUG] sofia_glue.c:1257 sofia/default/917586911121 sending invite version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  227. Local SDP:
  228. v=0
  229. o=FreeSWITCH 1495837747 1495837748 IN IP4 146.213.11.71
  230. s=FreeSWITCH
  231. c=IN IP4 146.213.11.71
  232. t=0 0
  233. m=audio 26194 RTP/AVP 3 101
  234. a=rtpmap:3 GSM/8000
  235. a=rtpmap:101 telephone-event/8000
  236. a=fmtp:101 0-16
  237. a=ptime:20
  238. a=sendrecv
  239.  
  240. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:40 sofia/default/917586911121 Standard INIT
  241. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:48 (sofia/default/917586911121) State Change CS_INIT -> CS_ROUTING
  242. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:586 (sofia/default/917586911121) State INIT going to sleep
  243. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:543 (sofia/default/917586911121) Running State Change CS_ROUTING
  244. 2017-05-27 01:45:41.835478 [DEBUG] sofia.c:6858 Channel sofia/default/917586911121 entering state [calling][0]
  245. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:602 (sofia/default/917586911121) State ROUTING
  246. 2017-05-27 01:45:41.835478 [DEBUG] mod_sofia.c:142 sofia/default/917586911121 SOFIA ROUTING
  247. 2017-05-27 01:45:41.835478 [DEBUG] switch_ivr_originate.c:67 (sofia/default/917586911121) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  248. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:602 (sofia/default/917586911121) State ROUTING going to sleep
  249. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:543 (sofia/default/917586911121) Running State Change CS_CONSUME_MEDIA
  250. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:621 (sofia/default/917586911121) State CONSUME_MEDIA
  251. 2017-05-27 01:45:41.835478 [DEBUG] switch_core_state_machine.c:621 (sofia/default/917586911121) State CONSUME_MEDIA going to sleep
  252. 2017-05-27 01:46:02.775480 [DEBUG] sofia.c:6858 Channel sofia/default/917586911121 entering state [terminated][408]
  253. 2017-05-27 01:46:02.775480 [NOTICE] sofia.c:7881 Hangup sofia/default/917586911121 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE]
  254. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:543 (sofia/default/917586911121) Running State Change CS_HANGUP
  255. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:809 (sofia/default/917586911121) Callstate Change DOWN -> HANGUP
  256. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:811 (sofia/default/917586911121) State HANGUP
  257. 2017-05-27 01:46:02.775480 [DEBUG] mod_sofia.c:437 Channel sofia/default/917586911121 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
  258. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:60 sofia/default/917586911121 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
  259. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:811 (sofia/default/917586911121) State HANGUP going to sleep
  260. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:578 (sofia/default/917586911121) State Change CS_HANGUP -> CS_REPORTING
  261. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:543 (sofia/default/917586911121) Running State Change CS_REPORTING
  262. 2017-05-27 01:46:02.775480 [DEBUG] switch_core_state_machine.c:897 (sofia/default/917586911121) State REPORTING
  263. 2017-05-27 01:46:02.775480 [INFO] mod_json_cdr.c:271 Process [b86050a8-429f-11e7-9b2a-3b11ae4424b5.cdr.json]
  264. 2017-05-27 01:46:02.795475 [DEBUG] switch_ivr_originate.c:3750 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE]
  265. 2017-05-27 01:46:02.795475 [INFO] mod_dptools.c:3401 Originate Failed. Cause: RECOVERY_ON_TIMER_EXPIRE
  266. 2017-05-27 01:46:02.795475 [NOTICE] switch_core_state_machine.c:385 sofia/default/918522825571@sipserver.hello.com has executed the last dialplan instruction, hanging up.
  267. 2017-05-27 01:46:02.795475 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/918522825571@sipserver.hello.com [CS_EXECUTE] [NORMAL_CLEARING]
  268. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:609 (sofia/default/918522825571@sipserver.hello.com) State EXECUTE going to sleep
  269. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:543 (sofia/default/918522825571@sipserver.hello.com) Running State Change CS_HANGUP
  270. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:809 (sofia/default/918522825571@sipserver.hello.com) Callstate Change RINGING -> HANGUP
  271. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:811 (sofia/default/918522825571@sipserver.hello.com) State HANGUP
  272. 2017-05-27 01:46:02.795475 [DEBUG] mod_sofia.c:431 sofia/default/918522825571@sipserver.hello.com Overriding SIP cause 480 with 408 from the other leg
  273. 2017-05-27 01:46:02.795475 [DEBUG] mod_sofia.c:437 Channel sofia/default/918522825571@sipserver.hello.com hanging up, cause: NORMAL_CLEARING
  274. 2017-05-27 01:46:02.795475 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 408
  275. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:60 sofia/default/918522825571@sipserver.hello.com Standard HANGUP, cause: NORMAL_CLEARING
  276. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:811 (sofia/default/918522825571@sipserver.hello.com) State HANGUP going to sleep
  277. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:578 (sofia/default/918522825571@sipserver.hello.com) State Change CS_HANGUP -> CS_REPORTING
  278. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:543 (sofia/default/918522825571@sipserver.hello.com) Running State Change CS_REPORTING
  279. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:897 (sofia/default/918522825571@sipserver.hello.com) State REPORTING
  280. 2017-05-27 01:46:02.795475 [INFO] mod_json_cdr.c:271 Process [b858f90c-429f-11e7-9b0c-3b11ae4424b5.cdr.json]
  281. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:174 sofia/default/917586911121 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
  282. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:897 (sofia/default/917586911121) State REPORTING going to sleep
  283. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:569 (sofia/default/917586911121) State Change CS_REPORTING -> CS_DESTROY
  284. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_session.c:1646 Session 4 (sofia/default/917586911121) Locked, Waiting on external entities
  285. 2017-05-27 01:46:02.795475 [NOTICE] switch_core_session.c:1664 Session 4 (sofia/default/917586911121) Ended
  286. 2017-05-27 01:46:02.795475 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/917586911121 [CS_DESTROY]
  287. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:700 (sofia/default/917586911121) Running State Change CS_DESTROY
  288. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:710 (sofia/default/917586911121) State DESTROY
  289. 2017-05-27 01:46:02.795475 [DEBUG] mod_sofia.c:342 sofia/default/917586911121 SOFIA DESTROY
  290. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:181 sofia/default/917586911121 Standard DESTROY
  291. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:710 (sofia/default/917586911121) State DESTROY going to sleep
  292. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:174 sofia/default/918522825571@sipserver.hello.com Standard REPORTING, cause: NORMAL_CLEARING
  293. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:897 (sofia/default/918522825571@sipserver.hello.com) State REPORTING going to sleep
  294. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:569 (sofia/default/918522825571@sipserver.hello.com) State Change CS_REPORTING -> CS_DESTROY
  295. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_session.c:1646 Session 3 (sofia/default/918522825571@sipserver.hello.com) Locked, Waiting on external entities
  296. 2017-05-27 01:46:02.795475 [NOTICE] switch_core_session.c:1664 Session 3 (sofia/default/918522825571@sipserver.hello.com) Ended
  297. 2017-05-27 01:46:02.795475 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/918522825571@sipserver.hello.com [CS_DESTROY]
  298. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:700 (sofia/default/918522825571@sipserver.hello.com) Running State Change CS_DESTROY
  299. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:710 (sofia/default/918522825571@sipserver.hello.com) State DESTROY
  300. 2017-05-27 01:46:02.795475 [DEBUG] mod_sofia.c:342 sofia/default/918522825571@sipserver.hello.com SOFIA DESTROY
  301. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:181 sofia/default/918522825571@sipserver.hello.com Standard DESTROY
  302. 2017-05-27 01:46:02.795475 [DEBUG] switch_core_state_machine.c:710 (sofia/default/918522825571@sipserver.hello.com) State DESTROY going to sleep
  303. 2017-05-27 01:46:02.855416 [DEBUG] switch_scheduler.c:144 Deleting task 4 switch_ivr_schedule_hangup (b858f90c-429f-11e7-9b0c-3b11ae4424b5)
Add Comment
Please, Sign In to add comment