Simon Faulkner
New Member
- Joined
- Dec 19, 2013
- Messages
- 12
- Reaction score
- 5
Hi All, Brand new here but been driving asterisk for a while and running PiaF for a couple of years so big thanks to all who write and help with it.
I would like to play a pre-recorded name for some callers then follow the normal dialplan, eg
if the incoming Caller ID is 01782 123456 look to see if 01782123456.wav exists and if it does play
"Hello" + 01782123456.wav + " Sorry we can't take your call right now but please leave a message"
Is there a module/facility that already does this or if not I can probably write an AGI script but I am not really sure how to integrate this into the standard PiaG dialplan.
Thanks in advance...
Simon
PS - Really sorry if this is already answered somewhere but I have googled and googled my google-fu is usually strong.
I would like to play a pre-recorded name for some callers then follow the normal dialplan, eg
if the incoming Caller ID is 01782 123456 look to see if 01782123456.wav exists and if it does play
"Hello" + 01782123456.wav + " Sorry we can't take your call right now but please leave a message"
Is there a module/facility that already does this or if not I can probably write an AGI script but I am not really sure how to integrate this into the standard PiaG dialplan.
Thanks in advance...
Simon
PS - Really sorry if this is already answered somewhere but I have googled and googled my google-fu is usually strong.