View previous topic :: View next topic |
Author |
Message |
zhaoxxqq at 163.com Guest
|
Posted: Sun May 31, 2009 8:39 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
HI, I use event socket to send command to FS conference. I send " conference testconf play /root/test.wav" in console. It worked ok. I send "api conference testconf play /record/test.wav" by event socket. and the response is"Disconneted, Good bye.See you at ClueCon..". I changed the wav file to www root. the same problem. can you help me? 2009-06-01 zhaoxxqq |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Sun May 31, 2009 9:00 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
zhaoxxqq <zhaoxxqq@163.com> wrote:
Quote: | I use event socket to send command to FS conference.
I send " conference testconf play /root/test.wav" in console. It worked ok.
I send "api conference testconf play /record/test.wav" by event socket. and the response is"Disconneted, Good bye.See you at ClueCon..".
I changed the wav file to www root. the same problem. can you help me?
|
It worked fine for me over the event socket.
api conference 3300-192.168.0.2 play /tmp/msg.wav
Content-Type: api/response
Content-Length: 33
(play) Playing file /tmp/msg.wav
and I can hear the file that is being played.
be sure to check the permissions not only of the file, but of all parent
directories, to ensure that the FreeSWITCH process has access.
My test is with rev. 13523.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Sun May 31, 2009 9:29 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
I should post the full session:
jason@jdc:~$ telnet localhost 8021
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Content-Type: auth/request
auth ClueCon
Content-Type: command/reply
Reply-Text: +OK accepted
api conference 3300-192.168.0.2 play /tmp/msg.wav
Content-Type: api/response
Content-Length: 33
(play) Playing file /tmp/msg.wav
exit
Content-Type: command/reply
Reply-Text: +OK bye
Content-Type: text/disconnect-notice
Content-Length: 67
Disconnected, goodbye.
See you at ClueCon! http://www.cluecon.com/
Connection closed by foreign host.
jason@jdc:~$ exit
I hope that helps.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
solko at gcdf.pl Guest
|
Posted: Mon Jun 01, 2009 3:27 am Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
zhaoxxqq pisze:
Quote: | HI,
I use event socket to send command to FS conference.
I send " conference testconf play /root/test.wav" in console. It worked ok.
I send "api conference testconf play /record/test.wav" by event socket.
and the response is"Disconneted, Good bye.See you at ClueCon..".
I changed the wav file to www root. the same problem. can you help me?
2009-06-01
|
Do you use 'auth ClueCon' before sending 'api' command?
Szymon
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Jun 01, 2009 10:36 am Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
Did you happen to check out the ClueCon website? Link below!
/b
On Jun 1, 2009, at 3:21 AM, Szymon Olko wrote:
Quote: | Do you use 'auth ClueCon' before sending 'api' command?
Szymon
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
asannucci at gmail.com Guest
|
Posted: Mon Jun 01, 2009 11:47 am Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
I Love FreeSWITCH and ClueCon '09 The spanish comunity too. www.freeswitch.es |
|
Back to top |
|
|
asannucci at gmail.com Guest
|
Posted: Mon Jun 01, 2009 11:55 am Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
Maybe next year. On August i have to work . If you organize ClueCon 2010 on setpember I wil go. Good luck. |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Mon Jun 01, 2009 12:19 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
On Mon, Jun 1, 2009 at 10:11 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | It's always august =D
it's ok. it counts as work!
|
If you need a letter to your boss we can do that on ClueCon letterhead.
-MC
|
|
Back to top |
|
|
intralanman at freeswi... Guest
|
Posted: Mon Jun 01, 2009 12:21 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
Michael Collins wrote: Quote: |
On Mon, Jun 1, 2009 at 10:11 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | It's always august =D
it's ok. it counts as work!
|
If you need a letter to your boss we can do that on ClueCon letterhead.
-MC
| my boss paid me for the week last year when i went... any self-respecting employer can't see anything wrong with "Continuing Educational Opportunities"
-Ray |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Jun 01, 2009 12:28 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
It's always august =D
it's ok. it counts as work!
On Mon, Jun 1, 2009 at 11:54 AM, bakko <asannucci@gmail.com (asannucci@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
asannucci at gmail.com Guest
|
Posted: Mon Jun 01, 2009 12:41 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
I need 5 letters: - one for my boss - one for the boss of my boss - one for my wife - one for my bank (asking more credit) - one for me (like a post-it for don't forget the appointment) If you can do all this, I'will go |
|
Back to top |
|
|
intralanman at freeswi... Guest
|
Posted: Mon Jun 01, 2009 12:46 pm Post subject: [Freeswitch-users] Problem about play wav file in conference |
|
|
bring her too
Quote: | - one for my bank (asking more credit)
|
we can write it... but i won't guarantee that they give you what we ask
-Ray |
|
Back to top |
|
|
|