<div>This is what I do:</div>
<div> </div>
<div>[cf]<br>exten => _*72XXXXXXX,1,DBput(CF/${CALLERIDNUM}=${CALLERIDNUM:-10:3}${EXTEN:3})<br>exten => _*72XXXXXXX,2,Answer<br>exten => _*72XXXXXXX,3,Playback(call-fwd-unconditional)<br>exten => _*72XXXXXXX,4,Playback(is-set-to)
<br>exten => _*72XXXXXXX,5,SayDigits(${EXTEN:3})<br>exten => _*72XXXXXXX,6,Playback(vm-goodbye)<br>exten => _*72XXXXXXX,7,hangup<br>exten => _*72XXXXXXXXX.,1,DBput(CF/${CALLERIDNUM}=${EXTEN:3})<br>exten => _*72XXXXXXXXX.,2,Answer
<br>exten => _*72XXXXXXXXX.,3,Playback(call-fwd-unconditional)<br>exten => _*72XXXXXXXXX.,4,Playback(is-set-to)<br>exten => _*72XXXXXXXXX.,5,SayDigits(${EXTEN:3})<br>exten => _*72XXXXXXXXX.,6,Playback(vm-goodbye)
<br>exten => _*72XXXXXXXXX.,7,hangup<br>exten => *73,1,DBdel(CF/${CALLERIDNUM})<br>exten => *73,2,Answer<br>exten => *73,3,Playback(call-fwd-cancelled)<br>exten => *73,4,wait(.5)<br>exten => *73,5,playback(vm-goodbye)
<br>exten => *73,6,hangup<br> </div>
<div>*72+ number will activate call forwarding... *73 will deactivate call forwarding.</div>
<div>You then just add a DBget in your inbound dialplan to see if CF key exists in the database.<br><br><br> </div>
<div><span class="gmail_quote">On 9/7/06, <b class="gmail_sendername">A C Sathish-a22713</b> <<a href="mailto:sathishac@motorola.com">sathishac@motorola.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">All,<br> Could any one help me in configuring the feature codes for Call<br>forward feature in asterisk..?
<br><br>How to configure the feature code *XX for activation /deactivation of<br>call forward for SIP users ?<br><br>Would appreciate , if somebody can help me more in detail .<br><br><br><br>Thanks & Regards,<br>-Sathish
<br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>