[OpenSER-Users] lookup problem

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jul 16 09:39:28 CEST 2007


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?

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.

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 at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   





More information about the Users mailing list