How to invite someone to an existing conference

Can someone tell how to add or invite someone to existing conference (“Page” command)?

Here’s my extensions.conf part with conference creation:

[intercom] 

exten => s,1,Answer
exten => s,2,Playback(beep)
exten => s,3,Set(TIMEOUT(digit)=5)
exten => s,4,WaitExten(10)

exten => *,1,SIPAddHeader(Call-Info:;answer-after=0)
exten => *,2,Page(SIP/334&SIP/335,d) ;add all extensions here

exten => _XXX,1,SIPAddHeader(Call-Info:;answer-after=0)
exten => _XXX,2,Dial(SIP/${EXTEN},30)

So conference creator presses the predefined button on his sip phone with programmed asterisk command.
Then asterisk dial number of some peer or peers and add them to existing conference.
Thanks and sorry for bad english.

The fact Page creates a conference bridge is an implementation detail and you aren’t meant to add other things externally to it, so there is no defined method. If you want to do it yourself you’d use the Originate() application and ConfBridge(), thus bypassing Page() and giving you full control.

1 Like

If I remember wel I picked this out of the Asterisk Cookbook. This is a copy of a working example. If you press 0 while in the conference you will be asked to enter the number of the person you want to join the conference. Not sure if this is what you were looking for but perhaps it is helpful.

/etc/asterisk/confbridge.conf ; I copied it from the bottom of the file

[volume_ctrl_menu]
type=menu
*5=toggle_mute
1=increase_listening_volume
4=decrease_listening_volume
7=reset_listening_volume
3=increase_talking_volume
6=decrease_talking_volume
9=reset_talking_volume
0=dialplan_exec(conference,conference-joiner,1)

/etc/asterisk/extensions.d/conference_with_features.conf ; this is a new file

[conference]
exten => conference-entry,1,Answer()
exten => conference-entry,n,ConfBridge(9000,volume_ctrl_menu)
exten => conference-entry,n,Hangup()

exten => conference-joiner,1,NoOp()
exten => conference-joiner, n,Read(numberToDial,vm-enter-num-to-call)
exten => conference-joiner, n,Originate(SIP/{numberToDial},exten,conference,conference-entry,1)

exten => h,1, NoOp(“dialplan is in h extension”)
exten => h,n, GotoIf($[ “${CONFBRIDGE_RESULT}” : “HANGUP”]?ok)
exten => h,n, NoOp("value of CONFBRIDGE_RESULT is not HANGUP) ; or whatever you want to happen
exten => h,n, NoOp(the value is " ${CONFBRIDGE_RESULT})
exten => h,n, Goto(h,end)
exten => h,n(ok), NoOp("value of CONFBRIDGE_RESULT is HANGUP) ; or whatever you want to happen
exten => h,n(end),NoOp(“this is the end”)

/etc/asterisk/extensions.conf
#include extensions.d/conference_with_features.conf ; at top of the file