Whenever we restart asterisk many of our phones can’t register anymore.
If I sniff the interface on the asterisk box I see this with ngrep.
U 10.10.180.133:5060 -> 10.10.180.2:5060
REGISTER sip:10.10.180.2:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.180.133:5060;branch=z9hG4bKe2159c024c309805f.
CSeq: 7872 REGISTER.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO.
Allow-Events: talk, hold, conference.
Contact: 126 <sip:firstname.lastname@example.org:5060;transport=udp>;expires=120.
User-Agent: Aastra 55i/18.104.22.168.
Nothing shows up w/ “sip debug”. There is no response from asterisk either. I can ping the phone from the asterisk box just fine. Asterisk box is on the same subnet.
This is my sip.conf:
callerid=Jo Bob <126>
I have never seen this before. It seems the server its self is getting it but it’s not making its way to asterisk. If you reboot the server what happens ? Can you make calls out from asterisk after a restart ?
If I reboot some but not all phones are able to register… same thing happens if i just restart the asterisk process.
Since then I’ve downgrade to 22.214.171.124 as we were hitting some bug with 1.4.21.
802.1q have any affect on asterisk/sip/udp? Or port-channeling/lcap/etherchannel?
Not sure. If you think it’s a bug you may want to put in a ticket at bugs.digium.com
by sip debug, can you find the register message send from your ip phone? it is the only reason that weather your ip phone send the register to asterisk or not.
if you reboot your ip phone, and wait some time, such as 1 minute? can it registered? try to change the register period to have a try.
I moved from using the window’s dhcpd to ISC dhcpd on a linux box. That solved everything. I was able to restart all the phones and they all registered fine after that. Some phones got new IPs, others kept the same IP that was issued to them from the window’s dhcpd originally (ISC dhcpd is set to use the same range). I’m able to restart asterisk and all the phone come back now.
I had 5 polycom SoundStation IP 4000 phones that had the same problem but had to remove the dhcp lease so they would get new IPs before being able to register.
I’m now able to shutdown asterisk for a few minutes and have all the phones reregister.
Back again. Same thing happens. I submitted a bug.