Type: New Feature
Affects Version/s: None
Target Release Version/s: None
This app basically runs the command thru an sprintf, with
the arg of the channel->callerid:
sprintf( commandbuf, command, channel->callerid).
Then it pretty much does as system did, except it always returns 0, because in this case, I'm not interested in
the result code.
I use it in my dialplan so:
exten => 1,1,SystemCID(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/%s.gsm&)
If the announcement file exists, it gets played. If it doesn't, it doesn't get played. Such is life. I'm using
it for announcements of the caller and the called person. Around here, this makes life very nice. I hope to able
to send these announcements over the network to other
systems, to use their speakers for the PA system.
Hope it's useful enough to include in the Asterisk release.