[Asterisk-Users] call files run at certain times
Anton Krall
akrall-lists at intruder.com.mx
Tue Mar 29 05:23:27 MST 2005
I like your idea, Ill play with it for a while and see what comes out.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell
Sent: Martes, 29 de Marzo de 2005 12:36 a.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] call files run at certain times
Ok,
so you have a context:
[mycallouts]
exten => _X.,1,Answer
exten => _X.,2,Background(mycall${EXTEN}) exten =>
_X.,3,Dial(ZAP/g1/${EXTEN})
and when you do the record you can do
[myrecording]
exten => 98,1,Answer
exten => 98,2,Background(please_enter_99_followed_by_number)
exten => 99.,1,Record(mycall${EXTEN:2})
Or something similar. Hope that makes sense. So the record will create a
file called mycall5551234 or whatever the number is, and then from the call
file you'd send it to the context mycallouts with the extension set to
whatever the number was and then it would play the correct file, and then
call the number.
--
Cheers,
Matt Riddell
_______________________________________________
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list