Ticket #3545 (closed Feature Requests: fixed)

Opened 4 years ago

Last modified 4 years ago

call forward except for the extension it is forwarded to

Reported by: vieri Assigned to:
Priority: minor Milestone: 2.6
Component: Call Forward Version: 2.5-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

This is a feature request.

What I would like is to be able to configure FreePBX to behave (or have the option to behave) like legacy PBX as far as call forwarding is concerned.

We have an old Bosch PBX and a newer Alcatel 4400 and they can both be configured to "ignore call forwarding if the caller is the extension it is forwarded to". This should be very simple to implement and is quite important for our company. I suppose that others may find it useful too.

This issue has also been discussed in the forum: http://freepbx.org/forum/freepbx/users/call-forward-except-for-the-extension-it-is-forwarded-to

I am attaching a patch for dialparties.agi which works for blind transfers, attended transfers, including the Asterisk built-in atxfer, and direct calls (FreePBX 2.5.1.1; core 2.5.1.5).

Of course, the code should be further modified so that the user has the option to enable and disable the feature, either globally, or per-extension.

I hope you can take a look at it and let me know.

Thanks.

Attachments

dialparties.agi.diff (1.2 kB) - added by vieri on 02/19/09 03:05:49.
dialparties.agi.diff2 (1.3 kB) - added by francesco_r on 02/24/09 05:14:23.

Change History

02/19/09 03:05:49 changed by vieri

  • attachment dialparties.agi.diff added.

02/19/09 06:40:06 changed by mickecarlsson

  • type changed from Bugs to Feature Requests.

02/19/09 15:23:40 changed by francesco_r

Thank you for this patch.
I have encountered this problem so many times. Many user don't understand well the call forward procedure the first time, and when a call is forwarded on the same extension asterisk loop the call and cpu goes to 100%. I'll test and let you know if solve this problem.

02/24/09 05:14:08 changed by francesco_r

I have uploaded a modified version of vieri patch that detect a loop on the call forward. Now if an extension do a CF to the same extension, FreePBX wrongly loop the call. With my modified dialparties.agi patch, if CF is the same of the extension, ignore the setting and continue to dial.

02/24/09 05:14:23 changed by francesco_r

  • attachment dialparties.agi.diff2 added.

08/25/09 23:45:20 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [8174]) closes #3545 ignore server side CF in immediate loop cases