[Asterisk-Dev] chan_sip

Paweł Gołaszewski blues at ds.pg.gda.pl
Wed May 21 04:20:51 MST 2003


I have in my sip.conf:
register => login at mysecond.sip.server.pl/locallogin

It's registering fine, works.
But sometimes after making reload in CLI interface I get strange log 
entries:
May 20 14:34:39 NOTICE[13326]: File chan_sip.c, Line 2476 (sip_reg_timeout): Registration for '@0.0.0.0' timed out, trying again
May 20 14:34:39 WARNING[13326]: File chan_sip.c, Line 364 (__sip_xmit): sip_xmit of 0x80c832c (len 337) to 0.0.0.0 returned -1: Invalid argument
In next reload attempt I had (don't know why this address...):
May 21 11:05:52 NOTICE[13326]: File chan_sip.c, Line 2529 (sip_reg_timeout): Registration for 'h323 at 108.0.0.1' timed out, trying again
May 21 11:05:52 WARNING[13326]: File chan_sip.c, Line 384 (__sip_xmit): sip_xmit of 0x80f6c7c (len 372) to 108.0.0.1 returned -1: Invalid argument

Maybe line 1261 from channels/chan_sip.c is guilty... but where is that 
address lost when reloading?

Second thing - when I forgot to make /var/log/asterisk/cdr-csv/ directory 
I had always in my logs:
May 21 09:08:16 NOTICE[13326]: File chan_sip.c, Line 2476 (sip_reg_timeout): Registration for 'h323 at my.ip.here' timed out, trying again
In this case Call Detail Recording should simply ommited. After creating 
directory everything started working fine...

I'm using cvs version from yesterday.

P.S.: how to register in this case with password authentication? Is it 
possible?

-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
worth to see: http://www.againsttcpa.com/
CPU not found - software emulation...



More information about the asterisk-dev mailing list