[Kamailio-Users] mk_proxy: could not resolve hostname

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 14 12:18:25 CET 2010


Hello,

On 1/14/10 11:56 AM, kévin l'heveder wrote:
> Hi,
>
> I'm using kamailio V3.0
>
> In the kamailio.cfg when I use the "send" function with an IP inside (as send("127.0.01:51001"), I see the following error :
>
>
> mk_proxy: could not resolve hostname:
> "127.0.01:51001"
>
> At first, kamailio was sending request to the DNS server which define in resolv.conf to resolve"127.0.01:51001"
>
> The DNS could not resolve this name then the error occured
>
> So I removed this defined DNS and now no request are sending but still have the same error.
>
> I tried to set dns and use_dns_search_list parameters to no, but that's change nothing
>
>
> Anybody have any ideas?
if it is in between double quotes it considers to be hostname, for now try:

send(ip, port)

send(127.0.01, 51001)

I will try to see if I can add easily Kamilio1.5 compatibility parameter 
format.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100114/d450ec20/attachment.htm>


More information about the Users mailing list