[asterisk-bugs] [JIRA] (ASTERISK-24221) chan_sip: SRV lookup is not performed when using a realtime peer
Michael L. Young (JIRA)
noreply at issues.asterisk.org
Tue Sep 16 20:54:28 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222675#comment-222675 ]
Michael L. Young edited comment on ASTERISK-24221 at 9/16/14 8:53 PM:
----------------------------------------------------------------------
-deleted-What is the "port" column set to in the table for this realtime peer voxout?-deleted-
I just saw the INSERT up above in your prior comment... I think I see the problem...
The reason why an A lookup is performed instead of the SRV is commented in the code:
{noformat}
/* Section 4.2 of RFC 3263 specifies that if a port number is specified, then
* an A record lookup should be used instead of SRV.
*/
{noformat}
Try setting the port to being empty... set it to "" and see if the SRV lookup is then performed.
was (Author: elguero):
What is the "port" column set to in the table for this realtime peer voxbone?
> chan_sip: SRV lookup is not performed when using a realtime peer
> ----------------------------------------------------------------
>
> Key: ASTERISK-24221
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24221
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 12.2.0, 12.4.0
> Reporter: Leandro Dardini
> Severity: Minor
> Attachments: sip_show_settings.txt
>
>
> When dialing a trunk defined as realtime, (using odbc connector), the host is not resolved using SRV, but just queried for the A record, despite having srvlookup set to yes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list