iness...@gmail.com
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
The code you are looking at for playback and record has also changed the format
of the channel to signed linear before writing, you are t
read_frame, SWITCH_IO_FLAG_NONE,
> 0);" in function switch_ivr_session_echo, echo will not be sent back, but
> then spoken audio will be recorded correctly. This is what I meant with
> possible cross effect.
>
> --------------
> Date: Fri, 26 Mar 2010 13:07:14 -0500
>
ervall.
Date: Fri, 26 Mar 2010 11:31:43 -0500
From: anthony.miness...@gmail.com
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
you can only write back the exact number of bytes you negotiated per interval.
PCMA codec with 20 msec intervall.
>
>
> --
> Date: Fri, 26 Mar 2010 11:31:43 -0500
>
> From: anthony.miness...@gmail.com
> To: freeswitch-dev@lists.freeswitch.org
> Subject: Re: [Freeswitch-dev] hooked functions are not called while using
> on
-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
You can use the data you have,
yes the the read will already be timed right
when you get a frame that has flag SFF_CNG you know that there was not a real
frame to read but
;
> From: anthony.miness...@gmail.com
> To: freeswitch-dev@lists.freeswitch.org
> Subject: Re: [Freeswitch-dev] hooked functions are not called while using
> one single session
>
> you can only write back the exact number of bytes you negotiated per
> interval.
>
>
> On Fri,
el_read_frame
not?
Date: Tue, 16 Mar 2010 13:59:28 -0500
From: anthony.miness...@gmail.com
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
you probably want to use the application interface and
-----
> Date: Mon, 22 Mar 2010 18:34:46 -0500
>
> From: anthony.miness...@gmail.com
> To: freeswitch-dev@lists.freeswitch.org
> Subject: Re: [Freeswitch-dev] hooked functions are not called while using
> one single session
>
> you don't use the hook functions you use a
0500
From: anthony.miness...@gmail.com
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
you don't use the hook functions you use a frame pointer
switch_frame_t *read_frame;
switch_core_session_r
// Spoken audio samples from my microphone are written, but sometimes
> samples are missing
> fwrite((short *)frame->data, 2, frame->datalen/2 ,tmp);
> }
>
> Is it possible that I don't get all audio samples by hooked functions? why
> audio recorded in channel_write_f
2010 11:55:42 -0500
From: anthony.miness...@gmail.com
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
Why do you even need the hooks?
What exactly are you trying to do?
Maybe you should explain it.
On Mon
udio recorded in channel_write_frame is brilliant and in channel_read_frame
> not?
>
>
>
>
>
>
> --------------
> Date: Tue, 16 Mar 2010 13:59:28 -0500
>
> From: anthony.miness...@gmail.com
> To: freeswitch-dev@lists.freeswitch.org
> Subject:
_write_frame is brilliant and in channel_read_frame
not?
Date: Tue, 16 Mar 2010 13:59:28 -0500
From: anthony.miness...@gmail.com
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
you probably want to use
ch.org
> Subject: Re: [Freeswitch-dev] hooked functions are not called while using
> one single session
>
>
> What exactly is your goal?
>
> those hooks will probably only be called if you send the channel to do
> something that
> requires reading and writing audio.
>
>
@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] hooked functions are not called while using
one single session
What exactly is your goal?
those hooks will probably only be called if you send the channel to do
something that
requires reading and writing audio.
On Tue, Mar 16, 2010 at 6:47 AM, Francisco
What exactly is your goal?
those hooks will probably only be called if you send the channel to do
something that
requires reading and writing audio.
On Tue, Mar 16, 2010 at 6:47 AM, Francisco Scaramanga wrote:
> Hello,
> I am writing my own freeswitch module and have implemented 2 hooks for
>
Hello,
I am writing my own freeswitch module and have implemented 2 hooks for reading
and writing audio (I did not implement the endpoint interface).
My problem is that the channel_write_frame and channel_read_frame
callback-functions are only called if I make an intercept with another session
17 matches
Mail list logo