[Freeswitch-users] Recording calls with Freeswitch - log says recorded, but no file found

Ravi S sravi123 at yahoo.com
Fri Aug 16 16:51:00 MSD 2013


Thanks Stanislav !
The $ sign was the culprit !! The issue is resolved and I am able to 
record my calls.

Thanks again !!
Ravi


On 15-08-2013 13:42, Stanislav Sinyagin wrote:
> is the dollar sign before {recordings_ dir} and {record_file_name} 
> eaten by your mail client, or it's really so in your XML?
>
>
>
>     ------------------------------------------------------------------------
>     *From:* Ravi <sravi123 at yahoo.com>
>     *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>     *Sent:* Thursday, August 15, 2013 9:44 AM
>     *Subject:* Re: [Freeswitch-users] Recording calls with Freeswitch
>     - log says recorded, but no file found
>
>     Thanks Michael.
>
>     I got the log with the "debug" level output. The pastebin link for
>     the log is :
>     http://pastebin.freeswitch.org/21301
>
>     The call is made from extension 1020 to 1030. The dialplan code
>     snippet is given below as well. If any other information is
>     required, please let me know.
>
>     <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>
>
>
>     Please review and let me know where I am stuck, and what can be
>     done. Freeswitch crashed a couple of times, while I was testing. I
>     will mail that in a separate post.
>
>     Thanks again !
>     Ravi
>
>
>     ------------------------------------------------------------------------
>     *From:* Michael Collins <msc at freeswitch.org>
>     *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>     *Sent:* Wednesday, August 14, 2013 11:32 PM
>     *Subject:* Re: [Freeswitch-users] Recording calls with Freeswitch
>     - log says recorded, but no file found
>
>     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 <http://pastebin.freeswitch.org/>. Use
>     "FreeSWITCH Log" as the syntax highlighting.
>
>     -MC
>
>
>     On Wed, Aug 14, 2013 at 6:34 AM, Ravi <sravi123 at yahoo.com
>     <mailto:sravi123 at 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 at bfree-server> 2013-08-14 06:53:51.185709 [NOTICE]
>         switch_channel.c:1030 New Channel
>         sofia/internal/1006 at 10.0.0.16 <mailto:1006 at 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 at 10.0.0.10:5060
>         <http://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 at 10.0.0.10:5060
>         <http://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 at 10.0.0.16 <mailto:1006 at 10.0.0.16>!
>         2013-08-14 06:53:52.705700 [NOTICE] sofia.c:6547 Channel
>         [sofia/internal/sip:1003 at 10.0.0.10:5060
>         <http://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 at 10.0.0.16 <mailto:1006 at 10.0.0.16>] has
>         been answered
>         2013-08-14 06:54:05.005696 [NOTICE] sofia.c:715 Hangup
>         sofia/internal/sip:1003 at 10.0.0.10:5060
>         <http://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 at 10.0.0.16 <mailto:1006 at 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 at 10.0.0.10:5060
>         <http://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 at 10.0.0.10:5060
>         <http://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 at 10.0.0.16
>         <mailto:1006 at 10.0.0.16>) Ended
>         2013-08-14 06:54:05.025711 [NOTICE] switch_core_session.c:1571
>         Close Channel sofia/internal/1006 at 10.0.0.16
>         <mailto:1006 at 10.0.0.16> [CS_DESTROY]
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Consulting Services:
>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>         http://www.freeswitchsolutions.com
>         <http://www.freeswitchsolutions.com/>
>
>         
>          </>
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org <http://www.freeswitch.org/>
>         http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>         http://www.cluecon.com <http://www.cluecon.com/>
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto: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 <http://www.freeswitch.org/>
>
>
>
>
>     -- 
>     Michael S Collins
>     Twitter: @mercutioviz
>     http://www.FreeSWITCH.org <http://www.freeswitch.org/>
>     http://www.ClueCon.com <http://www.cluecon.com/>
>     http://www.OSTAG.org <http://www.ostag.org/>
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>     <http://www.freeswitchsolutions.com/>
>
>     
>      </>
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org <http://www.freeswitch.org/>
>     http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>     http://www.cluecon.com <http://www.cluecon.com/>
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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 <http://www.freeswitch.org/>
>
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>     <http://www.freeswitchsolutions.com/>
>
>     
>      </>
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org <http://www.freeswitch.org/>
>     http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>     http://www.cluecon.com <http://www.cluecon.com/>
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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 <http://www.freeswitch.org/>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20130816/29105c2a/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list