Plantronics + Polycom. Now together as Poly Logo

Using DNS SRV, registration fails on second server

SOLVED
Highlighted
Occasional Contributor

Using DNS SRV, registration fails on second server

Hi,

 

We are using Polycom IP335 phone with DNS SRV records for registration and also use DND feature.

 

The issue is that if the first server in DNS SRV record list is down and the second server becomes active, the phone registers to new server, but within seconds unregisters and keeps on registering to first server which is down. It seems the subscribe for DND feature is causing this.

 

 

CreateFailOverProxyList : IP 2 is '10.95.200.60' on udp port 8060
User::UpdateServerRegList entry
CServerReg::IsThisServer '10.95.200.60' != '10.95.200.61'
CServerReg::IsThisServer '10.95.200.60' == '10.95.200.60'
CServerReg::IsThisServer '10.95.200.61' == '10.95.200.61'
>>> Data Send to 10.95.200.61:8060
REGISTER sip:cee.local SIP/2.0
<<<Packet Received
SIP/2.0 200 OK
ERR [SoKeyC]:GetsubP - subP not found for (Func,Id) (36,99)
CCallNoCall::Subscribe to 'sip:1909@cee.local' state 'SubscribeAsFeature' Initial Timeout -1 isScheduled 1 call 0x95d72090
Shedule 'SubscribeAsFeature' busyFlag 0 num events waiting 0
new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x95d9bfd0)
CreateFailOverProxyList : Reg to Domain 'cee.local' nPort 0
CreateFailOverProxyList : For SUBSCRIBE Request nPort 0
dnsRandomize: initial equal priority is 0 for list of 2 elements
dnsRandomize: priority 0 match for index 1 and 2 out of 2 records
dnsRandomize: priority 0 has a set of values from index 1 to 2 out of 2 records
dnsRandomizeSubset: sum is 0 for subset size 2
dnsRandomizeSubset: shifted 3 bytes. New randNum 0xad 173
dnsRandomizeSubset: For sum 0 1 byte rand # (reg 0.000000 x randNum 173) = 0.000000 -> ceil 0.000000 final 0
dnsRandomizeSubset: SRV selected 1 and inserted at -1 priority 0 weight 0 sum 0 target 'dc-s-cic-app01.cee.local.'
dnsSrv2A calling LookupForList(A) for 'dc-s-cic-app01.cee.local.' port 8060
dnsSrv2A calling LookupForList(A) for 'dc-s-cic-app02.cee.local.' port 8060
doDnsListLookup(udp): doDnsSrvLookupForARecordList for 'cee.local' port 0 returned 2 results
doDnsListLookup(udp): result 0 '10.95.200.60' port 8060 isInBound 0
doDnsListLookup(udp): result 1 '10.95.200.61' port 8060 isInBound 0
CreateFailOverProxyList : 'UDP Only' for 'cee.local' port 0 IP 0 is '10.95.200.60' on udp port 8060
CreateFailOverProxyList : 'UDP Only' for 'cee.local' port 0 IP 1 is '10.95.200.61' on udp port 8060
CServerReg::IsThisServer '10.95.200.60' != '10.95.200.61'
CServerReg::IsThisServer '10.95.200.60' == '10.95.200.60'
CServerReg::IsThisServerOKToSend '10.95.200.60' 'NO' mode Registration expires 0
AdjustProxyListToFailOverState: '10.95.200.60' is NOT OK to send to
CServerReg::IsThisServer '10.95.200.61' == '10.95.200.61'
CServerReg::IsThisServerOKToSend '10.95.200.61' 'NO' mode Registration expires 0
CreateFailOverProxyList : Exit 'UDP Only' lookup with 2 IP Addresses
CreateFailOverProxyList : IP 1 is '10.95.200.60' on udp port 8060
CreateFailOverProxyList : IP 2 is '10.95.200.61' on udp port 8060
CUser::NeedRegisterToThisServer check needed for '10.95.200.60'
CServerReg::IsThisServer '10.95.200.60' != '10.95.200.61'
CServerReg::IsThisServer '10.95.200.60' == '10.95.200.60'
CUser::NeedRegisterToThisServer return TRUE
CStkDialog::CStkDialog SetAddressLocal Config '1909' <1909@cee.local:0>
CStkDialog::CStkDialog AddressLocal set to Config
CStkDialog::SetAddressLocal localTag set to ''
CStkDialog::SetAddressLocal new address added of 1
CStkDialog::CStkDialog TAG 'FDDF9929-390BE33E' generated
CStkDialog::CStkDialog local addr '1909' <1909@cee.local:0> Tag 'FDDF9929-390BE33E'
CStkDialog::CStkDialog exit 0x95d66714 local list size 1
CStkDialogList::CreateDialogObject localTarg usr '1909'
CUser::RegisterNow for registration 0x956915c0 adding new Call 0x95d729f0 for server 'cee.local' IP '10.95.200.60' ICMP UNREG
CUser::RegisterNow for registration to 'cee.local' 0x956915c0 removing old Call 0x95d726d0
CCallNoCall::NewCallState 'Register'->'Idle' (0x95d726d0)
CCallNoCall::NewCallState 'Register'->'Idle' (0x95d726d0)
NewRegisterState: 'Unknown' 'Unregistered' -> 'Registering' Expires 0 Overlap 0 for (0x95d729f0)
CCallNoCall::NewCallState 'Unknown'->'Register' (0x95d729f0)
CCallNoCall::NewCallState 'Unknown'->'Register' (0x95d729f0)
new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x95d9f390)
>>> Data Send to 10.95.200.60:8060
REGISTER sip:cee.local SIP/2.0
 
 
CCallNoCall::NewCallState 'Register'->'Register' (0x95d726d0)
CCallNoCall::NewCallState 'Register'->'Register' (0x95d726d0)
RegClient:RegClient expire 66 overlap 0
IcmpResponse: From '10.95.200.60' trans 0x95d9f0f0
IcmpResponse: allowed due to RROFO Register
CTrans::ICMPResponse workingServer 1 -> 2 0x95d9f0f0
UA Client Non-INVITE REGISTER trans state 'callingTrying'->'completed' by 480 resp 10 timeout(0x95d9f0f0)
CTrans:: REGISTER NonInv reTrans ALREADY stopped in 'completed' state at retryCount 0 code 480, timeout=10 (0x95d9f0f0)
Dialog 'id7f063da2' State 'Trying'->'Confirmed'
NewRegisterState: 'Register' 'Registering' -> 'Unregistered' Expires 66 Overlap 0 for (0x95d726d0)
RROFO self generated 480 for REG caused sub state to 'Unregistered'
CUser::OnRegistered Entry for call 0x95d726d0 with expires 0 ticks Transport 'UDP' inval Method 2 RROFO 1
CUser::OnRegistered m_ServerRegList count: 2
CServerReg::IsThisServer '10.95.200.60' == '10.95.200.60'
CServerReg::Registered 10.95.200.60 'NO' mode Registration expires 0 TTL 9999999 (0x956476a0)
Dialog 'id7f063da2' State 'Confirmed'->'Terminated'

 

Neither the registration nor the DND works.

 

Syslog attached.

 

Amjed

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Polycom Employee & Community Manager

Re: Using DNS SRV, registration fails on second server

Hello Amjed,

welcome to the Polycom Community.

It is always useful to include the currently used software version as issues experienced may already be addressed in a newer release.

This also allows yourself and others to check against current software release notes.

Looking at your Syslog I can see that you are using a hopelessly outdated and no longer supported UC Software 4.0.1.13681

 

Could you kindly update to the latest SIP Variant UC Software 4.0.9 and repeat your test?

 

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

View solution in original post

Message 2 of 6
5 REPLIES 5
Highlighted
Polycom Employee & Community Manager

Re: Using DNS SRV, registration fails on second server

Hello Amjed,

welcome to the Polycom Community.

It is always useful to include the currently used software version as issues experienced may already be addressed in a newer release.

This also allows yourself and others to check against current software release notes.

Looking at your Syslog I can see that you are using a hopelessly outdated and no longer supported UC Software 4.0.1.13681

 

Could you kindly update to the latest SIP Variant UC Software 4.0.9 and repeat your test?

 

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

View solution in original post

Message 2 of 6
Highlighted
Occasional Contributor

Re: Using DNS SRV, registration fails on second server

Thanks for your response Stephen, Can you tell me what this below trace in the syslog mean.

[SoKeyC]:GetsubP - subP not found for (Func,Id) (36,99)

 

Thanks.

Message 3 of 6
Highlighted
Polycom Employee & Community Manager

Re: Using DNS SRV, registration fails on second server

Hello Amjed,

the error is not related to the DNS issue you seem to encounter. A quick look shows this is something to do with mapping of keys.

 

Please ensure you are running a supported software version first before any further testing and after this work with your Polycom reseller if you still have an issue.

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 4 of 6
Highlighted
Occasional Contributor

Re: Using DNS SRV, registration fails on second server

We updated the firmware to the latest and the issue was not observed.

 

Thanks a lot for your help.

 

Message 5 of 6
Highlighted
Polycom Employee & Community Manager

Re: Using DNS SRV, registration fails on second server

Hello Amjed,

thanks for following this up but could you kindly state the UC Software version that in your opinion fixed your issue as in weeks, months or years to come nobody will be able to verify what you classed as latest software at the point of posting your reply.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 6 of 6