Hello. I would like an OCTOI account, username ilovehalflife98 and prefix 8928. My setup is virtual. I am using dahdi_trunkdev and osmo-e1d, osmo-e1d connects to OCTOI and uses the dahdi_trunkdev E1 PRI span as the line for OCTOI. Asterisk uses that virtual E1 PRI span (dahdi_trunkdev) using chan_dahdi, and in the dialplan I configure it so if you dial 9 and then the number, it strips the 9 and sends it to the E1 PRI line.
Looking forward to the response. Thank you.
Hello laforge. Just following up on this. I’m confirming now that my setup is ready. Once you finish registering me onto the network, please email the credentials and any information I might need to me at alaatsu@gmail.com. Thanks.
Sorry, I haven’t done this in a very long time which means that figuring out how to do it again will take a non negligible amount of time and I just have other stuff to do ATM.
Especially because I know from experience that your setup won’t be stable. Without a GPS locked time source, the dahdi won’t have a properly disciplined rate which means it will quickly drift out of sync and cause reconnects every few minutes.
Although it’s true you can terminate OCTOI with trunkdev, If you look at the other setup that have done so (including mine I explained not long ago here), there is an active GPS disciplined device ( iether ice1usb or a xhfc card clocked from a gpsdo ) that’s set as clock master and the dahdi drivers ( including trunkdev ) will follow its rate exactly. I know your setup won’t work because if I remove the ice1usb from mine, it becomes undisciplined and the FIFO level starts drifting and causing reconnects …
I could possibly try to use the timerfd module or the dahdi_dummy module. Usually that should work fine (and it always worked well with DAHDI TDMoE, and many tests of DAHDI’s software clock report approximately 99.98%). I could also change from the standard Linux kernel to the PREEMPT_RT kernel which makes it even easier for asterisk to do the clock recovery. Also, no worries. I can wait for anyone else to register me if you can’t seem to as of now. Doesn’t laforge usually do that anyways? Unless you mean by something else when you said “Sorry, I haven’t done this in a very long time which means that figuring out how to do it again will take a non negligible amount of time”.
@tnt Once you find the time to do the registration stuff count me in. icE1USB with GPS and Auerswald Commander Basic.2 with S2m already there.
Thanks a lot for your effort. And in the meantime good luck with your main tasks.
All the best,
ck
Me too please. Same setup as ck1, icE1usb, Auerswald.
Dear interested new users, thanks for your intereest in OCTOI. Sadly we have been running into some scalability problems due to the inefficient nature of yate. This means that adding more users is likely going to cause overal degradation even for existing users.
The technical details are at Bug #6274: yate is eating 260% CPU while doing nothing - OCTOI - Osmocom Community TDM over IP - Open Source Mobile Communications
So we’re facing the problem of whether we want to take that risk, or otherwise we have to fix yate or find some other at least temporary workaround, like somehow removing a line from yate unless the OCTOI communication has actually been established.
Sadly I personally have been swamped with work and way too many other responsibilities as well as distractions in my personal life, resulting in me not being able to set up a test yate machine in order to actually work + test a fix.
I understand this is disappointing for those with an interest in OCTOI, but I still wanted to share the current situation as transparently as possible. Any help is greatly appreciated.
Thank you for sharing the current situation.
What help is needed? Maybe setting up a test machine?
@laforge left my 2 cents as a comment there.
For anyone else, @ck1 is referring to Bug #6274: yate is eating 260% CPU while doing nothing - OCTOI - Osmocom Community TDM over IP - Open Source Mobile Communications
and yes, that looks pretty good.
I’m fairly certain that the bug could probably be reproduced by using 2 VMs, running Yate with dahdi-trunkdev and a bunch of E1 lines (like our central DIVF is) and then another VM connecting to those with osmo-e1d via network.
The bug will probably already show without much actual data transfer happening (at least I’d assume so).
With such a reproducer, actual testing of code improvements would probably be easier than by live-modding DIVF all the time
![]()
@ck1 For future reference: OCTOI is using our own fork of Yate over on
This particular code wasn’t touched yet IIRC, but the rest of the ISDN/PRI/etc. code is a bit different in places, so worth working with “our” tree instead of the official one.
If I may ask, what is the current state of this? I’m just curious and don’t want to “push” anybody.
Maybe it’s time to decentralise OCTOI infrastructure?
Due to lack of time I wasn’t able to work on that topic. But maybe 40C3 is a chance to gain momentum and work on that topic?
I have actually looked into Vibe-coding a primitive TDM switch. This would allow for some “implementation diversity” on the network, too.
Might be worthwhile, but I wouldn’t write-off Yate just yet.
Building test setups for it and then stress-testing yate is also something you could “vibe”.
There already was this one pull request trying to fix the yate and I think it’s a good starting point.
Talking about vibe coding: There are a couple of other things that I’d like to do/measure on residential internet connections.
For example: I’ve noticed that OCTOI-style traffic (just flat UDP at medium-high PPS rates) isn’t getting delivered reliabily on some DOCSIS connections. SIP/RTP traffic however always reaches the modem with basically 0% loss even in high-load scenarios.
I think it might be worth researching how this traffic classification works and trying to make the OCTOI protocol look like that, even if it means we’ll have to put some fake RTP header bytes in front of the traffic (or something similar, not sure how much DPI is being done here).
The other serious problem with OCTOI right now is:
We’ll need to fix that on the DIVF host first.
Another topic: Software-defined timing for virtual TDM:
I have a WIP branch of the trunkdev device which exposes a timing ppb control as a file.
Together with a Python script watching the buffer states, I was able to discipline a completely virtual OCTOI link pretty well.
Watching the buffer state definitely isn’t the right move (especially right now with the broken DIVF internet connection), but it kinda works. Recovering timing from the incoming network packets would still be the right move.
Off topic: The picture speaks for itself ![]()
Sorry to further derail that topic, but shouldn’t timing simply work by “wall-clock”. I mean the primary function of NTP is to make sure the wall-clock runs at the correct rate (with temporary fluctuations). An NTP disciplined clock should never drift against GPS.
If both sides use the same (or a close enough) server – yes!
Greetings, it has been pretty long since I have talked about this discussion.
Not to pressure anyone, but has there been any updates on this request?
