From Ivory Crane, 7 Years ago, written in Plain Text.
- view diff
Embed
  1. 2017-07-10 11:51:51.850669 [NOTICE] switch_channel.c:1104 New Channel sofia/default/XXXX@XXXX61.251.70 [fc1854f9-7875-48af-a443-55e417dcfb5f]
  2. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/XXXX@XXXX61.251.70) Running State Change CS_NEW (Cur 1 Tot 130)
  3. 2017-07-10 11:51:51.850669 [DEBUG] sofia.c:9837 sofia/default/XXXX@XXXX61.251.70 receiving invite from XXXX.42:5060 version: 1.6.18 git 812e3da 2017-07-07 16:35:56Z 64bit
  4. 2017-07-10 11:51:51.850669 [DEBUG] sofia.c:9953 IP XXXX.42 Approved by acl "default[]". Access Granted.
  5. 2017-07-10 11:51:51.850669 [DEBUG] sofia.c:7048 Channel sofia/default/XXXX@XXXX61.251.70 entering state [received][100]
  6. 2017-07-10 11:51:51.850669 [DEBUG] sofia.c:7058 Remote SDP:
  7. v=0
  8. o=CvtVPBX 290166945 290166945 IN IP4 XXXX.42
  9. s=CvtVPBX
  10. c=IN IP4 XXXX.42
  11. t=0 0
  12. m=audio 16746 RTP/AVP 18 101
  13. a=rtpmap:18 G729/8000
  14. a=fmtp:18 annexb=no
  15. a=rtpmap:101 telephone-event/8000
  16. a=fmtp:101 0-16
  17. a=ptime:20
  18.  
  19. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  20. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  21. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  22. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  23. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  24. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:3057 Set Codec sofia/default/XXXX@XXXX61.251.70 G729/8000 20 ms 160 samples 8000 bits 1 channels
  25. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_codec.c:111 sofia/default/XXXX@XXXX61.251.70 Original read codec set to G729:18
  26. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  27. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_media.c:4763 sofia/default/XXXX@XXXX61.251.70 Set 2833 dtmf send payload to 101 recv payload to 101
  28. 2017-07-10 11:51:51.850669 [DEBUG] sofia.c:7471 (sofia/default/XXXX@XXXX61.251.70) State Change CS_NEW -> CS_INIT
  29. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:603 (sofia/default/XXXX@XXXX61.251.70) State NEW
  30. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/XXXX@XXXX61.251.70) Running State Change CS_INIT (Cur 1 Tot 130)
  31. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/XXXX@XXXX61.251.70) State INIT
  32. 2017-07-10 11:51:51.850669 [DEBUG] mod_sofia.c:90 sofia/default/XXXX@XXXX61.251.70 SOFIA INIT
  33. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:40 sofia/default/XXXX@XXXX61.251.70 Standard INIT
  34. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:48 (sofia/default/XXXX@XXXX61.251.70) State Change CS_INIT -> CS_ROUTING
  35. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/XXXX@XXXX61.251.70) State INIT going to sleep
  36. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/XXXX@XXXX61.251.70) Running State Change CS_ROUTING (Cur 1 Tot 130)
  37. 2017-07-10 11:51:51.850669 [DEBUG] switch_channel.c:2249 (sofia/default/XXXX@XXXX61.251.70) Callstate Change DOWN -> RINGING
  38. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/XXXX@XXXX61.251.70) State ROUTING
  39. 2017-07-10 11:51:51.850669 [DEBUG] mod_sofia.c:143 sofia/default/XXXX@XXXX61.251.70 SOFIA ROUTING
  40. 2017-07-10 11:51:51.850669 [DEBUG] switch_core_state_machine.c:236 sofia/default/XXXX@XXXX61.251.70 Standard ROUTING
  41. 2017-07-10 11:51:51.850669 [INFO] mod_dialplan_xml.c:637 Processing XXXX <XXXX>->0872100001 in context default
  42. 2017-07-10 11:51:51.870657 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fe6dc094310 Connected.
  43. 2017-07-10 11:51:51.870657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  44. 2017-07-10 11:51:51.870657 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0872100001
  45. 2017-07-10 11:51:51.870657 [DEBUG] switch_cpp.cpp:1365 [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 ="0872100001" LIMIT 1
  46. 2017-07-10 11:51:51.870657 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  47. 2017-07-10 11:51:51.870657 [DEBUG] switch_cpp.cpp:1365 [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("XXXX.42") & (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 ) = "XXXX.42" AND prefix IN (NULL,'')) OR (SUBSTRING( ip, 1, CHAR_LENGTH( ip ) -3 ) = "XXXX.42" AND "0872100001"  RLIKE prefix)) ORDER BY LENGTH(prefix) DESC LIMIT 1
  48. 2017-07-10 11:51:51.870657 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call authentication fail..!!1
  49. 2017-07-10 11:51:51.870657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Generated XML:
  50. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  51. <document type="freeswitch/xml">
  52. <section name="dialplan" description="ASTPP Dialplan">
  53. <context name="default">
  54. <extension name="0872100001">
  55. <condition field="destination_number" expression="0872100001">
  56. <action application="log" data="WARNING Accountcode  is not authenticated!!"/>
  57. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav"/>
  58. <action application="set" data="error_cdr=1"/>
  59. <action application="set" data="callstart=2017-07-10 11:51:51"/>
  60. <action application="set" data="account_id=0"/>
  61. <action application="set" data="call_direction=outbound"/>
  62. <action application="set" data="sip_ignore_remote_cause=true"/>
  63. <action application="set" data="call_processed=internal"/>
  64. <action application="set" data="effective_destination_number=0872100001"/>
  65. <action application="set" data="last_bridge_hangup_cause=AUTHENTICATION_FAIL"/>
  66. <action application="hangup" data="AUTHENTICATION_FAIL"/>
  67. </condition>
  68. </extension>
  69. </context>
  70. </section>
  71. </document>
  72. 2017-07-10 11:51:51.870657 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fe6dc094310 released.
  73. Dialplan: sofia/default/XXXX@XXXX61.251.70 parsing [default->0872100001] continue=false
  74. Dialplan: sofia/default/XXXX@XXXX61.251.70 Regex (PASS) [0872100001] destination_number(0872100001) =~ /0872100001/ break=on-false
  75. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action log(WARNING Accountcode  is not authenticated!!)
  76. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav)
  77. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(error_cdr=1)
  78. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(callstart=2017-07-10 11:51:51)
  79. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(account_id=0)
  80. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(call_direction=outbound)
  81. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(sip_ignore_remote_cause=true)
  82. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(call_processed=internal)
  83. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(effective_destination_number=0872100001)
  84. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action set(last_bridge_hangup_cause=AUTHENTICATION_FAIL)
  85. Dialplan: sofia/default/XXXX@XXXX61.251.70 Action hangup(AUTHENTICATION_FAIL)
  86. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_state_machine.c:286 (sofia/default/XXXX@XXXX61.251.70) State Change CS_ROUTING -> CS_EXECUTE
  87. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_state_machine.c:643 (sofia/default/XXXX@XXXX61.251.70) State ROUTING going to sleep
  88. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_state_machine.c:584 (sofia/default/XXXX@XXXX61.251.70) Running State Change CS_EXECUTE (Cur 1 Tot 130)
  89. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_state_machine.c:650 (sofia/default/XXXX@XXXX61.251.70) State EXECUTE
  90. 2017-07-10 11:51:51.870657 [DEBUG] mod_sofia.c:198 sofia/default/XXXX@XXXX61.251.70 SOFIA EXECUTE
  91. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_state_machine.c:328 sofia/default/XXXX@XXXX61.251.70 Standard EXECUTE
  92. EXECUTE sofia/default/XXXX@XXXX61.251.70 log(WARNING Accountcode  is not authenticated!!)
  93. 2017-07-10 11:51:51.870657 [WARNING] mod_dptools.c:1742 Accountcode  is not authenticated!!
  94. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_session.c:2647 Application playback Requires media! pre_answering channel sofia/default/XXXX@XXXX61.251.70
  95. 2017-07-10 11:51:51.870657 [INFO] switch_core_session.c:2649 Sending early media
  96. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/default/XXXX@XXXX61.251.70] XXXX61.251.70 port 30956 -> XXXX.42 port 16746 codec: 18 ms: 20
  97. 2017-07-10 11:51:51.870657 [DEBUG] switch_rtp.c:4112 Starting timer [soft] 160 bytes per 20ms
  98. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_media.c:7175 sofia/default/XXXX@XXXX61.251.70 Set 2833 dtmf send payload to 101
  99. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_media.c:7182 sofia/default/XXXX@XXXX61.251.70 Set 2833 dtmf receive payload to 101
  100. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_media.c:7205 sofia/default/XXXX@XXXX61.251.70 Set rtp dtmf delay to 40
  101. 2017-07-10 11:51:51.870657 [DEBUG] mod_sofia.c:2364 Ring SDP:
  102. v=0
  103. o=FreeSWITCH 1499656555 1499656556 IN IP4 XXXX61.251.70
  104. s=FreeSWITCH
  105. c=IN IP4 XXXX61.251.70
  106. t=0 0
  107. m=audio 30956 RTP/AVP 18 101
  108. a=rtpmap:18 G729/8000
  109. a=fmtp:18 annexb=no
  110. a=rtpmap:101 telephone-event/8000
  111. a=fmtp:101 0-16
  112. a=ptime:20
  113. a=sendrecv
  114.  
  115. 2017-07-10 11:51:51.870657 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/XXXX@XXXX61.251.70!
  116. 2017-07-10 11:51:51.870657 [DEBUG] switch_channel.c:3474 (sofia/default/XXXX@XXXX61.251.70) Callstate Change RINGING -> EARLY
  117. EXECUTE sofia/default/XXXX@XXXX61.251.70 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav)
  118. 2017-07-10 11:51:51.870657 [DEBUG] switch_core_file.c:342 File /usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav sample rate 16000 doesn't match requested rate 8000
  119. 2017-07-10 11:51:51.870657 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  120. 2017-07-10 11:51:51.870657 [DEBUG] sofia.c:7048 Channel sofia/default/XXXX@XXXX61.251.70 entering state [early][183]
  121. 2017-07-10 11:51:53.390687 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp_expired.wav
  122. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(error_cdr=1)
  123. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [error_cdr]=[1]
  124. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(callstart=2017-07-10 11:51:51)
  125. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [callstart]=[2017-07-10 11:51:51]
  126. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(account_id=0)
  127. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [account_id]=[0]
  128. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(call_direction=outbound)
  129. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [call_direction]=[outbound]
  130. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(sip_ignore_remote_cause=true)
  131. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [sip_ignore_remote_cause]=[true]
  132. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(call_processed=internal)
  133. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [call_processed]=[internal]
  134. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(effective_destination_number=0872100001)
  135. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [effective_destination_number]=[0872100001]
  136. EXECUTE sofia/default/XXXX@XXXX61.251.70 set(last_bridge_hangup_cause=AUTHENTICATION_FAIL)
  137. 2017-07-10 11:51:53.390687 [DEBUG] mod_dptools.c:1548 SET sofia/default/XXXX@XXXX61.251.70 [last_bridge_hangup_cause]=[AUTHENTICATION_FAIL]
  138. EXECUTE sofia/default/XXXX@XXXX61.251.70 hangup(AUTHENTICATION_FAIL)
  139. 2017-07-10 11:51:53.390687 [NOTICE] mod_dptools.c:1286 Hangup sofia/default/XXXX@XXXX61.251.70 [CS_EXECUTE] [NORMAL_CLEARING]
  140. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_session.c:2815 sofia/default/XXXX@XXXX61.251.70 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  141. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:650 (sofia/default/XXXX@XXXX61.251.70) State EXECUTE going to sleep
  142. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:584 (sofia/default/XXXX@XXXX61.251.70) Running State Change CS_HANGUP (Cur 1 Tot 130)
  143. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:850 (sofia/default/XXXX@XXXX61.251.70) Callstate Change EARLY -> HANGUP
  144. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:852 (sofia/default/XXXX@XXXX61.251.70) State HANGUP
  145. 2017-07-10 11:51:53.390687 [DEBUG] mod_sofia.c:438 Channel sofia/default/XXXX@XXXX61.251.70 hanging up, cause: NORMAL_CLEARING
  146. 2017-07-10 11:51:53.390687 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  147. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:60 sofia/default/XXXX@XXXX61.251.70 Standard HANGUP, cause: NORMAL_CLEARING
  148. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:852 (sofia/default/XXXX@XXXX61.251.70) State HANGUP going to sleep
  149. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:619 (sofia/default/XXXX@XXXX61.251.70) State Change CS_HANGUP -> CS_REPORTING
  150. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:584 (sofia/default/XXXX@XXXX61.251.70) Running State Change CS_REPORTING (Cur 1 Tot 130)
  151. 2017-07-10 11:51:53.390687 [DEBUG] switch_core_state_machine.c:938 (sofia/default/XXXX@XXXX61.251.70) State REPORTING
  152. 2017-07-10 11:51:53.390687 [INFO] mod_json_cdr.c:271 Process [fc1854f9-7875-48af-a443-55e417dcfb5f.cdr.json]
  153. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_state_machine.c:174 sofia/default/XXXX@XXXX61.251.70 Standard REPORTING, cause: NORMAL_CLEARING
  154. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_state_machine.c:938 (sofia/default/XXXX@XXXX61.251.70) State REPORTING going to sleep
  155. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_state_machine.c:610 (sofia/default/XXXX@XXXX61.251.70) State Change CS_REPORTING -> CS_DESTROY
  156. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_session.c:1665 Session 130 (sofia/default/XXXX@XXXX61.251.70) Locked, Waiting on external entities
  157. 2017-07-10 11:51:53.410665 [NOTICE] switch_core_session.c:1683 Session 130 (sofia/default/XXXX@XXXX61.251.70) Ended
  158. 2017-07-10 11:51:53.410665 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/XXXX@XXXX61.251.70 [CS_DESTROY]
  159. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_state_machine.c:741 (sofia/default/XXXX@XXXX61.251.70) Running State Change CS_DESTROY (Cur 0 Tot 130)
  160. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_state_machine.c:751 (sofia/default/XXXX@XXXX61.251.70) State DESTROY
  161. 2017-07-10 11:51:53.410665 [DEBUG] mod_sofia.c:343 sofia/default/XXXX@XXXX61.251.70 SOFIA DESTROY
  162. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_state_machine.c:181 sofia/default/XXXX@XXXX61.251.70 Standard DESTROY
  163. 2017-07-10 11:51:53.410665 [DEBUG] switch_core_state_machine.c:751 (sofia/default/XXXX@XXXX61.251.70) State DESTROY going to sleep
  164.