asterisk-11.x: compile chan_dahdi with support for PRI and BRI
authorDaniel Golle <daniel@makrotopia.org>
Sat, 26 Sep 2015 22:13:50 +0000 (00:13 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 26 Sep 2015 22:17:00 +0000 (00:17 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/asterisk-11.x/Makefile

index fe3e19bbb7ab2f46f4485b5e1d08acf92bfd750f..316bd57490c1618bcf76297abdfea173b7f39c93 100644 (file)
@@ -163,10 +163,12 @@ endef
 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk11-chan-dahdi),)
   CONFIGURE_ARGS+= \
        --with-dahdi="$(STAGING_DIR)/usr" \
+       --with-pri="$(STAGING_DIR)/usr" \
        --with-tonezone="$(STAGING_DIR)/usr"
 else
   CONFIGURE_ARGS+= \
        --without-dahdi \
+       --without-pri \
        --without-tonezone
 endif
 
@@ -255,7 +257,6 @@ CONFIGURE_ARGS+= \
        --without-ogg \
        --without-osptk \
        --with-popt="$(STAGING_DIR)/usr" \
-       --without-pri \
        --without-pwlib \
        --without-radius \
        --without-sdl \
@@ -416,7 +417,7 @@ $(eval $(call BuildAsterisk11Module,func-uri,URI encoding and decoding,Encodes a
 $(eval $(call BuildAsterisk11Module,func-vmcount,vmcount dialplan,a vmcount dialplan function,,,,func_vmcount,))
 $(eval $(call BuildAsterisk11Module,func-realtime,realtime dialplan,the realtime dialplan function,,,,func_realtime,))
 $(eval $(call BuildAsterisk11Module,chan-agent,Agents proxy channel,an implementation of agents proxy channel,,,,chan_agent,))
-$(eval $(call BuildAsterisk11Module,chan-dahdi,DAHDI channel,DAHDI channel support,+dahdi-tools-libtonezone +kmod-dahdi,/etc/asterisk/chan_dahdi.conf,chan_dahdi.conf,chan_dahdi,))
+$(eval $(call BuildAsterisk11Module,chan-dahdi,DAHDI channel,DAHDI channel support,+dahdi-tools-libtonezone +kmod-dahdi +libpri,/etc/asterisk/chan_dahdi.conf,chan_dahdi.conf,chan_dahdi,))
 $(eval $(call BuildAsterisk11Module,chan-iax2,IAX2 channel,IAX support,+asterisk11-res-timing-timerfd,/etc/asterisk/iax.conf /etc/asterisk/iaxprov.conf,iax.conf iaxprov.conf,chan_iax2,))
 $(eval $(call BuildAsterisk11Module,chan-mgcp,MGCP channel,the channel chan_mgcp,,/etc/asterisk/mgcp.conf,mgcp.conf,chan_mgcp,))
 $(eval $(call BuildAsterisk11Module,chan-motif,Jingle channel,Motif Jingle Channel Driver,+asterisk11-res-xmpp,/etc/asterisk/motif.conf /etc/asterisk/jingle.conf,motif.conf jingle.conf,chan_motif,))