Positively Optimistic
2008-Aug-07 03:35 UTC
[asterisk-users] Capture digits, set as variable..., use for caller id?
We've searched but thus far have not successfully found a solution for this? We're looking for a way to set a variable using get digits for a DISA application. Sometimes we're away from the office and get a voicemail that I need to respond to quickly and would prefer for the caller to be presented with the caller id of the office, or perhaps home?. I would like to set up DISA so that we can dial into the switch, enter a password, provide the outgoing caller ID that we want to present, enter the number I want to dial, and PRESTO.. make a call? Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080806/36e28c84/attachment.htm
Tilghman Lesher
2008-Aug-07 14:24 UTC
[asterisk-users] Capture digits, set as variable..., use for caller id?
On Wednesday 06 August 2008 22:35:01 Positively Optimistic wrote:> We've searched but thus far have not successfully found a solution for > this? > > We're looking for a way to set a variable using get digits for a DISA > application. Sometimes we're away from the office and get a voicemail > that I need to respond to quickly and would prefer for the caller to be > presented with the caller id of the office, or perhaps home?. > > I would like to set up DISA so that we can dial into the switch, enter a > password, provide the outgoing caller ID that we want to present, enter the > number I want to dial, and PRESTO.. make a call? Any ideas?I don't know why not. It's not terribly difficult. You may need to record several custom prompts, but that's as easy as Record(mynewprompt.wav). Something along the lines of: VMAuthenticate() Read(newcid,entercid,10) DISA(no-password,outgoing,${newcid}) -- Tilghman