<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2"><b>On Fri, 17 Sep 2010 23:04:29 +0530, Sunil Kumar wrote</b>
<br />> . I am
trying to set up CAS signalling on my single E1/T1 digium card. I have followed
the readme file and and installed librpi, dahdi, pandsp, libsupertone,
libunicall, libmfcr2 and asterisk. All of them the latest version I
used <b>astunicall-1.6.0.1-0.1.tar.gz</b> and
<b>chan-unicall-1.6-0.1</b>.
<br />>
After installation of asterisk 1.6.2.11 when i go t the chan-unicall-1.6-0.1
directory and run the make command i get the following error<b>.
<br />>
<br />> [root@TEchGroupz chan-unicall-1.6-0.1]# make
<br />> cc -Wall -g -O2
-fPIC -D_GNU_SOURCE -DAST_MODULE=\"chan_unicall\" -shared -o
chan_unicall.so chan_unicall.c -lunicall -lspandsp -lsupertone
<br />>
chan_unicall.c: In function âunicall_hangupâ:
<br />> chan_unicall.c:1101:
warning: implicit declaration of function âast_dsp_digitmodeâ
<br />>
chan_unicall.c: In function âunicall_exceptionâ:
<br />> chan_unicall.c:1898:
error: incompatible types in assignment
<br />>
chan_unicall.c: In function âunicall_readâ:
<br />> chan_unicall.c:1988:
error: incompatible types in assignment
<br />> chan_unicall.c:2138: error:
incompatible types in assignment
<br />> chan_unicall.c:2155: error:
incompatible types in assignment
<br />>
chan_unicall.c:2173: error: incompatible types in assignment
<br />>
chan_unicall.c: In function âunicall_writeâ:
<br />> chan_unicall.c:2330:
error: invalid operands to binary ==
<br />> chan_unicall.c:2335: error: cannot
convert to a pointer type
<br />>
chan_unicall.c: In function âunicall_newâ:
<br />> chan_unicall.c:2455: error:
âDSP_FEATURE_DTMF_DETECTâ undeclared (first use in this function)
<br />>
chan_unicall.c:2455: error: (Each undeclared identifier is reported only
once
<br />>
chan_unicall.c:2455: error: for each function it appears in.)
<br />> make: ***
[chan_unicall.so] Error 1
<br />> [root@TEchGroupz
chan-unicall-1.6-0.1]#
<br />>
<br />> </b>Any idea where am i going
wrong??
<br />> Regards
<br />> <font color="#888888">Sunil
<br />>
<b>
<br />>
</b>
</font>
<br /> Asterisk 1.6.2.X now uses OpenR2 for R2 signalling so I recommend you try that instead of Unicall which I would consider completely outdated by now. Go to http://libopenr2.org for more information.
<br />
<br />--
<br />
Carlos Chavez
<br />
Director de Tecnología
<br />
Telecomunicaciones Abiertas de México S.A. de C.V.
<br />
Tel: +52-55-91169161 Ext
2001
<br />
</font>
</BODY>
</HTML>