SIPSorcery.Entities.SIPDialplanRoute.CreateSIPDialplanRoute C# (CSharp) Method

CreateSIPDialplanRoute() public static method

Create a new SIPDialplanRoute object.
public static CreateSIPDialplanRoute ( global id, global owner, global routeDestination, global routeName, global routePattern, global dialPlanID ) : SIPDialplanRoute
id global Initial value of the ID property.
owner global Initial value of the Owner property.
routeDestination global Initial value of the RouteDestination property.
routeName global Initial value of the RouteName property.
routePattern global Initial value of the RoutePattern property.
dialPlanID global Initial value of the DialPlanID property.
return SIPDialplanRoute
        public static SIPDialplanRoute CreateSIPDialplanRoute(global::System.String id, global::System.String owner, global::System.String routeDestination, global::System.String routeName, global::System.String routePattern, global::System.String dialPlanID)
        {
            SIPDialplanRoute sIPDialplanRoute = new SIPDialplanRoute();
            sIPDialplanRoute.ID = id;
            sIPDialplanRoute.Owner = owner;
            sIPDialplanRoute.RouteDestination = routeDestination;
            sIPDialplanRoute.RouteName = routeName;
            sIPDialplanRoute.RoutePattern = routePattern;
            sIPDialplanRoute.DialPlanID = dialPlanID;
            return sIPDialplanRoute;
        }