[asterisk-r2] chan_unical

Carlos Chavez cursor at telecomabmex.com
Fri Sep 17 16:32:45 CDT 2010


On Fri, 17 Sep 2010 23:04:29 +0530, Sunil Kumar wrote
> . 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 astunicall-1.6.0.1-0.1.tar.gz and chan-unicall-1.6-0.1.
> 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.
> 
> [root at TEchGroupz chan-unicall-1.6-0.1]# make
> cc -Wall -g -O2 -fPIC -D_GNU_SOURCE -DAST_MODULE=\"chan_unicall\" -shared -o chan_unicall.so chan_unicall.c -lunicall -lspandsp -lsupertone
> chan_unicall.c: In function âunicall_hangupâ:
> chan_unicall.c:1101: warning: implicit declaration of function âast_dsp_digitmodeâ
> chan_unicall.c: In function âunicall_exceptionâ:
> chan_unicall.c:1898: error: incompatible types in assignment
> chan_unicall.c: In function âunicall_readâ:
> chan_unicall.c:1988: error: incompatible types in assignment
> chan_unicall.c:2138: error: incompatible types in assignment
> chan_unicall.c:2155: error: incompatible types in assignment
> chan_unicall.c:2173: error: incompatible types in assignment
> chan_unicall.c: In function âunicall_writeâ:
> chan_unicall.c:2330: error: invalid operands to binary ==
> chan_unicall.c:2335: error: cannot convert to a pointer type
> chan_unicall.c: In function âunicall_newâ:
> chan_unicall.c:2455: error: âDSP_FEATURE_DTMF_DETECTâ undeclared (first use in this function)
> chan_unicall.c:2455: error: (Each undeclared identifier is reported only once
> chan_unicall.c:2455: error: for each function it appears in.)
> make: *** [chan_unicall.so] Error 1
> [root at TEchGroupz chan-unicall-1.6-0.1]#
> 
> Any idea where am i going wrong??
> Regards
> Sunil
> 
> 
     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.

-- 
Carlos Chavez 
Director de Tecnología 
Telecomunicaciones Abiertas de México S.A. de C.V. 
Tel: +52-55-91169161 Ext 2001
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20100917/6048e346/attachment.htm 


More information about the asterisk-r2 mailing list