Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330135 - net-misc/asterisk - chan_iax2.c - PeerStatus event improvement
Summary: net-misc/asterisk - chan_iax2.c - PeerStatus event improvement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tony Vroon (RETIRED)
URL: https://issues.asterisk.org/view.php?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 23:10 UTC by Jaco Kroon
Modified: 2010-09-16 17:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
iax2-peerstate-address.patch (iax2-peerstate-address.patch,935 bytes, patch)
2010-07-27 23:11 UTC, Jaco Kroon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2010-07-27 23:10:49 UTC
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:
Comment 1 Jaco Kroon 2010-07-27 23:11:24 UTC
Created attachment 240381 [details, diff]
iax2-peerstate-address.patch

Simple enough "fix".
Comment 2 Jaco Kroon 2010-08-20 07:54:51 UTC
Tony - would you mind?
Comment 3 Jaco Kroon 2010-09-16 10:39:54 UTC
bump.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2010-09-16 17:29:39 UTC
+*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.