[Serusers] fixup_hostport2proxy

Tuan Nguyen tuansip.vn at googlemail.com
Fri Nov 30 14:05:57 CET 2007


thanks for response!

why i don't see that problem with SER 0.9.6? With that version my system
(SER-SER-SEMS-UAC) work good.

i had checked /etc/hosts, local hostname "localhost" is there and with ping
operation too.

I guess, somehow with new version that i have to fix.

Tuan.


On Nov 30, 2007 11:46 AM, Atle Samuelsen <clona at cyberhouse.no> wrote:

>
> Hmm.. I'm guessing you are missing the hostname "localhost" in
> /etc/hosts on your machine..
>
> It should look like :
> 127.0.0.1               localhost.localdomain localhost
>
> Try to do ping localhost, it "should" return 127.0.0.1
>
> -Atle
>
> * Tuan Nguyen <tuansip.vn at googlemail.com> [071130 11:36]:
> > Hi everyone,
> >
> > i have a problem when i try with two version of SER: SER 0.9.6 and SER
> > 2.1to connect with SEMS (the 1. SER proxy ). With SER
> > 0.9.6 i don't have problem when start it, but with SER 2.1 it's so:
> >
> >  0(13446) ERROR: mk_proxy: could not resolve hostname: "localhost"
> >  0(13446) ERROR: fixup_hostport2proxy: bad host name in URI <localhost>
> >
> > I guess, problem locate in this code:
> >
> >                     log("Forwarding to 5070");
> >                     rewritehostport("localhost:5070");
> >                     t_relay_to_udp("localhost","5070");
> >
> > Anyone know that where can i fix this problem with new version of SER?
> >
> > Thanks for responce.
> > Tuan.
>
> > _______________________________________________
> > Serusers mailing list
> > Serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20071130/007a150d/attachment.htm>


More information about the sr-users mailing list