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.
Max-Forwards: 70.
From: <sip:126@10.10.180.2:5060>;tag=efab51048d.
To: <sip:126@10.10.180.2:5060>.
Call-ID: 37f2ba051f7311c5.
CSeq: 7872 REGISTER.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO.
Allow-Events: talk, hold, conference.
Contact: 126 <sip:126@10.10.180.133:5060;transport=udp>;expires=120.
User-Agent: Aastra 55i/2.2.1.25.
Content-Length: 0.
Nothing shows up w/ “sip debug”. There is no response from asterisk either. I can ping the phone from the asterisk box just fine.
This is my sip.conf:
[126]
type=friend
secret=xxxxxxxxx
record_out=On-Demand
record_in=On-Demand
qualify=yes
port=5060
pickupgroup=
nat=yes
mailbox=126@device
host=dynamic
dtmfmode=auto
dial=SIP/126
context=from-internal
canreinvite=no
callgroup=
callerid=Jo Bob <126>
accountcode=
call-limit=50
Any ideas?