[asterisk-users] some domains resolving issues

Joshua C. Colp
Thu, 01 Oct 2020 09:46:50 -0000

On Wed, Sep 30, 2020 at 10:02 PM sergio <sergio at outerface.net> wrote:

>
> It was due to a lack of tcp or udp sections with transport declaration
> in pjsip.conf.
>
> But it's still unclear,
>
> 1. How should I find this? Is a log so poor and needs to be reported, or
> am I missing something?
>

At startup we actually do output messages about what transports are
available and what the resolver will check. We could extend that to runtime
as well.


>
> 2. Why I need to set bind? I use this transport only for outgoing
> connections.
>

For TCP the PJSIP stack requires it in order to work, and to allow
connections back in case the remote side doesn't do connection reuse. For
UDP there is no such thing as a connection so you need something listening
to receive incoming traffic.

--
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20201001/f66e3757/attachment.html>