<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kevin P. Fleming wrote:
<blockquote
cite="mid18565376.23161159537208310.JavaMail.root@jupiler.digium.com"
type="cite">
<pre wrap="">----- Earle Clubb <a class="moz-txt-link-rfc2396E" href="mailto:eclubb@valcom.com"><eclubb@valcom.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">don't get my normal audio stream back. My device doesn't send return
audio in one-way mode, so the only way I can think of to get frames
into Asterisk from my driver is to set up a scheduler to send empty
frames to Asterisk. Is this what you would recommend, or is there a
better way?
</pre>
</blockquote>
<pre wrap=""><!---->
Asterisk does not have a concept of a one-way channel, so you won't get reliable behavior using one. Sorry.
</pre>
</blockquote>
I was able to trick Asterisk by scheduling a callback every 10ms after
I start moh. The function simply sends a frame of silence to Asterisk,
which causes Asterisk to send my driver a moh frame. When I stop moh,
I just delete the schedule. Works great. Thanks for the help.<br>
<br>
Earle<br>
</body>
</html>