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

Reply via email to