VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mariusz_kolo at wp.pl Guest
|
Posted: Tue Jul 07, 2009 5:37 am Post subject: [Freeswitch-users] Record_session cutting wav files |
|
|
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
|
Posted: Tue Jul 07, 2009 5:49 am Post subject: [Freeswitch-users] Record_session cutting wav files |
|
|
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
|
Posted: Wed Jul 08, 2009 6:27 am Post subject: [Freeswitch-users] Record_session cutting wav files |
|
|
Hello
After upgrade to latest version wavs recording is OK
Thanks a lot
Quote: | please try out FS >= r14143 as there were some fixes around call
recording and media bugs.
Please let us know the results.
|
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
|
Posted: Wed Jul 08, 2009 6:27 am Post subject: [Freeswitch-users] Record_session cutting wav files |
|
|
Hello
After upgrade to latest version wavs recording is OK
Thanks a lot
Quote: | please try out FS >= r14143 as there were some fixes around call
recording and media bugs.
Please let us know the results.
|
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 |
|
|
|
|
|
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
|