[Asterisk-Users] Polycom phones w/ two lines on different servers

jj jjones at quiddesign.com
Thu Aug 4 15:52:30 MST 2005


I do not ftp the file to this phone instead I use the web interface  
as I constantly make changes. If you are putting your registration  
infto phone1.cfg then here is a sample with multiple registrations  
for 3 seperate entries with 2 line appearance each. The server info  
in this case is in sip.cfg as they all register to the same server.  
For different servers then you would remove from sip.cfg and add here  
to phone1.cfg - clear:)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Example Per-phone Configuration File -->
<!-- $Revision: 1.67 $  $Date: 2005/03/11 17:05:46 $ -->
<phone1>
    <reg reg.1.displayName="1000" reg.1.address="1000" reg. 
1.label="1000" reg.1.type="priv
ate" reg.1.thirdPartyName="" reg.1.auth.userId="1000" reg. 
1.auth.password="1234" reg.1.server.1
.address="" reg.1.server.1.port="" reg.1.server. 
1.transport="DNSnaptr" reg.1.server.2.transport="DNSn
aptr" reg.1.server.1.expires="" reg.1.server.1.register="" reg. 
1.server.1.retryTimeOut="" reg.1.serve
r.1.retryMaxCount="" reg.1.server.1.expires.lineSeize="" reg.1.acd- 
login-logout="0" reg.1.acd-agent-a
vailable="0" reg.1.ringType="2" reg.1.lineKeys="2" reg. 
1.callsPerLineKey="1" reg.2.displayName="snyde
r1020" reg.2.address="1020" reg.2.label="" reg.2.type="private" reg. 
2.thirdPartyName="" r
eg.2.auth.userId="1020" reg.2.auth.password="1234" reg.2.server. 
1.address="" reg.2.server.1.por
t="" reg.2.server.1.transport="DNSnaptr" reg.2.server. 
2.transport="DNSnaptr" reg.2.server.1.expires="
" reg.2.server.1.register="" reg.2.server.1.retryTimeOut="" reg. 
2.server.1.retryMaxCount="" reg.2.ser
ver.1.expires.lineSeize="" reg.2.acd-login-logout="0" reg.2.acd-agent- 
available="0" reg.2.ringType="2
" reg.2.lineKeys="2" reg.2.callsPerLineKey="1" reg. 
3.displayName="1021" reg.3.address="10
21" reg.3.label="IARC" reg.3.type="private" reg.3.thirdPartyName=""  
reg.3.auth.userId="1021" re
g.3.auth.password="1234" reg.3.server.1.address="" reg.3.server. 
1.port="" reg.3.server.1.transport="D
NSnaptr" reg.3.server.2.transport="DNSnaptr" reg.3.server. 
1.expires="" reg.3.server.1.register="" reg
.3.server.1.retryTimeOut="" reg.3.server.1.retryMaxCount="" reg. 
3.server.1.expires.lineSeize="" reg.3
.acd-login-logout="0" reg.3.acd-agent-available="0" reg. 
3.ringType="2" reg.3.lineKeys="2" reg.3.calls
PerLineKey="1" reg.4.displayName="" reg.4.address="" reg.4.label=""  
reg.4.type="private" reg.4.thirdP
artyName="" reg.4.auth.userId="" reg.4.auth.password="" reg.4.server. 
1.address="" reg.4.server.1.port
="" reg.4.server.1.transport="DNSnaptr" reg.4.server. 
2.transport="DNSnaptr" reg.4.server.1.expires=""
reg.4.server.1.register="" reg.4.server.1.retryTimeOut="" reg. 
4.server.1.retryMaxCount="" reg.4.serv
er.1.expires.lineSeize="" reg.4.acd-login-logout="0" reg.4.acd-agent- 
available="0" reg.4.ringType="2"
reg.4.lineKeys="" reg.4.callsPerLineKey="" reg.5.displayName="" reg. 
5.address="" reg.5.label="" reg.
5.type="private" reg.5.thirdPartyName="" reg.5.auth.userId="" reg. 
5.auth.password="" reg.5.server.1.a
ddress="" reg.5.server.1.port="" reg.5.server.1.transport="DNSnaptr"  
reg.5.server.2.transport="DNSnap
tr" reg.5.server.1.expires="" reg.5.server.1.register="" reg.5.server. 
1.retryTimeOut="" reg.5.server.
1.retryMaxCount="" reg.5.server.1.expires.lineSeize="" reg.5.acd- 
login-logout="0" reg.5.acd-agent-ava
ilable="0" reg.5.ringType="2" reg.5.lineKeys="" reg. 
5.callsPerLineKey="" reg.6.displayName="" reg.6.a
ddress="" reg.6.label="" reg.6.type="private" reg.6.thirdPartyName=""  
reg.6.auth.userId="" reg.6.auth
.password="" reg.6.server.1.address="" reg.6.server.1.port="" reg. 
6.server.1.transport="DNSnaptr" reg
.6.server.2.transport="DNSnaptr" reg.6.server.1.expires="" reg. 
6.server.1.register="" reg.6.server.1.
retryTimeOut="" reg.6.server.1.retryMaxCount="" reg.6.server. 
1.expires.lineSeize="" reg.6.acd-login-l
ogout="0" reg.6.acd-agent-available="0" reg.6.ringType="2" reg. 
6.lineKeys="" reg.6.callsPerLineKey=""
/>


On Aug 4, 2005, at 1:41 PM, Adam Robins wrote:

> I have configured my phone following your example, but it does not  
> work
> for me.  Can you also please share your sip.cfg settings?
>
> Thanks,
> Adam
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Chris
> Mason (Lists)
> Sent: Tuesday, August 02, 2005 3:44 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Polycom phones w/ two lines on different
> servers
>
> I do it all the time, the phone on my desk has four server
> registrations.
> Don't use OVERRIDE or web configurations, do it this way:
> <?xml version="1.0" standalone="yes"?>
> <PHONE_CONFIG>
>   <phone1>
>     <preferences voice.codecPref.G711Mu="1" voice.codecPref.G711A=""
> voice.codecPref.G729AB="2" />
>     <cfg httpd.cfg.enabled="0" />
>     <volume voice.volume.persist.handset="1"
> voice.volume.persist.headset="1" voice.volume.persist.handsfree="1" />
>     <gains
>     voice.gain.rx.analog.ringer="10"
>     voice.gain.rx.analog.handset="10"
>     voice.gain.rx.analog.headset="10"
>     voice.gain.rx.analog.chassis="10"
>
>     />
>     <gains voice.gain.rx.analog.ringer="5"
> voice.gain.rx.analog.handset="2" voice.gain.rx.analog.headset="2" />
>     <call call.donotdisturb.perReg="1" />
>     <ringtype se.rt.enabled="1" se.rt.1.ringer="9" se.rt.1.type="ring"
> />
>     <microbrowser mb.main.home="http://polycom.mason.home/ 
> index.html" />
>
>     <SNTP
>         tcpIpApp.sntp.address="81.169.154.116"
>         tcpIpApp.sntp.daylightSavings.enable="0"
>         tcpIpApp.sntp.daylightSavings.fixedDayEnable="0"
>         tcpIpApp.sntp.daylightSavings.start.date="1"
>         tcpIpApp.sntp.daylightSavings.start.dayOfWeek="1"
>         tcpIpApp.sntp.daylightSavings.start.dayOfWeek.lastInMonth="0"
>         tcpIpApp.sntp.daylightSavings.start.month="3"
>         tcpIpApp.sntp.daylightSavings.start.time="2"
>         tcpIpApp.sntp.daylightSavings.stop.date="1"
>         tcpIpApp.sntp.daylightSavings.stop.dayOfWeek="1"
>         tcpIpApp.sntp.daylightSavings.stop.dayOfWeek.lastInMonth="1"
>         tcpIpApp.sntp.daylightSavings.stop.month="10"
>         tcpIpApp.sntp.daylightSavings.stop.time="2"
>         tcpIpApp.sntp.gmtOffset="-14400"
>         tcpIpApp.sntp.resyncPeriod="86400" />
>
>     <reg reg.1.address="100"
>     reg.1.auth.password="secret"
>     reg.1.auth.userId="1001"
>     reg.1.displayName="1001"
>     reg.1.label="1001"
>     reg.1.type="private"
>     reg.1.server.1.expires="3600"
>       reg.1.server.1.address="192.168.0.1"
>       reg.1.server.1.expires.lineSeize="30"
>       reg.1.server.1.port="5060"
>       reg.1.server.1.register="1"
>       reg.1.server.1.retryMaxCount="0"
>       reg.1.server.1.retryTimeOut="0"
>       reg.1.server.1.transport="2"
>         call.serverMissedCall.1.enabled="1"
>         msg.mwi.1.callBack="8500"
>         msg.mwi.1.callBackMode="contact"
>         msg.mwi.1.subscribe=""
>     se.rt.1.ringer="9"
>
>
>     reg.2.address="200"
>     reg.2.auth.password="secret"
>     reg.2.auth.userId="805"
>     reg.2.displayName="805"
>     reg.2.label="805"
>     reg.2.type="private"
>     reg.2.server.1.expires="3600"
>       reg.2.server.1.address="207.44.xxx.xxx"
>       reg.2.server.1.expires.lineSeize="30"
>       reg.2.server.1.port="5060"
>       reg.2.server.1.register="1"
>       reg.2.server.1.retryMaxCount="0"
>       reg.2.server.1.retryTimeOut="0"
>       reg.2.server.1.transport="2"
>         msg.mwi.2.callBack="8500"
>         msg.mwi.2.callBackMode="contact"
>         msg.mwi.2.subscribe=""
>         call.serverMissedCall.2.enabled="1"
>     se.rt.1.ringer="11"
>
>     reg.3.address="300"
>     reg.3.auth.password="secret"
>     reg.3.auth.userId="301"
>     reg.3.displayName=""
>     reg.3.label="GT"
>     reg.3.type="private"
>     reg.3.server.1.expires="3600"
>       reg.3.server.1.address="64.246.xxx.xxx"
>       reg.3.server.1.expires.lineSeize="30"
>       reg.3.server.1.port="5060"
>       reg.3.server.1.register="1"
>       reg.3.server.1.retryMaxCount="0"
>       reg.3.server.1.retryTimeOut="0"
>       reg.3.server.1.transport="2"
>         call.serverMissedCall.3.enabled="1"
>         msg.mwi.3.callBack="8500"
>         msg.mwi.3.callBackMode="contact"
>         msg.mwi.3.subscribe=""
>     se.rt.1.ringer="2"
>
>     reg.4.address="400"
>     reg.4.auth.password="secret"
>     reg.4.auth.userId="1500"
>     reg.4.displayName="MAIN"
>     reg.4.label="MAIN"
>     reg.4.type="private"
>     reg.4.server.1.expires="3600"
>       reg.4.server.1.address="192.168.200.1"
>       reg.4.server.1.expires.lineSeize="30"
>       reg.4.server.1.port="5060"
>       reg.4.server.1.register="1"
>       reg.4.server.1.retryMaxCount="0"
>       reg.4.server.1.retryTimeOut="0"
>       reg.4.server.1.transport="2"
>         call.serverMissedCall.1.enabled="1"
>         msg.mwi.1.callBack="8500"
>         msg.mwi.1.callBackMode="contact"
>         msg.mwi.1.subscribe=""
>     se.rt.1.ringer="3"
>
> />
>
>     <msg msg.bypassInstantMessage="1" />
>
>   </phone1>
> </PHONE_CONFIG>
>
> --
> Chris Mason
> NetConcepts
> (264) 497-5670 Fax: (264) 497-8463
> Int:  (305) 704-7249 Fax: (815)301-9759
> Cell: 264-235-5670
> Yahoo IM: netconcepts_anguilla at yahoo.com
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> The contents of this email message and any attachments are  
> confidential and are intended solely for addressee. The information  
> may also be legally privileged. This transmission is sent in trust,  
> for the sole purpose of delivery to the intended recipient. If you  
> have received this transmission in error, any use, reproduction or  
> dissemination of this transmission is strictly prohibited. If you  
> are not the intended recipient, please immediately notify the  
> sender by reply email and delete this message and its attachments,  
> if any.
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list