[asterisk-dev] Fwd: Asterisk Sip Registration Hooks

Kevin P. Fleming kpfleming at digium.com
Wed Aug 10 13:20:32 CDT 2011


On 08/10/2011 01:05 PM, Mike Myhre wrote:
>
>> As long as we're talking about *just* generating the additional events
>> (not the other stuff you've developed that reacts to them), this
>> should be a fairly easy process, and a small patch.
> There may not even be a patch for Asterisk 10. I haven't looked at the
> code yet. For 1.8.X there is the security event structure that provides
> all the hooks I need. I would suspect that 10 would be the same. So that
> means it is only my res_bfd.so module that would need to be added and
> that could be a separate install for the user.
>
> I will look through the V10 code and see.

Yes, the event infrastructure is there, but something needs to 
*generate* the events. chan_sip.c will have to be modified to emit the 
events you are interested in, in order for them to be logged (or 
captured by another module).

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list