Displaying 2 results from an estimated 2 matches for "divertvoid".
2016 Mar 03
2
Asterisk Call Forwarding
Hi
I have to setup call forwarding. How do we setup Call forwarding in
asterisk?. Eg. user dials a number and insert some mobile number for
forwarding and dial another number to cancel the forwarding. thanks a lot.
Best Regards,
Madushan?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Mar 03
2
Asterisk Call Forwarding
...; exten => _*21.,1,Answer()
> same => n,GotoIf($["${CALLERID(num)}"="<redacted>"]?divert:void)
> same => n(divert),Set(DB(divert/${CALLERID(num):-4})=${EXTEN:3})
> same => n,Gosub(divertactive,1)
> same => n,Hangup()
> same => n(void),Gosub(divertvoid,1)
> exten => _#21,1,Answer()
> same => n,GotoIf($["${CALLERID(num)}"="<redacted>"]?divert:void)
> same => n(divert),Verbose(0,${DB_DELETE(divert/${CALLERID(num):-4})})
> same => n,Gosub(divertoff,1)
> same => n,Hangup()
> same => n(void...