[asterisk-ss7] Domjan libss7+asterisk 1.6.2.x

Torrey Searle tsearle at gmail.com
Fri Sep 10 02:43:31 CDT 2010


My bad it seems I did had to make a patch to get it working....

If Atilla sees this I give him permission to add it to his SVN :-)

Torrey

On 9 September 2010 19:10, Anton VG. <anton.vazir at gmail.com> wrote:
> Are you sure you actually compiled Domjan's chan_dahdi? I'm getting errors while trying compiling for 1.6.2..11 & 1.6.1.20
>
>   [CC] chan_dahdi.c -> chan_dahdi.o
> chan_dahdi.c: In function ‘notify_message’:
> chan_dahdi.c:1965: error: too many arguments to function ‘ast_event_queue_and_cache’
> chan_dahdi.c: In function ‘disable_dtmf_detect’:
> chan_dahdi.c:2139: error: ‘DSP_FEATURE_DTMF_DETECT’ undeclared (first use in this function)
> chan_dahdi.c:2139: error: (Each undeclared identifier is reported only once
> chan_dahdi.c:2139: error: for each function it appears in.)
> chan_dahdi.c: In function ‘enable_dtmf_detect’:
> chan_dahdi.c:2157: error: ‘DSP_FEATURE_DTMF_DETECT’ undeclared (first use in this function)
> chan_dahdi.c: In function ‘dahdi_hangup’:
> chan_dahdi.c:3266: warning: implicit declaration of function ‘ast_dsp_digitmode’
> chan_dahdi.c: In function ‘dahdi_handle_event’:
> chan_dahdi.c:4602: error: incompatible types when assigning to type ‘union <anonymous>’ from type ‘void *’
> chan_dahdi.c: In function ‘__dahdi_exception’:
> chan_dahdi.c:5441: error: incompatible types when assigning to type ‘union <anonymous>’ from type ‘void *’
> chan_dahdi.c: In function ‘dahdi_read’:
> chan_dahdi.c:5569: error: incompatible types when assigning to type ‘union <anonymous>’ from type ‘void *’
> chan_dahdi.c:5736: error: incompatible types when assigning to type ‘union <anonymous>’ from type ‘short int *’
> chan_dahdi.c:5738: error: cannot convert to a pointer type
> chan_dahdi.c:5774: error: incompatible types when assigning to type ‘union <anonymous>’ from type ‘short int *’
> chan_dahdi.c:5789: error: incompatible types when assigning to type ‘union <anonymous>’ from type ‘void *’
> chan_dahdi.c: In function ‘dahdi_write’:
> chan_dahdi.c:5905: error: wrong type argument to unary exclamation mark
> chan_dahdi.c:5915: error: cannot convert to a pointer type
> chan_dahdi.c:5924: error: cannot convert to a pointer type
> chan_dahdi.c: In function ‘dahdi_new’:
> chan_dahdi.c:6298: error: ‘DSP_FEATURE_DTMF_DETECT’ undeclared (first use in this function)
> chan_dahdi.c:6396: warning: ‘ast_device_state_changed_literal’ is deprecated (declared at /home/src/asterisk/asterisk-1.6.2.11/include/asterisk/devicestate.h:191)
> chan_dahdi.c: In function ‘do_monitor’:
> chan_dahdi.c:8160: error: too few arguments to function ‘vmwi_generate’
> make[1]: *** [chan_dahdi.o] Error 1
> make: *** [channels] Error 2
>
>
> On Thursday 09 September 2010 20:11:45 Torrey Searle wrote:
>> Did you run into compilation issues?  I just compiled Atilla's
>> chan_dahdi.c yesterday with 1.6.2.11 without any issue...
>>
>> Torrey
>>
>> On 8 September 2010 23:06, Anton VG. <anton.vazir at gmail.com> wrote:
>> > Have Anyone used (updated) Domjan libss7+latest asterisk 1.6.2.x?
>> >
>> > Just looked to latest Domjan svn - the chan_dahdi.c is still for 1.6.0.x.
>> > Any plans to update?
>> >
>> > --
>> > _____________________________________________________________________
>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> >
>> > asterisk-ss7 mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chan_dahdi_1.6.2_backport.patch
Type: text/x-patch
Size: 9200 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-ss7/attachments/20100910/b7905406/attachment.bin 


More information about the asterisk-ss7 mailing list