Hopefully, this helps someone else.
This seems to be working for me.
# Fail2Ban configuration file
[INCLUDES]
#before = common.conf
[Definition]
failregex = NOTICE.* .*: Request \'REGISTER\' from '.*' failed for ':.*'
.* - No matching endpoint found
NOTICE.* .*: Request \'REGISTER\'
Hi,
This is using Asterisk certified/13.21-cert2, FWIW.
I have a hangup handler on an outgoing SIP channel that grabs the SIP status
like this:
NoOp(keys=${HANGUPCAUSE_KEYS()} sipmsg=${HANGUPCAUSE(${CHANNEL},tech)})
This works fine if the call connects to the other end but the caller for
On Fri, 7 Jun 2019, David Cunningham wrote:
We're using Perl and so far I haven't found an equivalent there.
On Thu, 6 Jun 2019, Steve Edwards wrote:
I'm not much of a Perl programmer...
But you should never turn down an opportunity to develop your skills :)
Try something like:
On Fri, 7 Jun 2019, David Cunningham wrote:
What language is that please?
C.
We're using Perl and so far I haven't found an equivalent there.
I'm not much of a Perl programmer, but I'd guess something like:
$AGI->result
or
$AGI->lastresult
might yield clues.
--
Thanks
On Fri, 7 Jun 2019, David Cunningham wrote:
We're using Perl and so far I haven't found an equivalent there.
On Thu, 6 Jun 2019, Steve Edwards wrote:
I'm not much of a Perl programmer...
But you should never turn down an opportunity to develop your skills :)
Try something like: