[Asterisk-Users] Call forwarding
Ryan Courtnage
ryan-lists at voxbox.ca
Fri Feb 4 10:20:08 MST 2005
Hi Kevin,
On Fri, 2005-04-02 at 08:09 -0700, Kevin P. Fleming wrote:
> Adam Robins wrote:
>
> > What I would like to do is take the variable containing the number
> > retrieved from CFIM, place it on the stack as the called number, and
> > have it reenter the dial plan, similar to the WAITEXTEN command.
>
> Easy-peasy. That's what Local channels are for.
>
> If you have retrieved the CFIM value into a variable called CFIM, and
> the user's phone would normally dial via a context called
> "customer-dial", then:
>
> exten => ...,...,Dial(Local/${CFIM}@customer-dial)
Can multiple Local channels be safely used in a single Dial command?
ie:
exten
=> ...,...,Dial(Local/200 at context,Local/201 at context,Local/204 at context)
Thanks
Ryan
More information about the asterisk-users
mailing list