[Freeswitch-users] FreeSWITCH - Polycom and DNS SRV

Vik Killa vipkilla at gmail.com
Thu Nov 3 20:44:33 MSK 2011


I definitely do NOT have NATPR records and the A record for
pbx.mydomain.com does NOT point to my FS server. Trust me, I created
the DNS records. I know I have DNS SRV running WITHOUT NATPR because I
have 2 FS servers receiving calls/registrations from these Polycoms.
Your polycom configs are NOT the same as mine. I'm TELLING you, you
need the exact SAME polycom configs as me. I spent hours trying to get
it to work and I succeeded, so either take my advice and use same
configs or get NATPR records.

On Thu, Nov 3, 2011 at 10:53 AM, Lloyd Aloysius
<lloyd.aloysius at sunteltech.ca> wrote:
> Vik,
>  The configuration files are correct.
> 1. Ploycom Phones never send a registration to pbx.mydomain.com
> 2. IF I create A record [pbx.mydomain.com ] , then it send the Registration
> request and Success.
> I think polycom need DNS SRV and NATPR records.
> May be you have  A record for pbx.mydomain.com that is the reason it is
> working.
> =====
> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
> <!-- Per-phone configuration file -->
> <phone1>
>   <reg reg.1.displayName="Ext 204" reg.1.address="204" reg.1.label="204"
> reg.1.type="private" reg.1.thirdPartyName="" reg.1.auth.userId="204"
> reg.1.auth.password="************" reg.1.server.1.address=""
> reg.1.server.1.port="" reg.1.server.1.transport="" reg.1.server.1.expires=""
> reg.1.server.1.register="" reg.1.server.1.retryTimeout=""
> reg.1.server.1.expires.lineSeize="" reg.1.acd-login-logout="0"
> reg.1.acd-agent-available="0" reg.1.ringType="2" reg.1.lineKeys="2"
> reg.1.callsPerLineKey="1" reg.2.displayName="" reg.2.address=""
> reg.2.label="" reg.2.type="" reg.2.thirdPartyName="" reg.2.auth.userId=""
> reg.2.auth.password="" reg.2.server.1.address="" reg.2.server.1.port=""
> reg.2.server.1.transport="" reg.2.server.1.expires=""
> reg.2.server.1.register="" reg.2.server.1.retryTimeout=""
> reg.2.server.1.expires.lineSeize="" reg.2.acd-login-logout=""
> reg.2.acd-agent-available="" reg.2.ringType="" reg.2.lineKeys=""
> reg.2.callsPerLineKey="" />
> </phone1>
> ===
> ======== sip.cfg ====
> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
> <!-- Generated sip-basic.cfg Configuration File -->
> <polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="polycomConfig.xsd">
>   <msg>
>     <msg.mwi msg.mwi.1.callBackMode="registration"
> msg.mwi.2.callBackMode="registration"></msg.mwi>
>   </msg>
>   <voIpProt>
>     <voIpProt.SIP voIpProt.SIP.enable="1">
>       <voIpProt.SIP.outboundProxy
> voIpProt.SIP.outboundProxy.address=""></voIpProt.SIP.outboundProxy>
>     </voIpProt.SIP>
>     <voIpProt.server voIpProt.server.1.address="pbx.mydomain.com"
> voIpProt.server.1.port="5060" voIpProt.server.1.transport="DNSnaptr"
> voIpProt.server.1.expires="60" voIpProt.server.1.register="1"
> voIpProt.server.1.retryTimeout="0" voIpProt.server.1.expires.lineSeize="30"
> voIpProt.server.2.address="" voIpProt.server.2.port="0"></voIpProt.server>
>   </voIpProt>
>   <SNTP tcpIpApp.sntp.daylightSavings.enable="1"
> tcpIpApp.sntp.address="pool.ntp.org" tcpIpApp.sntp.gmtOffset="-18000" />
> </polycomConfig>
> ========
> Thanks and regards,
>
> Lloyd
>
>
>
> On Thu, Nov 3, 2011 at 8:12 AM, Vik Killa <vipkilla at gmail.com> wrote:
>>
>> Lloyd, as I said, I have Polycom's working with DNS SRV without NAPTR
>> records (our DNS server, Windows Server 2003, does not have NAPTR
>> capabilities.)
>> We are running Polycom firmware 3.2.2
>> I struggled for a while getting it to work, but with the correct
>> provisioning files, I got it to work. Please follow my configs
>> strictly as any difference can cause it to not work.
>>
>>
>> On Wed, Nov 2, 2011 at 7:22 PM, Lloyd Aloysius <lloyd.aloysius at gmail.com>
>> wrote:
>> > DynDns not supporting NAPTR. I received  reply from them "We do not
>> > support
>> > NAPTR records."I am currently using DynDns for my DNS needs.
>> > Any other recommendation to make Polycom phone work with DNS SRV records
>> > without NAPTR records.
>> >
>> >
>> > Thanks and regards,
>> >
>> > Lloyd
>> >
>> >
>> > On Tue, Nov 1, 2011 at 4:57 PM, Lloyd Aloysius
>> > <lloyd.aloysius at gmail.com>
>> > wrote:
>> >>
>> >> Vik,
>> >> I have the same setting in my configuration files. But the phone never
>> >> register. I will follow the Brian instructions [create NAPTR Records]
>> >> shortly.
>> >>
>> >> Thanks
>> >> Lloyd
>> >>
>> >> On Tue, Nov 1, 2011 at 10:46 AM, Vik Killa <vipkilla at gmail.com> wrote:
>> >>>
>> >>> I have Polycoms working with DNS SRV without NAPTR records
>> >>> It was a matter of polycom provisioning files.
>> >>> I attached the 2 important files and that last important file named
>> >>> polycom_0004f21a0e87.cfg looks like this:
>> >>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
>> >>> <phone1>
>> >>>        <reg
>> >>>                reg.1.displayName="Test UA"
>> >>>                reg.1.address="1001"
>> >>>                reg.1.label="Test UA"
>> >>>                reg.1.type="private"
>> >>>                reg.1.auth.userId="1001"
>> >>>                reg.1.auth.password="PASSWORD"
>> >>>                reg.1.server.1.address="mypbx.mydomain.com"
>> >>>         />
>> >>> </phone1>
>> >>>
>> >>>
>> >>> On Tue, Nov 1, 2011 at 10:13 AM, Lloyd Aloysius
>> >>> <lloyd.aloysius at sunteltech.ca> wrote:
>> >>> > Thank you for the reply .
>> >>> > I miss the NAPTR records. Let me setup the NAPTR records and test
>> >>> > again.
>> >>> > Thanks and regards,
>> >>> >
>> >>> > Lloyd
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Tue, Nov 1, 2011 at 9:27 AM, Brian West <brian at freeswitch.org>
>> >>> > wrote:
>> >>> >>
>> >>> >> Ok you missed the part about the NAPTR records didn't you?  Make
>> >>> >> sure
>> >>> >> you
>> >>> >> setup your NAPTR records correctly.  I really don't get how people
>> >>> >> think
>> >>> >> they are optional.
>> >>> >> I know this says
>> >>> >>
>> >>> >>
>> >>> >> optional http://wiki.freeswitch.org/wiki/SIP_TLS#Step_5_-_DNS_NAPTR_.26_SRV_Records_.28optional.29
>> >>> >> but they aren't.
>> >>> >> /b
>> >>> >> On Nov 1, 2011, at 8:22 AM, Lloyd Aloysius wrote:
>> >>> >>
>> >>> >> But this fails to register.
>> >>> >>
>> >>> >> Thanks
>> >>> >> Lloyd
>> >>> >>
>> >>> >>
>> >>> >> FreeSWITCH-users mailing list
>> >>> >> FreeSWITCH-users at lists.freeswitch.org
>> >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>> >>
>> >>> >>
>> >>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >>> >> http://www.freeswitch.org
>> >>> >>
>> >>> >
>> >>> >
>> >>> >
>> >>> > FreeSWITCH-users mailing list
>> >>> > FreeSWITCH-users at lists.freeswitch.org
>> >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>> >
>> >>> >
>> >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >>> > http://www.freeswitch.org
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>> FreeSWITCH-users mailing list
>> >>> FreeSWITCH-users at lists.freeswitch.org
>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>>
>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >>> http://www.freeswitch.org
>> >>>
>> >>
>> >
>> >
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>> >
>>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list