[asterisk-bugs] [JIRA] (ASTERISK-25528) DNS TTL parse error
dtryba (JIRA)
noreply at issues.asterisk.org
Fri Nov 6 08:08:33 CST 2015
dtryba created ASTERISK-25528:
---------------------------------
Summary: DNS TTL parse error
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: 13.6.0
Environment: Debian/jessie
Build from source with checkout
40574a2ea31f03d5a4d3914f1e20895a9b49d7f0
and pjsip svn revision 5193 from http://svn.pjsip.org/repos
Reporter: dtryba
Attachments: dns.pcap, full
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:
dns_core.c: Query '0x7f66cc00a3c8': Could not add record, invalid TTL '-822083584'
resulting in
res_pjsip/pjsip_resolver.c: [0x7f66cc009588] Resolution completed - 0 viable targets
[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
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list