Hi all,
My asterisk (1.6.0) binds on 5060 (bindport=5060 in sip.conf) and it has a registration to an ITSP on port 5061 (register => UUU:PPP@:5061/UUU).
I don’t know why asterisk sends the REGISTER packet with the contact port 5061 instead of 5060:
U <MY_ASTERISK>:5060 -> :5061
REGISTER sip::5061 SIP/2.0.
Via: SIP/2.0/UDP <MY_ASTERISK>:5060;branch=zbK190c51b2;rport.
Max-Forwards: 70.
From: <sip:UUU:PPP@>;tag=as74befb19.
To: <sip:UUU:PPP@>.
Call-ID: 677b2a8901cf26ace2d5053d6ccd@<MY_ASTERISK>.
CSeq: 102 REGISTER.
User-Agent: Asterisk
Expires: 120.
Contact: sip:s@MY_ASTERISK:5061. <<------
Event: registration.
Content-Length: 0.
.
Why “Contact: sip:s@MY_ASTERISK:5061”??
This is a problem because ITSP sends INVITE to MY_ASTERISK on port 5061 instead of 5060…
Can you help me? Is a misconfiguration or a BUG?
Thanks