Hi. I am using asterisk 18.3 and freepbx. How can both sip and pjsip be listening at port 5060 at the same time, for instance I get: [2022-01-08 17:08:59] SECURITY[244351] res_security_log.c: SecurityEvent="FailedACL",EventTV="2022-01-08T17:08:59.957-0500",Severity="Error",Service="PJSIP",EventVersion="1",AccountID="anonymous",SessionID="2025076022",LocalAddress="IPV4/UDP/166.84.7.53/5060",RemoteAddress="IPV4/UDP/45.134.144.118/5823",ACLName="registrar_attempt_without_configured_aors" 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. -- 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
Steve Edwards
2022-Jan-09 00:17 UTC
[asterisk-users] asterisk and maybe a freepbx question
On Sat, 8 Jan 2022, John Covici wrote:> How can both sip and pjsip be listening at port 5060 at the same time...They can't. One application per address/port pair. You can configure pjsip to bind to another address and/or port while you figure it out the configuration. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281
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 timeThey 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.> for instance I get: > > [2022-01-08 17:08:59] SECURITY[244351] res_security_log.c: > SecurityEvent="FailedACL",EventTV="2022-01-08T17:08:59.957-0500",Severity=" > Error",Service="PJSIP",EventVersion="1",AccountID="anonymous",SessionID="20 > 25076022",LocalAddress="IPV4/UDP/166.84.7.53/5060",RemoteAddress="IPV4/UDP/ > 45.134.144.118/5823",ACLName="registrar_attempt_without_configured_aors"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. Antony. -- "Good health" is merely the slowest rate at which you can die. Please reply to the list; please *don't* CC me.