[asterisk-users] Query on Call Forward Feature codes for SIP
users..
William Piper
william.piper at gmail.com
Thu Sep 7 20:53:16 MST 2006
This is what I do:
[cf]
exten =>
_*72XXXXXXX,1,DBput(CF/${CALLERIDNUM}=${CALLERIDNUM:-10:3}${EXTEN:3})
exten => _*72XXXXXXX,2,Answer
exten => _*72XXXXXXX,3,Playback(call-fwd-unconditional)
exten => _*72XXXXXXX,4,Playback(is-set-to)
exten => _*72XXXXXXX,5,SayDigits(${EXTEN:3})
exten => _*72XXXXXXX,6,Playback(vm-goodbye)
exten => _*72XXXXXXX,7,hangup
exten => _*72XXXXXXXXX.,1,DBput(CF/${CALLERIDNUM}=${EXTEN:3})
exten => _*72XXXXXXXXX.,2,Answer
exten => _*72XXXXXXXXX.,3,Playback(call-fwd-unconditional)
exten => _*72XXXXXXXXX.,4,Playback(is-set-to)
exten => _*72XXXXXXXXX.,5,SayDigits(${EXTEN:3})
exten => _*72XXXXXXXXX.,6,Playback(vm-goodbye)
exten => _*72XXXXXXXXX.,7,hangup
exten => *73,1,DBdel(CF/${CALLERIDNUM})
exten => *73,2,Answer
exten => *73,3,Playback(call-fwd-cancelled)
exten => *73,4,wait(.5)
exten => *73,5,playback(vm-goodbye)
exten => *73,6,hangup
*72+ number will activate call forwarding... *73 will deactivate call
forwarding.
You then just add a DBget in your inbound dialplan to see if CF key exists
in the database.
On 9/7/06, A C Sathish-a22713 <sathishac at motorola.com> wrote:
>
> All,
> Could any one help me in configuring the feature codes for Call
> forward feature in asterisk..?
>
> How to configure the feature code *XX for activation /deactivation of
> call forward for SIP users ?
>
> Would appreciate , if somebody can help me more in detail .
>
>
>
> Thanks & Regards,
> -Sathish
>
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060907/708007ec/attachment.htm
More information about the asterisk-users
mailing list