See the previous call forward setup.  Use the same setup and append the below lines to /etc/asterisk/extensions_custom.conf , change the numbers to where you want to enable call forwarding(ie. the your mobile number from where you pick up the forwarded call)  and reload asterisk. Dial your office number from your mobile when you reach IVR dial 9 which will enable call forwarding . Now all calls to your office are forwarded to your mobile.

[ivr-5-custom]
exten => 9,1,NoOP(${CALLERID(num)})
exten => 9,n,GotoIf($["${CALLERID(num)}" = "0X5X8X0X2X" || "${CALLERID(num)}" = "05X9X4X8XX"]?cact)
exten => 9,n,Goto(ivr-5,s,1)
exten => 9,n(cact),Goto(from-internal,*${CALLERID(num)},1)
Advertisements

One thought on “Call Forwarding from outside the office

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s