Mark Reardon
2007-Apr-16 02:48 UTC
[asterisk-users] injecting audio announcements into sip channel
Hi all, I have a client that is setting up a premium phone service and is required by the Telephony regulator to stream call cost announcements into the call at certain periods during the call. For instance when the call cost is ?3 per minute there needs to be an announcement after 10 minutes that call has now cost you ?30 to the caller. ?60 after 20 mins etc. etc. Recording the bespoke announcements is easy enough. 1) But how do I inject them into the SIP channel. 2) How do I time the injection so that the correct message is played at the correct time. I imagine there is a more elegant way to do this than setting up a conference call and have the announcements played as part of one long recording on one of the conference channels. Advice from anyone who has tackled this problem would be greatly appreciated. cheers, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070416/e0693622/attachment.htm
Dinesh Nair
2007-Apr-16 02:57 UTC
[asterisk-users] injecting audio announcements into sip channel
On Mon, 16 Apr 2007 10:48:40 +0100, Mark Reardon wrote:> 1) But how do I inject them into the SIP channel. > 2) How do I time the injection so that the correct message is played at > the correct time.take a look at the L() option to Dial(). -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.openmalaysiablog.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+
Mark Asterisk
2007-Apr-16 05:15 UTC
[asterisk-users] injecting audio announcements into sip channel
Thanks. On 4/16/07, Dinesh Nair <dinesh@alphaque.com> wrote:> > On Mon, 16 Apr 2007 10:48:40 +0100, Mark Reardon wrote: > > 1) But how do I inject them into the SIP channel. > > 2) How do I time the injection so that the correct message is played at > > the correct time. > > take a look at the L() option to Dial(). > > -- > Regards, /\_/\ "All dogs go to heaven." > dinesh@alphaque.com (0 0) > http://www.openmalaysiablog.com/ > > +==========================----oOO--(_)--OOo----==========================+ > | for a in past present future; > do | > | for b in clients employers associates relatives neighbours pets; do > | > | echo "The opinions here in no way reflect the opinions of my $a > $b." | > | done; > done | > > +=========================================================================+ > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.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/20070416/f22e2de2/attachment.htm