Invalid Port Number in Via

I am trying to reset a phone using a sip notify message from the asterisk CLI, the phone log shows the following error.
Both the Via line and the Contact line are showing the localhost IP address and port 0.

other notify messages from asterisk to the phones have the correct IP address and port number listed in the VIA line.
Any help with this will be much appreciated.

DBG 16:35:27.558245 JVM:
sippmh_parse_via: Invalid port number in Via
DBG 16:35:27.560251 JVM:
sippmh_parse_via: Invalid port number in Via
ERR 16:35:27.561134 JVM: Sendresponse: Error: Bad Via Header in Message! returned error.
ERR 16:35:27.562503 JVM: SIPTaskProcessSIPMessage: Error: sipSPISendErrorResponse(400) failed.
ERR 16:35:27.563975 JVM: SIPTaskProcessSIPMessage: Error: sippmh_is_message_complete() returned error.
DBG 16:35:29.153530 JVM: sip_platform_udp_channel_read: rcvd on fd[23]
DBG 16:35:29.154987 JVM: SIPProcessUDPMessage: recv UDP message from <172.16.0.155>:<5060>, length=<592>, message=
DBG 16:35:29.155851 JVM: NOTIFY sip:249@172.16.6.42:5060;transport=udp SIP/2.0
[color=#FF0000]Via: SIP/2.0/UDP 127.0.0.1:0;[/color]branch=z9hG4bK61e3e98e
Max-Forwards: 70
From: “Unknown” sip:Unknown@127.0.0.1:0;tag=as4990b6b0
To: sip:249@172.16.6.42:5060;transport=udp
Contact: sip:Unknown@127.0.0.1:0
Call-ID: 4e77cd1a4e53c10235a9a94769663bec@127.0.0.1:0
CSeq: 102 NOTIFY
User-Agent: FPBX-2.9.0(1.8.7.0)
Date: Wed, 25 Jan 2012 22:35:26 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Subscription-State: terminated
Event: check-sync
Content-Length: 0

DBG 16:35:29.158209 JVM:
sippmh_parse_via: Invalid port number in Via
DBG 16:35:29.160304 JVM:
sippmh_parse_via: Invalid port number in Via
ERR 16:35:29.161185 JVM: Sendresponse: Error: Bad Via Header in Message! returned error.
ERR 16:35:29.162519 JVM: SIPTaskProcessSIPMessage: Error: sipSPISendErrorResponse(400) failed.
ERR 16:35:29.163030 JVM: SIPTaskProcessSIPMessage: Error: sippmh_is_message_complete() returned error.
DBG 16:35:32.353251 JVM: sip_platform_udp_channel_read: rcvd on fd[23]
DBG 16:35:32.354357 JVM: SIPProcessUDPMessage: recv UDP message from <172.16.0.155>:<5060>, length=<592

Try putting

bindaddr=172.16.0.155:5060 in your sip.conf or sip_general_custom.conf as this is where FPBX puts its custom settings.

Thank you that fixed the error.
Phone still does not respond to check-sync (Cisco 7941 sip41.8-5-2s) Could be the firmware.