From ixyd, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@webrtc> originate loopback/101 &conference(301-webrtc.door.local)
  2. +OK decf228a-7984-11e6-8daf-2f1f9414ccab
  3.  
  4. 2016-09-13 07:37:06.205837 [DEBUG] switch_ivr_originate.c:2136 Parsing global variables
  5. 2016-09-13 07:37:06.205837 [NOTICE] switch_channel.c:1104 New Channel loopback/101-a [decf228a-7984-11e6-8daf-2f1f9414ccab]
  6. 2016-09-13 07:37:06.205837 [DEBUG] mod_loopback.c:158 loopback/101-a setup codec L16/8000/20
  7. 2016-09-13 07:37:06.205837 [NOTICE] switch_channel.c:1102 Rename Channel loopback/101-a->loopback/101-a [decf228a-7984-11e6-8daf-2f1f9414ccab]
  8. 2016-09-13 07:37:06.205837 [DEBUG] mod_loopback.c:1174 (loopback/101-a) State Change CS_NEW -> CS_INIT
  9. 2016-09-13 07:37:06.205837 [DEBUG] mod_loopback.c:601 loopback/101-a CHANNEL KILL
  10. 2016-09-13 07:37:06.205837 [DEBUG] switch_core_state_machine.c:543 (loopback/101-a) Running State Change CS_INIT
  11. 2016-09-13 07:37:06.205837 [DEBUG] switch_core_state_machine.c:586 (loopback/101-a) State INIT
  12. 2016-09-13 07:37:06.205837 [NOTICE] switch_channel.c:1104 New Channel loopback/101-b [decf6038-7984-11e6-8db1-2f1f9414ccab]
  13. 2016-09-13 07:37:06.205837 [DEBUG] mod_loopback.c:158 loopback/101-b setup codec L16/8000/20
  14. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:276 (loopback/101-b) State Change CS_NEW -> CS_INIT
  15. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:601 loopback/101-b CHANNEL KILL
  16. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:362 (loopback/101-a) State Change CS_INIT -> CS_ROUTING
  17. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:601 loopback/101-a CHANNEL KILL
  18. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:543 (loopback/101-b) Running State Change CS_INIT
  19. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:586 (loopback/101-a) State INIT going to sleep
  20. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:586 (loopback/101-b) State INIT
  21. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:362 (loopback/101-b) State Change CS_INIT -> CS_ROUTING
  22. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:601 loopback/101-b CHANNEL KILL
  23. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:586 (loopback/101-b) State INIT going to sleep
  24. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:543 (loopback/101-a) Running State Change CS_ROUTING
  25. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:543 (loopback/101-b) Running State Change CS_ROUTING
  26. 2016-09-13 07:37:06.215850 [DEBUG] switch_channel.c:2249 (loopback/101-b) Callstate Change DOWN -> RINGING
  27. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:602 (loopback/101-a) State ROUTING
  28. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:394 loopback/101-a CHANNEL ROUTING
  29. 2016-09-13 07:37:06.215850 [DEBUG] switch_ivr_originate.c:67 (loopback/101-a) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  30. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:601 loopback/101-a CHANNEL KILL
  31. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:602 (loopback/101-a) State ROUTING going to sleep
  32. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:543 (loopback/101-a) Running State Change CS_CONSUME_MEDIA
  33. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:621 (loopback/101-a) State CONSUME_MEDIA
  34. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:661 CHANNEL CONSUME_MEDIA
  35. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:621 (loopback/101-a) State CONSUME_MEDIA going to sleep
  36. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:602 (loopback/101-b) State ROUTING
  37. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:394 loopback/101-b CHANNEL ROUTING
  38. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:236 loopback/101-b Standard ROUTING
  39. 2016-09-13 07:37:06.215850 [INFO] mod_dialplan_xml.c:637 Processing  <0000000000>->101 in context default
  40. Dialplan: loopback/101-b parsing [default->sample] continue=true
  41. Dialplan: loopback/101-b Absolute Condition [sample]
  42. Dialplan: loopback/101-b Action log(YEAH - SAMPLE! - INFO Dialed number ${destination_number}) INLINE
  43. EXECUTE loopback/101-b log(YEAH - SAMPLE! - INFO Dialed number 101)
  44. 2016-09-13 07:37:06.215850 [DEBUG] mod_dptools.c:1713 - SAMPLE! - INFO Dialed number 101
  45. Dialplan: loopback/101-b parsing [default->door] continue=true
  46. Dialplan: loopback/101-b Regex (FAIL) [door] destination_number(101) =~ /^100$/ break=on-false
  47. Dialplan: loopback/101-b parsing [default->user] continue=true
  48. Dialplan: loopback/101-b Regex (FAIL) [user] destination_number(101) =~ /^200$/ break=on-false
  49. Dialplan: loopback/101-b parsing [default->user] continue=true
  50. Dialplan: loopback/101-b Regex (FAIL) [user] destination_number(101) =~ /^201$/ break=on-false
  51. Dialplan: loopback/101-b parsing [default->video1] continue=true
  52. Dialplan: loopback/101-b Regex (PASS) [video1] destination_number(101) =~ /^101$/ break=on-false
  53. Dialplan: loopback/101-b Action answer()
  54. Dialplan: loopback/101-b Action playback(vlc://rtsp://user:pass@192.168.23.101:554/axis-media/media.amp?videocodec=h264&resolution=640x480)
  55. Dialplan: loopback/101-b parsing [default->video2] continue=true
  56. Dialplan: loopback/101-b Regex (FAIL) [video2] destination_number(101) =~ /^102$/ break=on-false
  57. Dialplan: loopback/101-b parsing [default->conference] continue=true
  58. Dialplan: loopback/101-b Regex (FAIL) [conference] destination_number(101) =~ /^301$/ break=on-false
  59. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:286 (loopback/101-b) State Change CS_ROUTING -> CS_EXECUTE
  60. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:601 loopback/101-b CHANNEL KILL
  61. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:602 (loopback/101-b) State ROUTING going to sleep
  62. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:543 (loopback/101-b) Running State Change CS_EXECUTE
  63. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:609 (loopback/101-b) State EXECUTE
  64. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:436 loopback/101-b CHANNEL EXECUTE
  65. 2016-09-13 07:37:06.215850 [DEBUG] switch_core_state_machine.c:328 loopback/101-b Standard EXECUTE
  66. EXECUTE loopback/101-b answer()
  67. 2016-09-13 07:37:06.215850 [NOTICE] mod_loopback.c:956 Channel [loopback/101-a] has been answered
  68. 2016-09-13 07:37:06.215850 [DEBUG] switch_channel.c:3770 (loopback/101-a) Callstate Change DOWN -> ACTIVE
  69. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:601 loopback/101-b CHANNEL KILL
  70. 2016-09-13 07:37:06.215850 [NOTICE] mod_dptools.c:1309 Channel [loopback/101-b] has been answered
  71. 2016-09-13 07:37:06.215850 [DEBUG] switch_channel.c:3770 (loopback/101-b) Callstate Change RINGING -> ACTIVE
  72. 2016-09-13 07:37:06.215850 [DEBUG] mod_loopback.c:601 loopback/101-b CHANNEL KILL
  73. EXECUTE loopback/101-b playback(vlc://rtsp://user:pass@192.168.23.101:554/axis-media/media.amp?videocodec=h264&resolution=640x480)
  74. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_originate.c:3616 Originate Resulted in Success: [loopback/101-a]
  75. 2016-09-13 07:37:06.235852 [DEBUG] mod_loopback.c:601 loopback/101-a CHANNEL KILL
  76. 2016-09-13 07:37:06.235852 [INFO] switch_channel.c:3127 loopback/101-a Flipping CID from "" <0000000000> to "Outbound Call" <101>
  77. 2016-09-13 07:37:06.235852 [DEBUG] mod_commands.c:4785 (loopback/101-a) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  78. 2016-09-13 07:37:06.235852 [DEBUG] mod_loopback.c:601 loopback/101-a CHANNEL KILL
  79. 2016-09-13 07:37:06.235852 [DEBUG] switch_core_state_machine.c:543 (loopback/101-a) Running State Change CS_EXECUTE
  80. 2016-09-13 07:37:06.235852 [DEBUG] switch_core_state_machine.c:609 (loopback/101-a) State EXECUTE
  81. 2016-09-13 07:37:06.235852 [DEBUG] mod_loopback.c:436 loopback/101-a CHANNEL EXECUTE
  82. 2016-09-13 07:37:06.235852 [DEBUG] switch_core_state_machine.c:328 loopback/101-a Standard EXECUTE
  83. EXECUTE loopback/101-a conference(301-webrtc.door.local)
  84. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:1654 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  85. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:1701 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  86. 2016-09-13 07:37:06.235852 [DEBUG] switch_core_codec.c:221 loopback/101-a Push codec L16:100
  87. 2016-09-13 07:37:06.235852 [ERR] switch_core_file.c:260 Invalid file format [tone_stream] for [%(200,0,500,600,700)]!
  88. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '0' to 'vid-floor-force'
  89. 2016-09-13 07:37:06.235852 [INFO] switch_ivr_async.c:214 Digit parser mod_conference: Setting realm to 'conf'
  90. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 0/conf/0 callback: 0x748b4a28 data: 0x74d714c8
  91. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '*' to 'deaf mute'
  92. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding */conf/0 callback: 0x748b4a28 data: 0x74d714e8
  93. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '9' to 'energy up'
  94. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 9/conf/0 callback: 0x748b4a28 data: 0x74d71508
  95. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '8' to 'energy equ'
  96. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 8/conf/0 callback: 0x748b4a28 data: 0x74d71528
  97. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '7' to 'energy dn'
  98. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 7/conf/0 callback: 0x748b4a28 data: 0x74d71548
  99. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '3' to 'vol talk up'
  100. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 3/conf/0 callback: 0x748b4a28 data: 0x74d71568
  101. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '2' to 'vol talk zero'
  102. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 2/conf/0 callback: 0x748b4a28 data: 0x74d71588
  103. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '1' to 'vol talk dn'
  104. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 1/conf/0 callback: 0x748b4a28 data: 0x74d715a8
  105. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '6' to 'vol listen up'
  106. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 6/conf/0 callback: 0x748b4a28 data: 0x74d715c8
  107. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '5' to 'vol listen zero'
  108. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 5/conf/0 callback: 0x748b4a28 data: 0x74d715e8
  109. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '4' to 'vol listen dn'
  110. 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding 4/conf/0 callback: 0x748b4a28 data: 0x74d71608
  111. 2016-09-13 07:37:06.235852 [DEBUG] conference_member.c:128 loopback/101-a binding '#' to 'hangup'
  112. span style="color: goldenrod; font-weight: bold;"> 2016-09-13 07:37:06.235852 [DEBUG] switch_ivr_async.c:323 Digit parser mod_conference: binding #/conf/0 callback: 0x748b4a28 data: 0x74d71628
  113. span style="color: goldenrod; font-weight: bold;"> 2016-09-13 07:37:06.235852 [DEBUG] mod_loopback.c:601 loopback/101-a CHANNEL KILL
  114. 2016-09-13 07:37:06.235852 [DEBUG] conference_loop.c:1102 Setup timer soft success interval: 20  samples: 160
  115. 2016-09-13 07:37:06.235852 [DEBUG] mod_loopback.c:601 loopback/101-a CHANNEL KILL
  116. 2016-09-13 07:37:06.815858 [DEBUG] mod_vlc.c:832 VLC attempt to open rtsp://user:pass@192.168.23.101:554/axis-media/media.amp?videocodec=h264&resolution=640x480 read  
  117. 2016-09-13 07:37:06.815858 [DEBUG] mod_vlc.c:857 VLC open rtsp://user:pass@192.168.23.101:554/axis-media/media.amp?videocodec=h264&resolution=640x480 for reading
  118. 2016-09-13 07:37:06.815858 [NOTICE] mod_vlc.c:875 VLC Path is unknown type rtsp://user:pass@192.168.23.101:554/axis-media/media.amp?videocodec=h264&resolution=640x480
  119. VLC: PulseAudio server connection failure: Connection refused
  120. 2016-09-13 07:37:06.925849 [DEBUG] mod_loopback.c:601 loopback/101-b CHANNEL KILL
  121. 2016-09-13 07:37:06.925849 [DEBUG] mod_vlc.c:242 Got a libvlc_MediaStateChanged callback. New state: 1
  122. 2016-09-13 07:37:06.925849 [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16@8000hz 1 channels 20ms
  123. 2016-09-13 07:37:07.625857 [DEBUG] mod_vlc.c:242 Got a libvlc_MediaStateChanged callback. New state: 3
  124. VLC: window not available
  125. VLC: window not available
  126. VLC: window not available
  127. VLC: window not available
  128. VLC: Cannot create primary surface
  129. VLC: standard input is not a TTY
  130. freeswitch@webrtc>