The SIP variant of the registered PeerStatus event adds an Address and Port reflecting where the registration came from. It is useful to obtain this information via AMI (specifically I'm looking to use this for auditing purposes, so I intend to store when and from where clients registered, as well as when registrations expired - obviously I don't care about the IP in that case). Reproducible: Always Steps to Reproduce:
Created attachment 240381 [details, diff] iax2-peerstate-address.patch Simple enough "fix".
Tony - would you mind?
bump.
+*asterisk-1.6.2.13-r1 (16 Sep 2010) + + 16 Sep 2010; <chainsaw@gentoo.org> +asterisk-1.6.2.13-r1.ebuild, + +files/1.6.2/asterisk-1.6.2.13-backport-bri-net-ptmp.patch, + +files/1.6.2/asterisk-1.6.2.13-dahdiras-without-root.patch, + +files/1.6.2/asterisk-1.6.2.13-iax2-peerstate.patch, + +files/1.6.2/asterisk.logrotate2: + Add peerstatus to IAX2, closes bug #330135. Correct rotate keyword in + logrotate file, closes bug #336066. Add USE="doc", closes bug #331613. + Invoke DAHDIRAS differently so non-root works, closes bug #337297. + Backported bri_net_ptmp from 1.8 branch, closes bug #337591. Many thanks + to Jaco Kroon for all these bugfixes & improvements.