So for example if I want to originate a call using pjsip endpoint 101 into the ConfBridge using the bridge profile “confbridge” and user profile “101” (defined in confbridge.conf) then I could do the following:
What happen if someone want to join a 2/2 conference ?
If you have set max_members=2 in the bridge profile then when a third channel attempts to join it will be rejected and not allowed to join.
Can add some arguments into this command to use it into the dialplan?
You can’t pass arguments into the dialplan using the “extension” parameter. But if you can enter the dialplan at a specific extension if you like (where XXXX the extension you want to enter at):
When executing an originate command from the CLI you can only send the channel leg to a single application. See creating and manipulating Channels from the CLI on the wiki for more information about how to use that command.
If you need to manipulate the channel in some way before it goes into an application then you’ll need to use the “extension” syntax instead and send it to an extension in the dialplan first.