[Freeswitch-users] "Can not record session. Media not enabled on channel."
Maciej Aniserowicz
maciej.aniserowicz at gmail.com
Mon Oct 26 00:21:17 PDT 2009
Yes, I can confirm - this exact error occurs each time when I start recording
before the call is answered (just after sending ORIGINATE command) - but I
think that's completely understandable that media is not ready for an
unanswered call.
But... is there any other event that guarantees media to be ready?
mercutioviz wrote:
>
> 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
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
--
View this message in context: http://n2.nabble.com/Can-not-record-session-Media-not-enabled-on-channel-tp3857858p3890610.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
More information about the FreeSWITCH-users
mailing list