Re: Asterisk on Octeon

2023-09-11 Thread Alex Frolkin
On Mon, Sep 11, 2023 at 11:55:05AM +0100, Stuart Henderson wrote:
> > Has anyone had any success running Asterisk on Octeon (in my case, an
> > EdgeRouter 6P, running OpenBSD 7.3)?
> > [...]
> No idea what's up on Octeon, but you could try building it with gcc
> to check if that makes any difference.

Thanks for the idea.  I gave this a go, but the result is still the
same.


Alex



Asterisk on Octeon

2023-09-11 Thread Alex Frolkin
Hi all,

Has anyone had any success running Asterisk on Octeon (in my case, an
EdgeRouter 6P, running OpenBSD 7.3)?

If I try to build the port, it fails in the same way as the automated
package builds, i.e.:

  
http://build-failures.rhaalovely.net/mips64/2023-08-29/telephony/asterisk/20.log

I don't know what's going on there, but if I run "make menuselect" and
disable res_geolocation (and remove the corresponding bits from
pkg/PLIST-main), it builds fine.  Note that I'm building with all the
no_* flavours enabled.

However, some seconds after startup, it segfaults.  I'm pretty sure this
is down to the PJSIP bits, because if I stop Asterisk loading those, it
seems to run fine.  For my use case, however, I definitely need SIP.

I've tried all three available Asterisk versions (16, 18, 20), and the
result is exactly the same in all three cases.

I could probably run Asterisk 16 which still has the old chan_sip module
(removed in 18 and 20), but this seems like a dead-end solution.

At this point, I'm just about ready to give up and run Asterisk
elsewhere and a SIP proxy on my EdgeRouter, but I thought I'd ask in
case anyone else has managed to find a way to make it work.


Many thanks,
Alex