[asterisk-users] asterisk and maybe a freepbx question
duncan at e-simple.co.nz
Sun Jan 9 01:48:58 CST 2022
> On 9/01/2022, at 7:11 PM, John Covici <covici at ccs.covici.com> wrote:
> On Sat, 08 Jan 2022 19:17:57 -0500,
> Antony Stone wrote:
>>> On Sunday 09 January 2022 at 00:50:27, John Covici wrote:
>>> Hi. I am using asterisk 18.3 and freepbx.
>> Hm, which version of FreePBX uses Asterisk 18.3?
>>> How can both sip and pjsip be listening at port 5060 at the same time
>> They can't.
>> One might be on TCP and the other on UDP, but you can't have them both
>> listening on the same port with the same protocol.
In freepbx you enable chan sip or pjsip or both and set what ports they use
The choices are either in advanced settings or sip settings
Disable pjsip and reset the chan_sip port to 5060 or use pjsip. With them both enabled sometimes odd things happen but it will still work. You will get lots of error messages though
>>> for instance I get:
>>> [2022-01-08 17:08:59] SECURITY res_security_log.c:
>> What makes you think chan_sip and pjsip are both listening on UDP 5060?
>>> I would like pjsit not to listen,till I figure out how to configure
>>> the thing, so my logs don't fill up with messages.
>>> Thanks in advance for any suggestions.
>> As far as I recall using FreePBX, there is a selector for the SIP protocol to
>> tell it whether you want it to use pjsip or chan_sip. I don't think it even
>> supports using both at the same time, so simply make sure that is set to
>> chan_sip and you should be fine.
>> On the other hand, why do you need to learn "how to configure the thing" if
>> you're using FreePBX? Part of the whole point is that it does the fiddly
>> techie sutff in the background for you, and you just need to use the personnel-
>> department-friendly web GUI.
> This is what I thought as well, I just generated one trunk using the
> old chan_sip and expected nothing from pjsit, yet I get all kinds of
> errors like
> [2022-01-08 17:08:59] WARNING res_pjsip_registrar.c: Endpoint
> 'anonymous' (220.127.116.11:5823) has no configured AORs
> so I am very confused as to why this is happening.
> Your life is like a penny. You're going to lose it. The question is:
> How do
> you spend it?
> John Covici wb2una
> covici at ccs.covici.com
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> Check out the new Asterisk community forum at: https://community.asterisk.org/
> New to Asterisk? Start here:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
More information about the asterisk-users