![]() | |
| |||||||||||||||
| |||||||||||||||
| Asterisk Discuss Asterisk The Open Source PBX, related systems and applications. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | ||||||||
| Moderator ![]()
Rep Power: 5 ![]() | Local and remote call forwarding for a ring group Ok, I spent a crap load of time figuring this out.. because, at times, it got really confusing. So, I thought I would post it here in case it might be useful to others. The original posting can be found on my site here: JZ Docs - Setting up Call Forward Buttons on a GXP-2000 I need the ability for a phone to enable and disable call forwarding to a specific number with the touch of a button. This is how I was able to get it to work. I started by editing extensions_custom.conf and adding the following to the end: Where 101 is the extension you want to call forward. Location A: ;Forward exten => _*401,1,Answer() exten => _*401,n,Set(DB(CF/101)=610) exten => _*401,n,Playback(call-fwd-unconditional&for) exten => _*401,n,SayDigits(101) exten => _*401,n,Hangup() ;Cancel Fwd exten => _*402,1,Answer() exten => _*402,n,DBdel(CF/101) exten => _*402,n,Playback(call-fwd-cancelled&for&extension) exten => _*402,n,SayDigits(101) exten => _*402,n,Hangup() Location B: ;Forward exten => _*401,1,Answer() exten => _*401,n,Set(DB(CF/201)=600) exten => _*401,n,Playback(call-fwd-unconditional&for) exten => _*401,n,SayDigits(201) exten => _*401,n,Hangup() ;Cancel Fwd exten => _*402,1,Answer() exten => _*402,n,DBdel(CF/201) exten => _*402,n,Playback(call-fwd-cancelled&for&extension) exten => _*402,n,SayDigits(201) exten => _*402,n,Hangup() Now, on the phone, I create a speed dial button for each. Button 1: *401 This will call forward extensions 101 to extension 610. Or, in our case, we want it to forward to a ring group at the other location because our PBXs are trunked together. Button 2: *402 This will turn off call forward for extension 101. Also, you can pick up any phone and dial the *401 and *402 by hand to enable and disable the call forwarding for that extension. So, because extension 101 and 201 are both members of the "main" ring group, by forwarding these extensions, we are basically forwarding the entire ring group. So, if a call comes into location A, and 101 is set to forward, it will ring Location Bs 610 ring group and visa versa. Now, in our instance, we want both locations to be able to enable and disable the other locations forwarding. So, to do that, we kind of cheated. On Grandstream GXP-2000's, you have the ability to setup up to 4 SIP accounts. At the same time, when you configure a speed dial, you select which account to use. So, we created a VPN connection between the two locations. Once that was working, we created an extra SIP account on each PBX and had one phone at each location log into both PBXs using account 2 on the phones. We then could configure 4 speed dials. 2 for the local PBX forward enable/disable, and 2 for the remote PBX forward enable/disable. This would allow someone at either location to turn call forwarding on and off at either location, for either location. EDIT: Totally rewrote how everything worked because something was still screwed up. It actually works now, but isn't as customizable from the phone speed dial buttons, everything is hard coded into the * codes. Last edited by jzawacki; May 30th, 2009 at 03:38 PM. | ||||||||
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 3300 Ring Group Remote Member | backitup | Mitel | 3 | February 26th, 2009 10:56 AM |
| IP PBX with call forwarding from local to LD | nighttraindb | Technology | 1 | July 14th, 2008 02:49 PM |
| Hunt Group & External Call Forwarding Problem | NotAPhoneGuru | BCM and Norstar | 1 | August 2nd, 2007 07:55 PM |
| Remote Call Forwarding | RobPatton | Inter-Tel | 7 | April 6th, 2006 12:42 PM |
| Help with Remote call Forwarding & set to set messaging | Jmacbald | Technology | 1 | September 21st, 2004 10:20 PM |