Posted: Fri Mar 09, 2007 10:24 am Post subject: [Asterisk-video] app_h324m does not compile
Hi,
i've successfully installed libh324m.so und .h, but when trying to compile
app_h324m i'm getting the following errors:
[CC] app_h324m.c -> app_h324m.o
app_h324m.c: In function âinit_h324m_packetizerâ:
app_h324m.c:224: warning: unused variable âpebitâ
app_h324m.c:185: warning: enumeration value âAST_FRAME_DTMF_ENDâ not handled
in switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_CONTROLâ not handled
in switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_NULLâ not handled in
switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_IAXâ not handled in
switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_TEXTâ not handled in
switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_IMAGEâ not handled in
switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_HTMLâ not handled in
switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_CNGâ not handled in
switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_MODEMâ not handled in
switch
app_h324m.c:185: warning: enumeration value âAST_FRAME_DTMF_BEGINâ not
handled in switch
app_h324m.c: In function âcreate_h324m_frameâ:
app_h324m.c:267: warning: enumeration value âAST_FRAME_DTMF_ENDâ not handled
in switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_CONTROLâ not handled
in switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_NULLâ not handled in
switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_IAXâ not handled in
switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_TEXTâ not handled in
switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_IMAGEâ not handled in
switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_HTMLâ not handled in
switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_CNGâ not handled in
switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_MODEMâ not handled in
switch
app_h324m.c:267: warning: enumeration value âAST_FRAME_DTMF_BEGINâ not
handled in switch
app_h324m.c: In function âapp_h324m_gwâ:
app_h324m.c:496: error: too few arguments to function âast_senddigit_endâ
app_h324m.c: In function âapp_h324m_callâ:
app_h324m.c:708: error: too few arguments to function âast_senddigit_endâ
make[1]: *** [app_h324m.o] Error 1
make: *** [apps] Error 2
Any ideas how to solve this?
Thanks,
Andreas
_________________________________________________________________
Become a fitness fanatic @ http://xtramsn.co.nz/health
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
On Fri, 2007-03-09 at 10:16 +0000, Andreas Anderson wrote:
Quote:
Hi,
i've successfully installed libh324m.so und .h, but when trying to compile
app_h324m i'm getting the following errors:
[CC] app_h324m.c -> app_h324m.o
app_h324m.c: In function init_h324m_packetizer:
app_h324m.c:224: warning: unused variable pebit
app_h324m.c:185: warning: enumeration value AST_FRAME_DTMF_END not handled
in switch
app_h324m.c:185: warning: enumeration value AST_FRAME_CONTROL not handled
in switch
app_h324m.c:185: warning: enumeration value AST_FRAME_NULL not handled in
switch
app_h324m.c:185: warning: enumeration value AST_FRAME_IAX not handled in
switch
app_h324m.c:185: warning: enumeration value AST_FRAME_TEXT not handled in
switch
app_h324m.c:185: warning: enumeration value AST_FRAME_IMAGE not handled in
switch
app_h324m.c:185: warning: enumeration value AST_FRAME_HTML not handled in
switch
app_h324m.c:185: warning: enumeration value AST_FRAME_CNG not handled in
switch
app_h324m.c:185: warning: enumeration value AST_FRAME_MODEM not handled in
switch
app_h324m.c:185: warning: enumeration value AST_FRAME_DTMF_BEGIN not
handled in switch
app_h324m.c: In function create_h324m_frame:
app_h324m.c:267: warning: enumeration value AST_FRAME_DTMF_END not handled
in switch
app_h324m.c:267: warning: enumeration value AST_FRAME_CONTROL not handled
in switch
app_h324m.c:267: warning: enumeration value AST_FRAME_NULL not handled in
switch
app_h324m.c:267: warning: enumeration value AST_FRAME_IAX not handled in
switch
app_h324m.c:267: warning: enumeration value AST_FRAME_TEXT not handled in
switch
app_h324m.c:267: warning: enumeration value AST_FRAME_IMAGE not handled in
switch
app_h324m.c:267: warning: enumeration value AST_FRAME_HTML not handled in
switch
app_h324m.c:267: warning: enumeration value AST_FRAME_CNG not handled in
switch
app_h324m.c:267: warning: enumeration value AST_FRAME_MODEM not handled in
switch
app_h324m.c:267: warning: enumeration value AST_FRAME_DTMF_BEGIN not
handled in switch
app_h324m.c: In function app_h324m_gw:
app_h324m.c:496: error: too few arguments to function ast_senddigit_end
app_h324m.c: In function app_h324m_call:
app_h324m.c:708: error: too few arguments to function ast_senddigit_end
make[1]: *** [app_h324m.o] Error 1
make: *** [apps] Error 2
Any ideas how to solve this?
Thanks,
Andreas
_________________________________________________________________
Become a fitness fanatic @ http://xtramsn.co.nz/health
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Francesco Emmi
A-Tono
Largo Paisiello, 5 - 95124 Catania
Tel.: (+39) 095.7365312
http: www.a-tono.com
Information in this email is confidential and may be privileged. It is
intended for the addresses only. If you have received it in error,
please notify the sender immediately and delete it from your system. You
should not otherwise copy it, retransmit it or use or disclose its
content to anyone.
Thank you for your co-operation.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Sat Mar 10, 2007 6:18 pm Post subject: [Asterisk-video] app_h324m does not compile
From: "Andreas Anderson" <galium123@hotmail.com>
Sent: Friday, March 09, 2007 11:16 AM
Hi andreas
[..]
Quote:
app_h324m.c: In function âapp_h324m_gwâ:
app_h324m.c:496: error: too few arguments to function âast_senddigit_endâ
app_h324m.c: In function âapp_h324m_callâ:
app_h324m.c:708: error: too few arguments to function âast_senddigit_endâ
[..]
The problem is that the function call for ast_senddigit_end has changed from
1.4.0 to 1.4.1.
Change
ast_senddigit_end(pseudo,input[0]);
for
ast_senddigit_end(pseudo,input[0],100);
on h324m.c lines 496 and 708
If anyone has any idea of how to solve the problem to allow the app_h324m to
compile in both versions please let me know..
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum