public interface DialPlan
Modifier and Type | Method and Description |
---|---|
DialPlan |
byCcc(java.lang.String ccc)
Find best match for given CCC.
|
DialPlan |
byCccAsInt(int ccc)
Find best match for given CCC.
|
DialPlan[] |
getAllList() |
java.lang.String |
getCountry()
Returns the country name of the dialplan.
|
java.lang.String |
getCountryCallingCode()
Returns the country calling code of the dialplan.
|
java.lang.String |
getInternationalCallPrefix()
Returns the international call prefix of the dialplan.
|
java.lang.String |
getIsoCountryCode()
Returns the iso country code of the dialplan.
|
int |
getNationalNumberLength()
Returns the national number length of the dialplan.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
boolean |
isGeneric()
Return if given plan is generic.
|
int |
lookupCccFromE164(java.lang.String e164)
Function to get call country code from an e164 number, ex: +33952650121 will
return 33.
|
int |
lookupCccFromIso(java.lang.String iso)
Function to get call country code from ISO 3166-1 alpha-2 code, ex: FR returns
33.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
java.lang.String getCountry()
java.lang.String getCountryCallingCode()
java.lang.String getInternationalCallPrefix()
boolean isGeneric()
java.lang.String getIsoCountryCode()
int getNationalNumberLength()
DialPlan byCcc(java.lang.String ccc)
DialPlan byCccAsInt(int ccc)
DialPlan[] getAllList()
DialPlan
objects. LinphoneDialPlan of all known dial
plansint lookupCccFromE164(java.lang.String e164)
e164
- phone numberint lookupCccFromIso(java.lang.String iso)
iso
- country code alpha2void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()