The purpose of the script is to check if the registrar function works properly 
in the SIP server. You can use the script for an example in an external program 
to monitor the SIP registrar function and trigger an alarm as it returns 
different shell codes depending on the SIP response code. It makes perfect 
sense to use such test program one shot or to keep it running continuously if 
you prefer so.

Adrian

On May 24, 2012, at 10:04 PM, [email protected] wrote:

> Thanks. I did see the -h options but the description for -r didn't really 
> make much sense.
> 
> 
> 
> On , Adrian Georgescu <[email protected]> wrote:
> > That is done on purpose. If you want to stay registered and not exit after 
> > fist attempt you can pass command line argument -r.
> > 
> > 
> > 
> > Type -h for help for a lists of available parameters and their meaning.
> > 
> > 
> > 
> > Adrian
> > 
> > 
> > 
> > On May 24, 2012, at 6:48 PM, [email protected] wrote:
> > 
> > 
> > 
> > > I'm playing with the SIP SIMPLE SDK and the sipclients package and I am 
> > > having an issue with the "sip-register" command. My account is able to 
> > > register without issue but then after registering it sends a REGISTER 
> > > message with Expires: 0 and unRegisters itself right away. Not sure why 
> > > it does this. Here is the command line output
> > 
> > >
> > 
> > > root@debian:~# sip-register -a [email protected]
> > 
> > > using set_wakeup_fd
> > 
> > > Using account [email protected]
> > 
> > > 2012-05-24 11:39:06 Registered contact "sip:[email protected]:47265" for 
> > > sip:[email protected] at 50.XXX.XXX.156:5060;transport=udp (expires in 
> > > 3600 seconds).
> > 
> > > 2012-05-24 11:39:06 Registration ended.
> > 
> > >
> > 
> > >
> > 
> > > I don't hit control-D or anything to end the registration. It just ends 
> > > itself.
> > 
> > >
> > 
> > >
> > 
> > > Here is the version info
> > 
> > >
> > 
> > > Package: python-sipsimple-dbg
> > 
> > > Source: python-sipsimple
> > 
> > > Version: 0.20.0squeeze
> > 
> > >
> > 
> > > Package: sipclients
> > 
> > > Version: 0.20.0squeeze_______________________________________________
> > 
> > > Users mailing list
> > 
> > > [email protected]
> > 
> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > 
> > Users mailing list
> > 
> > [email protected]
> > 
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > 
> >_______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to