|Subject:||Re: [osip-dev] DNS srv lookup|
|Date:||Wed, 23 Sep 2015 09:10:45 +0000|
I checked the git – the fix is fine.
no more unnecessary DNS lookups J
From: Aymeric Moizard [mailto:address@hidden
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!
Le 18 sept. 2015 2:46 PM, "FEICHTER Christoph" <address@hidden> a écrit :
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
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.
|[Prev in Thread]||Current Thread||[Next in Thread]|