[Asterisk-video] H324m gateway mp4 play

anurag agarwal anurag_agarwaljan at yahoo.co.in
Sat Feb 12 22:15:30 CST 2011


Thanks Liu,

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() & doesn't go to the next step... please suggest...


Regds

Anurag
 

--- On Sat, 12/2/11, Liu Jianquan <liujianquan at gmail.com> wrote:

From: Liu Jianquan <liujianquan at gmail.com>
Subject: Re: [Asterisk-video] H324m gateway mp4 play
To: "Development discussion of video media support in Asterisk" <asterisk-video at lists.digium.com>
Date: Saturday, 12 February, 2011, 5:22 PM



 

Hi, try blow:



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




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

Wayne Lau 

CTO @ http://www.51asterisk.com
MSN: liu0755 at 21cn.com

  -----ORI-----
Sender: 
  asterisk-video-bounces at lists.digium.com 
  [mailto:asterisk-video-bounces at lists.digium.com]代表 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 at 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 at 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 
        <liujianquan at gmail.com> wrote:

        
From: 
          Liu Jianquan <liujianquan at gmail.com>
Subject: Re: 
          [Asterisk-video] H324m gateway mp4 play
To: "Development discussion 
          of video media support in Asterisk" 
          <asterisk-video at lists.digium.com>
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: liu0755 at 21cn.com
           
          
            -----Ori-----
Sender: 
            asterisk-video-bounces at lists.digium.com 
            [mailto:asterisk-video-bounces at lists.digium.com]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

-----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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20110213/73af2e26/attachment.htm>


More information about the asterisk-video mailing list