osip-dev
[Top][All Lists]
Advanced

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

Re: [osip-dev] DNS srv lookup


From: FEICHTER Christoph
Subject: Re: [osip-dev] DNS srv lookup
Date: Wed, 23 Sep 2015 09:10:45 +0000

hi aymeric,

 

I checked the git – the fix is fine.

no more unnecessary DNS lookups J

 

br,

christoph

 

 

From: Aymeric Moizard [mailto:address@hidden
Sent: Freitag, 18. September 2015 15:01
To: FEICHTER Christoph
Cc: address@hidden
Subject: Re: [osip-dev] DNS srv lookup

 

Hi!

Sorry, I started a reply yesterday but was disturbed....

I think I have fixed this behavior in latest git: I now only make the DNS only for outgoing transaction.

Check the latest _eXosip_transaction_init code version in the git repository!

;)
Aymeric

Le 18 sept. 2015 2:46 PM, "FEICHTER Christoph" <address@hidden> a écrit :

hi,

 

I analysed the usage of the function _eXosip_transaction_init a bit.

I guess this function is ok for new outgoing transactions,

but should not be used for incoming requests (as currently within _eXosip_process_newrequest), because it triggers a DNS srv lookup for the wrong hostname !

 

… I will make a proposal for an alternative – something like _eXosip_incoming_transaction_init

 

br,

Christoph

 

_____________________________________________
From: FEICHTER Christoph
Sent: Donnerstag, 17. September 2015 11:37
To: address@hidden
Subject: DNS srv lookup

 

 

hi,

 

I would like to ask you about the DNS queries that eXosip performs.

 

my use-case is the following

I have an incoming INVITE,

From, To and Req-URI do contain a domainname,

Contact, and all Via-header contain IP-addresses.

 

I experienced, that eXosip performs a DNS lookup for the

hostname, specified in the To-header, when it initializes the transaction (_eXosip_transaction_init).

my problem is: my DNS is currently not available … so the DNS query runs into a timeout.

 

my question is:

why does eXosip perform this DNS lookup ?

In my opinion it is not necessary for establishing the dialog.

 

br,

Christoph

 

 


_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev


reply via email to

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