gobi1991

Untitled

Jul 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.20 KB | None | 0 0
  1. 2017-07-19 08:05:15.528746 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : outbound
  2. 2017-07-19 08:05:15.528746 [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("192.168.1.125") & (0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1)))) = ((0xFFFFFFFF & (-1 << 32 - SUBSTRING_INDEX(ip, '/',-1))) & INET_ATON(SUBSTRING_INDEX(ip,'/',1)))) AND ((SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "192.168.1.125" AND prefix IN (NULL,'')) OR (SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "192.168.1.125" AND "101" RLIKE prefix)) ORDER BY LENGTH(prefix) DESC LIMIT 1
  3. 2017-07-19 08:05:15.528746 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call authentication fail..!!1
  4. 2017-07-19 08:05:15.528746 [DEBUG] switch_cpp.cpp:1360 [ASTPP] Generated XML:
  5. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  6. <document type="freeswitch/xml">
  7. <section name="dialplan" description="ASTPP Dialplan">
  8. <context name="default">
  9. <extension name="101">
  10. <condition field="destination_number" expression="101">
  11. <action application="log" data="WARNING Accountcode is not authenticated!!"/>
  12. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav"/>
  13. <action application="set" data="error_cdr=1"/>
  14. <action application="set" data="callstart=2017-07-19 12:05:15"/>
  15. <action application="set" data="account_id=0"/>
  16. <action application="set" data="call_direction=outbound"/>
  17. <action application="set" data="sip_ignore_remote_cause=true"/>
  18. <action application="set" data="call_processed=internal"/>
  19. <action application="set" data="effective_destination_number=101"/>
  20. <action application="set" data="last_bridge_hangup_cause=AUTHENTICATION_FAIL"/>
  21. <action application="hangup" data="AUTHENTICATION_FAIL"/>
  22. </condition>
  23. </extension>
  24. </context>
  25. </section>
  26. </document>
  27. 2017-07-19 08:05:15.528746 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f5a5c42f840 released.
  28. Dialplan: sofia/default/9025233316@192.168.1.125 parsing [default->101] continue=false
  29. Dialplan: sofia/default/9025233316@192.168.1.125 Regex (PASS) [101] destination_number(101) =~ /101/ break=on-false
  30. Dialplan: sofia/default/9025233316@192.168.1.125 Action log(WARNING Accountcode is not authenticated!!)
  31. Dialplan: sofia/default/9025233316@192.168.1.125 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav)
  32. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(error_cdr=1)
  33. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(callstart=2017-07-19 12:05:15)
  34. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(account_id=0)
  35. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(call_direction=outbound)
  36. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(sip_ignore_remote_cause=true)
  37. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(call_processed=internal)
  38. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(effective_destination_number=101)
  39. Dialplan: sofia/default/9025233316@192.168.1.125 Action set(last_bridge_hangup_cause=AUTHENTICATION_FAIL)
  40. Dialplan: sofia/default/9025233316@192.168.1.125 Action hangup(AUTHENTICATION_FAIL)
  41. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_state_machine.c:286 (sofia/default/9025233316@192.168.1.125) State Change CS_ROUTING -> CS_EXECUTE
  42. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_state_machine.c:602 (sofia/default/9025233316@192.168.1.125) State ROUTING going to sleep
  43. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_state_machine.c:543 (sofia/default/9025233316@192.168.1.125) Running State Change CS_EXECUTE
  44. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_state_machine.c:609 (sofia/default/9025233316@192.168.1.125) State EXECUTE
  45. 2017-07-19 08:05:15.528746 [DEBUG] mod_sofia.c:197 sofia/default/9025233316@192.168.1.125 SOFIA EXECUTE
  46. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_state_machine.c:328 sofia/default/9025233316@192.168.1.125 Standard EXECUTE
  47. EXECUTE sofia/default/9025233316@192.168.1.125 log(WARNING Accountcode is not authenticated!!)
  48. 2017-07-19 08:05:15.528746 [WARNING] mod_dptools.c:1713 Accountcode is not authenticated!!
  49. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_session.c:2628 Application playback Requires media! pre_answering channel sofia/default/9025233316@192.168.1.125
  50. 2017-07-19 08:05:15.528746 [INFO] switch_core_session.c:2630 Sending early media
  51. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/9025233316@192.168.1.125] 192.168.1.203 port 19276 -> 192.168.1.125 port 13970 codec: 8 ms: 20
  52. 2017-07-19 08:05:15.528746 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  53. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_media.c:6763 sofia/default/9025233316@192.168.1.125 Set 2833 dtmf send payload to 101
  54. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_media.c:6770 sofia/default/9025233316@192.168.1.125 Set 2833 dtmf receive payload to 101
  55. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_media.c:6793 sofia/default/9025233316@192.168.1.125 Set rtp dtmf delay to 40
  56. 2017-07-19 08:05:15.528746 [DEBUG] mod_sofia.c:2367 Ring SDP:
  57. v=0
  58. o=FreeSWITCH 1500446639 1500446640 IN IP4 192.168.1.203
  59. s=FreeSWITCH
  60. c=IN IP4 192.168.1.203
  61. t=0 0
  62. m=audio 19276 RTP/AVP 8 101
  63. a=rtpmap:8 PCMA/8000
  64. a=rtpmap:101 telephone-event/8000
  65. a=fmtp:101 0-16
  66. a=ptime:20
  67. a=sendrecv
  68. m=video 0 RTP/AVP 19
  69.  
  70. 2017-07-19 08:05:15.528746 [NOTICE] mod_sofia.c:2370 Pre-Answer sofia/default/9025233316@192.168.1.125!
  71. 2017-07-19 08:05:15.528746 [DEBUG] switch_channel.c:3471 (sofia/default/9025233316@192.168.1.125) Callstate Change RINGING -> EARLY
  72. EXECUTE sofia/default/9025233316@192.168.1.125 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav)
  73. 2017-07-19 08:05:15.528746 [DEBUG] switch_core_file.c:330 File /usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav sample rate 16000 doesn't match requested rate 8000
  74. 2017-07-19 08:05:15.528746 [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16@8000hz 1 channels 20ms
  75. 2017-07-19 08:05:15.528746 [DEBUG] sofia.c:6858 Channel sofia/default/9025233316@192.168.1.125 entering state [early][183]
  76. 2017-07-19 08:05:17.048767 [DEBUG] switch_ivr_play_say.c:1910 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav
  77. EXECUTE sofia/default/9025233316@192.168.1.125 set(error_cdr=1)
  78. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [error_cdr]=[1]
  79. EXECUTE sofia/default/9025233316@192.168.1.125 set(callstart=2017-07-19 12:05:15)
  80. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [callstart]=[2017-07-19 12:05:15]
  81. EXECUTE sofia/default/9025233316@192.168.1.125 set(account_id=0)
  82. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [account_id]=[0]
  83. EXECUTE sofia/default/9025233316@192.168.1.125 set(call_direction=outbound)
  84. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [call_direction]=[outbound]
  85. EXECUTE sofia/default/9025233316@192.168.1.125 set(sip_ignore_remote_cause=true)
  86. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [sip_ignore_remote_cause]=[true]
  87. EXECUTE sofia/default/9025233316@192.168.1.125 set(call_processed=internal)
  88. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [call_processed]=[internal]
  89. EXECUTE sofia/default/9025233316@192.168.1.125 set(effective_destination_number=101)
  90. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [effective_destination_number]=[101]
  91. EXECUTE sofia/default/9025233316@192.168.1.125 set(last_bridge_hangup_cause=AUTHENTICATION_FAIL)
  92. 2017-07-19 08:05:17.048767 [DEBUG] mod_dptools.c:1519 SET sofia/default/9025233316@192.168.1.125 [last_bridge_hangup_cause]=[AUTHENTICATION_FAIL]
  93. EXECUTE sofia/default/9025233316@192.168.1.125 hangup(AUTHENTICATION_FAIL)
  94. 2017-07-19 08:05:17.048767 [NOTICE] mod_dptools.c:1283 Hangup sofia/default/9025233316@192.168.1.125 [CS_EXECUTE] [NORMAL_CLEARING]
  95. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_session.c:2796 sofia/default/9025233316@192.168.1.125 skip receive message [PHONE_EVENT] (channel is hungup already)
  96. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:609 (sofia/default/9025233316@192.168.1.125) State EXECUTE going to sleep
  97. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:543 (sofia/default/9025233316@192.168.1.125) Running State Change CS_HANGUP
  98. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:809 (sofia/default/9025233316@192.168.1.125) Callstate Change EARLY -> HANGUP
  99. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:811 (sofia/default/9025233316@192.168.1.125) State HANGUP
  100. 2017-07-19 08:05:17.048767 [DEBUG] mod_sofia.c:437 Channel sofia/default/9025233316@192.168.1.125 hanging up, cause: NORMAL_CLEARING
  101. 2017-07-19 08:05:17.048767 [DEBUG] mod_sofia.c:574 Responding to INVITE with: 480
  102. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:60 sofia/default/9025233316@192.168.1.125 Standard HANGUP, cause: NORMAL_CLEARING
  103. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:811 (sofia/default/9025233316@192.168.1.125) State HANGUP going to sleep
  104. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:578 (sofia/default/9025233316@192.168.1.125) State Change CS_HANGUP -> CS_REPORTING
  105. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:543 (sofia/default/9025233316@192.168.1.125) Running State Change CS_REPORTING
  106. 2017-07-19 08:05:17.048767 [DEBUG] switch_core_state_machine.c:897 (sofia/default/9025233316@192.168.1.125) State REPORTING
  107. 2017-07-19 08:05:17.048767 [INFO] mod_json_cdr.c:271 Process [866dc4e0-6c7a-11e7-98f3-2d451fdffd4a.cdr.json]
  108. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_state_machine.c:174 sofia/default/9025233316@192.168.1.125 Standard REPORTING, cause: NORMAL_CLEARING
  109. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_state_machine.c:897 (sofia/default/9025233316@192.168.1.125) State REPORTING going to sleep
  110. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_state_machine.c:569 (sofia/default/9025233316@192.168.1.125) State Change CS_REPORTING -> CS_DESTROY
  111. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_session.c:1646 Session 49 (sofia/default/9025233316@192.168.1.125) Locked, Waiting on external entities
  112. 2017-07-19 08:05:17.068738 [NOTICE] switch_core_session.c:1664 Session 49 (sofia/default/9025233316@192.168.1.125) Ended
  113. 2017-07-19 08:05:17.068738 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/9025233316@192.168.1.125 [CS_DESTROY]
  114. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_state_machine.c:700 (sofia/default/9025233316@192.168.1.125) Running State Change CS_DESTROY
  115. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_state_machine.c:710 (sofia/default/9025233316@192.168.1.125) State DESTROY
  116. 2017-07-19 08:05:17.068738 [DEBUG] mod_sofia.c:342 sofia/default/9025233316@192.168.1.125 SOFIA DESTROY
  117. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_state_machine.c:181 sofia/default/9025233316@192.168.1.125 Standard DESTROY
  118. 2017-07-19 08:05:17.068738 [DEBUG] switch_core_state_machine.c:710 (sofia/default/9025233316@192.168.1.125) State DESTROY going to sleep
Add Comment
Please, Sign In to add comment