I do not know if it works like Polycom and SNOM, but for us we had to first SUBSCRIBE the phones and only then send the NOTIFY The NOTIFY needs to share the same call id as the SUBSCRIBE We actually solved those problems in OpenSIPs, they have a pretty good presence modules and in general OpenSIPs works very good with FreeSWITCH On Thu, Oct 25, 2012 at 12:42 PM, Puskás Zsolt <errotan@elder.hu> wrote:
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-config...
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.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ 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