Does anyone know how to remotely reboot a Cisco 7941 with SIP firmware?
On the 7940 it was possible to reset via telnet, but this option does not exist via ssh on the 7941.
I also tried sending a check-sync event via SIP NOTIFY (seen at http://www.cisco.com/univercd/cc/td/doc/product/voice/c_ipphon/english/ipp7960/addprot/sip/admin/ver7_5/sipmn75.htm, so not documentation for 7941, but older phone). I'm sending:
NOTIFY sip:hp_2@192.168.3.194:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.3.4.237:5060;branch=z9hG4bK06fa5bd6;rport
From: "amathor" <sip:amathor@10.3.4.237>;tag=as1278efea
To: <sip:hp_2@192.168.3.194:5060;transport=udp>
Contact: <sip:amathor@10.3.4.237>
Call-ID: 18c6e2416c4fc6ca6ca5754954c6e962@10.3.4.237
CSeq: 102 NOTIFY
User-Agent: Amathor PBX
Max-Forwards: 70
Event: check-sync
Content-Length: 0
The phone logs:
DBG 16:31:54.311331 JVM: SIPTaskProcessSIPMessage: Received SIP message NOTIFY.
DBG 16:31:54.312884 JVM: SIPTaskProcessSIPNotify: NOTIFY: check-sync
DBG 16:31:54.313763 JVM: sipSPISendErrorResponse: Sending response 200...
DBG 16:31:54.315930 JVM: sipRelDevCoupledMessageStore: Storing for reTx (cseq=102,
method=NOTIFY, to_tag=<>)
DBG 16:31:54.317631 JVM: sipTransportSendMessage: Opened a one-time UDP send channel to
server <192.168.3.1>:<5060>, handl
ocal port= 0
DBG 16:31:54.318993 JVM: sipTransportSendMessage:Sent SIP message to
<192.168.3.1>:<5060>, handle=<29>, length=<338>, mess
DBG 16:31:54.319878 JVM: SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.3.4.237:5060;branch=z9hG4bK06fa5bd6;rport;received=192.168.3.1
From: "amathor" <sip:amathor@10.3.4.237>;tag=as1278efea
To: <sip:hp_2@192.168.3.194:5060;transport=udp>
Call-ID: 18c6e2416c4fc6ca6ca5754954c6e962@10.3.4.237
Date: Tue, 15 Jan 2008 15:31:54 GMT
CSeq: 102 NOTIFY
Content-Length: 0
DBG 16:31:54.321373 JVM: sipTransportSendMessage: Closed a one-time UDP send channel
handle = 29
DBG 16:31:56.400547 JVM: SIPTaskProcessListEvent: cmd = 0x0
DBG 16:31:56.401718 JVM: SIPTaskProcessListEvent: cmd = 0x67
So it seems like it understands the message, but it does not request any files via tftp and it does not reset.
Anyone knows how it can be done?
Michael