public static org.restcomm.connect.provisioning.number.api.PhoneNumber convertIncomingPhoneNumbertoPhoneNumber(IncomingPhoneNumber incomingPhoneNumber) {
        return new org.restcomm.connect.provisioning.number.api.PhoneNumber(
                incomingPhoneNumber.getFriendlyName(),
                incomingPhoneNumber.getPhoneNumber(),
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                incomingPhoneNumber.isVoiceCapable(),
                incomingPhoneNumber.isSmsCapable(),
                incomingPhoneNumber.isMmsCapable(),
                incomingPhoneNumber.isFaxCapable(),
                false);
    }
public static org . restcomm . connect . provisioning . number . api . PhoneNumber convertIncomingPhoneNumbertoPhoneNumber ( IncomingPhoneNumber incomingPhoneNumber ) { return new org . restcomm . connect . provisioning . number . api . PhoneNumber ( incomingPhoneNumber . getFriendlyName ( ) , incomingPhoneNumber . getPhoneNumber ( ) , null , null , null , null , null , null , null , null , incomingPhoneNumber . isVoiceCapable ( ) , incomingPhoneNumber . isSmsCapable ( ) , incomingPhoneNumber . isMmsCapable ( ) , incomingPhoneNumber . isFaxCapable ( ) , false ) ; }
/*
@SuppressWarnings("unchecked")
private List<SipURI> getOutboundInterfaces() {
final List<SipURI> uris = (List<SipURI>) context.getAttribute(SipServlet.OUTBOUND_INTERFACES);
return uris;
}