[asterisk-bugs] [JIRA] (ASTERISK-25528) DNS: System resolver issues with TTL parse

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:20:05 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-25528:
-------------------------------------

    Target Release Version/s: 14.0.0

> DNS: System resolver issues with TTL parse
> ------------------------------------------
>
>                 Key: ASTERISK-25528
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25528
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: SVN
>         Environment: Debian/jessie
> Build from source with checkout
> 40574a2ea31f03d5a4d3914f1e20895a9b49d7f0
> and pjsip svn revision 5193 from http://svn.pjsip.org/repos
>            Reporter: dtryba
>            Assignee: George Joseph
>      Target Release: SVN, 14.0.0
>
>         Attachments: dns.pcap, full.txt
>
>
> Trying to register to a SIP cluster using NAPTR/SRV records fails due to DNS lookup failures. The failures are due to incorrect parsing the TTL for the records.
> sip.itco.nl has both NAPT and SRV records (with short ttls (300)), The real edge proxies (sip[01].itco.nl)) have a longer ttl (86400). Responses aren't added to the result set with debug responses:
> {noformat}
> dns_core.c: Query '0x7f66cc00a3c8': Could not add record, invalid TTL '-822083584'
> {noformat}
> resulting in
> {noformat} 
> res_pjsip/pjsip_resolver.c: [0x7f66cc009588] Resolution completed - 0 viable targets
> {noformat}
> {noformat}
> [transport-udp]
> type=transport
> protocol=udp
> bind=0.0.0.0
> [transport-tcp]
> type=transport
> protocol=tcp
> bind=0.0.0.0
> [tryba]
> type=endpoint
> transport=transport-udp
> context=tryba
> disallow=all
> allow=alaw
> outbound_auth=tryba_auth
> force_rport=yes
> direct_media=no
> ice_support=yes
> auth=tryba_auth
> [tryba_auth]
> type=auth
> auth_type=userpass
> password=******
> username=tryba
> [tryba_register]
> type=registration
> server_uri=sip:sip.itco.nl
> client_uri=sip:tryba at sip.itco.nl
> contact_user = tryba
> outbound_auth=tryba_auth
> expiration=60
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list