[Asterisk-Dev] no audio
James Golovich
james at wwnet.net
Tue Sep 16 12:55:23 MST 2003
On Tue, 16 Sep 2003, Jim Gottlieb wrote:
> OK. Next problem in trying to get our app running with the latest
> asterisk source. I apologize for not keeping up on all the code
> changes in the last few months.
>
> Our app now compiles since I got rid of pthread_ but it is no longer
> playing audio. It answers the call and I see:
>
> -- Accepting call from '6193644788' to '108' on channel 1, span 1
> DEBUG[9226]: File chan_zap.c, Line 1035 (zt_enable_ec): Enabled echo cancellation on channel 1
> -- Executing Newt("Zap/1-1", "card-config") in new stack
> DEBUG[21522]: File chan_zap.c, Line 1971 (zt_setoption): Set option TONE VERIFY, mode: OFF(0) on Zap/1-1
> DEBUG[21522]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 160 sample intervals
> -- Playing '5121'
> DEBUG[21522]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
> DEBUG[21522]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 160 sample intervals
> -- Playing '5051'
> DEBUG[21522]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
>
>
> This all shows up immediately even though the first prompt, 5121, should
> take several seconds to play. The prompt files' access times are
> current, but all I hear on the phone is silence. This is using a PRI
> and we use ast_streamfile to play the prompts.
>
I'm going to take a stab in the dark on this one. Does your app call
ast_answer? or maybe you should try executing Answer before calling your
Newt application
James
More information about the asterisk-dev
mailing list