[Serusers] How to use "serctl file <file_name" command?
Atle Samuelsen
clona at cyberhouse.no
Fri Sep 23 07:10:45 CEST 2005
Great to hear :D
- Atle
* Bhaskar Bhumkar <Bhaskar.Bhumkar at Sun.COM> [050923 00:33]:
> 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.
>
> Thanks again,
>
>
> Bhaskar...
>
>
>
> Atle Samuelsen wrote:
>
> >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 sip:something at somethinelse.com
> >
> >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 <Bhaskar.Bhumkar at Sun.COM> [050922 22:19]:
> >
> >
> >>Hi,
> >>
> >>Thanks for the rpely. Could you give me a pointer to the serctl
> >>documentation? I was trying the following admin guide :
> >>
> >>http://www.iptel.org/ser/doc/seruser/seruser.html
> >>
> >>But did not get any details for serctl to reset cisco phone.
> >>
> >>
> >>Regards,
> >>Bhaskar...
> >>
> >>
> >>
> >>Atle Samuelsen wrote:
> >>
> >>
> >>
> >>>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 <Bhaskar.Bhumkar at Sun.COM> [050922 00:06]:
> >>>
> >>>
> >>>
> >>>
> >>>>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...
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>>_______________________________________________
> >>>>Serusers mailing list
> >>>>serusers at lists.iptel.org
> >>>>http://lists.iptel.org/mailman/listinfo/serusers
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>--
> >><http://www.sun.com> * Bhaskar Bhumkar *
> >>
> >>*Sun Microsystems, Inc.*
> >>4210 Network Cir, Mailstop USCA21-212
> >>Santa Clara, CA 95054
> >>Phone x49122/+1 510 550 7451
> >>Email Bhaskar.Bhumkar at Sun.COM
> >>
> >>
> >>
> >>
>
> --
> <http://www.sun.com> * Bhaskar Bhumkar *
>
> *Sun Microsystems, Inc.*
> 4210 Network Cir, Mailstop USCA21-212
> Santa Clara, CA 95054
> Phone x49122/+1 510 550 7451
> Email Bhaskar.Bhumkar at Sun.COM
>
>
More information about the sr-users
mailing list