I would like to do something like: exten => s,1,playback(http://my.server.com/file.wav) I tested and it does not work. It seems highly likely that someone would already have done this one way or another. I know I could do a system wget and then play the local file, but wanted something a bit more elegant. Thanks, Mike Clark
Mike Clark wrote:> I would like to do something like: > > exten => s,1,playback(http://my.server.com/file.wav) > > I tested and it does not work. It seems highly likely that someone would > already have done this one way or another. I know I could do a system > wget and then play the local file, but wanted something a bit more elegant. > > Thanks, > > Mike Clark > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >One issue with that is latency... -- *Singer Wang* /System and Database Engineer/ The Pythian Group ------------------------------------------------------------------------ Office: (613) 565-8696 x298 Toll Free: (877) 798-4426 x298 Fax: (613) 565-8710 Email: wang at pythian.com MSN: pythianwang at hotmail.com Yahoo: pythianwang AIM: pythianwang ICQ: 201253 Gadu-Gadu: 6817795 Tencent QQ: 858310404 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081111/1458216f/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: wang.vcf Type: text/x-vcard Size: 145 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20081111/1458216f/attachment.vcf
mp3player, is just for your need,
use it this like
exten => _X.,1,mp3player("http://www.test.com/test.mp3")
try this page
http://www.voip-info.org/wiki-Asterisk+cmd+MP3Player
best
--- On Wed, 11/12/08, Singer X.J. Wang <wang at pythian.com> wrote:
From: Singer X.J. Wang <wang at pythian.com>
Subject: Re: [asterisk-users] play file from url
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Date: Wednesday, November 12, 2008, 2:00 AM
Mike Clark wrote:
I would like to do something like:
exten => s,1,playback(http://my.server.com/file.wav)
I tested and it does not work. It seems highly likely that someone would
already have done this one way or another. I know I could do a system
wget and then play the local file, but wanted something a bit more elegant.
Thanks,
Mike Clark
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
One issue with that is latency...
--
Singer Wang
System and Database Engineer
The Pythian Group
Office:
?????
(613) 565-8696 x298
Toll Free:
?????
(877) 798-4426 x298
Fax:
?????
(613) 565-8710
Email:
?????
wang at pythian.com
MSN:
?????
pythianwang at hotmail.com
Yahoo:
?????
pythianwang
AIM:
?????
pythianwang
ICQ:
?????
201253
Gadu-Gadu:
?????
6817795
Tencent QQ:
?????
858310404
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20081111/c0fa42e5/attachment.htm