Details at the URL. Basically asterisk's app_dahdiras passes plugin dahdi.so which isn't legal for pppd unless the invoker (asterisk) is root. Workaround described at Digium issue. Just having this open so that I can remember to implement something sane for gentoo in spite of what happens upstream. Reproducible: Always Steps to Reproduce:
Chainsaw - sane in this case is difficult - would a simple patch that comments out (removes) the two lines that causes the problem be sufficient? I'll happily write a blog entry on the basics of making it work that you can reference.
Created attachment 247587 [details, diff] ast_no_root_dahdiras.diff This is the sanest thing I can come up with. Further instructions on setting this up at http://jkroon.blogs.uls.co.za/it/voip/using-asterisk-as-a-ras-server. I hope this is in order.
+*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.