[Asterisk-Users] Asterisk Call Forwarding
Androtech
androtech at gigliesi.it
Wed Dec 21 07:45:14 MST 2005
Hi Tim,
probably my information are not quite clear; 3473774567 is a mobile phone
and 105 is an extension. I would like to forward any outside calling from
this mobile (3473774567) to the extension 105.
When you talk about DB, what do you mean exactly?
Could you be so kind to post some examples so the * forward calling function
will be more clear.
Thanks a lot.
----- Original Message -----
From: "Time Bandit" <timebandit001 at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Wednesday, December 21, 2005 3:16 PM
Subject: Re: [Asterisk-Users] Asterisk Call Forwarding
> In my case, the phone number to forward is 3473774567, and the extension
> is
> 105, hence the syntax should be:
>
> exten =>
> 3473774567,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:105})
Let me explain you what this syntax is saying :
presuming this number is called from extension 7001
- Put in the DB, under the key CFIM/7001, the value of 3473774567
ignoring the first 105 character, so * just put en empty value.
To help you understand, if you would put ${EXTEN:1}, you would end up
with the value 473774567, if you put ${EXTEN:3} you would end up with
3774567
hth
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list