[App_rpt] USB Radio for MAC??
I was wondering if the usb radio drivers require zaptel (now known as DAHDI) drivers/hardware or if the usb radio drivers can be used standalone? I run Apple equipment here, and I would love to tie my asterisk server (running on my osx server) into my radio, but zaptel is out of the question on this platform. Any help is appreciated! -Josh WX4JRR
Josh, Yes, they require the use of the ztdummy driver in Zaptel as a timing source. Steve Rodgers WA6ZFT Josh Roberson wrote:
I was wondering if the usb radio drivers require zaptel (now known as DAHDI) drivers/hardware or if the usb radio drivers can be used standalone? I run Apple equipment here, and I would love to tie my asterisk server (running on my osx server) into my radio, but zaptel is out of the question on this platform.
Any help is appreciated!
-Josh WX4JRR _______________________________________________ App_rpt mailing list App_rpt@lists.illiana.net http://lists.illiana.net/mailman/listinfo/app_rpt
From a quick glance at the code, I don't seen any direct link to zaptel, which means I *SHOULD* be able to modify this code to work under OS X using CoreAudio for audio control. Since the underlying system on OS X is Darwin (a derivative of BSD), and there is already BSD support in chan_usbradio.c, I think this could work. I already use meetme/etc on my os x server without issues in timing, and I don't see any timer specific code in the chan_usbradio driver.. If app_rpt requires zaptel to be involved, perhaps I can find a way to fix that as well, and open up the os x world to this wonderful utility. I'll keep you all updated...also, Steve, not trying to be argumentative, just making a note :) On Jul 20, 2008, at 1:37 AM, Stephen Rodgers wrote:
Josh,
Yes, they require the use of the ztdummy driver in Zaptel as a timing source.
Steve Rodgers WA6ZFT
Josh Roberson wrote:
I was wondering if the usb radio drivers require zaptel (now known as DAHDI) drivers/hardware or if the usb radio drivers can be used standalone? I run Apple equipment here, and I would love to tie my asterisk server (running on my osx server) into my radio, but zaptel is out of the question on this platform.
Any help is appreciated!
-Josh WX4JRR _______________________________________________ App_rpt mailing list App_rpt@lists.illiana.net http://lists.illiana.net/mailman/listinfo/app_rpt
_______________________________________________ App_rpt mailing list App_rpt@lists.illiana.net http://lists.illiana.net/mailman/listinfo/app_rpt
Josh, Zap pseudo channels and conferences are indeed used in app_rpt:
/* allocate a pseudo-channel thru asterisk */ myrpt->pchannel = ast_request("zap",AST_FORMAT_SLINEAR,"pseudo",NULL); if (!myrpt->pchannel) { fprintf(stderr,"rpt:Sorry unable to obtain pseudo channel\n"); rpt_mutex_unlock(&myrpt->lock); if (myrpt->txchannel != myrpt->rxchannel) ast_hangup(myrpt->txchannel); ast_hangup(myrpt->rxchannel); myrpt->rpt_thread = AST_PTHREADT_STOP; pthread_exit(NULL);
App_rpt uses zaptel conferences and pseudo channels which rely on ztdummy as a timing source. The whole app_rpt application would have to be rewritten to not use zaptel conferences, and new kernel driver outside of zaptel would be required to time the transmfer of the bytes within the conference. Steve WA6ZFT Josh Roberson wrote:
From a quick glance at the code, I don't seen any direct link to zaptel, which means I *SHOULD* be able to modify this code to work under OS X using CoreAudio for audio control.
Since the underlying system on OS X is Darwin (a derivative of BSD), and there is already BSD support in chan_usbradio.c, I think this could work. I already use meetme/etc on my os x server without issues in timing, and I don't see any timer specific code in the chan_usbradio driver..
If app_rpt requires zaptel to be involved, perhaps I can find a way to fix that as well, and open up the os x world to this wonderful utility. I'll keep you all updated...also, Steve, not trying to be argumentative, just making a note :)
On Jul 20, 2008, at 1:37 AM, Stephen Rodgers wrote:
Josh,
Yes, they require the use of the ztdummy driver in Zaptel as a timing source.
Steve Rodgers WA6ZFT
Josh Roberson wrote:
I was wondering if the usb radio drivers require zaptel (now known as DAHDI) drivers/hardware or if the usb radio drivers can be used standalone? I run Apple equipment here, and I would love to tie my asterisk server (running on my osx server) into my radio, but zaptel is out of the question on this platform.
Any help is appreciated!
-Josh WX4JRR _______________________________________________ App_rpt mailing list App_rpt@lists.illiana.net http://lists.illiana.net/mailman/listinfo/app_rpt
_______________________________________________ App_rpt mailing list App_rpt@lists.illiana.net http://lists.illiana.net/mailman/listinfo/app_rpt
_______________________________________________ App_rpt mailing list App_rpt@lists.illiana.net http://lists.illiana.net/mailman/listinfo/app_rpt
On Jul 20, 2008, at 12:08 AM, Josh Roberson wrote:
I was wondering if the usb radio drivers require zaptel (now known as DAHDI) drivers/hardware or if the usb radio drivers can be used standalone? I run Apple equipment here, and I would love to tie my asterisk server (running on my osx server) into my radio, but zaptel is out of the question on this platform.
The other issue is that the USB keyfob uses ALSA for it's sound, so you'd have to port it to CoreAudio or use a library like portaudio. Steve
participants (3)
-
Josh Roberson -
Stephen Rodgers -
Steven Palm