The bottom idea is that you need to send a custom NOTIFY to the phone,
in order to restart (the ctl function has a builtin functionality for
the cisco-like phone).
So, you can directly use the MI function from TM to fire a NOTIFY
request (via t_uac_dlg command) :
http://www.opensips.org/html/docs/modules/1.7.x/tm.html#id294568
Pass as parameters to the function:
NOTIFY
SIP_RURI_TO_POINT_TO PHONE
SIP_URI_TO_POINT_TO_OPENSIPS
.
"From:xxxxxxx \r\nTo: xxxxxx \r\nCustom-hdr: xxxxx \r\n"
You can use the "opensipsctl fifo " to fire a custom MI command
Regards,
Bogdan
On 12/28/2011 03:47 PM, Schneur Rosenberg wrote:
I understand, in asterisk I can modify the sip_notify.conf file to add
phones, question is how do I do it in opensips for example on linksys
in asterisk I do "sip notify linksys-cold-restart peername" I've seen
that opensips has " cisco_restart<uri>" is there something similar
for linsys/sipura phones?
On Wed, Dec 28, 2011 at 3:39 PM, Bogdan-Andrei Iancu
<[email protected]> wrote:
Hi Schneur,
That depends on the phone you are using - so you need to check the docs for
that.
Regards,
Bogdan
On 12/28/2011 03:09 PM, Schneur Rosenberg wrote:
Is there a way to reboot phones, similar to asterisk "sip notify" command?
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users