- error.h does not seem to be used (musl doesnt provide one)
fixes error/handling of FILE *stderr leading to errors like:
miax.c:217:2: error: assignment of read-only variable 'stderr'
stderr=fopen(log_output,"w");
thx to jow for pointing things out
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Github user @ljakob supplied a patch in
https://github.com/openwrt/telephony/issues/7
--
Hi, I've solved the problem myself - it was an endianness bug:
Here what gave me the correct clue:
audio is broken in one direction only
audio is fine if you disable any timing-source within asterisk (no good idea if you want to use IAX)
audio was fine on my x86 box
I had a long look into the code :)
The bug is in the audio handling of timing_write in channel.c, the data sent to the socket is not changed to the correct endianness if a timing device is used.
Here is my patch, it's untested (just one call yet) but it's trivial enough:
http://www.hugo.weite-welt.com/asterisk13_chan_dongle_endianess.patch
it is against asterisk13 branch in
https://github.com/oleg-krv/asterisk-chan-dongle.git
but should fit into other asterisk versions nicely
--
This commit imports the patch above to asterisk-11.x-chan-dongle.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The configure script generated by bootstrap.sh in the menuselect folder doesn't work properly. It doesn't check for 'sed', for instance, resulting in './configure: line 4622: -e: command not found'. The build works well without the bootstrap.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Updating configure-undef-res-ninit.patch in commit 2060702 changed
the resulting binaries on targets not previously failing to build
without the change. Bump the package release to reflect that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Lately configure is recreated from configure.ac. The current patch changes configure. So we patch it, then it gets recreated and our change is gone. So patch configure.ac instead. Without this change the build fails due to an undefined reference to res_nsearch.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Clean up asterisk-11.x package and fix host-tools (menuselect)
similar to how asterisk-13.x is built.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* update to 11.18.0
* GNU specific glob extenions are not availble on musl, don't
use them.
* PTHREAD_MUTEX_FAST_NP also isn't available, use fallback mutex
types instead.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
comment-out left-overs of broken GTalk support, so build no
longers breaks looking for libiksemel if SDK is set.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Asterisk's build-system tries to build against libneon on host if
headers are found. This is unintended and breaks the build.
Explicetely disable neon and neon29 detection to fix that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Asterisk's build-system tries to build against libneon on host if
headers are found. This is unintended and breaks the build.
Explicetely disable neon and neon29 detection to fix that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add the depensies for the chan_sip modul bacause chan_sip dos not function with out it.
Signed-off-by: Sven Pietack <redfox1977@users.noreply.github.com>
remove the chan_bridge.so depencies for copy file into packet. The so does not exists any more...
After apply the patch, the build process will work...
Signed-off-by: Sven Pietack <redfox1977@users.noreply.github.com>