celliax and asterisk1.4

Hi,
i can compile chan_celliax with asterisk-1.2.13, but fails with asterisk-1.4.0-beta3 (debian testing, gcc-4.1, kernel 2.6.15-4)

this is backtrace,

   [CC] chan_celliax.c -> chan_celliax.o
chan_celliax.c:503: warning: initialization from incompatible pointer type
chan_celliax.c:551: error: unknown field 'send_digit' specified in initializer
chan_celliax.c:551: warning: initialization from incompatible pointer type
chan_celliax.c:947: warning: no previous prototype for 'celliax_read_FBUS2'
chan_celliax.c:1276: warning: no previous prototype for 'skype_restart'
chan_celliax.c:1306: warning: no previous prototype for 'sync_serial_controldev'
chan_celliax.c:1421: warning: no previous prototype for 'celliax_init_AT'
chan_celliax.c:1507: warning: no previous prototype for 'celliax_read_AT'
chan_celliax.c:1627: warning: no previous prototype for 'celliax_read_NO_SERIAL'
chan_celliax.c:1633: warning: no previous prototype for 'celliax_read_controldev'
chan_celliax.c:1653: warning: no previous prototype for 'celliax_write_AT_ack'
chan_celliax.c:1761: warning: no previous prototype for 'celliax_init_NO_SERIAL'
chan_celliax.c:1766: warning: no previous prototype for 'celliax_init_controldev'
chan_celliax.c:1805: warning: no previous prototype for 'celliax_security_command_FBUS2'
chan_celliax.c:1822: warning: no previous prototype for 'celliax_hangup_NO_SERIAL'
chan_celliax.c:1954: warning: no previous prototype for 'main_dtmf'
chan_celliax.c:2230: warning: no previous prototype for 'celliax_call_ALSA_VOICEMODEM'
chan_celliax.c:2258: warning: no previous prototype for 'celliax_answer_ALSA_VOICEMODEM'
chan_celliax.c:2281: warning: no previous prototype for 'celliax_hangup_ALSA_VOICEMODEM'
chan_celliax.c:2305: warning: no previous prototype for 'celliax_hangup_FBUS2'
chan_celliax.c:2370: warning: no previous prototype for 'celliax_get_IMEI_NO_SERIAL_init'
chan_celliax.c:2376: warning: no previous prototype for 'celliax_get_IMEI_FBUS2_init'
chan_celliax.c:2434: warning: no previous prototype for 'celliax_get_IMEI_AT_init'
chan_celliax.c:2511: warning: no previous prototype for 'celliax_get_IMEI_controldev_init'
chan_celliax.c:2533: warning: no previous prototype for 'celliax_send_SMS_AT'
chan_celliax.c:2538: warning: no previous prototype for 'celliax_send_SMS_FBUS2'
chan_celliax.c:2546: warning: no previous prototype for 'celliax_send_SMS_controldev'
chan_celliax.c:2560: warning: no previous prototype for 'celliax_call_NO_SERIAL'
chan_celliax.c:2566: warning: no previous prototype for 'celliax_call_FBUS2'
chan_celliax.c:2591: warning: no previous prototype for 'celliax_call_AT'
chan_celliax.c:2605: warning: no previous prototype for 'celliax_call_controldev'
chan_celliax.c:2627: warning: no previous prototype for 'celliax_answer_NO_SERIAL'
chan_celliax.c:2635: warning: no previous prototype for 'celliax_answer_FBUS2'
chan_celliax.c:2655: warning: no previous prototype for 'celliax_answer_AT'
chan_celliax.c:2668: warning: no previous prototype for 'celliax_answer_controldev'
chan_celliax.c:2690: warning: no previous prototype for 'celliax_hangup_AT'
chan_celliax.c:2703: warning: no previous prototype for 'celliax_hangup_controldev'
chan_celliax.c: In function 'celliax_new':
chan_celliax.c:4421: warning: passing argument 1 of 'snprintf' discards qualifiers from pointer target type
chan_celliax.c:4422: error: 'struct ast_channel' has no member named 'type'
chan_celliax.c:4439: warning: passing argument 1 of '__builtin_strncpy' discards qualifiers from pointer target type
chan_celliax.c: At top level:
chan_celliax.c:5692: warning: data definition has no type or storage class
chan_celliax.c:5692: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'
chan_celliax.c:5694: warning: data definition has no type or storage class
chan_celliax.c:5694: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'
chan_celliax.c: In function 'realtime_directory':
chan_celliax.c:5894: warning: assignment discards qualifiers from pointer target type
chan_celliax.c:5895: warning: assignment discards qualifiers from pointer target type
chan_celliax.c: In function 'directory_celliax_skype_exec':
chan_celliax.c:6339: warning: implicit declaration of function 'LOCAL_USER_ADD'
chan_celliax.c:6362: warning: implicit declaration of function 'LOCAL_USER_REMOVE'
chan_celliax.c:6369: warning: assignment discards qualifiers from pointer target type
chan_celliax.c:6371: warning: assignment discards qualifiers from pointer target type
chan_celliax.c: At top level:
chan_celliax.c:6680: warning: no previous prototype for 'unload_module'
chan_celliax.c:6685: warning: function declaration isn't a prototype
chan_celliax.c:6795: warning: function declaration isn't a prototype
chan_celliax.c:6804: warning: function declaration isn't a prototype
chan_celliax.c:6809: warning: function declaration isn't a prototype
chan_celliax.c:6884: warning: no previous prototype for 'n61_addchar'
chan_celliax.c:6923: warning: no previous prototype for 'n61_unbcd'
chan_celliax.c:6979: warning: no previous prototype for 'n61_bcd'
chan_celliax.c:7004: warning: no previous prototype for 'n61_bcd2'
chan_celliax.c:7029: warning: no previous prototype for 'n61_gettrans'
chan_celliax.c:7043: warning: no previous prototype for 'n61_pack7'
chan_celliax.c:7075: warning: no previous prototype for 'n61_sendframe'
chan_celliax.c:7118: warning: no previous prototype for 'n61_sendmsg'
make[1]: *** [chan_celliax.o] Error 1
make: *** [channels] Error 2

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi becks, to compile with

Hi becks,

to compile with Asterisk-1.4 you have to

#define ASTERISK_VERSION_1_4_FROM_SVN in chan_celliax.c

and make some modification to the Asterisk Makefiles

The send_digit error is now fixed in svn.

I'll check later if it compiles and runs... and I'll come back with more details ;)

now svn compiles correctly

now svn compiles correctly both with asterisk-1.2 and asterisk-1.4.

See updated README

Hope cygwin is not broken :)

indeed cygwin was broken by

indeed cygwin was broken by the ast-1.4 mods.
Now's ok

Thanks!

Thanks!

Hi, I'm newbie in asterisk

Hi,

I'm newbie in asterisk and linux.
Is it possible to use the celliax channel as a Trunk on my working trixbox 1.2 ? I don't need skype at all.

Ciao Blaxy, yes, you can use

Ciao Blaxy,

yes, you can use chan_celliax as a channel for your trixbox, chan_celliax is just a regular Asterisk channel driver.

You can use it with or without Skype, no problem.

I know that Trixbox use a slightly different approach for configuration files, but I've not looked into that.

Anyway, I'm sure that you *can* use celliax with Trixbox, is just the *how* that at the moment I can't tell you ;).

For sure I'll look into this after the next release, kind of soon ;).

Ciao for now, and let us all know about your experiences

How to install Celliax in

How to install Celliax in Trixbox 2.2: http://www.celliax.org/node/313

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.