<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#c0c0c0" text="#000000">
Thank you. This is exactly what I was looking for. I also verified that
I can modify this script to send other requests like INVITE instead of
NOTIFY.<br>
<br>
Thanks again,<br>
<br>
<br>
Bhaskar...<br>
<br>
<br>
<br>
Atle Samuelsen wrote:
<blockquote cite="mid20050922205317.GD53301@chuck.cyberhouse.no"
type="cite">
<pre wrap="">Hi Bhaskar,
if you type : serctl, you will get this line out :
cisco_restart <uri> .. restart a Cisco phone (NOTIFY)
So, to restart a cisco phone (infact just send a NOTIFY) serctl
cisco_restart <a class="moz-txt-link-abbreviated" href="mailto:sip:something@somethinelse.com">sip:something@somethinelse.com</a>
Here's a cutout from the serctl script.
cisco_restart)
if [ "$#" -ne 2 ] ; then
usage
exit 1
fi
RET=`fifo_cmd t_uac_dlg NOTIFY "$2" "." \
"From: sip:daemon@$SIP_DOMAIN" \
"To: <$2>" "Event: check-sync" \
"Contact: <sip:daemon@!!>" "." "." |
head -1 `
print_status $RET
;;
As you see, this one sends a Notify.
Hopefully this can help you :-)
- Atle
* Bhaskar Bhumkar <a class="moz-txt-link-rfc2396E" href="mailto:Bhaskar.Bhumkar@Sun.COM"><Bhaskar.Bhumkar@Sun.COM></a> [050922 22:19]:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
Thanks for the rpely. Could you give me a pointer to the serctl
documentation? I was trying the following admin guide :
<a class="moz-txt-link-freetext" href="http://www.iptel.org/ser/doc/seruser/seruser.html">http://www.iptel.org/ser/doc/seruser/seruser.html</a>
But did not get any details for serctl to reset cisco phone.
Regards,
Bhaskar...
Atle Samuelsen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Bhaskar,
I think I would take a quick peek at the serctl script, if you look at
the section that is used to reset Cisco Phones, you would see how a
sip-message is sent out true the serctl, and you could out from that
make serctl do whatever you want it to :-)
-Atle
* Bhaskar Bhumkar <a class="moz-txt-link-rfc2396E" href="mailto:Bhaskar.Bhumkar@Sun.COM"><Bhaskar.Bhumkar@Sun.COM></a> [050922 00:06]:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I am planning to use SER to send some SIP requests. Is it possible to
initiate requests like INVITE from SER? If yes, how can I do that?
I saw the description of "serctl file <file_name" and it is supposed to
be used to read commands from a file. Does it refer to rest of the
serctl commands or SIP requests like INVITE, REGISTER?
Appreciate your help,
Regards,
Bhaskar...
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">--
<a class="moz-txt-link-rfc2396E" href="http://www.sun.com"><http://www.sun.com></a>         * Bhaskar Bhumkar *
*Sun Microsystems, Inc.*
4210 Network Cir, Mailstop USCA21-212
Santa Clara, CA 95054
Phone x49122/+1 510 550 7451
Email <a class="moz-txt-link-abbreviated" href="mailto:Bhaskar.Bhumkar@Sun.COM">Bhaskar.Bhumkar@Sun.COM</a>
        
</pre>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table border="0" cellpadding="0" cellspacing="0" width="519">
<tbody>
<tr valign="top">
<td height="121" width="98"><a href="http://www.sun.com"><img
moz-do-not-send="true" src="http://www.sun.com/emrkt/sigs/6h_top.gif"
border="0" height="92" width="98"></a></td>
<td style="font-family: Arial; font-size: 10px;" height="121"
width="249"><b> Bhaskar Bhumkar </b><br>
<br>
<b>Sun Microsystems, Inc.</b><br>
4210 Network Cir, Mailstop USCA21-212<br>
Santa Clara, CA 95054<br>
Phone x49122/+1 510 550 7451<br>
Email <a class="moz-txt-link-abbreviated" href="mailto:Bhaskar.Bhumkar@Sun.COM">Bhaskar.Bhumkar@Sun.COM</a><br>
</td>
<td style="font-family: Arial; font-size: 10px;" width="172"><img
moz-do-not-send="true" src="http://www.sun.com/emrkt/sigs/q01.gif"
height="118" width="172"></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>