[asterisk-dev] Develop own channel
Kevin P. Fleming
kpfleming at digium.com
Fri Jun 3 09:26:40 CDT 2011
On 06/03/2011 08:45 AM, Russell Bryant wrote:
>
> ----- Original Message -----
>> Hello!
>>
>> If there some documentation/example that show how to write own channel
>> like chan_gtalk.c or chan_xxx.c
>
> There is no documentation directed at how to write a channel driver specifically. Your best bet is to study the existing implementations. The console channel drivers are simpler so I generally recommend them as a place to start (chan_oss, chan_alsa, chan_console).
But if you really are wanting to just use your RTP-capable DSP for media
handling, and to use it with standard signaling protocols (SIP for
example), then you'd be better off to look at the RTP engine framework
in Asterisk. That would allow you to create a module that enables
chan_sip to use your DSP for media handling instead of the built-in RTP
engine in Asterisk.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list