linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] No Ack of Invite OKs from contact with hostname


From: Landon McDowell
Subject: [Linphone-developers] No Ack of Invite OKs from contact with hostname
Date: Tue, 15 Jun 2004 20:23:43 -0400

I ran afoul of a bug where OKs from INVITEs were not being ACKed by
Linphone when the contact contained a hostname instead of an IP address.
The Cisco BTS 10200 tears down a session 30 seconds after sending the OK
if it does not receive an ACK.

The problem was that the getaddrinfo call to resolve the hostname in an
INET6 was checking for the wrong return value (!= 0). The success return
code for getaddrinfo is 0.

Flip the ! and everything works fine. I have attached a patch.

                        Regards,
                        Landon McDowell



Attachment: resolver.c.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]