<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I would like to forward a calling from a specific
number to an extension.</FONT></DIV>
<DIV><FONT face=Arial size=2>The dialplan syntax should be:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT
face="Courier New">exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4})
<BR><SPAN
style="FONT-FAMILY: monospace">exten => _*21*X.,2,Hangup </SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN
style="FONT-FAMILY: monospace"></SPAN></FONT> </DIV>
<DIV><SPAN style="FONT-FAMILY: monospace"><FONT face=Arial size=2>In my case,
the phone number to forward is 3473774567, and the extension is 105, hence the
syntax should be:</FONT></SPAN></DIV>
<DIV><SPAN style="FONT-FAMILY: monospace"></SPAN> </DIV>
<DIV><SPAN style="FONT-FAMILY: monospace">exten => <FONT face=Arial
size=2>3473774567</FONT>,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:105}) <BR><SPAN
style="FONT-FAMILY: monospace">exten => <FONT face=Arial
size=2>3473774567</FONT>,2,Hangup </SPAN></SPAN></DIV><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT>
<DIV><BR><FONT face=Arial size=2>but Asterisk does not forward the number to the
extension 105.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any ideas?</FONT></DIV>
<DIV> </DIV></BODY></HTML>