Skip to main content

parse_bridge_args

Function parse_bridge_args 

Source
pub fn parse_bridge_args(arguments: &str) -> Option<BridgeInfo>
Expand description

Extract origination_uuid and the bridge target channel from bridge() arguments. Uses BridgeDialString from freeswitch-types for correct parsing of [], {}, | failover, and , simultaneous ring syntax.

Returns None when the arguments do not parse as a dial string or name no endpoint at all.