found this on internet how to run and compile it with version 13.x
git clone https://github.com/wdoekes/asterisk-chan-dongle.git aclocal && autoconf && automake -a ./configure --with-astversion=130700 make make install cp etc/dongle.conf /etc/asterisk/ lsusb emerge sys-apps/usb_modeswitch chown asterisk:asterisk /dev/ttyUSB* /etc/init.d/asterisk restart