Works beautifully!  Thanks. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin P.
Fleming
Sent: Friday, February 04, 2005 10:10 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Call forwarding

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/[EMAIL PROTECTED])

This will process the call exactly the same way as if the phone user had
dialed that number from their phone.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

The contents of this email message and any attachments are confidential and are 
intended solely for addressee. The information may also be legally privileged. 
This transmission is sent in trust, for the sole purpose of delivery to the 
intended recipient. If you have received this transmission in error, any use, 
reproduction or dissemination of this transmission is strictly prohibited. If 
you are not the intended recipient, please immediately notify the sender by 
reply email and delete this message and its attachments, if any.


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to