> 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