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? MAniserowicz mercutioviz wrote: > > What's in the dialplan for this channel? Is bypass-media or proxy-media > set > to true? Do a debug trace and post it in pastebin. > -MC > > On Tue, Oct 20, 2009 at 3:30 AM, Maciej Aniserowicz < > maciej.aniserow...@gmail.com> wrote: > >> >> Hello, >> I am using the same set of extensions for testing the system during >> development, they include XLite, Cisco sip phone and several extensions >> that >> just play some audio file. >> Sometimes, very rarely, this message "Can not record session. Media not >> enabled on channel." appears on FS console. >> Like I wrote before, I don't change any codec settings and always use the >> same set of devices/emulators. >> What can cause this message? >> >> Thanks, >> Maciej Aniserowicz >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@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-tp3857858p3877285.html Sent from the freeswitch-users mailing list archive at Nabble.com. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org