Invite To Conference By A Call File
Hi. in my system i have a conference room where someone can call it eg 698
dial the PIN eg 1234 and enter the room as a user. The admin enters in through a different number and PIN. I would like to have a call file and call all participants eg 610-619 at certain time of the day and give them access to the conference. During my try i managed to create a call file where it calls the a SIP
phone and it can hear the monkeys (just for test). here is the call file Channel: SIP/601
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: call-file-test Extension: 10
and here is the entry in extensions.conf
[call-file-test]
exten => 10,1,Answer()
exten => 10,n,Wait(1)
exten => 10,n,Playback(tt-monkeys)
exten => 10,n,Wait(1)
exten => 10,n,Hangup()
i did not manage to make it call more SIP phones and invite them to the conference
Any ideas please?
8 thoughts on - Invite To Conference By A Call File
Atux,
This should work:
[call-file-test]
Exten => 10,1,Answer same => ConfBridge(100)
thanks a lot for the reply.
[call-file-test]
Exten => 10,1,Answer same => ConfBridge(100)
i assume 100 is the conference room, correct?
where do i write the SIP numbers to invite(internal or external)?
what about the PIN?
You would make the call file the same way you are now. 100 was the conf room ID. Have a look at the documentation how to do it. Also take a look at the default settings in confbridge.conf
voice1*CLI> core show application ConfBridge
-= Info about application ‘ConfBridge’ =-
[Synopsis]
Conference bridge application.
[Description]
Enters the user into a specified conference bridge. The user can exit the conference by hangup or DTMF menu option. This application sets the following channel variable upon completion:
${CONFBRIDGE_RESULT}:
FAILED:The channel encountered an error and could not enter the conference.
HANGUP:The channel exited the conference by hanging up.
KICKED:The channel was kicked from the conference.
ENDMARKED:The channel left the conference as a result of the last marked
user leaving.
DTMF:The channel pressed a DTMF sequence to exit the conference.
TIMEOUT:The channel reached its configured timeout.
[Syntax]
ConfBridge(conference[,bridge_profile[,user_profile[,menu]]])
[Arguments]
conference
Name of the conference bridge. You are not limited to just numbers. bridge_profile
The bridge profile name from confbridge.conf. When left blank, a
dynamically built bridge profile created by the CONFBRIDGE dialplan
function is searched for on the channel and used. If no dynamic profile is
present, the ‘default_bridge’ profile found in confbridge.conf is used.
It is important to note that while user profiles may be unique for each
participant, mixing bridge profiles on a single conference is _NOT_
recommended and will produce undefined results. user_profile
The user profile name from confbridge.conf. When left blank, a dynamically
built user profile created by the CONFBRIDGE dialplan function is searched
for on the channel and used. If no dynamic profile is present, the
‘default_user’ profile found in confbridge.conf is used. menu
The name of the DTMF menu in confbridge.conf to be applied to this channel.
When left blank, a dynamically built menu profile created by the
CONFBRIDGE dialplan function is searched for on the channel and used. If no
dynamic profile is present, the ‘default_menu’ profile found in
confbridge.conf is used.
[See Also]
ConfBridge(), CONFBRIDGE, CONFBRIDGE_INFO
Here I’m using the “Page” application to make a conference call “on the fly”.
[office]
exten => 2222,1,Dial(SIP/desk2,150)
All the aforementioned techniques need change everytime on the dialplan. I
need the office secretary to edit a file (call file) and place it in a particular folder in their windows PCs. this folder is the outgoing folder of LINUX shared through samba in LAN. i need to make it as easy as possible, please.
If the participants are always the same people, there is no need to change the dialplan. Just tells the office secretary “Please, place a conference call.”. with the “Page” application, she picks up the phone, dials a predefined number and all the participants are called at once. Easy peasy. 🙂
that’s the problem. it is never the same people
Maybe something like a local web page where your secretary can enter the list of phone numbers to call and a script that generates a call file and moves it to the Asterisk spool folder.
But that’s not an Asterisk issue. It’s more a programmer’s issue. 🙂