Skip to main content

Polycom Internal Ring

About

Set Alert-Info on the INVITE message to tell the phone that the call originated from an internal extension.

FreeSWITCH

FS Dialplan

<action application="set" data="sip_h_Alert-Info=${cond(${inbound_call} == true ? :Internal)}"/>

This is how it looks like on the SIP INVITE message.

SIP Invite

INVITE sip:2131111111@192.168.1.199:5060 SIP/2.0.
Max-Forwards: 68.
From: "D B" <sip:2132222222@2.2.2.2>;tag=3pDByatg210re.
To: <sip:2131111111@192.168.1.199:5060>.
Call-ID: 58e0cf00-ea34-122f-32bc-000f1f659e58.
CSeq: 25624262 INVITE.
Contact: <sip:mod_sofia@2.2.2.2:5060>.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24 14-15-32 -0600.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 229.
X-FS-Support: update_display,send_info.
Alert-Info: <Internal>.

FreeSWITCH adds Alert-Info header to the INVITE.

Alert-Info: <Internal>

Polycom File

Set the Polycom phone to ring differently for internal calls.

In sip.cfg you need to change the following lines.

sip.cfg

<ringType se.rt.enabled="1" se.rt.modification.enabled="1">

<INTERNAL se.rt.5.name="Internal" se.rt.5.type="ring" se.rt.5.ringer="9" se.rt.5.callWait="6" se.rt.5.mod="1"/>
 
<alertInfo voIpProt.SIP.alertInfo.1.value="Internal" voIpProt.SIP.alertInfo.1.class="5">

See also