[asterisk-users] Capture digits, set as variable..., use for caller id?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Aug 7 09:24:45 CDT 2008


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



More information about the asterisk-users mailing list