Polycom Internal Ring

From FreeSWITCH Wiki
Revision as of 20:31, 30 April 2014 by Mario G (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search




Warning

This page was converted to Confluence April 30 2014. The new page is located at: https://confluence.freeswitch.org/display/FREESWITCH/Polycom+Internal+Ring

 




Contents


How to set FreeSWITCH to add Alert-Info on the INVITE message to allow the phone to know the call is coming from an internal extension

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

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

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>

How to set Polycom phone to have it ring differently for internal calls

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

<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