<div dir="ltr">Here's how we do that. We use PolyCom SoundPoint IP phones, so we have this configuration file in their FTP directory:<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><?xml version="1.0" encoding="UTF-8" standalone="yes"?></div></div><div><div><!-- Application SIP Mink 4.0.0.26884 09-Sep-11 12:32 --></div></div><div><div><!-- Created 19-09-2011 10:50 --></div></div><div><div><CONFIG></div></div><div><div> <dialplan dialplan.digitmap="5xx|6xx|85xx|[2-9]11|0T|*86|011xxx.T|[0-1][2-9]xxxxxxxxx|[2-9]xxxxxxxxx|[2-9]xxxT"/></div></div><div><div> <msg msg.bypassInstantMessage="1" /></div></div><div><div> <mwi msg.mwi.1.subscribe="" msg.mwi.1.callBackMode="contact" msg.mwi.1.callBack="*86" /></div></div><div><div> <se></div></div><div><div> <se.rt></div></div><div><div> <!-- <se.rt.custom1 <a href="http://se.rt.custom1.name">se.rt.custom1.name</a>="Low Double Trill" se.rt.custom1.ringer="ringer3" />--></div></div><div><div> <se.rt.custom1 <a href="http://se.rt.custom1.name">se.rt.custom1.name</a>="Medium Double Trill" se.rt.custom1.ringer="ringer5" /></div></div><div><div> <se.rt.custom3 <a href="http://se.rt.custom2.name">se.rt.custom2.name</a>="Triplet" se.rt.custom3.ringer="ringer11" /></div></div><div><div> <se.rt.custom2 <a href="http://se.rt.custom3.name">se.rt.custom3.name</a>="Medium Trill" se.rt.custom2.ringer="ringer4" /></div></div><div><div> </se.rt></div></div><div><div> </se></div></div><div><div> <voIpProt></div></div><div><div> <voIpProt.SIP></div></div><div><div> <voIpProt.SIP.alertInfo voIpProt.SIP.alertInfo.1.value="internal" voIpProt.SIP.alertInfo.1.class="custom1"/></div></div><div><div> <voIpProt.SIP.alertInfo voIpProt.SIP.alertInfo.2.value="external" voIpProt.SIP.alertInfo.2.class="custom2"/></div></div><div><div> <voIpProt.SIP.alertInfo voIpProt.SIP.alertInfo.3.value="directory" voIpProt.SIP.alertInfo.3.class="custom3"/></div></div><div><div> </voIpProt.SIP></div></div><div><div> </voIpProt></div></div><div><div></CONFIG></div></div></blockquote><div><div><br></div><div>I can't remember how I figured that out, but I found that "ringer5" is known as "Medium Double Trill" in the PolyCom documentation, and that's the sound we wanted for internal calls. Just for fun, I also set the phones up to ring differently depending if the (outside) caller knew my extension, or found me through the "dial by name" directory.</div><div><br></div><div>In the file conf/dialplan/default.xml, I have these lines in the "Local Extension" extension:</div><div><br></div><div><div> <condition field="${accountcode}" expression="^.+$"></div><div> <action application="export" data="alert_info=internal"/></div><div> </condition></div></div><div><br></div><div>If ${accountcode} is set, then the caller's phone is logged in to FreeSWITCH, so the call is internal. (This condition could also check if the caller_id_number is exactly 3 (or 4) digits.)</div><div><br></div><div>To get the "directory" ring, I have this extension:</div><div><br></div><div><div> <extension name="directory" continue="true"></div><div> <condition field="destination_number" expression="^411$"></div><div> <action application="export" data="alert_info=directory"/></div><div> <action application="directory" data="default $${domain} default"/></div><div> </condition></div><div> </extension></div></div><div><br></div><div>-- </div><div>Steve</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 4:41 AM, Mike <span dir="ltr"><<a href="mailto:empx@gmx.de" target="_blank">empx@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">See <a href="https://wiki.freeswitch.org/wiki/Variable_alert_info" target="_blank">https://wiki.freeswitch.org/wiki/Variable_alert_info</a><br>
<div><div class="h5"><br>
On 14.10.2014 13:07, Pedro Santos wrote:<br>
> i want to differentiate the ring from internal and external calls. Can<br>
> anyone help me ? tx<br>
> it is not the ringback, but the ringing of the phone<br></div></div></blockquote></div></div></div></div></div>