Plantronics + Polycom. Now together as Poly Logo

Polycom cannot handle "301 Moved Permanently" message, on registration

seabra
Occasional Visitor

Polycom cannot handle "301 Moved Permanently" message, on registration

hello there,

i have polycom 330 that send first  "register" to my sip router, sip router reply with "301 moved Permanently", and also change contact header to new address of new server, but polycom doesn't reply, and doesn't send "register" to new address.

 the only thing that i can see on logs is (0730143223|sip  |4|00|Registration failed User: 460, Error Code:301 Moved Permanently)

 

anyone can help me,

Thanks 

Regards

José

Message 1 of 6
5 REPLIES 5
SteffenBaierUK
Polycom Employee & Community Manager

Re: Polycom cannot handle "301 Moved Permanently" message, on registration

Hello Jose,

welcome to the Polycom Community.

We encourage all users in the Faq to follow some simple basic rules:

 

~

  • Provide the Software Version of your Phone
  • Provide the SIP Platform

~

 

As this community is not a replacement for the Polycom Support process I would simply advise you to raise this issue with above details and a wireshark log and your phone's log files via your Polycom reseller.

 

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

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

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

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 2 of 6
seabra
Occasional Visitor

Re: Polycom cannot handle "301 Moved Permanently" message, on registration

hello Steffen,

thank for your reply,

 

the software version of phone is 3.3.4, and the sip platform is Kamailio (sip router),  

 

the scenario is, all polycom's will send the first register to sip router, then phone will receive sip redirect message 301 from sip router, when phone receive this, he cannot handle this message, phone should send back an ack and send new register to new server,(as is described on rfc 3261) 

 

phone log:

 

0730163914|so |*|00|User registration (460) [0-460]
0730163914|sip |3|00|SipSetOption nIndex 34, nParam 4
0730163914|sip |3|00|SipRegister 460 460 460 0
0730163914|sip |3|00|SipOnEvProxyList 0,Total proxy 1
0730163914|sip |3|00|CUser::NewWorkingServer user 0 oldServer -1 newServer 0 expires 0
0730163914|sip |3|00|SipOnEvNewWorkingServer User 0, old -1, new 0, expire 0
0730163914|sip |2|00|CStkDialog::CStkDialog SetAddressLocal Config '460' <460@192.168.10.200:0>
0730163914|sip |2|00|CStkDialog::CStkDialog AddressLocal set to Config
0730163914|sip |3|00|CStkDialog::SetAddressLocal localTag set to ''
0730163914|sip |3|00|CStkDialog::SetAddressLocal new address added of 1
0730163914|sip |2|00|CStkDialog::CStkDialog TAG '42A1F5DB-C3A794FA' generated
0730163914|sip |2|00|CStkDialog::CStkDialog local addr '460' <460@192.168.10.200:0> Tag '42A1F5DB-C3A794FA'
0730163914|sip |2|00|CStkDialog::CStkDialog exit 0x94d4a090 local list size 1
0730163914|sip |2|00|CStkDialogList::CreateDialogObject localTarg usr '460'
0730163914|sip |3|00|SipOnEvRegistrarUpdate User 0, index 0, state 1, expire 0, working 1
0730163914|sip |3|00|NewRegisterState: 'Unknown' 'Unregistered' -> 'Registering' Expires 0 Overlap 0 for (0x94d56650)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Unknown'->'Register' (0x94d56650)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Unknown'->'Register' (0x94d56650)
0730163914|sip |2|00|new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x94d87a10)
0730163914|sip |2|00|CreateFailOverProxyList : Exit 'TCP Preferred' lookup with 1 IP Addresses
0730163914|sip |2|00|CreateFailOverProxyList : IP 1 is '192.168.10.200' on udp port 5060
0730163914|sip |2|00|adjustRetransWhenTimerCreated UA Client Non-INVITE REGISTER state 'callingTrying' timeout=65 (0x94d87a10)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730163914|sip |3|00|RegClient:RegClient expire 66 overlap 0
0730163914|sip |3|00|SipStartFailOver 0
0730163914|sip |3|00|UA Client Non-INVITE REGISTER trans state 'callingTrying'->'completed' by 301 resp 10 timeout(0x94d87a10)
0730163914|sip |2|00|CTrans:: REGISTER NonInv reTrans ALREADY stopped in 'completed' state at retryCount 0 code 301, timeout=10 (0x94d87a10)
0730163914|sip |4|00|Registration failed User: 460, Error Code:301 Moved Permanently
0730163914|sip |3|00|CUser::OnRegistered Entry for call 0x94d56650 with expires 0 ticks Transport 'UDP' inval Method 2 RROFO 0
0730163914|sip |3|00|CUser::NewWorkingServer user 0 oldServer 0 newServer 0 expires 0
0730163914|sip |3|00|SipOnEvNewWorkingServer User 0, old 0, new 0, expire 0
0730163914|sip |3|00|SipOnEvRegistrarUpdate User 0, index 0, state 0, expire 0, working 1
0730163914|sip |2|00|CStkDialog::CStkDialog SetAddressLocal Config '460' <460@192.168.10.200:0>
0730163914|sip |2|00|CStkDialog::CStkDialog AddressLocal set to Config
0730163914|sip |3|00|CStkDialog::SetAddressLocal localTag set to ''
0730163914|sip |3|00|CStkDialog::SetAddressLocal new address added of 1
0730163914|sip |2|00|CStkDialog::CStkDialog TAG 'D7BBF953-F94DEB72' generated
0730163914|sip |2|00|CStkDialog::CStkDialog local addr '460' <460@192.168.10.200:0> Tag 'D7BBF953-F94DEB72'
0730163914|sip |2|00|CStkDialog::CStkDialog exit 0x94d4a3a4 local list size 1
0730163914|sip |2|00|CStkDialogList::CreateDialogObject localTarg usr '460'
0730163914|sip |3|00|Reg UAC Response: code 301 new m_nExpire 117 m_nOverlap 0 ticks Trans 0x94d87a10
0730163914|sip |3|00|SipStartFailOver 0
0730164011|sip |3|00|NoCall::TimeOut500ms 'Registering' m_nExpire == 0 RegisterCall -> Schedule Register listSize 0 lTimeout 0
0730164011|sip |2|00|new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x94d86d50)
0730164011|sip |2|00|CreateFailOverProxyList : Exit 'TCP Preferred' lookup with 1 IP Addresses
0730164011|sip |2|00|CreateFailOverProxyList : IP 1 is '192.168.10.200' on udp port 5060
0730164011|sip |2|00|adjustRetransWhenTimerCreated UA Client Non-INVITE REGISTER state 'callingTrying' timeout=65 (0x94d86d50)
0730164011|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164011|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164011|sip |3|00|RegClient:RegClient expire 66 overlap 0
0730164011|sip |3|00|UA Client Non-INVITE REGISTER trans state 'callingTrying'->'completed' by 301 resp 10 timeout(0x94d86d50)
0730164011|sip |2|00|CTrans:: REGISTER NonInv reTrans ALREADY stopped in 'completed' state at retryCount 0 code 301, timeout=10 (0x94d86d50)
0730164011|sip |3|00|CUser::OnRegistered Entry for call 0x94d56650 with expires 0 ticks Transport 'UDP' inval Method 2 RROFO 0
0730164011|sip |3|00|CUser::NewWorkingServer user 0 oldServer 0 newServer 0 expires 0
0730164011|sip |3|00|SipOnEvNewWorkingServer User 0, old 0, new 0, expire 0
0730164011|sip |3|00|SipOnEvRegistrarUpdate User 0, index 0, state 0, expire 0, working 1
0730164011|sip |2|00|CStkDialog::CStkDialog SetAddressLocal Config '460' <460@192.168.10.200:0>
0730164011|sip |2|00|CStkDialog::CStkDialog AddressLocal set to Config
0730164011|sip |3|00|CStkDialog::SetAddressLocal localTag set to ''
0730164011|sip |3|00|CStkDialog::SetAddressLocal new address added of 1
0730164011|sip |2|00|CStkDialog::CStkDialog TAG 'EC7659EA-417BA769' generated
0730164011|sip |2|00|CStkDialog::CStkDialog local addr '460' <460@192.168.10.200:0> Tag 'EC7659EA-417BA769'
0730164011|sip |2|00|CStkDialog::CStkDialog exit 0x94d4a090 local list size 1
0730164011|sip |2|00|CStkDialogList::CreateDialogObject localTarg usr '460'
0730164011|sip |3|00|Reg UAC Response: code 301 new m_nExpire 96 m_nOverlap 0 ticks Trans 0x94d86d50
0730164011|sip |3|00|SipStartFailOver 0
0730164059|sip |3|00|NoCall::TimeOut500ms 'Registering' m_nExpire == 0 RegisterCall -> Schedule Register listSize 0 lTimeout 0
0730164059|sip |2|00|new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x94d86d50)
0730164059|sip |2|00|CreateFailOverProxyList : Exit 'TCP Preferred' lookup with 1 IP Addresses
0730164059|sip |2|00|CreateFailOverProxyList : IP 1 is '192.168.10.200' on udp port 5060
0730164059|sip |2|00|adjustRetransWhenTimerCreated UA Client Non-INVITE REGISTER state 'callingTrying' timeout=65 (0x94d86d50)
0730164059|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164059|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164059|sip |3|00|RegClient:RegClient expire 66 overlap 0

 

thanks 

Regards

José

Message 3 of 6
SteffenBaierUK
Polycom Employee & Community Manager

Re: Polycom cannot handle "301 Moved Permanently" message, on registration

Hello Jose,

 

as I already mentioned above it is outside the scope of the community to support end users.

 

Please raise this via your Polycom reseller.

 

Best Regards

 

Steffen Baier

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

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

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
RDSousa
Visitor

301 Moved Permanently

Hello there,
we need implement the following scenario:

All polycom's will send the first register to sip router, then phone will receive sip redirect message 301 from sip router and send a new register to new server indicated on sip 301 message contact header.

The problem here is when phone receive this, he cannot handle this kind of messages.
phone should send back an ack when receive 301 message and send a new register to new server,(as is described on rfc 3261), but it doesn't happens.

Note:the sip platform is Kamailio (sip router),


phone log:

0730163914|so |*|00|User registration (460) [0-460]
0730163914|sip |3|00|SipSetOption nIndex 34, nParam 4
0730163914|sip |3|00|SipRegister 460 460 460 0
0730163914|sip |3|00|SipOnEvProxyList 0,Total proxy 1
0730163914|sip |3|00|CUser::NewWorkingServer user 0 oldServer -1 newServer 0 expires 0
0730163914|sip |3|00|SipOnEvNewWorkingServer User 0, old -1, new 0, expire 0
0730163914|sip |2|00|CStkDialog::CStkDialog SetAddressLocal Config '460' <460@192.168.10.200:0>
0730163914|sip |2|00|CStkDialog::CStkDialog AddressLocal set to Config
0730163914|sip |3|00|CStkDialog::SetAddressLocal localTag set to ''
0730163914|sip |3|00|CStkDialog::SetAddressLocal new address added of 1
0730163914|sip |2|00|CStkDialog::CStkDialog TAG '42A1F5DB-C3A794FA' generated
0730163914|sip |2|00|CStkDialog::CStkDialog local addr '460' <460@192.168.10.200:0> Tag '42A1F5DB-C3A794FA'
0730163914|sip |2|00|CStkDialog::CStkDialog exit 0x94d4a090 local list size 1
0730163914|sip |2|00|CStkDialogList::CreateDialogObject localTarg usr '460'
0730163914|sip |3|00|SipOnEvRegistrarUpdate User 0, index 0, state 1, expire 0, working 1
0730163914|sip |3|00|NewRegisterState: 'Unknown' 'Unregistered' -> 'Registering' Expires 0 Overlap 0 for (0x94d56650)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Unknown'->'Register' (0x94d56650)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Unknown'->'Register' (0x94d56650)
0730163914|sip |2|00|new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x94d87a10)
0730163914|sip |2|00|CreateFailOverProxyList : Exit 'TCP Preferred' lookup with 1 IP Addresses
0730163914|sip |2|00|CreateFailOverProxyList : IP 1 is '192.168.10.200' on udp port 5060
0730163914|sip |2|00|adjustRetransWhenTimerCreated UA Client Non-INVITE REGISTER state 'callingTrying' timeout=65 (0x94d87a10)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730163914|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730163914|sip |3|00|RegClient:RegClient expire 66 overlap 0
0730163914|sip |3|00|SipStartFailOver 0
0730163914|sip |3|00|UA Client Non-INVITE REGISTER trans state 'callingTrying'->'completed' by 301 resp 10 timeout(0x94d87a10)
0730163914|sip |2|00|CTrans:: REGISTER NonInv reTrans ALREADY stopped in 'completed' state at retryCount 0 code 301, timeout=10 (0x94d87a10)
0730163914|sip |4|00|Registration failed User: 460, Error Code:301 Moved Permanently
0730163914|sip |3|00|CUser::OnRegistered Entry for call 0x94d56650 with expires 0 ticks Transport 'UDP' inval Method 2 RROFO 0
0730163914|sip |3|00|CUser::NewWorkingServer user 0 oldServer 0 newServer 0 expires 0
0730163914|sip |3|00|SipOnEvNewWorkingServer User 0, old 0, new 0, expire 0
0730163914|sip |3|00|SipOnEvRegistrarUpdate User 0, index 0, state 0, expire 0, working 1
0730163914|sip |2|00|CStkDialog::CStkDialog SetAddressLocal Config '460' <460@192.168.10.200:0>
0730163914|sip |2|00|CStkDialog::CStkDialog AddressLocal set to Config
0730163914|sip |3|00|CStkDialog::SetAddressLocal localTag set to ''
0730163914|sip |3|00|CStkDialog::SetAddressLocal new address added of 1
0730163914|sip |2|00|CStkDialog::CStkDialog TAG 'D7BBF953-F94DEB72' generated
0730163914|sip |2|00|CStkDialog::CStkDialog local addr '460' <460@192.168.10.200:0> Tag 'D7BBF953-F94DEB72'
0730163914|sip |2|00|CStkDialog::CStkDialog exit 0x94d4a3a4 local list size 1
0730163914|sip |2|00|CStkDialogList::CreateDialogObject localTarg usr '460'
0730163914|sip |3|00|Reg UAC Response: code 301 new m_nExpire 117 m_nOverlap 0 ticks Trans 0x94d87a10
0730163914|sip |3|00|SipStartFailOver 0
0730164011|sip |3|00|NoCall::TimeOut500ms 'Registering' m_nExpire == 0 RegisterCall -> Schedule Register listSize 0 lTimeout 0
0730164011|sip |2|00|new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x94d86d50)
0730164011|sip |2|00|CreateFailOverProxyList : Exit 'TCP Preferred' lookup with 1 IP Addresses
0730164011|sip |2|00|CreateFailOverProxyList : IP 1 is '192.168.10.200' on udp port 5060
0730164011|sip |2|00|adjustRetransWhenTimerCreated UA Client Non-INVITE REGISTER state 'callingTrying' timeout=65 (0x94d86d50)
0730164011|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164011|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164011|sip |3|00|RegClient:RegClient expire 66 overlap 0
0730164011|sip |3|00|UA Client Non-INVITE REGISTER trans state 'callingTrying'->'completed' by 301 resp 10 timeout(0x94d86d50)
0730164011|sip |2|00|CTrans:: REGISTER NonInv reTrans ALREADY stopped in 'completed' state at retryCount 0 code 301, timeout=10 (0x94d86d50)
0730164011|sip |3|00|CUser::OnRegistered Entry for call 0x94d56650 with expires 0 ticks Transport 'UDP' inval Method 2 RROFO 0
0730164011|sip |3|00|CUser::NewWorkingServer user 0 oldServer 0 newServer 0 expires 0
0730164011|sip |3|00|SipOnEvNewWorkingServer User 0, old 0, new 0, expire 0
0730164011|sip |3|00|SipOnEvRegistrarUpdate User 0, index 0, state 0, expire 0, working 1
0730164011|sip |2|00|CStkDialog::CStkDialog SetAddressLocal Config '460' <460@192.168.10.200:0>
0730164011|sip |2|00|CStkDialog::CStkDialog AddressLocal set to Config
0730164011|sip |3|00|CStkDialog::SetAddressLocal localTag set to ''
0730164011|sip |3|00|CStkDialog::SetAddressLocal new address added of 1
0730164011|sip |2|00|CStkDialog::CStkDialog TAG 'EC7659EA-417BA769' generated
0730164011|sip |2|00|CStkDialog::CStkDialog local addr '460' <460@192.168.10.200:0> Tag 'EC7659EA-417BA769'
0730164011|sip |2|00|CStkDialog::CStkDialog exit 0x94d4a090 local list size 1
0730164011|sip |2|00|CStkDialogList::CreateDialogObject localTarg usr '460'
0730164011|sip |3|00|Reg UAC Response: code 301 new m_nExpire 96 m_nOverlap 0 ticks Trans 0x94d86d50
0730164011|sip |3|00|SipStartFailOver 0
0730164059|sip |3|00|NoCall::TimeOut500ms 'Registering' m_nExpire == 0 RegisterCall -> Schedule Register listSize 0 lTimeout 0
0730164059|sip |2|00|new UA Client Non-INVITE trans state 'callingTrying', timeout=0 (0x94d86d50)
0730164059|sip |2|00|CreateFailOverProxyList : Exit 'TCP Preferred' lookup with 1 IP Addresses
0730164059|sip |2|00|CreateFailOverProxyList : IP 1 is '192.168.10.200' on udp port 5060
0730164059|sip |2|00|adjustRetransWhenTimerCreated UA Client Non-INVITE REGISTER state 'callingTrying' timeout=65 (0x94d86d50)
0730164059|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164059|sip |3|00|CCallNoCall::NewCallState 'Register'->'Register' (0x94d56650)
0730164059|sip |3|00|RegClient:RegClient expire 66 overlap 0

If do you need more information please let me know.

thanks
Regards
RDSousa

Message 5 of 6
SteffenBaierUK
Polycom Employee & Community Manager

Re: 301 Moved Permanently

Hello Jose,

 

I am not sure why you went through the trouble of creating a new user and then still posted the same log as with your previous user ID.

 

I moved your post to your "old" post and joined these.

 

Please be aware that the community, as already explained before, is not a replacement for the Polycom support process.

 

Please contact your Polycom Reseller, who sold you your phones, and get them to raise a ticket with Polycom support.

 

Best Regards and please do not create / raise more post's with the same content as I will simply remove them.

 

Steffen Baier

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

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

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