[Asterisk-Users] chan_sccp new release
asterisk_on_oelf
asterisk at oelf.net
Thu Jul 14 00:39:38 MST 2005
Hi,
I have a lot of compile problems with your version, because I have to use
gcc-2.95.
The problem is, that you should decleare variables first.
gcc-3.x accept something like this:
void sccp_channel_set_calledparty(sccp_channel_t * c, char *name, char
*number)
{
if (!c)
return;
sccp_device_t * d = c->device;
but gcc-2.95 doesn't
Correct syntax would be:
void sccp_channel_set_calledparty(sccp_channel_t * c, char *name, char
*number)
{
sccp_device_t * d;
if (!c)
return;
d = c->device;
I can send you my diffs, if you like.
regards
Jens
Quoting Sergio Chersovani <mlists at c-net.it>:
> http://chan-sccp.berlios.de/
>
>
> 20050713 ftp://ftp.berlios.de/pub/chan-sccp/chan_sccp-20050713.tar.bz2
>
> I didn't have a spare 7960 to use this week, so maybe some line issue is
> still present.
> - fixed a memory leak on database updates (dnd, cfwd*)
> - fixed old memory leak on unload (now unload chan_sccp.so and load
> chan_sccp.so work. It does reload the config when asterisk is running)
> - socket stuff has been totally rewritten
> - added sccp show sessions (cli command)
> - modified the output of sccp show channels (use it to understand what
> chan_sccp is doing with channels)
> - rewrite of asterisk codecs 2 skinny translation
> - modified the calls hangup system (more stable)
> - minor changes on the native transfer (now the call on a failed
> transfer status will ring back when you put onhook the phone - useful
> for no display phones)
> - many minor changes
>
> How to build:
>
> wget ftp://ftp.berlios.de/pub/chan-sccp/chan_sccp-20050713.tar.bz2
>
> tar xvjf chan_sccp-20050713.tar.bz2
> cd chan_sccp-20050713
> make clean; make install
>
> modules.conf
> load = chan_sccp.so
> noload = chan_skinny.so
>
> edit sccp.conf
>
> if you have compile errors try this:
>
> rm /usr/include/asterisk/*
> cd asterisk
> make upgrade
> cd chan_sccp-20050713
> make clean; make install
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list