Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Record_session cutting wav files


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mariusz_kolo at wp.pl
Guest





PostPosted: Tue Jul 07, 2009 5:37 am    Post subject: [Freeswitch-users] Record_session cutting wav files Reply with quote

Hello

I saw a strange behavior when i'm using record_session for outbound
call. Recorded file is 24:20 time length, but in logs should have about
25:18.

Here ma log:

start recording about 2009-07-07 10:56:15
2009-07-07 10:56:15.108447 [DEBUG] mod_dptools.c:748 sofia/internal/1062
SET [czas]=[2009-07-07-10-56-15] - variable $czas =
"2009-07-07-10-56-15" i use it in filename below
EXECUTE sofia/internal/1062
record_session(/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav)
.....
stop recording
2009-07-07 11:21:33.291177 [DEBUG] switch_ivr_async.c:444 Stop recording
file
/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav

file should have about: 25:18 time length
when i listen a file it's really cut

My piece of dialplan:

<condition field="destination_number" expression="^(\d{4,10})$">

<action application="set" data="RECORD_ANSWER_REQ=false"/>

<!-- dir for record files -->
<action application="set" data="dir=${strftime(%Y-%m-%d)}"/>

<!-- create dir if doesnt exists-->
<action application="system" data="mkdir -p /records/${dir}"/>

<!-- polish ringback -->
<action application="set" data="ringback=${pl-ring}"/>

<!-- setting var $czas -->
<action application="set" data="czas=${strftime(%Y-%m-%d-%H-%M-%S)}"/>

<!-- start record session -->
<action application="record_session"
data="/records/${dir}/${uuid}.${caller_id_number}.$1.${czas}.out.ISDN.wav"/>

<!-- bridge channels -->
<action application="bridge"
data="{origination_caller_id_number=${cti_gateway_number},effective_caller_id_number=${cti_gateway_number}}openzap/1/A/$1"/>
</condition>

freeswitch version: FreeSWITCH Version 1.0.trunk (14013)
linux: Linux pbx2 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686
GNU/Linux

Thanks

_______________________________________________
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
Back to top
jalsot at gmail.com
Guest





PostPosted: Tue Jul 07, 2009 5:49 am    Post subject: [Freeswitch-users] Record_session cutting wav files Reply with quote

Hello,

please try out FS >= r14143 as there were some fixes around call
recording and media bugs.
Please let us know the results.

Regards,
Tamas

Mariusz Kołodziejczyk írta:
Quote:
Hello

I saw a strange behavior when i'm using record_session for outbound
call. Recorded file is 24:20 time length, but in logs should have about
25:18.

Here ma log:

start recording about 2009-07-07 10:56:15
2009-07-07 10:56:15.108447 [DEBUG] mod_dptools.c:748 sofia/internal/1062
SET [czas]=[2009-07-07-10-56-15] - variable $czas =
"2009-07-07-10-56-15" i use it in filename below
EXECUTE sofia/internal/1062
record_session(/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav)
.....
stop recording
2009-07-07 11:21:33.291177 [DEBUG] switch_ivr_async.c:444 Stop recording
file
/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav

file should have about: 25:18 time length
when i listen a file it's really cut

My piece of dialplan:

<condition field="destination_number" expression="^(\d{4,10})$">

<action application="set" data="RECORD_ANSWER_REQ=false"/>

<!-- dir for record files -->
<action application="set" data="dir=${strftime(%Y-%m-%d)}"/>

<!-- create dir if doesnt exists-->
<action application="system" data="mkdir -p /records/${dir}"/>

<!-- polish ringback -->
<action application="set" data="ringback=${pl-ring}"/>

<!-- setting var $czas -->
<action application="set" data="czas=${strftime(%Y-%m-%d-%H-%M-%S)}"/>

<!-- start record session -->
<action application="record_session"
data="/records/${dir}/${uuid}.${caller_id_number}.$1.${czas}.out.ISDN.wav"/>

<!-- bridge channels -->
<action application="bridge"
data="{origination_caller_id_number=${cti_gateway_number},effective_caller_id_number=${cti_gateway_number}}openzap/1/A/$1"/>
</condition>

freeswitch version: FreeSWITCH Version 1.0.trunk (14013)
linux: Linux pbx2 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686
GNU/Linux

Thanks

_______________________________________________
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



_______________________________________________
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
Back to top
mariusz_kolo at wp.pl
Guest





PostPosted: Wed Jul 08, 2009 6:27 am    Post subject: [Freeswitch-users] Record_session cutting wav files Reply with quote

Hello

After upgrade to latest version wavs recording is OK

Thanks a lot



Quote:
Hello,

Quote:
please try out FS >= r14143 as there were some fixes around call
recording and media bugs.
Please let us know the results.

Quote:
Regards,
Tamas


Mariusz Kołodziejczyk pisze:
Quote:
Hello

I saw a strange behavior when i'm using record_session for outbound
call. Recorded file is 24:20 time length, but in logs should have
about 25:18.

Here ma log:

start recording about 2009-07-07 10:56:15
2009-07-07 10:56:15.108447 [DEBUG] mod_dptools.c:748
sofia/internal/1062 SET [czas]=[2009-07-07-10-56-15] - variable $czas
= "2009-07-07-10-56-15" i use it in filename below
EXECUTE sofia/internal/1062
record_session(/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav)

.....
stop recording
2009-07-07 11:21:33.291177 [DEBUG] switch_ivr_async.c:444 Stop
recording file
/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav


file should have about: 25:18 time length
when i listen a file it's really cut

My piece of dialplan:

<condition field="destination_number" expression="^(\d{4,10})$">

<action application="set" data="RECORD_ANSWER_REQ=false"/>

<!-- dir for record files -->
<action application="set" data="dir=${strftime(%Y-%m-%d)}"/>
<!-- create dir if doesnt exists-->
<action application="system" data="mkdir -p /records/${dir}"/>

<!-- polish ringback -->
<action application="set" data="ringback=${pl-ring}"/>

<!-- setting var $czas -->
<action application="set"
data="czas=${strftime(%Y-%m-%d-%H-%M-%S)}"/>

<!-- start record session -->
<action application="record_session"
data="/records/${dir}/${uuid}.${caller_id_number}.$1.${czas}.out.ISDN.wav"/>


<!-- bridge channels -->
<action application="bridge"
data="{origination_caller_id_number=${cti_gateway_number},effective_caller_id_number=${cti_gateway_number}}openzap/1/A/$1"/>

</condition>

freeswitch version: FreeSWITCH Version 1.0.trunk (14013)
linux: Linux pbx2 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009
i686 GNU/Linux

Thanks



_______________________________________________
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
Back to top
mariusz_kolo at wp.pl
Guest





PostPosted: Wed Jul 08, 2009 6:27 am    Post subject: [Freeswitch-users] Record_session cutting wav files Reply with quote

Hello

After upgrade to latest version wavs recording is OK

Thanks a lot



Quote:
Hello,

Quote:
please try out FS >= r14143 as there were some fixes around call
recording and media bugs.
Please let us know the results.

Quote:
Regards,
Tamas


Mariusz Kołodziejczyk pisze:
Quote:
Hello

I saw a strange behavior when i'm using record_session for outbound
call. Recorded file is 24:20 time length, but in logs should have
about 25:18.

Here ma log:

start recording about 2009-07-07 10:56:15
2009-07-07 10:56:15.108447 [DEBUG] mod_dptools.c:748
sofia/internal/1062 SET [czas]=[2009-07-07-10-56-15] - variable $czas
= "2009-07-07-10-56-15" i use it in filename below
EXECUTE sofia/internal/1062
record_session(/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav)

.....
stop recording
2009-07-07 11:21:33.291177 [DEBUG] switch_ivr_async.c:444 Stop
recording file
/records/2009-07-07/069630d2-6ad4-11de-aa6e-e31e1f9431c0.10XX.07135XXXXX.2009-07-07-10-56-15.out.ISDN.wav


file should have about: 25:18 time length
when i listen a file it's really cut

My piece of dialplan:

<condition field="destination_number" expression="^(\d{4,10})$">

<action application="set" data="RECORD_ANSWER_REQ=false"/>

<!-- dir for record files -->
<action application="set" data="dir=${strftime(%Y-%m-%d)}"/>
<!-- create dir if doesnt exists-->
<action application="system" data="mkdir -p /records/${dir}"/>

<!-- polish ringback -->
<action application="set" data="ringback=${pl-ring}"/>

<!-- setting var $czas -->
<action application="set"
data="czas=${strftime(%Y-%m-%d-%H-%M-%S)}"/>

<!-- start record session -->
<action application="record_session"
data="/records/${dir}/${uuid}.${caller_id_number}.$1.${czas}.out.ISDN.wav"/>


<!-- bridge channels -->
<action application="bridge"
data="{origination_caller_id_number=${cti_gateway_number},effective_caller_id_number=${cti_gateway_number}}openzap/1/A/$1"/>

</condition>

freeswitch version: FreeSWITCH Version 1.0.trunk (14013)
linux: Linux pbx2 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009
i686 GNU/Linux

Thanks



_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services