Hi, I have an asterisk running great, with 2 cisco 7912 phones converted to SIP, and a cisco 2600 xl w/ E1 and SIP. I?m thinking to expand the test adding more 7912, but I prefer not convert all the 7912 to SIP, so I?m tying to put CHAN_SCCP to work. I?ve get the sources from cvs.sourceforge.net but when I try to compile, get the followings errors: [root@asterisk01 chan_sccp]# make Now compiling .... chan_sccp.c 695 lines In file included from chan_sccp.c:15: /usr/src/asterisk/include/asterisk/utils.h:22: redefinition of `struct ast_hostent' chan_sccp.c:50: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_sccp.c:50: warning: parameter names (without types) in function declaration chan_sccp.c:50: warning: data definition has no type or storage class chan_sccp.c:51: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_sccp.c:51: warning: parameter names (without types) in function declaration chan_sccp.c:51: warning: data definition has no type or storage class chan_sccp.c:52: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_sccp.c:52: warning: parameter names (without types) in function declaration chan_sccp.c:52: warning: data definition has no type or storage class chan_sccp.c:53: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_sccp.c:53: warning: parameter names (without types) in function declaration chan_sccp.c:53: warning: data definition has no type or storage class chan_sccp.c:58: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_sccp.c:58: warning: parameter names (without types) in function declaration chan_sccp.c:58: warning: data definition has no type or storage class chan_sccp.c: In function `reload_config': chan_sccp.c:421: `devicelock' undeclared (first use in this function) chan_sccp.c:421: (Each undeclared identifier is reported only once chan_sccp.c:421: for each function it appears in.) chan_sccp.c:432: `linelock' undeclared (first use in this function) chan_sccp.c:486: `intercomlock' undeclared (first use in this function) chan_sccp.c: In function `do_monitor': chan_sccp.c:584: `monlock' undeclared (first use in this function) chan_sccp.c: In function `restart_monitor': chan_sccp.c:600: `monlock' undeclared (first use in this function) chan_sccp.c: In function `unload_module': chan_sccp.c:664: `monlock' undeclared (first use in this function) chan_sccp.c: In function `usecount': chan_sccp.c:683: `usecnt_lock' undeclared (first use in this function) make: *** [.tmp/chan_sccp.o] Error 1 [root@asterisk01 chan_sccp]# The "utils.h" was downloaded alone from cvs.diguim.com, as it was't downloaded via cvs checkout or cvs update, so I don?t know if is the right file. Any way without that file, the compilation doesen?t work neither. Does somebody know what I'm doing wrong, or how may I get the chan_sccp to work? Thanks in advance Marcelo Lopez Petrobras Energia S.A. Argentina -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040702/4102bb40/attachment.htm
On Fri, Jul 02, 2004 at 12:36:23PM -0300, Lopez Marcelo wrote:> Date: Fri, 2 Jul 2004 12:36:23 -0300 > From: Lopez Marcelo <mlopez@petrobrasenergia.com> > X-Mailer: Internet Mail Service (5.5.2657.72) > To: asterisk-users@lists.digium.com > Reply-To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Problem with CHAN_SCCP > > Hi, I have an asterisk running great, with 2 cisco 7912 phones converted > to SIP, and a cisco 2600 xl w/ E1 and SIP. I'm thinking to expand the test > adding more 7912, but I prefer not convert all the 7912 to SIP, so I'm > tying to put CHAN_SCCP to work. I've get the sources from[snip] It seems that chan_sccp doesn't compile with stable version of Asterisk. I had to download head cvs in order to compile chan_sccp. BTW why you don't want to use SIP firmware? I have 7910 which doesn't support SIP and I cannot get all functions working. For example two speed dial buttons do not work. (chan_sccp receives unknown stimuls). Don't know how to change ringer type, depending which line is called. Regards, -- Alexei Chetroi