<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Salvatore, thank you for your prompt response. I think I didn't express myself clearly. My problem is when I try to install the application (using the "sudo make" command) that I got the following error messages. I put the app_rtsp.c in the apps folder and it is after then that I used the "sudo make" command. I have also a working Asterisk software. I am even using the app_mp4 application. So, the problem could be with my system. I'm using Ubuntu Hardy.<br><br>The following is the error that I got when I tried to install:<br><br>[CC] app_rtsp.c -> app_rtsp.o
<br>In file included from /usr/include/inttypes.h:28,
<br> from /opt/asterisk-1.4.26/include/asterisk/compat.h:20,
<br> from /opt/asterisk-1.4.26/include/asterisk.h:27,
<br> from app_rtsp.c:24:
<br>/usr/include/<b>stdint.h</b>:37: error: expected =, ,, ;, asm or __attribute__ before typedef
<br><br><br>The following is what is included in the <b>stdint.h</b> file:<br><br> 36 # define __int8_t_defined
<br> 37 typedef signed char int8_t;
<br> 38 typedef short int int16_t;
<br> 39 typedef int int32_t;
<br><br><br>So, any hint?<br><br><br>Thank you.<br><br>Best regards,<br><br>- Zelalem S. <br>Grahamstown, SA<br><br><br><br><hr id="stopSpelling">Date: Tue, 16 Feb 2010 12:18:34 +0100<br>From: salvatore.frandina@gmail.com<br>To: asterisk-video@lists.digium.com<br>Subject: [Asterisk-video] App_rtsp installation problem?<br><br><div>Hi,</div><div><br></div><div>this is the procedure</div><div><br></div><div><h4>Compiling</h4>
This document explains how to install and setup the app_tsp application.<br>
First, you need to have the source code of your Asterisk correctly
installed on your system
Copy the app_rtsp.c file into de Asterisk apps directory, goto the
Asterisk parent directory and
<BR>
<BR><div class="code">
make<br>
make install
</div>
<BR><h4>Setup</h4>
Enable video support and preferred codecs in sip.conf
<div class="code">
videosupport=yes<br>
<br>
disable=all<br>
allow=ulaw<br>
allow=alaw<br>
allow=h263<br>
allow=h263p<br>
</div>
Now, you can use the application functions in your dialpan, a simple
setup is like that:
<div class="code">
[default]<br>
exten => 201,1,Answer<br>
exten => 201,2,rtsp(rtsp://<a href="http://192.168.1.1/live.sdp">192.168.1.1/live.sdp</a>)<br>
exten => 201,3,HangUp<br>
</div>
Calling 201 will make the application to connect to the rtsp server and
start the playback of the media resource to the calling party..
As not many network cameras support H263 you would need to use the video
<a>transcoding application</a> to convert MPEG4 to H263<BR></div><br>-- <br>_______________________________________<br>Salvatore Frandina<br>website: <a href="http://frandinas.altervista.org">http://frandinas.altervista.org</a><br>
mail: <a href="mailto:salvatore.frandina@gmail.com">salvatore.frandina@gmail.com</a><br><br>_______________________________________<br><br>                                            <br /><hr />Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>