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