[OpenSIPS-Users] sipclients package - Register Issue

duane.larson at gmail.com duane.larson at gmail.com
Thu May 24 22:21:10 CEST 2012


Gotcha. Thanks for the info and the response.


On , Adrian Georgescu <ag at ag-projects.com> wrote:
> 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, duane.larson at gmail.com wrote:



> > Thanks. I did see the -h options but the description for -r didn't  
> really make much sense.

> >

> >

> >

> > On , Adrian Georgescu ag at ag-projects.com> 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, duane.larson at gmail.com 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 at debian:~# sip-register -a 9018XX9XX8 at lcity.com

> > >

> > > > using set_wakeup_fd

> > >

> > > > Using account 9018XX9XX8 at lcity.com

> > >

> > > > 2012-05-24 11:39:06 Registered  
> contact "sip:izxqyuhm at 10.0.2.15:47265" for sip:9018XX9XX8 at lcity.com 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

> > >

> > > > Users at lists.opensips.org

> > >

> > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users

> > >

> > >

> > >

> > >

> > >

> > > _______________________________________________

> > >

> > > Users mailing list

> > >

> > > Users at lists.opensips.org

> > >

> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users

> > >

> > >_______________________________________________

> > Users mailing list

> > Users at lists.opensips.org

> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users





> _______________________________________________

> Users mailing list

> Users at lists.opensips.org

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120524/07d1c73d/attachment-0001.htm>


More information about the Users mailing list