Can u send the mp4info of the file that you are trying to play with transcode i mean what is the format of file that is rtsp<br><br><div class="gmail_quote">On Wed, Feb 16, 2011 at 2:46 PM, anurag agarwal <span dir="ltr">&lt;<a href="mailto:anurag_agarwaljan@yahoo.co.in">anurag_agarwaljan@yahoo.co.in</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px">
<div><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Hi,<div><br></div><div>I have successfully installed  the H324m gateway and trying to use rtsp but we are facing the following issue :</div>
<div><br></div><div>1. when we use the trans-coder then our asterisk is die...</div><div><br></div><div><div><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<font size="2">[3g]</font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">exten =&gt; s,1,h324m_gw(3333@rtsp)</p>
<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[rtsp]</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">exten =&gt; 3333,1,Set(CHANNEL(transfercapability)=DIGITAL)</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
exten =&gt; 3333,n,wait()</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">exten =&gt; 3333,n,h324m_gw_answer()</p><div><span style="color:rgb(0, 0, 0);font-family:arial;font-style:normal;font-weight:normal;font-size:13px"><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;display:inline">
<span style="font-size:small"></span></p><div style="display:inline"><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p style="display:inline">exten =&gt; 3333,n,Transcode(,s@camera,h263@qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)</p>
</font></font></em></strong></div></font></font></em></strong></span><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p></p></font></font></em></strong></div></font></font></em></strong></div></div>
<div><div><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-size:small"></span></p><div><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p>
<br></p><p><br></p>
<p>[camera] </p>
<p>exten =&gt; s,1,Answer()</p>
<p>exten =&gt; s,n,rtsp(rtsp://<a href="http://192.168.1.130:554/mpeg4" target="_blank">192.168.1.130:554/mpeg4</a>)</p>
<p>exten =&gt; s,n,Hangup()</p></font></font></em></strong></div></font></font></em></strong></div></div><div><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;display:inline">
<br></p></font></font></em></strong></div><div><br></div><div>2. Again we are trying it with rtsp: this time my call is connected but when it reaches to rtsp step then call is disconnected with the following error msg : can anyone please suggest the way forward ,our dial plan &amp; error logs as below :</div>
<div><br></div><div><br></div><div>-----------------------------------------------------------------------------------------------------------</div><div><strong><em><font face="Arial" color="#000080" size="2"><font size="1">
<p><font size="2">[3g]</font></p>
<p><br></p><p>exten =&gt; s,1,h324m_gw(3333@rtsp)</p><p><br></p>
<p>[rtsp]</p><p><br></p>
<p>exten =&gt; 3333,1,Set(CHANNEL(transfercapability)=DIGITAL)</p>
<p>exten =&gt; 3333,n,wait()</p>
<p>exten =&gt; 3333,n,h324m_gw_answer()</p></font><font size="1">
</font></font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p style="display:inline">exten =&gt; 
3333,n,rtsp(rtsp://<a href="http://192.168.1.130:554/mpeg4" target="_blank">192.168.1.130:554/mpeg4</a>)</p></font></font></em></strong></div><div><br></div><div><br></div><div>------------------------------------------------------------------------------------------------------------</div>
<div><strong><em><font face="Arial" color="#000080" size="2"><font size="1"><p style="display:inline"></p></font></font></em></strong> </div><div><br></div><div><strong><em><font face="Arial" color="#000080" size="2">-- Executing [s@3g:1] h324m_gw(&quot;Zap/42-1&quot;, &quot;<a rel="nofollow" href="http://mc/compose?to=3333@anurag" target="_blank">3333@</a>rtsp&quot;) in new stack<br>
    -- Executing 
[3333@rtsp:1] Set(&quot;<a rel="nofollow" href="http://mc/compose?to=Local/3333@anurag-4405,2" target="_blank">Local/3333@rstp-4405,2</a>&quot;, 
&quot;CHANNEL(transfercapability)=DIGITAL&quot;) in new stack<br>    -- Executing 
[3333@rtsp:2] Wait(&quot;<a rel="nofollow" href="http://mc/compose?to=Local/3333@anurag-4405,2" target="_blank">Local/3333@rtsp-4405,2</a>&quot;, &quot;&quot;) in new 
stack<br>    -- Executing [3333@rtsp:3] h324m_gw_answer(&quot;<a rel="nofollow" href="http://mc/compose?to=Local/3333@anurag-4405,2" target="_blank">Local/3333@rtsp-4405,2</a>&quot;, &quot;&quot;) in new 
stack<br>    -- Executing [3333@rtsp:4] rtsp(&quot;<a rel="nofollow" href="http://mc/compose?to=Local/3333@anurag-4405,2" target="_blank">Local/3333@rtsp-4405,2</a>&quot;, 
&quot;rtsp://<a href="http://192.168.1.130:554/mpeg4" target="_blank">192.168.1.130:554/mpeg4</a>&quot;) in new stack<br>[Feb 16 19:52:00] 
WARNING[6841]: app_rtsp.c:1383 rtsp_play: &gt;rtsp play<br>[Feb 16 19:52:00] 
WARNING[6841]: channel.c:2781 set_format: Unable to find a codec translation 
path from unknown to unknown<br>[Feb 16 19:52:00] ERROR[6841]: app_rtsp.c:1678 
rtsp_play: No media found<br>[Feb 16 19:52:00] WARNING[6841]: app_rtsp.c:2060 
rtsp_play: &lt;rtsp_play<br>  == Auto fallthrough, channel <a rel="nofollow" href="http://mc/compose?to=&#39;Local/3333@anurag-4405,2&#39;" target="_blank">&#39;Local/3333@rtsp-4405,2&#39;</a> status 
is &#39;UNKNOWN&#39;<br>  == Spawn extension (3g, s, 1) exited non-zero on 
&#39;Zap/42-1&#39;<br>    -- Hungup &#39;Zap/42-1&#39;<br></font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2"><br></font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2"><br>
</font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2">------------------------------------------------------------------------------------------------------------------------------------</font></em></strong></div>
<div><strong><em><font face="Arial" color="#000080" size="2"><br></font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2"><br></font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2"><br>
</font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2">Thanks </font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2"><br></font></em></strong></div><div><strong><em><font face="Arial" color="#000080" size="2">Anurag </font></em></strong></div>
<div>--- On <b>Sun, 13/2/11, anurag agarwal <i>&lt;<a href="mailto:anurag_agarwaljan@yahoo.co.in" target="_blank">anurag_agarwaljan@yahoo.co.in</a>&gt;</i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px">
<br>From: anurag agarwal &lt;<a href="mailto:anurag_agarwaljan@yahoo.co.in" target="_blank">anurag_agarwaljan@yahoo.co.in</a>&gt;<br>Subject: Re: [Asterisk-video] H324m gateway mp4 play<br>To: <a href="mailto:asterisk-video@lists.digium.com" target="_blank">asterisk-video@lists.digium.com</a><br>
Date: Sunday, 13 February, 2011, 9:45 AM<br><br><div><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Thanks Liu,<br><br>I have tried the same, out of 5 calls 2 calls are working fine but 3 calls are stuck up in the H324m_gw_answer() &amp; doesn&#39;t go to the next step... please suggest...<br>
<br><br>Regds<br><br>Anurag<br> <br><br>--- On <b>Sat, 12/2/11, Liu Jianquan
 <i>&lt;<a href="mailto:liujianquan@gmail.com" target="_blank">liujianquan@gmail.com</a>&gt;</i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Liu Jianquan &lt;<a href="mailto:liujianquan@gmail.com" target="_blank">liujianquan@gmail.com</a>&gt;<br>
Subject: Re: [Asterisk-video] H324m gateway mp4 play<br>To: &quot;Development discussion of video media support in Asterisk&quot; &lt;<a href="mailto:asterisk-video@lists.digium.com" target="_blank">asterisk-video@lists.digium.com</a>&gt;<br>
Date: Saturday, 12 February, 2011, 5:22 PM<br><br><div>

 
<div>
<div><font face="宋体"><font color="#0000ff"><font size="2">Hi<span>, try blow:</span></font></font></font></div>
<div><font face="宋体"><br><font color="#0000ff" size="2"></font></font></div>
<div>
<div><font color="#0000ff" face="宋体" size="2">[3gphone]</font></div>
<div><font color="#0000ff" face="宋体" size="2">exten =&gt; 
444444,1,h324m_gw(3333@video)</font></div>
<div><font face="宋体"><br><font color="#0000ff" size="2"></font></font></div>
<div><font face="宋体"><br><font color="#0000ff" size="2"></font></font></div>
<div><font color="#0000ff" face="宋体" size="2">[video]</font></div>
<div><font face="宋体"><font color="#0000ff"><font size="2">exten =&gt; 3333,1,<span>h324m_gw_answer()</span></font></font></font></div>
<div><font color="#0000ff" face="宋体" size="2">exten =&gt; 
3333,n,mp4play(/tmp/jefflew.3gp)</font></div>
<div><font color="#0000ff" face="宋体" size="2"></font> </div>
<div><font color="#0000ff" face="宋体" size="2"></font> </div>
<div><font color="#0000ff" face="宋体" size="2">
<div><font face="宋体"><font color="#0000ff"><font size="2"><span>Wayne Lau 
</span></font></font></font></div>
<div><font face="宋体"><font color="#0000ff"><font size="2"><span>CTO @ </span></font></font></font><font face="宋体"><font color="#0000ff"><font size="2"><span><a rel="nofollow" href="http://www.51asterisk.com/" target="_blank">http://www.51asterisk.com</a></span></font></font></font></div>

<div><font face="宋体"><font color="#0000ff"><font size="2"><span>MSN: <a rel="nofollow">liu0755@21cn.com</a></span></font></font></font></div></font></div></div></div>
<blockquote>
  <div dir="ltr" align="left"><font face="宋体" size="2">-----ORI-----<br></font><font face="宋体"><font size="2"><strong>Sender</strong><strong>:</strong> 
  <a href="mailto:asterisk-video-bounces@lists.digium.com" target="_blank">asterisk-video-bounces@lists.digium.com</a> 
  [mailto:<a href="mailto:asterisk-video-bounces@lists.digium.com" target="_blank">asterisk-video-bounces@lists.digium.com</a>]<b>代表 </b>anurag 
  agarwal<br><b>Time:</b> 2011年2月12日 19:09<br><b>Rece:</b> Development 
  discussion of video media support in Asterisk<br><b>Subject:</b> Re: 
  [Asterisk-video] H324m gateway mp4 play<br><br></font></font></div>
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
      <td valign="top">Hi,
        <div><br></div>
        <div>1. I have downloaded a 3gp file from the <a href="http://i6net.com" target="_blank">i6net.com</a>. the mp4info 
        command for that file shows :</div>
        <div><br></div>
        <div>
        <div>[root@localhost tmp]# mp4info jefflew.3gp</div>
        <div>mp4info version 1.5.0.1</div>
        <div>jefflew.3gp:</div>
        <div>Track   Type    Info</div>
        <div>201     video   H.263, 441.280 secs, 35 kbps, 
        176x144 @ 6.954768 fps</div>
        <div>65335   hint    Payload H263-2000 for track 
201</div>
        <div>101     audio   AMR, 441.280 secs, 13 kbps, 8000 
        Hz</div>
        <div>65435   hint    Payload AMR for track 101</div>
        <div>1       od      Object 
        Descriptors</div>
        <div>2       scene   BIFS</div>
        <div><br></div>
        <div>1. if i try to mp4play this file on a sip extnesion it works 
        fine</div>
        <div>2. if i try to mp4play this file from a 3G 
        phone--&gt;PRI---&gt;Asterisk---&gt;dialplan , i dont see any video or 
        audio on the 3G phone </div>
        <div><br></div>
        <div>the dial plan is :</div>
        <div><br></div>
        <div>
        <div>[3gphone]</div>
        <div>exten =&gt; 444444,1,h324m_gw(3333@video)</div>
        <div><br></div>
        <div><br></div>
        <div>[video]</div>
        <div>exten =&gt; 3333,1,mp4play(/tmp/jefflew.3gp)</div></div>
        <div><br></div>
        <div><br></div>
        <div><br></div>
        <div><br></div>
        <div>pl let me know how to play a generic mp4 file [downloaded from 
        internet or recorded on a samsung/nokia [mpeg4] ]</div>
        <div><br></div>
        <div><br></div>Thanks </div>
        <div><br></div>
        <div>Anurag Agarwal<br>--- On <b>Sat, 12/2/11, Liu Jianquan 
        <i>&lt;<a href="mailto:liujianquan@gmail.com" target="_blank">liujianquan@gmail.com</a>&gt;</i></b> wrote:<br>
        <blockquote style="padding-left:5px;margin-left:5px;border-left:2px solid rgb(16, 16, 255)"><br>From: 
          Liu Jianquan &lt;<a href="mailto:liujianquan@gmail.com" target="_blank">liujianquan@gmail.com</a>&gt;<br>Subject: Re: 
          [Asterisk-video] H324m gateway mp4 play<br>To: &quot;Development discussion 
          of video media support in Asterisk&quot; 
          &lt;<a href="mailto:asterisk-video@lists.digium.com" target="_blank">asterisk-video@lists.digium.com</a>&gt;<br>Date: Saturday, 12 
          February, 2011, 2:11 PM<br><br>
          <div>
          <div><font face="宋体"><font color="#0000ff"><font size="2">Plz<span> post your dialplan details 
          here, maybe you forget h324m_gw() before 
          h324m_answer?</span></font></font></font></div>
          <div><font face="宋体"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
          <div><font face="宋体"><font color="#0000ff"><font size="2"><span>Wayne Lau 
          </span></font></font></font></div>
          <div><font face="宋体"><font color="#0000ff"><font size="2"><span>CTO @ 
          </span></font></font></font><font face="宋体"><font color="#0000ff"><font size="2"><span><a rel="nofollow" href="http://www.51asterisk.com" target="_blank">http://www.51asterisk.com</a></span></font></font></font></div>

          <div><font face="宋体"><font color="#0000ff"><font size="2"><span>MSN: <a rel="nofollow">liu0755@21cn.com</a></span></font></font></font></div>
          <div><font face="宋体"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
          <blockquote>
            <div dir="ltr" align="left"><font face="宋体" size="2">-----Ori-----<br><b>Sender:</b> 
            <a href="mailto:asterisk-video-bounces@lists.digium.com" target="_blank">asterisk-video-bounces@lists.digium.com</a> 
            [mailto:<a href="mailto:asterisk-video-bounces@lists.digium.com" target="_blank">asterisk-video-bounces@lists.digium.com</a>]Response<b> 
            </b>anurag agarwal<br><b>Time:</b> 2011<font color="#0000ff"><span>-</span></font>2<font color="#0000ff"><span>-12</span></font> 
            1:30<br><b>Rece:</b> Development discussion of video media support 
            in Asterisk<br><b>Subject:</b> [Asterisk-video] H324m gateway mp4 
            play<br><br></font></div>
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
              <tr>
                <td valign="top">
                  <div>Hi</div>
                  <div> </div>
                  <div>i&#39;ve successfully installed h324m gateway and all 
                  required files for making 3G calls over ISDN and playing a mp4 
                  file. i&#39;ve first tried to connect 2 sip phones and did a 
                  recording of video and saved it as mp4 file. the said mp4 file 
                  also plays if i call in an sip extension and try to play it 
                  under dial plan.</div>
                  <div> </div>
                  <div>now i want to make a 3G call over PRI that i connected to 
                  asterisk box and play that mp4 file. the prob is when i make 
                  the 3G call - on my phone it just displays &quot;waiting for image&quot; 
                  adn then hangs up after a few seconds..on the astrisk debug 
                  -  i see that the call is struck at h324m_answer 
                  ...i want to know what can be wrong ? i also have a doubt if i 
                  have to add something like &quot; 
                  <em>Set(CHANNEL(transfercapability)=VIDEO)&quot; before trying to 
                  play the file ??</em></div>
                  <div><em></em> </div>
                  <div><em>pls help</em></div><em>
                  <div><br></div></em></td></tr></tbody></table><br></blockquote></div><br>-----Inline 
          Attachment Follows-----<br><br>
          <div>--<br>_____________________________________________________________________<br>-- 
          Bandwidth and Colocation Provided by <a rel="nofollow" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-video 
          mailing list<br>To UNSUBSCRIBE or update options 
          visit:<br>   <a rel="nofollow" href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a></div></blockquote></div></td></tr></tbody></table>
<br></blockquote></div><br>-----Inline Attachment Follows-----<br><br><div>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a rel="nofollow" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>asterisk-video mailing list<br>To UNSUBSCRIBE or update options visit:<br>   <a rel="nofollow" href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a></div>
</blockquote></td></tr></tbody></table><br></div></blockquote></div></td></tr></tbody></table><br></div></blockquote></td></tr></tbody></table><br><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-video mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br></blockquote></div><br><br clear="all"><br>-- <br><div></div><div><br></div>
<div>Amit Anand</div><div><br></div><div><span style="font-family:arial, sans-serif;font-size:medium;border-collapse:collapse"><h1 style="font-family:arial, sans-serif;font-size:16px;margin-top:12px;margin-right:5px;margin-bottom:5px;margin-left:10px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(0, 0, 0);background:inherit;border-right:inherit">
<span style="padding-right:10px">+1 774 264-8024</span></h1></span></div><div>+91 9013223047</div><div><img src=""></div><br>