Hi All, I want to make the destination phone have a different ring for Internal Calls and External Calls. We use Cisco SPA504Gs which have 10 system and 2 user defined rings to choose from for "default ring". They also have 10 "alternate ring patterns", but I am at a loss how to cause the phone to use an alternate ringer. Everything I see in the wiki has to do with ringback. Unless I misunderstand, that is the ring the caller hears. I want the phone to notify the callee this is a different call type. The only thing I have come up with is to setup 2 different Line Keys with different ringers and direct the calls appropriately. Besides requiring an extra <user>, it complicates the dialplan significantly. Thanks in advance, Sean
I did exactly that in the SPA962 phones, it’s simple when you find the answer. You assign the ringtones a name in the phones. Then, in the bridge you add alert-info. In the example below I passed the variable from a LUA, but you could replace it with a name like Family, Friends, Work, etc. they match the phone names exactly. Then when it bridges the phone rings that tone regardless of the line it comes in on. I also think you can use it in a set command instead of the bridge but I forgot which one, export? Mario G alert_info=n=${lua_ringtone} On Apr 23, 2014, at 7:31 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
<image001.gif> Hi All,
I want to make the destination phone have a different ring for Internal Calls and External Calls. We use Cisco SPA504Gs which have 10 system and 2 user defined rings to choose from for “default ring”. They also have 10 “alternate ring patterns”, but I am at a loss how to cause the phone to use an alternate ringer.
Everything I see in the wiki has to do with ringback. Unless I misunderstand, that is the ring the caller hears. I want the phone to notify the callee this is a different call type.
The only thing I have come up with is to setup 2 different Line Keys with different ringers and direct the calls appropriately. Besides requiring an extra <user>, it complicates the dialplan significantly.
Thanks in advance, Sean _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Forgot to mention everything after the “alert_info=“ is dependent on the phone, the SPA962 used n=, so the whole string might be alert_info=n=Work1. We hated the SPA phones and replaced them with Yealinks (we love those) and their alert_info is very different: alert_info=<http://127.0.0.1>;info=Work1 If it does not work simply find the syntax for alert_info on the SPA504G needs assuming it’s different from the SPA962, I assume it’s the same. Good luck. Mario G On Apr 23, 2014, at 8:28 AM, Mario G <mario_fs@mgtech.com> wrote:
I did exactly that in the SPA962 phones, it’s simple when you find the answer. You assign the ringtones a name in the phones. Then, in the bridge you add alert-info. In the example below I passed the variable from a LUA, but you could replace it with a name like Family, Friends, Work, etc. they match the phone names exactly. Then when it bridges the phone rings that tone regardless of the line it comes in on. I also think you can use it in a set command instead of the bridge but I forgot which one, export? Mario G
alert_info=n=${lua_ringtone}
On Apr 23, 2014, at 7:31 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
<image001.gif> Hi All,
I want to make the destination phone have a different ring for Internal Calls and External Calls. We use Cisco SPA504Gs which have 10 system and 2 user defined rings to choose from for “default ring”. They also have 10 “alternate ring patterns”, but I am at a loss how to cause the phone to use an alternate ringer.
Everything I see in the wiki has to do with ringback. Unless I misunderstand, that is the ring the caller hears. I want the phone to notify the callee this is a different call type.
The only thing I have come up with is to setup 2 different Line Keys with different ringers and direct the calls appropriately. Besides requiring an extra <user>, it complicates the dialplan significantly.
Thanks in advance, Sean _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
PERFECT, thanks Mario. I will do this, test, and I WOULD update the wiki but I forgot my username. I have tried everything including emailing msc@freeswitch.org<mailto:msc@freeswitch.org> with no response. Please let me back in the WIKI edit group. Sean From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mario G Sent: Wednesday, April 23, 2014 11:28 AM To: FreeSWITCH Users Help Subject: MS SPAM: Re: [Freeswitch-users] Distinctive Ring I did exactly that in the SPA962 phones, it's simple when you find the answer. You assign the ringtones a name in the phones. Then, in the bridge you add alert-info. In the example below I passed the variable from a LUA, but you could replace it with a name like Family, Friends, Work, etc. they match the phone names exactly. Then when it bridges the phone rings that tone regardless of the line it comes in on. I also think you can use it in a set command instead of the bridge but I forgot which one, export? Mario G alert_info=n=${lua_ringtone} On Apr 23, 2014, at 7:31 AM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: <image001.gif> Hi All, I want to make the destination phone have a different ring for Internal Calls and External Calls. We use Cisco SPA504Gs which have 10 system and 2 user defined rings to choose from for "default ring". They also have 10 "alternate ring patterns", but I am at a loss how to cause the phone to use an alternate ringer. Everything I see in the wiki has to do with ringback. Unless I misunderstand, that is the ring the caller hears. I want the phone to notify the callee this is a different call type. The only thing I have come up with is to setup 2 different Line Keys with different ringers and direct the calls appropriately. Besides requiring an extra <user>, it complicates the dialplan significantly. Thanks in advance, Sean _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com<http://www.cudatel.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://wiki.freeswitch.org<http://wiki.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> 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://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org<http://www.freeswitch.org/>
We use Polycom SoundPoint IP phones. I don't know if this is the 'correct' way to do it, but this makes the phones ring differently for internal calls. I have these lines in the dialplan/default.xml file: <extension name="Local_Extension"> <condition field="destination_number" expression="^(5[0-6][0-9])$" require-nested="false"> <condition field="${accountcode}" expression="^.+$"> <action application="export" data="alert_info=internal"/> </condition> The 'accountcode' variable is set when it's a local phone calling. As I said, I'm not sure if that's the "right" way to do it, but it works. The 'alert_info' variable causes the 'Alert-Info' header to be set, which the Polycom phones use to determine which ringer to use. I have no idea if the Cisco phones use the same header. We also use a third ring tone when a caller uses the "Dial by Name" feature. The theory was that these calls are not as important because the caller doesn't know my extension. In practice, this is useless because I just look at the Caller-ID. On the "operator" calls, it looks like this: <extension name="operator"> <condition field="destination_number" expression="^operator$"> <action application="export" data="alert_info=external"/> You can't dial an alpha number from a phone, so that comes from a transfer from the IVR. -- Steve On Wed, Apr 23, 2014 at 7:31 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Hi All,
I want to make the destination phone have a different ring for Internal Calls and External Calls. We use Cisco SPA504Gs which have 10 system and 2 user defined rings to choose from for “default ring”. They also have 10 “alternate ring patterns”, but I am at a loss how to cause the phone to use an alternate ringer.
Everything I see in the wiki has to do with ringback. Unless I misunderstand, that is the ring the caller hears. I want the phone to notify the callee this is a different call type.
The only thing I have come up with is to setup 2 different Line Keys with different ringers and direct the calls appropriately. Besides requiring an extra <user>, it complicates the dialplan significantly.
Thanks in advance,
Sean
Thanks Steven. I did what Mario suggested and it worked fine (ie proof of concept). I like this approach for determining which to use. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Schoch Sent: Wednesday, April 23, 2014 2:54 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Distinctive Ring We use Polycom SoundPoint IP phones. I don't know if this is the 'correct' way to do it, but this makes the phones ring differently for internal calls. I have these lines in the dialplan/default.xml file: <extension name="Local_Extension"> <condition field="destination_number" expression="^(5[0-6][0-9])$" require-nested="false"> <condition field="${accountcode}" expression="^.+$"> <action application="export" data="alert_info=internal"/> </condition> The 'accountcode' variable is set when it's a local phone calling. As I said, I'm not sure if that's the "right" way to do it, but it works. The 'alert_info' variable causes the 'Alert-Info' header to be set, which the Polycom phones use to determine which ringer to use. I have no idea if the Cisco phones use the same header. We also use a third ring tone when a caller uses the "Dial by Name" feature. The theory was that these calls are not as important because the caller doesn't know my extension. In practice, this is useless because I just look at the Caller-ID. On the "operator" calls, it looks like this: <extension name="operator"> <condition field="destination_number" expression="^operator$"> <action application="export" data="alert_info=external"/> You can't dial an alpha number from a phone, so that comes from a transfer from the IVR. -- Steve On Wed, Apr 23, 2014 at 7:31 AM, Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: [cid:image001.gif@01CF5F47.30B26C70] Hi All, I want to make the destination phone have a different ring for Internal Calls and External Calls. We use Cisco SPA504Gs which have 10 system and 2 user defined rings to choose from for “default ring”. They also have 10 “alternate ring patterns”, but I am at a loss how to cause the phone to use an alternate ringer. Everything I see in the wiki has to do with ringback. Unless I misunderstand, that is the ring the caller hears. I want the phone to notify the callee this is a different call type. The only thing I have come up with is to setup 2 different Line Keys with different ringers and direct the calls appropriately. Besides requiring an extra <user>, it complicates the dialplan significantly. Thanks in advance, Sean
participants (3)
-
Mario G
-
Sean Devoy
-
Steven Schoch