<div dir="ltr"><span style="font-size:12.8000001907349px">disable-transcoding is set to true &lt;-- DING DING DING WE have a winner!</span><br><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Why are you doing that?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 8:08 AM, Ankit Sharma <span dir="ltr">&lt;<a href="mailto:ankitt.sharma1@outlook.com" target="_blank">ankitt.sharma1@outlook.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">We are using freeswitch as media server in integration with kamailio. So  <br>the purpose of using freeswitch is to record the two-way video calls between the legs<br><br>so
 without any recording freeswich application or API being used my video 
and audio is working just perfect (running on default media handling 
mode i.e. proxy_media &amp; bypass media not used), late-negotiation is 
disabled, zrtp-passthru is set to false and disable-transcoding is set 
to true <br><br>after exploring all over web over my recording concern i got to know about the following APP/APIs:<br>record, record_session, record_fsv, record_mp4, uuid_record (however i want to record in .mp4 format)<br><br>so
 following the very first step I looked for &quot;video-media-bug&quot; branch and
 got to know it is merged in freeSWITCH 1.6 master, so used the 1.6 
master , and now the vide-media-bug branch is contained within my 
current repo<br><br>now using all above mentioned applications i&#39;am not 
getting my recording done, here i&#39;am sharing what&#39;s happening with 
uuid_record being used as<br><br>my kbridge dialplan is:<br>   &lt;extension name=&quot;kbridge&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^kb-(.+)$&quot;&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;proxy_media=false&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=<div dir="ltr">true&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;sip_invite_domain=192.168.5.99&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;voicemail_authorized=${sip_authorized}&quot;/&gt;<br>          &lt;action application=&quot;export&quot; data=&quot;sip_contact_user=ufs&quot;/&gt;<br>    <br>        &lt;action application=&quot;export&quot; data=&quot;api_args=${uuid_setvar ${uuid} enable_file_write_buffering=false&quot;/&gt;<br>        &lt;action application=&quot;export&quot; data=&quot;api_result=${uuid_record ${uuid} start /usr/local/freeswitch/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_$1_${caller_id_number}_${destination_number}.mp4}&quot;/&gt;<br>          &lt;action application=&quot;bridge&quot; data=&quot;sofia/$${domain}/$<a href="mailto:1@192.168.5.99" target="_blank">1@192.168.5.99</a>&quot;/&gt;<br>          &lt;action application=&quot;answer&quot;/&gt;<br>          &lt;action application=&quot;voicemail&quot; data=&quot;check auth $${voicemail_profile} default $${domain} $1&quot;/&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br><br><br>and the fs_cli log says:<br>2015-08-21 13:19:50.980274 [NOTICE] switch_channel.c:1089 New Channel sofia/internal/<a href="mailto:102@192.168.5.99" target="_blank">102@192.168.5.99</a> [c1d25c8d-4e6e-458c-abe0-c40b89bc3d68]<br>2015-08-21 13:19:50.990233 [INFO] mod_dialplan_xml.c:637 Processing 102 &lt;102&gt;-&gt;kb-101 in context public<br>2015-08-21 13:19:50.990233 [NOTICE] switch_ivr.c:1877 Transfer sofia/internal/<a href="mailto:102@192.168.5.99" target="_blank">102@192.168.5.99</a> to XML[kb-101@default]<br>2015-08-21 13:19:50.990233 [INFO] mod_dialplan_xml.c:637 Processing 102 &lt;102&gt;-&gt;kb-101 in context default<br>2015-08-21 13:19:51.000223 [INFO] switch_ivr_async.c:2339 Sending early media<br>2015-08-21 13:19:51.000223 [INFO] switch_core_media.c:6543 Activating VIDEO RTCP PORT 5244 interval 2000 mux 1<br>2015-08-21 13:19:51.000223 [NOTICE] mod_sofia.c:2296 Pre-Answer sofia/internal/<a href="mailto:102@192.168.5.99" target="_blank">102@192.168.5.99</a>!<br>2015-08-21 13:19:51.010223 [INFO] mod_native_file.c:101 Opening File [/usr/local/freeswitch/recordings/2015-08-21-13-19-51-in.G722] 16000hz<br>2015-08-21 13:19:51.010223 [INFO] mod_native_file.c:101 Opening File [/usr/local/freeswitch/recordings/2015-08-21-13-19-51-out.G722] 16000hz<br>2015-08-21 13:19:51.010223 [NOTICE] switch_channel.c:1089 New Channel sofia/internal/<a href="mailto:101@192.168.5.99" target="_blank">101@192.168.5.99</a> [5127cf3a-c7ec-4038-a033-f287b2999a79]<br>2015-08-21 13:19:51.220289 [NOTICE] sofia.c:6817 Ring-Ready sofia/internal/<a href="mailto:101@192.168.5.99" target="_blank">101@192.168.5.99</a>!<br>2015-08-21 13:19:55.240230 [INFO] switch_core_media.c:6543 Activating VIDEO RTCP PORT 0 interval 2000 mux 0<br>2015-08-21 13:19:55.240230 [NOTICE] sofia.c:7576 Channel [sofia/internal/<a href="mailto:101@192.168.5.99" target="_blank">101@192.168.5.99</a>] has been answered<br>2015-08-21 13:19:55.240230 [NOTICE] switch_ivr_originate.c:3526 Channel [sofia/internal/<a href="mailto:102@192.168.5.99" target="_blank">102@192.168.5.99</a>] has been answered<br>2015-08-21 13:20:04.180275 [NOTICE] sofia.c:952 Hangup sofia/internal/<a href="mailto:102@192.168.5.99" target="_blank">102@192.168.5.99</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>2015-08-21 13:20:04.290279 [NOTICE] switch_ivr_bridge.c:874 Hangup sofia/internal/<a href="mailto:101@192.168.5.99" target="_blank">101@192.168.5.99</a> [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]<br>2015-08-21 13:20:04.290279 [NOTICE] switch_core_session.c:1657 Session 29 (sofia/internal/<a href="mailto:101@192.168.5.99" target="_blank">101@192.168.5.99</a>) Ended<br>2015-08-21 13:20:04.290279 [NOTICE] switch_core_session.c:1661 Close Channel sofia/internal/<a href="mailto:101@192.168.5.99" target="_blank">101@192.168.5.99</a> [CS_DESTROY]<br>2015-08-21 13:20:04.300232 [NOTICE] switch_core_session.c:1657 Session 28 (sofia/internal/<a href="mailto:102@192.168.5.99" target="_blank">102@192.168.5.99</a>) Ended<br>2015-08-21 13:20:04.300232 [NOTICE] switch_core_session.c:1661 Close Channel sofia/internal/<a href="mailto:102@192.168.5.99" target="_blank">102@192.168.5.99</a> [CS_DESTROY]<br><br><br>now
 in the recordings directory i got 2 files(can be seen in the log ) the 
files hav the extension .G722, which is not supposed to be the required 
output <br><br>since uuid_record is an API I tried using uuid_record in console <br>so started the call (after commenting the record api in dialplan) and it gave me this error:<br>-ERR Cannot locate session! <br><br><br>so help me out over this concern <br>thanks in advance :)<span class="HOEnZb"><font color="#888888"><br>Ankit </font></span></div>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>