[Asterisk-Users] Unicall errors
Sam Njenga
sam at intersatafrica.com
Mon Jan 10 07:30:17 MST 2005
I tried to compile asterisk after updating unicall and got the following
errors
chan_unicall.c:57:26: libsupertone.h: No such file or directory
chan_unicall.c:96: parse error before '*' token
chan_unicall.c:96: warning: type defaults to `int' in declaration of `set'
chan_unicall.c:96: warning: data definition has no type or storage class
chan_unicall.c: In function `super_tone':
chan_unicall.c:415: `ST_TYPE_NONE' undeclared (first use in this function)
chan_unicall.c:415: (Each undeclared identifier is reported only once
chan_unicall.c:415: for each function it appears in.)
chan_unicall.c:416: request for member `tone' in something not a structure
or un
ion
chan_unicall.c: In function `unicall_hangup':
chan_unicall.c:1510: `ST_TYPE_NONE' undeclared (first use in this function)
chan_unicall.c: In function `unicall_bridge':
chan_unicall.c:1914: `ST_TYPE_RINGBACK' undeclared (first use in this
function)
chan_unicall.c:1920: `ST_TYPE_NONE' undeclared (first use in this function)
chan_unicall.c: In function `handle_uc_read':
chan_unicall.c:2169: `ST_TYPE_NONE' undeclared (first use in this function)
chan_unicall.c: In function `unicall_write':
chan_unicall.c:2577: `ST_TYPE_NONE' undeclared (first use in this function)
chan_unicall.c: In function `unicall_indicate':
chan_unicall.c:2613: `ST_TYPE_BUSY' undeclared (first use in this function)
chan_unicall.c:2626: `ST_TYPE_CONGESTED' undeclared (first use in this
function)
chan_unicall.c:2649: `ST_TYPE_NONE' undeclared (first use in this function)
chan_unicall.c: In function `setup_unicall':
chan_unicall.c:4555: warning: implicit declaration of function
`get_supervisory_
tone_set'
chan_unicall.c:4555: warning: assignment makes pointer from integer without
a ca
st
chan_unicall.c: In function `unicall_sendtext':
chan_unicall.c:4690: warning: assignment makes integer from pointer without
a ca
st
make[1]: *** [chan_unicall.o] Error 1
make[1]: Leaving directory `/home/asterisk/asterisk/channels'
make: *** [subdirs] Error 1
[root at localhost asterisk]#
so I decided to install supertone and got these errors too
supertone_tests.c:44:23: audiofile.h: No such file or directory
supertone_tests.c: In function `main':
supertone_tests.c:60: `AFfilehandle' undeclared (first use in this function)
supertone_tests.c:60: (Each undeclared identifier is reported only once
supertone_tests.c:60: for each function it appears in.)
supertone_tests.c:60: parse error before "outhandle"
supertone_tests.c:61: `AFfilesetup' undeclared (first use in this function)
supertone_tests.c:84: `filesetup' undeclared (first use in this function)
supertone_tests.c:85: `AF_NULL_FILESETUP' undeclared (first use in this
function)
supertone_tests.c:91: `AF_DEFAULT_TRACK' undeclared (first use in this
function)
supertone_tests.c:91: `AF_SAMPFMT_TWOSCOMP' undeclared (first use in this
function)
supertone_tests.c:94: `AF_FILE_WAVE' undeclared (first use in this function)
supertone_tests.c:97: `outhandle' undeclared (first use in this function)
supertone_tests.c:98: `AF_NULL_FILEHANDLE' undeclared (first use in this
function)
make[1]: *** [supertone_tests.o] Error 1
make[1]: Leaving directory `/home/packages/libsupertone-0.0.1'
make: *** [all] Error 2
[root at localhost libsupertone-0.0.1]#
Am I missing any packages ?
----- Original Message -----
From: "Steve Underwood" <steveu at coppice.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Monday, January 10, 2005 4:35 PM
Subject: Re: [Asterisk-Users] Unicall errors
> Hi Sam,
>
> It looks like you have not set the default signalling bit pattern
> properly in your /etc/zaptel.conf file.
>
> If you are not using unicall-0.0.2pre2, update. This version contains a
> number of important bug fixes.
>
> Regards,
> Steve
>
> Sam Njenga wrote:
>
> > If I make a call to asterisk's r2 E1 I get these errors
> >
> > *CLI> Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634
> > unicall_error: UniCall: mfcr2 Rx bits 0x1 [1/ 1/ 0/ 0]
> > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Detected
> > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Making a new call with CRN 32791
> > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Tx bits 0xD [2/ 2/101/ 0]
> > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:2548
> > handle_uc_event: UC event Detected
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Rx bits 0x9 [2/ 2/101/ 0]
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Far end disconnected - state 0x2
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548
> > handle_uc_event: UC event Far end disconnected
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2854
> > handle_uc_event: Far disconnect cause 31
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 mfcr2_DropCall()
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Call disconnected - state 0x800
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548
> > handle_uc_event: UC event Drop call
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2892
> > handle_uc_event: Doing a uc_ReleaseCall
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 mfcr2_ReleaseCall()
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Tx bits 0x9 [1/ 1000/106/ 0]
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 Destroying call with CRN 32791
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error:
> > UniCall: mfcr2 release_guard_expired
> > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548
> > handle_uc_event: UC event Release call
> > -- UC channel 4 released
> >
> > I am using channel Unicall compiled without errors on Redhat 9
> >
> > /Sam
>
>
> _______________________________________________
> 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