Ticket #3937 (new Feature Requests)

Opened 2 years ago

Last modified 2 years ago

Extension Setup or Follow-Me: Split "Alert Info" into two fields: "Internal Alert Info" and "External Alert Info"

Reported by: wiseoldowl Assigned to: p_lindheimer
Priority: minor Milestone: Undetermined
Component: Core - Users/Devices Version: 2.6-branch
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Although a better place for this might be on the extensions setup page, it might be easier to implement in Follow-Me because there is already a provision for setting the Alert Info field there. The basic idea is to split the current field into two fields, one that contains an Alert Info string that would be sent if the call is "internal" (comes from another extension on the system) and the other contains an Alert Info string that would be sent if the call is "external" (comes from an inbound route, or otherwise a number external to the system). Whether a call is classified as internal or external would be based solely on the contents of the ${CALLERID(num)} variable - if it matches a known internal extension, then the call is internal, otherwise it's external.

(Granted, it would be possible for a more complete implementation to allow yet a different ring for a "transferred" call, but that could not be easily determined by comparing the contents of ${CALLERID(num)} to the known list of extensions and other "internal" numbers.)

By the way, I tried to work out a way to achieve this functionality using a bit of code in extensions_custom.conf but ran into a slight snag, see http://www.freepbx.org/forum/freepbx/users/how-to-make-internal-calls-ring-differently-from-external-ones for details. But it would be much easier for users to have the split Alert Info fields on the Follow-Me pages.

Change History

10/29/09 15:21:04 changed by wiseoldowl

  • component changed from Follow Me to Core - Users/Devices.

The more I think about this, the more I think that these fields really ought to be on the extensions setup page, not the Follow-Me page, because the Alert Info may be different on different endpoints. Therefore, setting it in the Follow-Me may result in some of the extensions in the Follow-Me getting valid Alert Info strings, while other get Alert Info strings that the equipment doesn't recognize, and not all endpoints may allow change of the Alert Info strings that are recognized. Therefore I'm changing the Component from Follow-Me to Core - Users/Devices, but if it would be easy in Follow-Me and difficult in Core then it still could go in Follow-Me.

10/29/09 15:21:45 changed by wiseoldowl

  • summary changed from Follow-Me: Split "Alert Info" into two fields: "Internal Alert Info" and "External Alert Info" to Extension Setup or Follow-Me: Split "Alert Info" into two fields: "Internal Alert Info" and "External Alert Info".

01/07/10 12:55:38 changed by Yedidyah

The point of Alert Info in follow me is to alert the various devices receiving the 'bounced' call of that fact. putting the Alert Info in the extensions page would essentially send the same Alert Info EVERYTIME that extention rings. I fail to see what you would achieve, you could simply provision the device to do whatever the Alert Info would make it do. Unless you are using user/ device mode. As for setting the Alert Info for external calls use the Alert Info field in the Inbound Routes page!