[Asterisk-video] Help install app_mp4.c with Asterisk 1.4.6 and Centos 5.0

Andre Gustavo Lomonaco lomonaco at easybyte.com.br
Fri Jul 13 11:27:14 CDT 2007



Hi everyone,  

    Sorry for my english first, my born language is Brazilian Portuguese 

    I´m trying to use the app_m4 module, but when I use both the applications
    mp4save and mp4load my Asterisk restart. I´d like, if possible, some tips to help
    me diagnostic the problem.

    Here some information about my system and my install procedure. I´m using
    FreePBX but for mp4 I did the changes by hand.

    OS   Centos 5.0
    Kernel 2.6.18-8.1.6.el5 #1 SMP i686 i686 i386 GNU/Linux
    Asterisk Asterisk 1.4.6
    Zaptel Zaptel-1.4.3
    Softphone X-Lite 3.0 build 41150

    The Error

    Asterisk ended with exit status 127
    Asterisk died with code 127.
    Automatically restarting Asterisk.
    mpg123: no process killed
   
    How I tried to install 

    yum install SDL.i386
    yum install SDL-devel.i386

   yum list installed | grep SDL
   SDL.i386                                 1.2.10-8.el5           installed
   SDL-devel.i386                           1.2.10-8.el5           installed

    cd /usr/local/src
    wget http://prdownloads.sourceforge.net/mpeg4ip/mpeg4ip-1.5.0.1.tar.gz
    tar -zxvf mpeg4ip-1.5.0.1.tar.gz
    cd mpeg4ip-1.5.0.1
    ./bootstrap --disable-player
    make
    make install

    cd /usr/local/src/asterisk-1.4.6/apps/
    wget http://sip.fontventa.com/svn/asterisk/app_mp4/app_mp4.c
    cd ..
    make menuselect (the app_m4 was selected)
    make
    make install

    asterisk -rvvv
    > module load app_mp4
    > module show like mp4

    Module               Description                  Use Count
    app_mp4.so           MP4 applications             0          1 modules loaded

    cd /tmp
    wget http://sip.fontventa.com/files/videodemo.tgz
    tar -zxvf videodemo.tgz

    more /etc/asterisk/extensions_custom.conf    

    [from-internal-custom]
    include => video

    [video]

    exten => 201,1,Answer
    exten => 201,2,mp4save(/tmp/save.mp4)
    exten => 201,3,HangUp
    exten => 202,1,Answer
    exten => 202,2,mp4play(/tmp/menu.mp4)
    exten => 202,3,HangUp

    more /etc/asterisk/sip_additional.conf

    [1000]
    type=friend
    secret=******
    record_out=Adhoc
    record_in=Adhoc
    disable=all
    videosupport=yes
    qualify=yes
    port=5060
    nat=yes
    mailbox=1000 at default
    host=dynamic
    dtmfmode=rfc2833
    disallow=all
    dial=SIP/1000
    context=from-internal
    canreinvite=no
    callerid=device <1000>
    allow=ulaw
    allow=alaw
    allow=h263
    allow=h263p

    When I call 201 or 202 extensions I got that in my console :

    Asterisk ended with exit status 127
    Asterisk died with code 127.
    Automatically restarting Asterisk.
    mpg123: no process killed

    Any tip or help will be very welcome

    Thanks a Lot

     Andre Lomonaco   
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20070713/aa136f01/attachment.htm 


More information about the asterisk-video mailing list