[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 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
___
--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


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 go to heaven.
[EMAIL PROTECTED](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


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 Farmer
Telford, Shropshire, UK


  ___ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 
___
--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


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 Dial().

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](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

___
--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


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 PROTECTED] wrote:



--- 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 Farmer
Telford, Shropshire, UK


  ___
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up
for
your free account today
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html
___
--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

___
--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