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.
Hi all,
How to get the contact header with avpops on ser 0.9.4
I have tried : avp_write("$hdr[contact]","contact");
And i get the following error : ERROR:avpops:fixup_write_avp: source "hdr[contact]" unknown!
What do i miss?
Olivier
I dont think SER supports that one...
On 12/5/05, Olivier Taylor olivier.taylor@gmail.com wrote:
Hi all,
How to get the contact header with avpops on ser 0.9.4
I have tried : avp_write("$hdr[contact]","contact");
And i get the following error : ERROR:avpops:fixup_write_avp: source "hdr[contact]" unknown!
What do i miss?
Olivier
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Well, in documentation, it exists, maybe there is a mixture between ser and openser then and I have to migrate to openser :(
Olivier
-----Message d'origine----- De : serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] De la part de Andrey Kouprianov Envoyé : lundi 5 décembre 2005 15:46 À : serusers@lists.iptel.org Objet : Re: [Serusers] Avpops and ser 0.9.4
I dont think SER supports that one...
On 12/5/05, Olivier Taylor olivier.taylor@gmail.com wrote:
Hi all,
How to get the contact header with avpops on ser 0.9.4
I have tried : avp_write("$hdr[contact]","contact");
And i get the following error : ERROR:avpops:fixup_write_avp: source "hdr[contact]" unknown!
What do i miss?
Olivier
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Yeah, I've noticed that the AVPops module docs mix ser and openser on occasion. Printing variables like that is the main variation.
N.
On Mon, 5 Dec 2005 16:33:15 +0100, Olivier Taylor wrote
Well, in documentation, it exists, maybe there is a mixture between ser and openser then and I have to migrate to openser :(
Olivier
-----Message d'origine----- De : serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] De la part de Andrey Kouprianov Envoyé : lundi 5 décembre 2005 15:46 À : serusers@lists.iptel.org Objet : Re: [Serusers] Avpops and ser 0.9.4
I dont think SER supports that one...
On 12/5/05, Olivier Taylor olivier.taylor@gmail.com wrote:
Hi all,
How to get the contact header with avpops on ser 0.9.4
I have tried : avp_write("$hdr[contact]","contact");
And i get the following error : ERROR:avpops:fixup_write_avp: source "hdr[contact]" unknown!
What do i miss?
Olivier
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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?
regards, bogdan
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.
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.
Federico Giannici wrote:
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!
Got it! The problem was related to the fact that I run OpenSER chrooted. I simply copied "/etc/resolv.conf" to the chrootted path and the problem disappeared.
So something changed beetween OpenBSD 3.7 and 3.8 in the way "/etc/resolv.conf" is accessed...
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.
ì