<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
Hi,<BR>
<BR>
I will try to give more details,<BR>
Actually everything was working fine till I the day I moved my dns server to the same machine with ser. I setup bind9 on the machine where ser is installed. I did the same dns configuration with the old one but after some time ser started to give that error. I then removed bind9 but nothing changed. <BR>
<BR>
Now here is my named.conf<BR>
**********************<BR>
zone "intersan.com.tr" {<BR> type master;<BR> file "/var/cache/bind/intersan.com.tr.hosts";<BR> };<BR>zone "sahratelekom.com.tr" {<BR> type master;<BR> file "/var/cache/bind/sahratelekom.com.tr.hosts";<BR> };<BR>
**********************<BR>
<BR>this is "intersan.com.tr.hosts":<BR>
**********************<BR>
$ttl 38400<BR>intersan.com.tr. IN SOA ns1.intersan.com.tr. alp.intersan.com.tr. (<BR> 1152602393<BR> 10800<BR> 3600<BR> 604800<BR> 38400 )<BR>intersan.com.tr. IN NS ns1.intersan.com.tr.<BR>intersan.com.tr. IN NS ns2.intersan.com.tr.<BR><A href="http://www.intersan.com.tr">www.intersan.com.tr</A>. IN CNAME intersan.com.tr.<BR>intersan.com.tr. IN MX 10 intersan.com.tr.<BR>intersan.com.tr. IN A 85.105.26.49<BR>ns1.intersan.com.tr. IN A 88.248.71.3<BR>ns2.intersan.com.tr. IN A 85.111.0.202<BR>49.26.105.85.intersan.com.tr. IN PTR intersan.com.tr.<BR>
**********************<BR>
<BR>
this is "sahratelekom.com.tr.hosts"<BR>
**********************<BR>
$ttl 38400<BR>sahratelekom.com.tr. IN SOA ns1.intersan.com.tr. alp.intersan.com.tr. (<BR> 1152602935<BR> 10800<BR> 3600<BR> 604800<BR> 38400 )<BR>sahratelekom.com.tr. IN NS ns1.intersan.com.tr.<BR>sahratelekom.com.tr. IN NS ns2.intersan.com.tr.<BR><A href="http://www.sahratelekom.com.tr">www.sahratelekom.com.tr</A>. IN CNAME sahratelekom.com.tr.<BR>sahratelekom.com.tr. IN MX 5 sahratelekom.com.tr.<BR>sahratelekom.com.tr. IN A 85.105.26.49<BR>49.26.105.85.sahratelekom.com.tr. IN PTR sahratelekom.com.tr.<BR>
sip.sahratelekom.com.tr. IN A 85.111.0.205<BR>**********************<BR>
<BR>
I am also pasting the message traffic below.<BR>
<BR>> Date: Mon, 16 Jul 2007 10:39:28 +0300<BR>> From: bogdan@voice-system.ro<BR>> To: kro_ser@hotmail.com<BR>> CC: users@openser.org<BR>> Subject: Re: [OpenSER-Users] lookup problem<BR>> <BR>> Hi Kro,<BR>> <BR>> OpenSER tries to preform NAPTR and SRV lookups on the name before A dns <BR>> lookup. As the debug shows, most probably you do not have NAPTR and SRV <BR>> records for the domain name and the A record is used. Can you confirm <BR>> that the request is forwarded?<BR>
<BR>
When I listen the main interface, here is the traffic<BR>
<BR>
85.105.26.49:17030 -> 85.111.0.205:5060<BR>INVITE<BR>
<BR>
85.111.0.205:5060 -> 85.105.26.49:17030<BR>
SIP/2.0 100 Giving a try<BR>
<BR>
85.111.0.205:5060 -> 85.105.26.49:17030<BR>
SIP/2.0 513 Message too big<BR>
<BR>
85.105.26.49:17030 -> 85.111.0.205:5060<BR>ACK<BR>
<BR>> <BR>> The "message too big" is most probably a side-effect of a request that <BR>> loops on the server because improper configuring - try to lool on <BR>> loopback interface to see if so.<BR>> <BR>
<BR>
The loopback interface traffic is:<BR>
<BR>
85.111.0.205:5060 -> 85.111.0.205:5060<BR>
INVITE<BR>
85.111.0.205:5060 -> 85.111.0.205:5060<BR>
SIP/2.0 100 Giving a try<BR>
--INVITE and Giving a try repeated 5 times--<BR>
<BR>
85.111.0.205:5060 -> 85.111.0.205:5060<BR>
SIP/2.0 513 Message too big<BR>
85.111.0.205:5060 -> 85.111.0.205:5060<BR>
ACK<BR>
--Message too big and ACK repeated 5 times--<BR>
<BR>
thanks<BR>
Kro<BR>
<BR>> regards,<BR>> bogdan<BR>> <BR>> <BR>> <BR>> Kro Kamil wrote:<BR>> > Hello,<BR>> > <BR>> > Actually it does not look like a ser problem but I could not find a <BR>> > way out so I am asking your help.<BR>> > When I try to make a call, after calling lookup function I get the <BR>> > following error and then a "message too big" reply.<BR>> > <BR>> > *************************<BR>> > DEBUG:sip_resolvehost2: no port, no proto -> do NAPTR lookup!<BR>> > get_record: lookup(sip.sahratelekom.com.tr, 35) failed<BR>> > DEBUG:sip_resolvehost2: no valid NAPTR record found for <BR>> > sip.sahratelekom.com.tr, trying direct SRV lookup...<BR>> > get_record: lookup(_sip._udp.sip.sahratelekom.com.tr, 33) failed<BR>> > DEBUG:sip_resolvehost2: no valid SRV record found for <BR>> > _sip._udp.sip.sahratelekom.com.tr, trying A record lookup...<BR>> > *************************<BR>> > <BR>> > When I look at the code I saw that "res_search" function is called in <BR>> > "get_record" function and it returns -1 which says that it could not <BR>> > resolve hostname. My "resolv.conf" file is properly configured and I <BR>> > can ping and resolve any address from command line including <BR>> > "sip.sahratelekom.com".<BR>> > Do you have any idea about this problem?<BR>> > <BR>> > thanks<BR>> > <BR>> > Kro<BR>> ><BR>> > ------------------------------------------------------------------------<BR>> > Live.com'u deneyin - hızlı ve kişiselleştirilmiş giriş sayfanızla <BR>> > istediğiniz her şey tek bir yerde. tek bir yerde. <BR>> > <http://www.live.com/getstarted><BR>> > ------------------------------------------------------------------------<BR>> ><BR>> > _______________________________________________<BR>> > Users mailing list<BR>> > Users@openser.org<BR>> > http://openser.org/cgi-bin/mailman/listinfo/users<BR>> > <BR>> <BR><BR><br /><hr />Live.com'u deneyin - hızlı ve kişiselleştirilmiş giriş sayfanızla istediğiniz her şey tek bir yerde. <a href='http://www.live.com/getstarted' target='_new'>tek bir yerde.</a></body>
</html>