[Asterisk-Users] Call forwarding

Adam Robins arobins at PharmaCentra.com
Fri Feb 4 11:31:56 MST 2005


Works beautifully!  Thanks. 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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/${CFIM}@customer-dial)

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 at 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.





More information about the asterisk-users mailing list