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

Ravi sravi123 at yahoo.com
Wed Aug 14 17:34:37 MSD 2013


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 [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 [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!
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!
2013-08-14 06:53:52.705700 [NOTICE] sofia.c:6547 Channel [sofia/internal/sip:1003 at 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] 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 [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 [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) 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 [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) Ended
2013-08-14 06:54:05.025711 [NOTICE] switch_core_session.c:1571 Close Channel sofia/internal/1006 at 10.0.0.16 [CS_DESTROY]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130814/10c57b23/attachment.html 


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