SIP Profiles

matt

Member
Oct 30, 2017
38
1
8
48
After the latest update both sip profiles are invalid and don´t start anymore.

There is the following error:

2025-09-22 11:27:18.658566 [ERR] mod_lua.cpp:202 ...l_handler/resources/scripts/configuration/sofia.conf.lua:130: unfinished string near '"cast(supress_cng as text),'
2025-09-22 11:27:18.658566 [ERR] mod_lua.cpp:270 LUA script parse/execute error!
2025-09-22 11:27:18.658566 [WARNING] sofia.c:6303 No Such Profile 'internal'

Any ideas?

Thx

Matt
 
The issue has been fixed and committed. Checking all other Lua scripts to ensure there are no others with a syntax issue.
 
Thanks a lot for your quck support...

Everything is up and running again.

Yours, Matt
 
Thanks for reporting this issue. Finished checking all other Lua files.

Alex, a member of the FusionPBX, saw your message and relayed it to me.
 
  • Like
Reactions: matt
This was built on a separate branch and then added to the master branch. The master branch is the development branch.

New installs haven't used the master branch for a couple of years. They use the release branches. The current branch used by the install at the moment is 5.4. Previously, we were using the 5.3, 5.2, and 5.1.

We still have people using the master branch, as there are people who want the latest features. Mistakes will happen on the master branch, but we do try hard to fix issues like this quickly.
 
From the Git perspective, the developer branch should be separate. It shouldn't be a main branch. Then, dev branches get merged into the main branch, and the main branch is used to create releases.
 
I can handle using GIT. I've been using it for years now. It is likely the reason for the comment about basing development around branches with pull requests is to make it easier for his cherry picking. I have no motivation to make cherry picking easier for him.
 
LOL, Mark. FS PBX doesn’t rely on cherry-picking—we’re focused on stability and don’t want to risk introducing issues from FusionPBX. So you can rest easy knowing we’re not using your code.
 
@pbxgeek Your install script picks up code I wrote for transcribe and speech. These features were written after your old 5.1 version was forked. Your install script used a git clone to pull these. You could have written your own version. Did you forget about this?
 
@markjcrane I’m not sure where that impression came from. Years ago, we worked together on a transcription feature for Google along with another developer, back when collaboration was still possible. Much later, I added my own OpenAI transcription to FS PBX, which has since become the default. I also had text-to-speech implemented well before FusionPBX introduced it, and the same goes for the Ringotel integration.

I’ve also noticed that the FusionPBX dashboard has been redesigned in a way that resembles FS PBX. Personally, I view this as healthy coexistence—it pushes both of us to create better software for the community.

It’s unfortunate that we missed the opportunity for deeper collaboration, but the competition has ultimately benefited users on both sides.
 
Transcription history in FusionPBX. 3 Major Versions.

1. The first version was contributed. This version was written in Lua. I added some providers to the Lua transcription code that was originally contributed. Improved it for a while. As it became used more heavily, it was noticed that it was blocking FreeSWITCH. This could block registrations or even new calls. When I became aware of this, I realized the transcription had to be replaced. Transcription had to be offloaded from FreeSWITCH to stop the blocking.

2. I wrote new transcription code in PHP and built it into the email_queue.

3. The third major version revision was released a few months before FusionPBX 5.3. In this version, the code was rewritten as a PHP OO interface. The text-to-speech PHP interface code was added close to the same time.

Here is a file from the FS PBX install script.
- https://github.com/nemerald-voip/fspbx/blob/main/install/install_fusionpbx_apps.sh

In a file called install_fusionpbx_apps.sh

Ringotel integration
Yes, you had Ringotel integration before FusionPBX. I didn't create this feature for FusionPBX; it was contributed.
- https://github.com/fusionpbx/fusionpbx-app-ringotel

Dashboard
I’ve also noticed that the FusionPBX dashboard has been redesigned in a way that resembles FS PBX.
There was already motivation and plans to improve the FusionPBX dashboard. I will admit that you did increase the motivation for improving the dashboard.

The look and feel of the new FusionPBX dashboard, with icons and cards, more closely resembles the https://www.fusionpbx.com member dashboard that Nate created around 2018 and is still used today. One thing that is similar to your project is the line bar for CPU and Memory usage.
 
Last edited:
In a file called install_fusionpbx_apps.sh
Thank you for pointing this out. You are right, it's pulling those, but they are not used except for the old version of the Edit app. You actually helped me fix a bug just now. Now I understand why my fixed version of the Edit app kept getting broken. I'm going to take that code out now. Thank you, Mark
2. I wrote new transcription code in PHP and built it into the email_queue.
That was before I forked the project, not after. I plan to remove this code within the next couple of months. Laravel, which is FS PBX is based on has its own robust queuing system. As I mentioned earlier, less and less FusionPBX code is used by the day.