[asterisk-dev] ZT_DIAL problem
Matthew Fredrickson
creslin at digium.com
Fri Feb 2 09:16:12 MST 2007
On Feb 1, 2007, at 4:46 PM, Mike Dorin wrote:
> Hello,
> I am using zaptel 1.4.
> This is more of a zaptel question, than asterisk...but
> I would really appreciate
> a bit of help.
>
> Problem in a nutshell. If I do a ioctl(ZT_DIAL, ...)
> I can no
> longer write an audio
> stream out the fxo card.
>
> My dial string is: "T1231231234" .. null terminated.
>
> If I don't do the ZT_DIAL and have the dtmf digits
> pass through in-band....
> the audio works fine..
>
> Make sense?
>
> I am using single fxo card and a small application
> built upon zaptel.
> Thanks,
Are you waiting until the ZT_EVENT_DIALCOMPLETE event? While you are
doing DIAL operations on a channel, you can't really get anything new
out until it completes.
Matthew Fredrickson
More information about the asterisk-dev
mailing list