Summary: | ASTERISK-08211: SRV record lookup failing | ||
Reporter: | John Todd (jtodd) | Labels: | |
Date Opened: | 2006-11-28 21:09:08.000-0600 | Date Closed: | 2006-11-29 21:30:03.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | SRV records are not being used in SIP dialing attempts. jtodd@talkplus.com has SRV records (pbx.talkplus.com) but there isn't even an attempt to look up the SRV records on the dial. ****** ADDITIONAL INFORMATION ****** -- Executing [jtodd@palm:1] Dial("SIP/jtodd-0a06c580", "SIP/jtodd@talkplus.com") in new stack -- Called jtodd@talkplus.com == Spawn extension (palm, jtodd, 1) exited non-zero on 'SIP/jtodd-0a06c580' -- Executing [h@palm:1] Hangup("SIP/jtodd-0a06c580", "") in new stack == Spawn extension (palm, h, 1) exited non-zero on 'SIP/jtodd-0a06c580' foo*CLI> exit Executing last minute cleanups Asterisk cleanly ending (0). [root@foo asterisk]# tethereal port 53 Capturing on eth0 0.000000 204.91.156.60 -> 204.91.156.197 DNS Standard query A talkplus.com 0.002165 204.91.156.197 -> 204.91.156.60 DNS Standard query response A 38.99.69.4 9.723480 204.91.156.60 -> 204.91.156.197 DNS Standard query A talkplus.com 9.725977 204.91.156.197 -> 204.91.156.60 DNS Standard query response A 38.99.69.4 4 packets captured [root@foo asterisk]# more /etc/asterisk/sip.conf ; Preposterously simple SIP configuration file [general] context=sip-from-world insecure=invite pedantic=no recordhistory=no srvlookup=yes [jtodd] type=friend host=dynamic user=jtodd secret=[deleted] context=palm disallow=all allow=gsm allow=ulaw allow=alaw nat=yes [root@foo configs]# dig @204.91.156.197 SRV _sip._udp.talkplus.com. ; <<>> DiG 9.2.4 <<>> @204.91.156.197 SRV _sip._udp.talkplus.com. ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10791 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3 ;; QUESTION SECTION: ;_sip._udp.talkplus.com. IN SRV ;; ANSWER SECTION: _sip._udp.talkplus.com. 3600 IN SRV 1 0 5060 pbx.talkplus.com. ;; AUTHORITY SECTION: talkplus.com. 3600 IN NS ns-iad.loligo.com. talkplus.com. 3600 IN NS ns.fox-den.com. ;; ADDITIONAL SECTION: pbx.talkplus.com. 3600 IN A 75.24.91.219 ns.fox-den.com. 21600 IN A 204.91.156.197 ns-iad.loligo.com. 21600 IN A 192.148.252.133 ;; Query time: 8 msec ;; SERVER: 204.91.156.197ASTERISK-49(204.91.156.197) ;; WHEN: Tue Nov 28 08:34:06 2006 ;; MSG SIZE rcvd: 177 [root@foo configs]# | ||
Comments: | By: Joshua C. Colp (jcolp) 2006-11-29 21:30:03.000-0600 Fixed in trunk as of revision 48123. Thanks John! |