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" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[email protected]>
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

_______________________________________________
--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

Reply via email to