<div dir="ltr"><div><div>Thanks Jean, <br></div>Anders sent same to me few minutes ago. <br>The error I got while trying to compile it is as contained below.<br><br>[root@voipsipgw1 chan_ss7-2.3.11]# make<br>Makefile:188: .depend: No such file or directory<br>gcc  -I../source/telephony/dahdi/include -I../source/telephony/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic  -finline-functions -DCHAN_SS7_VERSION=\"2.3.11\" -o astversion astversion.c -lpthread<br>./astversion > astversion.h.tmp && mv -f astversion.h.tmp astversion.h<br>gcc -MM -E -I../source/telephony/dahdi/include -I../source/telephony/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic  -finline-functions -DCHAN_SS7_VERSION=\"2.3.11\" astversion.h chan_ss7.c l4isup.c isup.c mtp.c utils.c config.c configparser.c cluster.c lffifo.c transport.c cli.c dump.c mtp3io.c astversion.c aststubs.c mtp3d.c mtp3cli.c l4isup.h isup.h mtp.h utils.h config.h configparser.h cluster.h lffifo.h cli.h dump.h transport.h aststubs.h mtp3io.h > .depend.new && mv -f .depend.new .depend || rm -f .depend.new<br>gcc -c -I../source/telephony/dahdi/include -I../source/telephony/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic  -finline-functions -DCHAN_SS7_VERSION=\"2.3.11\" -o chan_ss7.o chan_ss7.c<br>gcc -I../source/telephony/dahdi/include -I../source/telephony/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic  -finline-functions -DCHAN_SS7_VERSION=\"2.3.11\"   -c -o l4isup.o l4isup.c<br>l4isup.c:256:3: warning: initialization from incompatible pointer type [enabled by default]<br>   .requester = ss7_requester,<br>   ^<br>l4isup.c:256:3: warning: (near initialization for ‘ss7_tech.requester’) [enabled by default]<br>l4isup.c: In function ‘ss7_new’:<br>l4isup.c:955:21: error: storage size of ‘format’ isn’t known<br>   struct ast_format format;<br>                     ^<br>l4isup.c:968:3: error: incompatible type for argument 10 of ‘__ast_channel_alloc’<br>   chan = ast_channel_alloc(1, state, cid_num, NULL, NULL, exten, pvt->context, NULL, 0, "%s/%s/%d", type, pvt->link->linkset->name, pvt->cic);<br>   ^<br>In file included from l4isup.c:46:0:<br>/usr/include/asterisk/channel.h:1161:2: note: expected ‘enum ama_flags’ but argument is of type ‘char *’<br>  __ast_channel_alloc(int needqueue, int state, const char *cid_num,<br>  ^<br>l4isup.c:992:5: warning: implicit declaration of function ‘ast_format_set’ [-Wimplicit-function-declaration]<br>     ast_format_set(&format, AST_FORMAT_ULAW, 0);<br>     ^<br>l4isup.c:992:29: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)<br>     ast_format_set(&format, AST_FORMAT_ULAW, 0);<br>                             ^<br>l4isup.c:992:29: note: each undeclared identifier is reported only once for each function it appears in<br>l4isup.c:994:29: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)<br>     ast_format_set(&format, AST_FORMAT_ALAW, 0);<br>                             ^<br>l4isup.c:996:3: warning: implicit declaration of function ‘ast_format_cap_add’ [-Wimplicit-function-declaration]<br>   ast_format_cap_add(ast_channel_nativeformats(chan), &format);<br>   ^<br>l4isup.c:997:3: warning: implicit declaration of function ‘ast_format_copy’ [-Wimplicit-function-declaration]<br>   ast_format_copy(ast_channel_rawreadformat(chan), &format);<br>   ^<br>l4isup.c:955:21: warning: unused variable ‘format’ [-Wunused-variable]<br>   struct ast_format format;<br>                     ^<br>l4isup.c: In function ‘ss7_requester’:<br>l4isup.c:1081:3: warning: implicit declaration of function ‘ast_getformatname_multiple’ [-Wimplicit-function-declaration]<br>   ast_log(LOG_DEBUG, "SS7 request (%s/%s) format %s.\n", type, arg, ast_getformatname_multiple(tmp, sizeof(tmp),cap));<br>   ^<br>l4isup.c:1081:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘int’ [-Wformat=]<br>l4isup.c:1083:39: error: ‘AST_FORMAT_TYPE_AUDIO’ undeclared (first use in this function)<br>   if (!((ast_format_cap_has_type(cap, AST_FORMAT_TYPE_AUDIO)) & (AST_FORMAT_ALAW | AST_FORMAT_ULAW)))  {<br>                                       ^<br>l4isup.c:1083:66: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)<br>   if (!((ast_format_cap_has_type(cap, AST_FORMAT_TYPE_AUDIO)) & (AST_FORMAT_ALAW | AST_FORMAT_ULAW)))  {<br>                                                                  ^<br>l4isup.c:1083:84: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)<br>   if (!((ast_format_cap_has_type(cap, AST_FORMAT_TYPE_AUDIO)) & (AST_FORMAT_ALAW | AST_FORMAT_ULAW)))  {<br>                                                                                    ^<br>l4isup.c:1084:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 6 has type ‘int’ [-Wformat=]<br>     ast_log(LOG_NOTICE, "Audio format 0x%s not supported by SS7 channel.\n", ast_getformatname_multiple(tmp, sizeof(tmp),cap));<br>     ^<br>l4isup.c: In function ‘ss7_read’:<br>l4isup.c:2757:49: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)<br>     ast_format_set(&pvt->frame.subclass.format, AST_FORMAT_ULAW, 0);<br>                                                 ^<br>l4isup.c:2759:49: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)<br>     ast_format_set(&pvt->frame.subclass.format, AST_FORMAT_ALAW, 0);<br>                                                 ^<br>l4isup.c: In function ‘ss7_write’:<br>l4isup.c:2872:71: error: request for member ‘id’ in something not a structure or union<br>   if((frame->frametype != AST_FRAME_VOICE) || ((frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ALAW) && (frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ULAW))) {<br>                                                                       ^<br>l4isup.c:2872:78: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)<br>   if((frame->frametype != AST_FRAME_VOICE) || ((frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ALAW) && (frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ULAW))) {<br>                                                                              ^<br>l4isup.c:2872:121: error: request for member ‘id’ in something not a structure or union<br>   if((frame->frametype != AST_FRAME_VOICE) || ((frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ALAW) && (frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ULAW))) {<br>                                                                                                                         ^<br>l4isup.c:2872:128: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)<br>   if((frame->frametype != AST_FRAME_VOICE) || ((frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ALAW) && (frame-><a href="http://subclass.format.id">subclass.format.id</a> != AST_FORMAT_ULAW))) {<br>                                                                                                                                ^<br>l4isup.c: In function ‘init_pvt’:<br>l4isup.c:5047:49: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)<br>     ast_format_set(&pvt->frame.subclass.format, AST_FORMAT_ULAW,0);<br>                                                 ^<br>l4isup.c:5051:49: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)<br>     ast_format_set(&pvt->frame.subclass.format, AST_FORMAT_ALAW,0);<br>                                                 ^<br>l4isup.c: In function ‘isup_init’:<br>l4isup.c:5279:21: error: storage size of ‘tmpfmt’ isn’t known<br>   struct ast_format tmpfmt;<br>                     ^<br>In file included from /usr/include/asterisk/data.h:29:0,<br>                 from /usr/include/asterisk/channel.h:176,<br>                 from l4isup.c:46:<br>l4isup.c:5381:33: error: expected expression before ‘)’ token<br>   if (!(ss7_tech.capabilities = ast_format_cap_alloc())) {<br>                                 ^<br>l4isup.c:5384:69: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)<br>   ast_format_cap_add(ss7_tech.capabilities, ast_format_set(&tmpfmt, AST_FORMAT_ALAW, 0));<br>                                                                     ^<br>l4isup.c:5385:69: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)<br>   ast_format_cap_add(ss7_tech.capabilities, ast_format_set(&tmpfmt, AST_FORMAT_ULAW, 0));<br>                                                                     ^<br>l4isup.c:5391:5: warning: implicit declaration of function ‘ast_format_cap_destroy’ [-Wimplicit-function-declaration]<br>     ast_format_cap_destroy(ss7_tech.capabilities);<br>     ^<br>l4isup.c:5279:21: warning: unused variable ‘tmpfmt’ [-Wunused-variable]<br>   struct ast_format tmpfmt;<br>                     ^<br><br><br><br></div><div>Regards</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 2:28 PM, Jean Cérien <span dir="ltr"><<a href="mailto:cerien.jean@gmail.com" target="_blank">cerien.jean@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>I've asked directly and received this message from the Netfors people in January this year (2016)</div><br style="font-size:12.8px"><span style="font-size:12.8px"><i>"There are currently no plans for asterisk 13 compatibility, but I expect it will be at the latest this coming spring."</i></span><div><span style="font-size:12.8px"><i><br></i></span></div><div><span style="font-size:12.8px"><i><br></i></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 9:20 AM, Abdul Basit <span dir="ltr"><<a href="mailto:basit.engg@gmail.com" target="_blank">basit.engg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Give it test drive with asterisk 13.<br>
couldn't test ss7 libraries with asterisk v13.</p>
<div class="gmail_quote"><div><div>On 18 Apr 2016 13:56, "Goke Aruna" <<a href="mailto:goksie@gmail.com" target="_blank">goksie@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi all,<br>Does libss7 or chan_ss7 work with asterisk 13?<br></div>Regards</div>
<br></div></div><span><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></font></span></blockquote></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br></div>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br></div>