[Freeswitch-users] Recording with Native File PCMU
Matthew Fong
mattdfong at gmail.com
Wed Nov 25 06:53:55 PST 2009
I tried removing the codec file extension from uuid_record and
session_record but I'm still unable to record a file in native format for a
bridged call.
record WORKS!, but uuid_record and session_record do not want to record in
native format. do uuid_record and session_record work with native format? or
is it not going to be possible to record a bridged call in native
format?...maybe because there are two different channels with a bridged
call?
If it isn't going to be possible, what's the best format to record bridged
calls in that conserves the most processing power? .wav?
Thanks.
--matt
DEBUG logs from console: http://pastebin.freeswitch.org/11283
Lua script:
api = freeswitch.API();
--record = api:execute("sched_api", '+1 none uuid_record
'..session:getVariable("uuid")..' start /tmp/my_recording');
--session:execute("record", "/tmp/my_recording");
session:execute("record_session", "/tmp/my_recording");
session:execute("playback", "somefile.wav");
On Mon, Nov 23, 2009 at 6:42 AM, Brian West <brian at freeswitch.org> wrote:
> If you're doing native file you DO NOT put an extension on the file
> name.
>
> /b
>
> On Nov 22, 2009, at 5:54 PM, Seven Du wrote:
>
> > did you try without any .wav or .PCMU?
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091125/48bc296e/attachment-0002.html
More information about the FreeSWITCH-users
mailing list