Re: [SR-Users] Disabling DNS SRV records checks

2017-02-01 Thread Daniel-Constantin Mierla
Hello,


I am not familiar with carrierroute and its internals, but I guess it
sets either request uri ($ru) or dst uri ($du).


Now, if the ruri is sip:u...@domain.com, then kamailio will do dsn srv
to find out the target host port for sip service. If the ruri is
sip:u...@domain.com:5060, then kamailio does only A/ query for
domain.com (as per ietf rfc).


Probably you can try the variant you mentioned to see if the $ru/$du is
set accordingly -- I cannot help more with carrierroute in this regard.


Cheers,
Daniel


On 01/02/2017 15:04, Ahmed Fouad wrote:
>
> Hi Daniel,
>
>
> I'm using table carrierroute with scan_prefix and rewrite_host fields
> to match routing from DIDs to my servers and rewrite_host is like
>
> sub.domain.com only.
>
> do you like to add the hosts there with sub.domain.com:5060 ? or what ?
>
>
> /
> /
> 
> *From:* sr-users <sr-users-boun...@lists.sip-router.org> on behalf of
> Daniel-Constantin Mierla <mico...@gmail.com>
> *Sent:* Wednesday, February 1, 2017 3:53:52 PM
> *To:* Kamailio (SER) - Users Mailing List
> *Subject:* Re: [SR-Users] Disabling DNS SRV records checks
>  
>
> Hello,
>
>
> I don't remember by heart if there is any option to control DNS SRV
> records, but you can add the target port to the URI and then no SRV is
> performed.
>
>
> Cheers,
> Daniel
>
>
> On 01/02/2017 14:17, Ahmed Fouad wrote:
>>
>> Hi,
>>
>>
>> I'm running kamailio version 4.1 and having the following DNS related
>> configuration
>>
>>
>> use_dns_failover = off
>> dns_try_naptr = no
>> dns_udp_pref = -1
>> dns_try_ipv6 = off
>> dns_retr_time=1
>> dns_retr_no=1
>> dns_servers_no=1
>> dns_use_search_list=no
>>
>>
>> But still am seeing SRV record checks for my domains which I like to
>> completely disable these checks and only use A records only.
>>
>>
>> x.x.x.x.57828 > 8.8.8.8.53: 7417+ SRV? _sip._udp.subdomain.com
>>
>> 8.8.8.8.53 > x.x.x.x.57828: 7417 NXDomain 0/1/0 (129)
>>
>>
>> I can't find a DNS option to disable SRV checks.
>>
>>
>> Can you please advise ?
>>
>> /
>> /
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> -- 
> Daniel-Constantin Mierla
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
> www.asipto.com
> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Disabling DNS SRV records checks

2017-02-01 Thread Ahmed Fouad
Hi Daniel,


I'm using table carrierroute with scan_prefix and rewrite_host fields to match 
routing from DIDs to my servers and rewrite_host is like

sub.domain.com only.

do you like to add the hosts there with sub.domain.com:5060 ? or what ?



From: sr-users <sr-users-boun...@lists.sip-router.org> on behalf of 
Daniel-Constantin Mierla <mico...@gmail.com>
Sent: Wednesday, February 1, 2017 3:53:52 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Disabling DNS SRV records checks


Hello,


I don't remember by heart if there is any option to control DNS SRV records, 
but you can add the target port to the URI and then no SRV is performed.


Cheers,
Daniel

On 01/02/2017 14:17, Ahmed Fouad wrote:

Hi,


I'm running kamailio version 4.1 and having the following DNS related 
configuration


use_dns_failover = off
dns_try_naptr = no
dns_udp_pref = -1
dns_try_ipv6 = off
dns_retr_time=1
dns_retr_no=1
dns_servers_no=1
dns_use_search_list=no


But still am seeing SRV record checks for my domains which I like to completely 
disable these checks and only use A records only.


x.x.x.x.57828 > 8.8.8.8.53: 7417+ SRV? _sip._udp.subdomain.com

8.8.8.8.53 > x.x.x.x.57828: 7417 NXDomain 0/1/0 (129)


I can't find a DNS option to disable SRV checks.


Can you please advise ?




___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org<mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Daniel-Constantin Mierla
www.twitter.com/miconda<http://www.twitter.com/miconda> -- 
www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
www.asipto.com<http://www.asipto.com>
Kamailio World Conference - May 8-10, 2017 - 
www.kamailioworld.com<http://www.kamailioworld.com>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Disabling DNS SRV records checks

2017-02-01 Thread Daniel-Constantin Mierla
Hello,


I don't remember by heart if there is any option to control DNS SRV
records, but you can add the target port to the URI and then no SRV is
performed.


Cheers,
Daniel


On 01/02/2017 14:17, Ahmed Fouad wrote:
>
> Hi,
>
>
> I'm running kamailio version 4.1 and having the following DNS related
> configuration
>
>
> use_dns_failover = off
> dns_try_naptr = no
> dns_udp_pref = -1
> dns_try_ipv6 = off
> dns_retr_time=1
> dns_retr_no=1
> dns_servers_no=1
> dns_use_search_list=no
>
>
> But still am seeing SRV record checks for my domains which I like to
> completely disable these checks and only use A records only.
>
>
> x.x.x.x.57828 > 8.8.8.8.53: 7417+ SRV? _sip._udp.subdomain.com
>
> 8.8.8.8.53 > x.x.x.x.57828: 7417 NXDomain 0/1/0 (129)
>
>
> I can't find a DNS option to disable SRV checks.
>
>
> Can you please advise ?
>
> /
> /
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users