Re: [SR-Users] Syslog

2013-02-05 Thread Vitaliy Aleksandrov

On 02/04/2013 06:07 PM, Klaus Darilion wrote:



On 04.02.2013 11:26, Vitaliy Aleksandrov wrote:

The problem was caused by memlog and memdbg options.


So, how the problem is triggered and how did you solved it?

regards
Klaus
Both memlog and memdbg were removed from a kamailio config as I don't 
need them for now.
Unfortunately I didn't have a chance to spent more time on resolving 
this issue yet.


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Syslog

2013-02-04 Thread Vitaliy Aleksandrov

The problem was caused by memlog and memdbg options.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Syslog

2013-02-04 Thread Klaus Darilion



On 04.02.2013 11:26, Vitaliy Aleksandrov wrote:

The problem was caused by memlog and memdbg options.


So, how the problem is triggered and how did you solved it?

regards
Klaus

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Syslog

2013-02-01 Thread Vitaliy Aleksandrov

Hi list.

I have a strange problem with syslog.
Kamailio doesn't send any messages to syslog from UDP workers that are 
bound to sock=127.0.0.1:5060.

Neither LM_DBG() from a source code nor xlog(any level, ) works.

I use kamailio-3.2.4 with this opions:
log_stderror=no
debug=3.

With log_stderror=yes kamailio writes all debug messages to stderr 
without any problems.


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Syslog

2013-02-01 Thread Vitaliy Aleksandrov

On 02/01/2013 11:38 AM, Vitaliy Aleksandrov wrote:

Hi list.

I have a strange problem with syslog.
Kamailio doesn't send any messages to syslog from UDP workers that are 
bound to sock=127.0.0.1:5060.

Neither LM_DBG() from a source code nor xlog(any level, ) works.

I use kamailio-3.2.4 with this opions:
log_stderror=no
debug=3.

With log_stderror=yes kamailio writes all debug messages to stderr 
without any problems.

I was wrong in my conclusions
It looks like only the first udp listener has the described problem.
children parameter was set to 1 and after it was changed to 5 UDP 
syslog showed debug messages that were sent by newly added workers.


So the real problem in logging to a syslog from the first UDP worker 
regardless of interface it bound to (eth0, lo).


Does anybody have any idea what can cause this problem ?

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] syslog message about invalid domain name

2012-12-05 Thread Juha Heinanen
when i t_relay in-dialog bye:

Request-Line: BYE sip:0x8eb94d0@[2002:c062:660a::1]:5050;transport=tcp 
SIP/2.0
Message Header
Via: SIP/2.0/TCP 
[2002:C062:660A:0:0:0:0:1];branch=z9hG4bKde53.6aaed77ea908953bbb133e5021d74036.0
Via: SIP/2.0/UDP 
[::1]:5090;received=0:0:0:0:0:0:0:1;branch=z9hG4bKq~ouJaGs;rport=5090
From: sip:j...@as.test.fi;tag=5A29C828-50BEFE55000C7118-B4FF9B70
To:  sip:t...@test.fi;tag=92e26ffbfbc16e53
CSeq: 10 BYE
Call-ID: 28d1e4872cc5f83e
User-Agent: Sip Express Media Server (1.6.0 (x86/linux))
Max-Forwards: 69
Content-Length: 0

with $du set to sip:[2002:C062:660A:0:0:0:0:1]:59933;transport=tcp,
i get to syslog:

Dec  5 09:53:48 sip /usr/sbin/sip-proxy[1947]: INFO: core [resolve.c:729]: 
invalid domain name '[2002:C062:660A:0:0:0:0:1]'

since everything is and works as expected, why is the info message
produced and how can i get rid of it?

-- juha

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] syslog message about invalid domain name

2012-12-05 Thread Daniel-Constantin Mierla

Hello,

looking at the code history, you added this check in the commit 
019ab5e2d6730b764b20a890f9a3b5f9237b6338 .


It is about checking if it is a valid domain, to avoid doing queries on 
invalid values. In this particular case is probably related to presence 
of characters [, ], and :.


Cheers,
Daniel

On 12/5/12 9:04 AM, Juha Heinanen wrote:

when i t_relay in-dialog bye:

 Request-Line: BYE sip:0x8eb94d0@[2002:c062:660a::1]:5050;transport=tcp 
SIP/2.0
 Message Header
 Via: SIP/2.0/TCP 
[2002:C062:660A:0:0:0:0:1];branch=z9hG4bKde53.6aaed77ea908953bbb133e5021d74036.0
 Via: SIP/2.0/UDP 
[::1]:5090;received=0:0:0:0:0:0:0:1;branch=z9hG4bKq~ouJaGs;rport=5090
 From: sip:j...@as.test.fi;tag=5A29C828-50BEFE55000C7118-B4FF9B70
 To:  sip:t...@test.fi;tag=92e26ffbfbc16e53
 CSeq: 10 BYE
 Call-ID: 28d1e4872cc5f83e
 User-Agent: Sip Express Media Server (1.6.0 (x86/linux))
 Max-Forwards: 69
 Content-Length: 0

with $du set to sip:[2002:C062:660A:0:0:0:0:1]:59933;transport=tcp,
i get to syslog:

Dec  5 09:53:48 sip /usr/sbin/sip-proxy[1947]: INFO: core [resolve.c:729]: 
invalid domain name '[2002:C062:660A:0:0:0:0:1]'

since everything is and works as expected, why is the info message
produced and how can i get rid of it?

-- juha

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] syslog message about invalid domain name

2012-12-05 Thread Juha Heinanen
Daniel-Constantin Mierla writes:

 looking at the code history, you added this check in the commit 
 019ab5e2d6730b764b20a890f9a3b5f9237b6338 .
 
 It is about checking if it is a valid domain, to avoid doing queries on 
 invalid values. In this particular case is probably related to presence 
 of characters [, ], and :.

ok, thanks for reminding me.  i'll change the code so that the info
message is not printed.

-- juha

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users