Hello, <br><br>I am trying to find a way to store the Register Call ID along with the peer info, or at least extract it from a log. What can be tweak in chan_sip to accomplish this? To illustrate, if the phone REGISTER message Call-ID header was something like <a href="mailto:002584a2-58e40003-5b7b478e-f56e8005@192.168.1.200">002584a2-58e40003-5b7b478e-f56e8005@192.168.1.200</a>, then I would like to retrieve it somehow for that peer.<br>

<br>I guess this might have some complications if multiple SIP clients register from the same IP, but the contact header can be used to differenciate. I see this is store along the Peers info and shows up from a sip show peer<br>

<br>I checked thesecurity_events.h project, it seems like it is still disabled in Asterisk 1.8. Maybe if I could match REGISTER messages from that API, I could initiate a logging action somewhere.<br><br>Any suggestion will be greatly appreciated<br>

<br clear="all"> <b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"><font><font><span style="font-family:verdana,sans-serif"><span style="font-family:trebuchet ms,sans-serif"><span style="font-family:verdana,sans-serif">José Pablo Méndez</span></span></span></font><br>

</font></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><b style="color:rgb(153,153,153)"><span style="color:rgb(153,153,153)"></span></b><br>