MCPcopy Index your code
hub / github.com/asterisk-java/asterisk-java / EndPoint

Interface EndPoint

src/main/java/org/asteriskjava/pbx/EndPoint.java:11–66  ·  view source on GitHub ↗

Provides an abstract interface for entities which can be dialed. This encompasses entities such as: Phone extensions SIPPeers Asterisk extensions External phone numbers @author bsutton

Source from the content-addressed store, hash-verified

9 * @author bsutton
10 */
11public interface EndPoint extends Comparable<EndPoint> {
12 boolean isSame(EndPoint rhs);
13
14 boolean isLocal();
15
16 boolean isSIP();
17
18 /**
19 * Returns the fully qualified name of the EndPoint including the tech. e.g.
20 * SIP/100
21 *
22 * @return
23 */
24 String getFullyQualifiedName();
25
26 /**
27 * Returns the simple name of the EndPoint sans the tech. e.g. SIP/100 would
28 * be returned as 100.
29 *
30 * @return
31 */
32 String getSimpleName();
33
34 /**
35 * Returns the simple name of a SIP EndPoint sans the tech. e.g. SIP/100
36 * would be returned as 100. If the endpoint is not actually a SIP end point
37 * then this method returns the full end point name.
38 *
39 * @return
40 */
41 String getSIPSimpleName();
42
43 /**
44 * Returns true if the tech is not know for this end point.
45 *
46 * @return
47 */
48 boolean isUnknown();
49
50 /**
51 * Returns the Tech that is used to reach this endpoint.
52 *
53 * @return
54 */
55 TechType getTech();
56
57 boolean isEmpty();
58
59 /**
60 * Sets the tech on the end point to the specified tech.
61 *
62 * @param sip
63 */
64 // public void setTech(Tech tech);
65
66}

Callers 29

canDetectHangupMethod · 0.65
getAJActionMethod · 0.65
getAJActionMethod · 0.65
doActivityMethod · 0.65
doActivityMethod · 0.65
dialMethod · 0.65
redirectMethod · 0.65
redirectToVoicemailMethod · 0.65
startSweepMethod · 0.65
writeMethod · 0.65
getCallerMethod · 0.65
getLockCallerMethod · 0.65

Implementers 3

DialPlanExtensionsrc/main/java/org/asteriskjava/pbx/Dia
HoldAtAgisrc/main/java/org/asteriskjava/pbx/int
EndPointImplsrc/main/java/org/asteriskjava/pbx/int

Calls

no outgoing calls

Tested by

no test coverage detected