Kamailio is useful when you want to do weird, non-standard, or unusual
stuff with SIP. You could send your outgoing connections to Kamailio,
which could then send the connection out with the required source port.
Have you considered using a not stupid provider?
On 7/10/21 3:44 PM, Joshua C. Colp wrote:> On Sat, Jul 10, 2021 at 2:39 PM Alexander Perkins
> <alexanderhenryperkins at gmail.com
> <mailto: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 <http://www.sangoma.com> and
> www.asterisk.org <http://www.asterisk.org>
>
--
http://help.nyigc.net/