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