Read the articles here:

http://wiki.freeswitch.org/wiki/Event_Socket#sendevent

You need something like this:

sendevent NOTIFY
profile: internal
event-string: reboot
user: 1000
host: 10.20.30.40
content-type: application/simple-message-summary

Maybe you need restart or reset instead of reboot after the "event-string"



2012-10-25 13:19 keltezéssel, Babak Yakhchali írta:
Hi
Is there anyway to send a notify message to a cisco phone with sip firmware to reset or restart it like this link:
http://www.freepbx.org/forum/freepbx/tips-and-tricks/cisco-9971-phone-configuration-working-example-with-setup-tips

The following variables and functions should be included in sip_notify_custom.conf settings:
[cisco-restart]
Event=>service-control
Subscription-State=>active
Content-Type=>text/plain
Content=>action=restart
Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}}
Content=>ConfigVersionStamp={0000000000000000}
Content=>DialplanVersionStamp={0000000000000000}
Content=>SoftkeyVersionStamp={0000000000000000}

[cisco-reset]
Event=>service-control
Subscription-State=>active
Content-Type=>text/plain
Content=>action=reset
Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}}
Content=>ConfigVersionStamp={0000000000000000}
Content=>DialplanVersionStamp={0000000000000000}
Content=>SoftkeyVersionStamp={0000000000000000}



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org