Ring group extensions with custom dial strings (MS Teams)

chrissfoot

New Member
Jun 11, 2024
3
0
1
41
I have my fusionpbx install working nicely with MS Teams direct routing but I'm having an issue with including the teams extensions in ring groups.

The extensions are setup with a custom dial string to bridge to the gateway I have setup for teams but when I include any of these extensions in ring groups they simply don't ring. I've tried the ring group on both simultaneous and enterprise.

I've tried having the extensions set to virtual and detault type and it doesn't make any difference. I don't even see an attempt in sngrep and if I set a ring group to just teams extensions I get 480 Temporarily Unavailable. I can see in the logs that the destination is recognised as a sofia_contact like so:

2024-11-12 15:42:39.685297 91.33% [NOTICE] switch_cpp.cpp:1466 [ring group] destination_prompt: 2024-11-12 15:42:39.685297 91.33% [NOTICE] switch_cpp.cpp:1466 [ring group] destination_timeout: 30 2024-11-12 15:42:39.685297 91.33% [NOTICE] switch_cpp.cpp:1466 [ring group] destination_delay: 0 2024-11-12 15:42:39.685297 91.33% [NOTICE] switch_cpp.cpp:1466 [ring group] destination_number: 1024 2024-11-12 15:42:39.685297 91.33% [NOTICE] switch_cpp.cpp:1466 [ring group] domain_name: blak.pbx.blah.co.uk 2024-11-12 15:42:39.685297 91.33% [NOTICE] switch_cpp.cpp:1466 [ring_group] user_data 1024@blah.pbx.blah.co.uk var forward_user_not_registered_enabled 2024-11-12 15:42:39.685297 91.33% [NOTICE] switch_cpp.cpp:1466 [ring_group] sofia_contact */1024@blah.pbx.blahco.uk

but there's nothing after this until it says that is has executed the last dialplan instruction, hanging up.

Can anyone help?

Thanks
 

chrissfoot

New Member
Jun 11, 2024
3
0
1
41
I've actually now located the lua script that handles the ring group calls and updated it to support this scenario but as yet I'm not able to get freeswitch to run the updated version of the script despite restarting. Is there anything special I need to do to get updated versions of scripts to run?
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
If you modified the Lua script in the FusionPBX directory, you need to run the Update command (you can do it from the web). It copies all Lua scripts to the correct directories for FreeSWITCH.