[Asterisk-Users] Asterisk Call Forwarding

Time Bandit timebandit001 at gmail.com
Wed Dec 21 07:16:50 MST 2005


> 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



More information about the asterisk-users mailing list