Using JCnfDemo you can automatically connect an incoming call to a conference. To use this feature, create two conferences, conference 1 and conference 2. You do not need to add members to the conferences.
When a channel receives an incoming call, a welcome message asks the caller to press DTMF 1 or DTMF 2 to select a conference. JCnfDemo creates a new member on the selected conference, and connects the caller to the conference with an MVIP connection. After the caller hangs up, cnfdemo restores the MVIP connection and releases the channel.