You'll need debug level output. That looks like it's info level output. The freeswitch.log file should have debug level output. Also, if you're on the freeswitch console (not the fs_cli) then info is the default level. Try "console loglevel debug" and then retest and re-capture. Also, best place to put fs log data is: pastebin.freeswitch.org. Use "FreeSWITCH Log" as the syntax highlighting. -MC On Wed, Aug 14, 2013 at 6:34 AM, Ravi <sravi123@yahoo.com> wrote:
Hello Everyone !
I am trying to record calls received in an extension (1003). The dialplan is given below
extension name="003"> <condition field="destination_number" expression="^003$"> <action application="set" data="record_file_name={recordings_ dir}/${strftime(%Y-%m-%d-%H-%M-%S)}_${uuid}.wav" inli$ <action application="record_session" data="{record_file_name}"/> <action application="bridge" data="user/1003"/> </condition> </extension>
When I call this extension from an extension 1006, this is what I get in the log. But when I go to the folder /usr/local/freeswitch/recordings/ there are no files at all. I am just wondering if this has got to do with any file permissions, or if I am missing something. Please help.
Thanks. Ravi
freeswitch@bfree-server> 2013-08-14 06:53:51.185709 [NOTICE] switch_channel.c:1030 New Channel sofia/internal/1006@10.0.0.16[2d3314f4-0480-11e3-9a2f-4d1cb7d8b5b4] 2013-08-14 06:53:51.245710 [INFO] mod_dialplan_xml.c:558 Processing Ravi <1006>->1003 in context default 2013-08-14 06:53:51.245710 [INFO] switch_ivr_async.c:3628 Bound B-Leg: *1 execute_extension::dx XML features 2013-08-14 06:53:51.245710 [INFO] switch_ivr_async.c:3628 Bound B-Leg: *2 record_session::/usr/local/freeswitch/recordings/1006.2013-08-14-06-53-51.wav 2013-08-14 06:53:51.245710 [INFO] switch_ivr_async.c:3628 Bound B-Leg: *3 execute_extension::cf XML features 2013-08-14 06:53:51.245710 [INFO] switch_ivr_async.c:3628 Bound B-Leg: *4 execute_extension::att_xfer XML features 2013-08-14 06:53:51.245710 [NOTICE] switch_channel.c:1030 New Channel sofia/internal/sip:1003@10.0.0.10:5060[2d3d1a26-0480-11e3-9a4d-4d1cb7d8b5b4] 2013-08-14 06:53:51.445707 [NOTICE] sofia.c:5884 Ring-Ready sofia/internal/ sip:1003@10.0.0.10:5060! 2013-08-14 06:53:51.445707 [INFO] switch_ivr_originate.c:1190 Sending early media 2013-08-14 06:53:51.445707 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1006@10.0.0.16! 2013-08-14 06:53:52.705700 [NOTICE] sofia.c:6547 Channel [sofia/internal/ sip:1003@10.0.0.10:5060] has been answered 2013-08-14 06:53:52.725708 [NOTICE] switch_ivr_originate.c:3437 Channel [sofia/internal/1006@10.0.0.16] has been answered 2013-08-14 06:54:05.005696 [NOTICE] sofia.c:715 Hangup sofia/internal/ sip:1003@10.0.0.10:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2013-08-14 06:54:05.025711 [NOTICE] switch_ivr_bridge.c:1575 Hangup sofia/internal/1006@10.0.0.16 [CS_EXECUTE] [NORMAL_CLEARING] 2013-08-14 06:54:05.025711 [NOTICE] switch_core_session.c:1567 Session 139 (sofia/internal/sip:1003@10.0.0.10:5060) Ended 2013-08-14 06:54:05.025711 [NOTICE] switch_core_session.c:1571 Close Channel sofia/internal/sip:1003@10.0.0.10:5060 [CS_DESTROY] 2013-08-14 06:54:05.025711 [NOTICE] switch_core_session.c:1567 Session 138 (sofia/internal/1006@10.0.0.16) Ended 2013-08-14 06:54:05.025711 [NOTICE] switch_core_session.c:1571 Close Channel sofia/internal/1006@10.0.0.16 [CS_DESTROY]
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org