Stuck in ConfBridge()

Hi all

I’m new to asterisk and I’ve been reading the O’Reilly’s book for several days when I bump in to this issue.
Before everything else here is my configurations.


exten => 601,1,Noop()
    same => n,ConfBridge(room-one,default_bridge,default_user,sample_user_menu)





And now when I connect to the Asterisk and dial “601”

Asterisk CLI Error:

== Using SIP RTP CoS mark 5
  -- Executing [601@internal:1] NoOp("SIP/nasko-00000047", "") in new stack
  -- Executing [601@internal:2] ConfBridge("SIP/nasko-00000047", "room-one,default_bridge,default_user,sample_user_menu") in new stack
[Sep 26 00:43:06] ERROR[16686][C-000000be]: app_confbridge.c:1187 join_conference_bridge: Conference 'room-one' [b]mixing bridge could not be created.[/b]
== Spawn extension (internal, 601, 2) exited non-zero on 'SIP/nasko-00000047'
  -- Executing [h@internal:1] Hangup("SIP/nasko-00000047", "") in new stack
== Spawn extension (internal, h, 1) exited non-zero on 'SIP/nasko-00000047'

The version of the asterisk is 11.5. I’ve looked at a several tutorials on the internet and this was the basic configuration for all of them, but I can’t get it to work and also, it seems that google does not know much about this error.

If someone is more experienced in this matter, please try to help.
If anyother information is needed please let me know and I’ll provide it.
Thanks in advance

This configuration should work, if not it looks like a problem with non-loaded modules …

Please check the output of the Asterisk-CLI-command

(It should look like

Module Description Use Count Conference Bridge Application 1 1 modules loaded

If You can’t see a similar output You shoud issue in the CLI

and post the output here.

Thanks for the fast response.

I have already loaded that module:

Asterisk*CLI> module show like 
Module                         Description                              Use Count              Conference Bridge Application            0         
1 modules loaded

Also here is my modules.conf:






I don’t know if the order at witch the modules are loaded can play a role in this?
The only difference that I can see is that in your output the number for Use Count is 1 and in mine it is 0.

I also ran the CLI in debug 9 and captured this output, I hope it can be helpful:

    -- Executing [601@internal:3] ConfBridge("SIP/nasko-0000002a", "room-one,default_bridge,default_user,sample_admin_menu") in new stack
[Sep 27 13:09:11] DEBUG[10782][C-0000003f]: app_confbridge.c:1141 join_conference_bridge: Trying to find conference bridge 'room-one'
[Sep 27 13:09:11] DEBUG[10782][C-0000003f]: app_confbridge.c:879 destroy_conference_bridge: Destroying conference bridge 'room-one'
[Sep 27 13:09:11] ERROR[10782][C-0000003f]: app_confbridge.c:1187 join_conference_bridge: Conference 'room-one' mixing bridge could not be created.
[Sep 27 13:09:11] DEBUG[10782][C-0000003f]: pbx.c:6316 __ast_pbx_run: Spawn extension (internal,601,3) exited non-zero on 'SIP/nasko-0000002a'
  == Spawn extension (internal, 601, 3) exited non-zero on 'SIP/nasko-0000002a'
[Sep 27 13:09:11] DEBUG[10782][C-0000003f]: channel.c:2661 ast_softhangup_nolock: Soft-Hanging up channel 'SIP/nasko-0000002a'
[Sep 27 13:09:11] DEBUG[10782][C-0000003f]: channel.c:2661 ast_softhangup_nolock: Soft-Hanging up channel 'SIP/nasko-0000002a'
[Sep 27 13:09:11] DEBUG[10782][C-0000003f]: pbx.c:4633 pbx_extension_helper: Launching 'Hangup'
    -- Executing [h@internal:1] Hangup("SIP/nasko-0000002a", "") in new stack

For some reason it first tries to find this bridge and after that issues a delete command ?!?
I’m totally messing something, why it is trying to do that?

Ok, as You load only selected modules (autoload = no) You’re missing an auxiliary module.
Just include

in Your modules.conf and the error should go away …

I loaded that one as well but the error persisted.
A little breakthrough I went to the modules.conf and set the autoload to yes and now it is working.
Do you know what else I might need to load, because as far as I heard the best practice is to leave the autoload to no?

I’ve also tried to load the rest bridge modules but the error came again:

If You prefer autoload=no You can debug into missing things by

a) looking in the CLI-Output for a failed application or function (Like ConfBridge)
b) step-by-step loading/unloading non-loaded modules from /usr/lib/asterisk/modules (or /usr/lib64/asterisk/modules depending on Your distro/architecture)

To be honest, I don’t know which module(s) are needed for to work properly. I always go the other way: autoload = yes plus noload-directives for all modules I don’t want to have loaded (it’s easier :unamused: )

Hi, I’m struggling with pretty much the same problem here. The only difference is that I’m running Asterisk on OpenWRT based router. Asterisk is ported in a very light manner and only a number of modules are available here.
Did you manage to figure out what module is required to make confbridge() to work?

Thanks, Andrzej