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

Reply via email to