From: Michael K. <li...@mk...> - 2021-05-07 13:33:38
|
Hi Luigi, do you really still use FXO ports nowadays (in Europe)? If not - it might be easier to use a cheap 2 port FXS ATA (e.g. Cisco SPA112, although now EOL). Then you won't need DAHDI and the card anymore and life gets much easier :-). > Am 07.05.2021 um 12:41 schrieb Luigi Porto <ope...@gm...>: > > It's ok Lonnie, compiled! > > My old glorious Alix thanks you. > > Compiled 1.3.8, Runnix 0.4-x, Asterisk 13.38.2 with USECALLMANAGER patch for my Cisco home phones. > Next steps: I should update my brain on DAHDI, FXS FXO on Openvox card .. :) > https://imgur.com/a/zJsN7XA > > Thank you so much, regards, > Luigi Porto > > Mail priva di virus. www.avg.com > > Il giorno ven 7 mag 2021 alle ore 10:46 Luigi Porto <ope...@gm...> ha scritto: > Thank you Lonnie, > > I'll try today and give you some feedback :) > > Regards, > Luigi > > Mail priva di virus. www.avg.com > > Il giorno ven 7 mag 2021 alle ore 04:09 Lonnie Abelbeck <li...@lo...> ha scritto: > > > > On May 6, 2021, at 5:50 PM, Luigi Porto <ope...@gm...> wrote: > > > > Dear Astlinux Devs, > > > > After a few years of inactivity I would like to recompile Astlinux but I would have to pass a couple of CFLAGS to Asterisk. > > > > Specifically: CFLAGS="-DENABLE_SRTP_AES_GCM -DENABLE_SRTP_AES_256" > > From: https://usecallmanager.nz/patching-asterisk.html > > What is the right place where I can put them? Which line of asterisk.mk? > > Hi Luigi, > > At Line #246 ... > > https://github.com/astlinux-project/astlinux/blob/master/package/asterisk/asterisk.mk#L246 > -- > - CFLAGS='$(TARGET_CFLAGS)' \ > + CFLAGS='$(TARGET_CFLAGS) -DENABLE_SRTP_AES_GCM -DENABLE_SRTP_AES_256' \ > -- > > Also note if you need to add a patch, your "package/asterisk/patches/" patch filename must begin with "asterisk-nn-" where nn is 13 or 16, for example: > -- > asterisk-16-cisco-usecallmanager-16.17.0.patch > -- > > Test your patch by... > > If asterisk is already built (else skip), un-build it: > -- > make asterisk-clean > make asterisk-dirclean > -- > > Apply the asterisk patches without building: > -- > make asterisk-patch > -- > > If patches apply, dirclean and build asterisk: > -- > make asterisk-dirclean > make asterisk > -- > > > Good luck. > > Lonnie > > -- > #musk from calabria.ninux.org - CS > > @openmusk > > > -- > #musk from calabria.ninux.org - CS > > @openmusk Michael http://www.mksolutions.info |