[asterisk-users] injecting audio announcements into sip channel

2007-04-16 Thread Mark Reardon
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

Re: [asterisk-users] injecting audio announcements into sip channel

2007-04-16 Thread Dinesh Nair
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

Re: [asterisk-users] injecting audio announcements into sip channel

2007-04-16 Thread Jon Farmer
--- Dinesh Nair [EMAIL PROTECTED] wrote: take a look at the L() option to Dial(). The original poster said he need to play different messages at different call durations. In order to do that you would need to dynamically alter LIMIT_WARNING_FILE as the call progressed. Regards Jon Jon

Re: [asterisk-users] injecting audio announcements into sip channel

2007-04-16 Thread Mark Asterisk
Thanks. On 4/16/07, Dinesh Nair [EMAIL PROTECTED] 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

Re: [asterisk-users] injecting audio announcements into sip channel

2007-04-16 Thread Mark Asterisk
yeah, it would be good to have 2 different messages. But I guess I could adapt the message to be generic enough to cover both scenarios - your call has now cost over €X. This might scrape through with legal requirements. cheers for the feedback - I appreciate it. On 4/16/07, Jon Farmer [EMAIL