[Freeswitch-users] sending notify to reset or restart cisco sip ip phones

Brian West brian at freeswitch.org
Fri Oct 26 02:59:19 MSD 2012


You know the reboot section in FreeSWITCH can already send that exact notify for the Cisco phones.  It was added last month sometime by MikeJ and I once I found the hiding information on the net.
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH_Wire
T: +1.918.420.9266  |  F: +1.918.420.9267  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9266
UK: +44 20 3298 4900
ISN: 410*543





On Oct 25, 2012, at 4:50 PM, Yiftach Golan <yiftah at choochee.com> wrote:

> 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 at 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-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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> 
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> 
>> FreeSWITCH-users mailing list
>> 
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> 
>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list