I have Asterisk 11.14.1. I have a mix of Cisco phones on the system. Using a mix of SCCP, SIP TCP, and SIP UDP. I also have a SIP trunk using UDP.
The SCCP phones work fine and I have enabled SIP TCP and those phones work fine as well. The issue I’m having is with the Cisco 7961s. Even though in the config file, I specified to use UDP, when they connect, I get an error in the Asterisk log that status they only support UDP and cannot connect on TCP.
Any ideas how I can get them working without breaking anything else.
Thanks. The TCP SIP phones are working fine. The Cisco 7961 only supports UDP SIP. The sip.config I posted is for the 7961. It seems to be ignoring the transport=UDP because the Asterisk logs states it’s trying to communicate over TCP but the phone only supports UDP. In sip_general_custom.conf I have tcpenable=yes tcpbindaddr=0.0.0.0. When I checked the asterisk server it was only listening on 5060 TCP, not UDP. I just checked again and it’s listening on both now. I’ll do some testing and get back to you.
This is what’s in the asterisk log when the phone tries to register:
[2017-01-21 19:59:36] ERROR[32235]: chan_sip.c:16899 register_verify: ‘TCP’ is not a valid transport for ‘2225’. we only use ‘UDP’! ending call.
[2017-01-21 19:59:36] NOTICE[32235]: chan_sip.c:28091 handle_request_register: Registration from ‘sip:2225@10.10.30.4’ failed for ‘10.10.30.15:27655’ - Device not configured to use this transport type
Also, when I first tried to register the phone, I think the issue was related to the firmware. The latest firmware for this phone causes it not to register, you have to use the previous version. This also caused confusion as well as TCP not being enabled in asterisk when I was first trying to register the SIP phones. This was an all SCCP system and I recently started adding SIP phones.
I just tested and transport=tcp works for this as well. I’m not sure why I was so hung up on UDP.