drachtio / ansible-role-fsmrf

ansible role for building a Freeswitch to use with drachtio-fsmrf
MIT License
5 stars 29 forks source link

mod_audio_fork does not compile #11

Open icanhazpython opened 2 years ago

icanhazpython commented 2 years ago

Using fs v1.10.5, when mod_audio_fork is present in the apps dir, I get this error when trying to build FS:

mod_audio_fork.c: In function ‘start_capture’:
mod_audio_fork.c:69:18: error: variable ‘samples_per_second’ set but not used [-Werror=unused-but-set-variable]
   69 |         uint32_t samples_per_second;
      |                  ^~~~~~~~~~~~~~~~~~
denialhaq commented 2 years ago

after trying to run using ansible and get error on "freeswitch make" steps, then i run command "make" on freeswitch directory directly an i get same error

icanhazpython commented 2 years ago

I was able to get FS built by basically removing the mod_audio_fork patch. I think I may have even edited the build config to omit building that module. I'm not 100% sure what I did as I was just trying to get the dang thing built, and I didn't have a need for any of the drachtio-specific freeswitch modules.

denialhaq commented 2 years ago

Finally, after multiple times try to run ansible-playbook, i can build and run this using dialogflow i also not sure what the cause is.