Hi, We have tried to use Linphone to make calls to SIP user registered with SIP address based on our root domain but it appears that the client cannot resolve DNS entries correctly.
We have SRV records in the root domain zone along with NAPTR records such that: _h323cs._tcp.domain.com IN SRV 0 0 1720 gk.domain.com. _h323ls._udp.domain.com IN SRV 0 0 1719 gk.domain.com. _sip._udp.domian.com IN SRV 0 0 5060 gk.domain.com. _sip._tcp.domian.com IN SRV 0 0 5060 gk.domain.com. _sip.s_tcp.domian.com IN SRV 0 0 5061 gk.domain.com. domain.com NAPTR 30 100 "S" "SIP+D2U" "" _sip._udp.domain.com. domain.com NAPTR 20 100 "S" "SIP+D2T" "" _sip._tcp.domain.com. domain.com NAPTR 10 100 "S" "SIPS+D2T" "" _sips._tcp.domain.com. However, we also have an 'A' record in the root domain that points to an IP address of the webserver. When trying to call anyone using sip:[email protected], Linphone is unable to resolve the server that will handle SIP calls (i.e. gk.domain.com) and insists on trying to contact the server in the A record. Output from the Linphone debug shows: message: eXosip_dnsutils_naptr_lookup: About to ask for domain.com NAPTR' message: DNS resolution with domain.com:5060 message: getaddrinfo returned the following addresses: message: IP_Add_of_A_Record port 5060 This is an issue with Linphone as other clients (Cisco, Ekiga and others) are able to request SRV records and interpret them correctly. Is there any chance that Linphone can be developed to use DNS SRV records as I don't see how it will be able to call SIP addresses based on a root domain? Regards, Chris _______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
