You need to manage this variable on Asterisk DB in order to make call forwarding.

It must be done in extensions.conf . In voip-info you could find how to do that.


Androtech wrote:
Hi,
 
I would like to forward a calling from a specific number to an extension.
The dialplan syntax should be:
 
exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4})
exten => _*21*X.,2,Hangup 
 
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})
exten => 3473774567,2,Hangup 

but Asterisk does not forward the number to the extension 105.
 
Any ideas?
 

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


-- 
Alberto Sagredo
Departamento Técnico
Peoplecall


Email : [EMAIL PROTECTED]
Blog: http://www.voip-novatos.es

Tel./Ph. : +34 91 120 5080
Tel. Dir./Dir. Ph.: 700 755 048
Fax./Fax.: +34 91 661 9460

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