[Freeswitch-users] execute_on_answer record_session results in twice recording in different speed

Dmitriy Shumaev pm_zefman_r at mail.ru
Sat Mar 2 21:22:28 MSK 2013


 Of course  I can, but  not before the middle of the month. Here [ http://dfiles.ru/files/311wvrpaz ] is one example -  15 strikes every second on the microphone .
I caught a cold . And  I am doing a problem  of  sending CONNECT ACK  for  outgoing calls (cpe Sangoma ISDN --> net PBX LG).


Суббота,  2 марта 2013, 11:19 -06:00 от Anthony Minessale <anthony.minessale at gmail.com>:
>can you get a full console log using git HEAD and post it to jira?
>
>console loglevel debug
>sofia global siptrace on
>sofia tracelevel alert
>
>
>
>On Sat, Mar 2, 2013 at 4:00 AM, Dmitriy Shumaev  < pm_zefman_r at mail.ru > wrote:
>>Hi, all.
>>
>>Next configuration:
>>"
>><extension name="record_3..16_digits" continue="true">
>><condition field="${is_already_recording}" expression="^$"/>
>><condition field="destination_number" expression="^(\d{3,16})$">
>><action application="set" data="RECORD_TITLE=Recording ${caller_id_name} ${caller_id_number} to ${destination_number} at ${strftime(%Y-%m-%d %H:%M)}"/>
>><action application="set" data="RECORD_COPYRIGHT=(c) 2013"/>
>><action application="set" data="RECORD_SOFTWARE=FreeSwitch"/>
>><action application="set" data="RECORD_ARTIST=FreeSwitch"/>
>><action application="set" data="RECORD_COMMENT=FreeSwitch"/>
>><action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
>><action application="set" data="RECORD_STEREO=true"/>
>><action application="export" data="ignore_early_media=true"/>
>><action application="export" data="execute_on_answer=record_session $${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${caller_id_name}_${caller_id_number}_2_${destination_number}.wav"/>
>><action application="export" data="is_already_recording=true"/>
>></condition>
>></extension>
>>"
>>results in some  an incomprehensible result. C onversation b eing recorded twice in the same file.  The first recording of the conversation played accelerated.  The second recorded conversation played at normal speed.
>>
>>The replacement of 
>><action application="export" data="execute_on_answer=record_session $${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${caller_id_name}_${caller_id_number}_2_${destination_number}.wav"/>
>>to the following solved the problem :
>><action application="set" data="media_bug_answer_req=true"/>
>><action application="record_session" data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${caller_id_name}_${caller_id_number}_2_${destination_number}.wav"/>
>>
>>Both these examples are from [ http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session ].
>>So what is the difference between these options?
>>
>>Thanks for help.
>>
>>
>>With best regards, Shumaev DA, KBR Ltd.
>>_________________________________________________________________________
>>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
>>
>
>
>
>-- 
>Anthony Minessale II
>
>FreeSWITCH  http://www.freeswitch.org/
>ClueCon  http://www.cluecon.com/
>Twitter:  http://twitter.com/FreeSWITCH_wire
>
>AIM: anthm
>MSN:anthony_minessale at hotmail.com
>GTALK/JABBER/ PAYPAL:anthony.minessale at gmail.com
>IRC:  irc.freenode.net #freeswitch
>
>FreeSWITCH Developer Conference
>sip:888 at conference.freeswitch.org
>googletalk:conf+888 at conference.freeswitch.org
>pstn: +19193869900
>_________________________________________________________________________
>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/20130302/59489c81/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list