Hi,
And please keep in mind that SIP calls (in asterisk 11 at least) are
very much serialized and you're going to affect the response times to
SIP frames by introducing extra work there - really do look at the ASF.
Frankly, if you're after what I think you're after, I've been parsing
the logs for
> unsuccessful register count
Why not use the security event logging system instead? Would be easier
than modifying chan_sip, and less prone to introducing undesired side
affects by inserting a system call.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Security+Framework
On Mon, Feb 2
Hi Folks
I haven´t used C in a decade so i´m kind of rusty, but I understand the
advanced basics of it.
I know there is a function called ast_safe_system() declared on asterisk.c
used to perform system calls.
I need chan_sip.c to call a local program each time a registration is
unsuccessful.