Class OutboundCallEvent
java.lang.Object
dev.truewinter.twiliocallrouter.plugin.Event
dev.truewinter.twiliocallrouter.plugin.event.OutboundCallEvent
This event is fired before an outbound call is handled
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class dev.truewinter.twiliocallrouter.plugin.Event
getCustomTwiML, getCustomTwiMLAsString, isCancelled, setCancelled, setCustomTwiML, setCustomTwiML
-
Method Details
-
getToNumber
- Returns:
- The called number, extracted from the SIP URL
-
getToNumber164
- Returns:
- The called number, extracted from the SIP URL, in E.164 format
-
getRawToNumber
- Returns:
- The unmodified SIP URL
-
getFromNumber
- Returns:
- The caller's number, extracted from the SIP URL
-
getRawFromNumber
- Returns:
- The unmodified SIP URL
-