Follow Me and Call Forwarding
Hello all, I'd like to implement a graphical call forwarding and follow me feature that works from hunt groups as well as a direct dial to an extension. Currently when a user enables follow me for their extension a new dialplan entry is created with the same destination number as the extension before the local user extension which dials the extension with a bridge to user/${dialed_extension}@${domain_name}. My hunt groups are setup with a lua script that rings the desired extensions with a long bridge statement to user/EXTENSION@${domain_name}. Is there any way to call a user directly (i.e. using user/${dialed_extension}@${domain_name} instead of a transfer) and do some sort of call forwarding or follow me feature? Thanks for your suggestions! Spencer
It sounds like you already have it doing what you want it to do. How do you want it to work differently..? -Avi On Sun, Sep 11, 2011 at 7:19 AM, Spencer Thomason < spencer@5ninesolutions.com> wrote:
Hello all, I'd like to implement a graphical call forwarding and follow me feature that works from hunt groups as well as a direct dial to an extension. Currently when a user enables follow me for their extension a new dialplan entry is created with the same destination number as the extension before the local user extension which dials the extension with a bridge to user/${dialed_extension}@${domain_name}. My hunt groups are setup with a lua script that rings the desired extensions with a long bridge statement to user/EXTENSION@${domain_name}. Is there any way to call a user directly (i.e. using user/${dialed_extension}@${domain_name} instead of a transfer) and do some sort of call forwarding or follow me feature?
Thanks for your suggestions!
Spencer
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The problem is that it doesn't work from a hunt group because the extensions are dialed with a bridge to user/EXTENSION@${domain_name} instead of fro example transfer EXTENSION XML default since the follow me or forward is inserted as another extension with the same number just earlier in the dialplan. On Sep 10, 2011, at 10:22 PM, Avi Marcus wrote:
It sounds like you already have it doing what you want it to do. How do you want it to work differently..? -Avi
On Sun, Sep 11, 2011 at 7:19 AM, Spencer Thomason <spencer@5ninesolutions.com> wrote: Hello all, I'd like to implement a graphical call forwarding and follow me feature that works from hunt groups as well as a direct dial to an extension. Currently when a user enables follow me for their extension a new dialplan entry is created with the same destination number as the extension before the local user extension which dials the extension with a bridge to user/${dialed_extension}@${domain_name}. My hunt groups are setup with a lua script that rings the desired extensions with a long bridge statement to user/EXTENSION@${domain_name}. Is there any way to call a user directly (i.e. using user/${dialed_extension}@${domain_name} instead of a transfer) and do some sort of call forwarding or follow me feature?
Thanks for your suggestions!
Spencer
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You could replace the dial string in the directory. Instead of doing forwarding in the dialplan, you could specify an alternate bridge string. The default bridge string is normally ${sofia_contact(${dialed_user}@${dialed_domain})} but you could specify something else on a per-user basis for in the directory. If you did ${sofia_contact(5243@${dialed_domain})} any calls bridged to this user (using the user/extension@domain syntax) would call extension 5243 instead. If you want this to be an external destination, you would replace the sofia_contact() with a meaningful gateway dial string. The user/exten@domain syntax is just a macro to look up the user in the directory. You can return whatever you want, it doesn't have to be the sofia contact of that user, it could be anything. Hope that makes sense. -Tim Spencer Thomason wrote:
The problem is that it doesn't work from a hunt group because the extensions are dialed with a bridge to user/EXTENSION@${domain_name} instead of fro example transfer EXTENSION XML default since the follow me or forward is inserted as another extension with the same number just earlier in the dialplan.
On Sep 10, 2011, at 10:22 PM, Avi Marcus wrote:
It sounds like you already have it doing what you want it to do. How do you want it to work differently..? -Avi
On Sun, Sep 11, 2011 at 7:19 AM, Spencer Thomason <spencer@5ninesolutions.com <mailto:spencer@5ninesolutions.com>> wrote:
Hello all, I'd like to implement a graphical call forwarding and follow me feature that works from hunt groups as well as a direct dial to an extension. Currently when a user enables follow me for their extension a new dialplan entry is created with the same destination number as the extension before the local user extension which dials the extension with a bridge to user/${dialed_extension}@${domain_name}. My hunt groups are setup with a lua script that rings the desired extensions with a long bridge statement to user/EXTENSION@${domain_name}. Is there any way to call a user directly (i.e. using user/${dialed_extension}@${domain_name} instead of a transfer) and do some sort of call forwarding or follow me feature?
Thanks for your suggestions!
Spencer
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Avi Marcus
-
Spencer Thomason
-
Tim St. Pierre