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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to