sending notify to reset or restart cisco sip ip phones
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}
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.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
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
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@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@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@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.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
I can not find anything about it on the net! can you guide me where the info about it is hidden please. On Fri, Oct 26, 2012 at 2:29 AM, Brian West <brian@freeswitch.org> wrote:
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@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@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@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.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Thanks. Finally I found the way I should send the restart request. I'm using sofia profile internal check_sync 223@192.168.1.3 But nothing happens. I captured packets sent from freeswitch to my Cisco Ip Communicator and attached them. it seems softphone is sending bad request.
You need to make sure you're on the latest code first. -- Brian West brian@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 27, 2012, at 5:21 PM, Babak Yakhchali <babak.freeswitch@gmail.com> wrote:
Thanks. Finally I found the way I should send the restart request. I'm using sofia profile internal check_sync 223@192.168.1.3 But nothing happens. I captured packets sent from freeswitch to my Cisco Ip Communicator and attached them. it seems softphone is sending bad request.
I updated 2 days ago! I captured packets from a cucm and they look like fs packets. but I donno why it is not working On Mon, Oct 29, 2012 at 7:24 AM, Brian West <brian@freeswitch.org> wrote:
You need to make sure you're on the latest code first. -- Brian West brian@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 27, 2012, at 5:21 PM, Babak Yakhchali <babak.freeswitch@gmail.com> wrote:
Thanks. Finally I found the way I should send the restart request. I'm using sofia profile internal check_sync 223@192.168.1.3 But nothing happens. I captured packets sent from freeswitch to my Cisco Ip Communicator and attached them. it seems softphone is sending bad request.
_________________________________________________________________________ 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
participants (4)
-
Babak Yakhchali
-
Brian West
-
Puskás Zsolt
-
Yiftach Golan