[SR-Users] syslog message about invalid domain name

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 5 09:38:39 CET 2012


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:jh at as.test.fi>;tag=5A29C828-50BEFE55000C7118-B4FF9B70
>          To: "" <sip:test at 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 at 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




More information about the sr-users mailing list