All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.pbx.asterisk.wrap.events.MeetMeJoinEvent Maven / Gradle / Ivy

The newest version!
package org.asteriskjava.pbx.asterisk.wrap.events;

import org.asteriskjava.pbx.CallerID;
import org.asteriskjava.pbx.InvalidChannelName;
import org.asteriskjava.pbx.PBX;
import org.asteriskjava.pbx.PBXFactory;

public class MeetMeJoinEvent extends AbstractMeetMeEvent {
    private static final long serialVersionUID = 1L;

    CallerID callerID;

    public MeetMeJoinEvent(final org.asteriskjava.manager.event.MeetMeJoinEvent event) throws InvalidChannelName {
        super(event);
        final PBX pbx = PBXFactory.getActivePBX();

        pbx.buildCallerID(event.getCallerIdNum(), event.getCallerIdName());

    }

    public CallerID getCallerID() {
        return this.callerID;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy