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

Yiftach Golan yiftah at choochee.com
Fri Oct 26 00:50:28 MSD 2012


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.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/bed41177/attachment-0001.html 


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