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> 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