<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dear All,
<p>I was trying to enable call forwarding, following the steps of the link
on voip.org regarding this issue it doesn't work and the phone I am trying
to implement on is still ringing. below is my conf in extensions.conf and
the CLI output during the process.
<p>My configuration is :
<p>exten => _*5X.,1,DBput(CF/${CALLERIDNUM}=${EXTEN:2})
<br>exten => _*5X.,2,Hangup
<p>exten => *5,1,DBdel(CF/${CALLERIDNUM})
<br>exten => *5,2,Hangup
<br>&nbsp;
<br>[macro-stdexten]
<br>;
<br>; Standard extension macro (with call forwarding):
<br>; ${ARG1} - Extension(we could have used ${MACRO_EXTEN} here as well
<br>; ${ARG2} - Device(s) to ring
<br>;
<br>exten => s,1,DBget(temp=CF/${ARG1})
<br>exten => s,2,Goto(${temp}|1)
<br>exten => s,102,Goto(s|3)
<br>exten => s,3,Dial(${ARG2},120)
<br>exten => s,103,Goto(s|50)
<br>exten => s,4,Voicemail(u${ARG1})
<br>exten => s,5,Hangup
<br>exten => s,104,Voicemail(b${ARG1}) ; busy
<br>exten => s,105,Hangup
<p>the output on the CLI during this process was:
<p>*CLI>
<br>&nbsp;&nbsp;&nbsp; -- Executing DBdel("SIP/777-a77c", "CF/777") in
new stack
<br>&nbsp;&nbsp;&nbsp; -- DBdel: family=CF, key=777
<br>Urgent handler
<br>&nbsp;&nbsp;&nbsp; -- Executing Hangup("SIP/777-a77c", "") in new stack
<br>Urgent handler
<br>&nbsp;&nbsp;&nbsp; -- Executing DBput("SIP/777-ad46", "CF/777=888")
in new stack
<br>&nbsp;&nbsp;&nbsp; -- DBput: family=CF, key=777, value=888
<br>Urgent handler
<br>&nbsp;&nbsp;&nbsp; -- Executing Hangup("SIP/777-ad46", "") in new stack
<br>Urgent handler
<p>*CLI>
<br>*CLI>
<br>&nbsp;&nbsp;&nbsp; -- Executing Dial("SIP/999-8f50", "SIP/777|7|tr")
in new stack
<br>&nbsp;&nbsp;&nbsp; -- Called 777
<br>Urgent handler
<br>Urgent handler
<br>&nbsp;&nbsp;&nbsp; -- SIP/777-82e9 is ringing
<br>Urgent handler
<p>Any Idea what's wrong
<pre>--&nbsp;
Thx
MAG</pre>
&nbsp;</html>