Bogdan-Andrei Iancu wrote:
Hi Federico,
that's strange, but I will say it has nothing to do with openser, since
it uses for DNS sys calls offered by the system libs.....
any updates?
Yes, I traced the problem to the gethostbyname() function.
It seems that it returns NULL the SECOND time it's called by the same
process!
I still don't know why...
It's strage that it happened just after I upgraded to 3.8, but it's
strange that nobody else of OpenBSD experienced it, too!
Bye.
Federico Giannici wrote:
Yesterday I upgraded the version of the operating
system of our sip
server from OpenBSD amd64 3.7 to 3.8.
Now I noticed that domain name lookups seems to don't work anymore and
the INVITES are replyed with 478.
Here is an example of the logs:
Dec 5 13:11:03 eowyn OpenSER[15740]: ERROR: mk_proxy: could not
resolve hostname: "voip.eutelia.it"
Dec 5 13:11:03 eowyn OpenSER[15740]: ERROR: uri2proxy: bad host name
in URI <sip:800900800@voip.eutelia.it:5060;user=phone>
Dec 5 13:11:03 eowyn OpenSER[15740]: ERROR:tm:t_forward_nonack:
failure to add branches
Obviously "voip.eutelia.it" is resolved by dig on the same machine.
Anybody had the same problem?
Thanks.
--
___________________________________________________
__
|- giannici(a)neomedia.it
|ederico Giannici
http://www.neomedia.it
Presidente del cda - NEOMEDIA srl
___________________________________________________