Skip to content

Conversation

@lowlevl
Copy link

@lowlevl lowlevl commented Feb 21, 2025

Fixes a long-standing bug (13 years ago, see 33ba0e2) where the analog module would construct a SignallingCircuitSpan without the local-config attribute, hence causing the hardware modules to be misconfigured.

In example, it would produce an error as such from the zapcard module:

Section '<span-name in analog.conf>'. Invalid offset='' 

when the configuration indeed included an offset key correctly set-up.

This was caused by the configuration being loaded and immediately being discarded on here: https://github.com/lowlevl/yate/blob/master/modules/server/zapcard.cpp#L1711 because local-config wasn't set.


A little note on why this is submitted here and not in yatevoip/yate:

I at first considered proposing this patch to yatevoip/yate I however noticed that the project was basically dead: there were no reviews or answers on patches or issues from the development team there from several years ago, I also noticed that the official tarball server went down some time ago (yate.null.ro), for which I sent a kind heads up email to the Null team that got left unanswered.

This fork looks like the most promising in terms of features and bug fixes, and the fact that Yate is being used for congresses (where I learned about it, by the way, thanks !) makes me confident in that there could be at least minimal community-driven maintenance.

I would also get that you wanted to maintain your fork for the patches you made and not become a hub for the contributions for Yate !

Thanks.

The analog module would construct a `SignallingCircuitSpan`
without the `local-config` attribute, hence causing the
hardware modules to discard the configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant