Hi, try blow:

[3gphone]
exten => 444444,1,h324m_gw(3333@video)




[video]
exten => 3333,1,h324m_gw_answer()
exten => 3333,n,mp4play(/tmp/jefflew.3gp)


Wayne Lau 
CTO @ http://www.51asterisk.com
MSN: [email protected]
  -----ORI-----
  Sender: [email protected] 
[mailto:[email protected]]代表 anurag agarwal
  Time: 2011年2月12日 19:09
  Rece: Development discussion of video media support in Asterisk
  Subject: Re: [Asterisk-video] H324m gateway mp4 play


        Hi,


        1. I have downloaded a 3gp file from the i6net.com. the mp4info command 
for that file shows :


        [root@localhost tmp]# mp4info jefflew.3gp
        mp4info version 1.5.0.1
        jefflew.3gp:
        Track   Type    Info
        201     video   H.263, 441.280 secs, 35 kbps, 176x144 @ 6.954768 fps
        65335   hint    Payload H263-2000 for track 201
        101     audio   AMR, 441.280 secs, 13 kbps, 8000 Hz
        65435   hint    Payload AMR for track 101
        1       od      Object Descriptors
        2       scene   BIFS


        1. if i try to mp4play this file on a sip extnesion it works fine
        2. if i try to mp4play this file from a 3G 
phone-->PRI--->Asterisk--->dialplan , i dont see any video or audio on the 3G 
phone 


        the dial plan is :


        [3gphone]
        exten => 444444,1,h324m_gw(3333@video)




        [video]
        exten => 3333,1,mp4play(/tmp/jefflew.3gp)








        pl let me know how to play a generic mp4 file [downloaded from internet 
or recorded on a samsung/nokia [mpeg4] ]




        Thanks 


        Anurag Agarwal
        --- On Sat, 12/2/11, Liu Jianquan <[email protected]> wrote:


          From: Liu Jianquan <[email protected]>
          Subject: Re: [Asterisk-video] H324m gateway mp4 play
          To: "Development discussion of video media support in Asterisk" 
<[email protected]>
          Date: Saturday, 12 February, 2011, 2:11 PM


          Plz post your dialplan details here, maybe you forget h324m_gw() 
before h324m_answer?

          Wayne Lau 
          CTO @ http://www.51asterisk.com
          MSN: [email protected]

            -----Ori-----
            Sender: [email protected] 
[mailto:[email protected]]Response anurag agarwal
            Time: 2011-2-12 1:30
            Rece: Development discussion of video media support in Asterisk
            Subject: [Asterisk-video] H324m gateway mp4 play


                  Hi

                  i've successfully installed h324m gateway and all required 
files for making 3G calls over ISDN and playing a mp4 file. i'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.

                  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 "waiting for image" 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 " Set(CHANNEL(transfercapability)=VIDEO)" before trying to play 
the file ??

                  pls help

                 



          -----Inline Attachment Follows-----


          --
          _____________________________________________________________________
          -- Bandwidth and Colocation Provided by http://www.api-digital.com --

          asterisk-video mailing list
          To UNSUBSCRIBE or update options visit:
             http://lists.digium.com/mailman/listinfo/asterisk-video 

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Reply via email to