[asterisk-dev] Asterisk / pjsip: control the SRV DNS response set with an option

Michael Maier m1278468 at mailbox.org
Sat Apr 3 01:09:02 CDT 2021


As Asterisk doesn't care about destinations used for each request if there is a 
DNS SRV set given by the DNS resolution (more than one server in the response) I 
would like to shrink the used destinations received from DNS SRV query to one 
server (as the SRV list is unchanged since years now regarding German Telekom).

I can do this like in the attached patch - but I didn't find any way so far to 
bring in a (new) option of transport configuration e.g. to this callback. Isn't 
there any way?

Thanks for any hint.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: one_srv_record_only.diff
Type: text/x-patch
Size: 948 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20210403/ee61b8d8/attachment.bin>

More information about the asterisk-dev mailing list