[asterisk-users] SIP Source Port

Joshua C. Colp jcolp at sangoma.com
Sat Jul 10 14:44:14 CDT 2021

On Sat, Jul 10, 2021 at 2:39 PM Alexander Perkins <
alexanderhenryperkins at gmail.com> wrote:

> Hi All.  We have a provider that requires us to SOURCE the SIP connection
> on TCP 5061.  I honestly have no clue how to force Asterisk to always
> SOURCE the SIP connection on a certain port.
> Can anybody point me in the right direction?  I am using PJSIP.

If you are referring to an outgoing connection, it's not possible to
configure PJSIP to do this. For an outgoing connection the system uses an
ephemeral port as the source.

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/20210710/0451111a/attachment.html>

More information about the asterisk-users mailing list