[Freeswitch-users] "Can not record session. Media not enabled on channel."

Michael Collins msc at freeswitch.org
Fri Oct 23 12:00:28 PDT 2009


On Fri, Oct 23, 2009 at 12:36 AM, Maciej Aniserowicz <
maciej.aniserowicz at gmail.com> wrote:

>
> The dialplan is very simple:
>
>        <extension name="Recording test">
>                <condition field="destination_number"
> expression="^111111\d*$">
>                        <action application="sleep" data="3000" />
>                        <action application="answer"/>
>                        <action application="say" data="en name_spelled
> iterated
> ${destination_number}"/>
>                        <action application="sleep" data="1000" />
>                        <action application="playback"
> data="local_stream://my_music"/>
>                </condition>
>        </extension>
>
> Before debugging I have another question: I start recording in event
> handler
> for ChannelAnswer event. Is it possible that it's too soon to start
> recording? Maybe I should start recording in some other event?
>

That would be an odd scenario but maybe. It would be best if you could catch
it in the act so that we could see exactly what is happening. The other
thing you could do is deliberately start recording on the channel prior to
answering and see if you always get the error. In other words, try to make
it fail under a certain set of circumstances to see if your theory is
correct.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091023/a8d76adc/attachment-0002.html 


More information about the FreeSWITCH-users mailing list