Summary:ASTERISK-15351: one peer for SIP provider with SRV
Reporter:Maciej Krajewski (jamicque)Labels:
Date Opened:2009-12-21 16:08:38.000-0600Date Closed:2011-06-07 14:08:22
Versions:Frequency of
Description:now to enable Asterisk to make calls via SIP provider with srv enabled you have to configure at least 3 peers:
- one for outgoing calls (where the "host" variable is his domain name)
- one for every address (so at least two) that domain name resolves in for incoming calls; Asterisk recognize peers by their ip address, so in peer config in "host" variable is the ip address of node.

In my opinion it would be really nice if Asterisk would remember the srvlookup values for incoming calls and would search the peers in your config not only by ip addresses but also by their host names. If such an option would be enabled you can configure a peer to your SIP provider defining only one peer, and You don't have to bother if the provider addresses of SIP nodes ever change.
Comments:By: Leif Madsen (lmadsen) 2009-12-22 10:54:25.000-0600

Feature request without provided patch. Please discuss this on the asterisk-dev or asterisk-biz mailing lists. Thanks!