I use FXS ports on Arcadyan/Astoria vgv7510kw22 (O2-Box 6431) with OpenWRT, for a few months.
It work fine,
but without WLAN
and it needs the old asterisk Version 1.8 and glibc.
see this thread
Now i need a cheap OpenWRT router with FXS and WLAN.
I try the Arcadyan/Astoria ARV752DPW22 (EasyBox 803A) router with dd + glibc + asterisk 1.8 patched like the O2-Box 6431.
(the Firmware and Kernel Stuff for FXS should be inside by default for Lantiq Xway Danube. Is this correct ? )
But it will fail it always reboot:
[ 31.965554] random: nonblocking pool is initialized
[ 35.598276] do_page_fault(): sending SIGSEGV to validate_data for invalid read access from 0000010c
[ 35.605777] epc = 778ea74c in ld-2.22.so[778e1000+20000]
[ 35.610923] ra = 778eacbc in ld-2.22.so[778e1000+20000]
[ 35.615969]
[ 40.612844] device eth0.1 entered promiscuous mode
[ 40.616216] device eth0 entered promiscuous mode
[ 40.651846] br-lan: port 1(eth0.1) entered forwarding state
[ 40.656045] br-lan: port 1(eth0.1) entered forwarding state
[ 42.657512] br-lan: port 1(eth0.1) entered forwarding state
[ 43.058887] IPv6: ADDRCONF(NETDEV_UP): nas0: link is not ready
[ 53.108025] Kernel panic - not syncing: no cp1 base was set
[ 53.108025]
[ 53.117171] Rebooting in 3 seconds..
I have some General Questions:
1.) Does OpenWRT + FXS only works on Lantiq Chipsets ?
because the chan_lantiq.c is the only extra code for channels that i can find in asterisk.
2.) Does the chan_lantiq.so only work on Lantiq XWAY SLIC120 (PEF 42068 V V1.2) chipsets
Or does it work only for the Lantiq XWAY SLIC120 (PEF 42068 V V1.2) chipset or is this depending on the mainchipset like XWAY VRX208 or Lantiq Xway Danube.
I think it is very usefull to have a chan_lantiq for Asterisk-13 because it is not EOL and it supports musl.
i have do a first try:
001_put_chan-lantiq_code_from_asterisk1.8_to_asterisk13.patch
002_changes_in_Makefile_for_chan-lantiq.patch
003_porting_chan-lantiq_from_asterisk1.8_to_asterisk13.patch
But note i can compile and i have a beep, but i think it will not work yet,
because i have delete some lines that make errors without replacement.
I have no idea from programming asterisk channels or lantiq.
I have only check the error messages on my compiler and replace it by code that looks logik.
(by looking inside the channel.h of asterisk-13)
I have compile and get this ERROR like:
[Nov 6 21:49:57] WARNING[9403]: loader.c:556 load_dynamic_module: Error loading module 'chan_lantiq.so': Error relocating /usr/lib/asterisk/modules/chan_lantiq.so: ast_getformatname_multiple: symbol not found
I look inside the asterisk-13 code and can not find ast_getformatname_multiple.
3.) why i can compile the chan_lantiq when i can not find any code with this string "ast_getformatname_multiple"
4.) on the asterisk-1.8 i need (or better i have (because never teste if i really need them)) a chan_local. Where is it ?
5.) in the next days i will replace the "only deleted lines" and do some tests, but it is more a guessing game,
and i think i need help.
Can everbody help me ?