SIPSorcery.AJAX.SIPDialPlan.CreateSIPDialPlan C# (CSharp) Method

CreateSIPDialPlan() public static method

Create a new SIPDialPlan object.
public static CreateSIPDialPlan ( global dialPlanName, global executionCount, global id, global inserted, global lastUpdate, global maxExecutionCount, global owner, global scriptTypeDescription, global acceptNonInvite ) : SIPDialPlan
dialPlanName global Initial value of the DialPlanName property.
executionCount global Initial value of the ExecutionCount property.
id global Initial value of the ID property.
inserted global Initial value of the Inserted property.
lastUpdate global Initial value of the LastUpdate property.
maxExecutionCount global Initial value of the MaxExecutionCount property.
owner global Initial value of the Owner property.
scriptTypeDescription global Initial value of the ScriptTypeDescription property.
acceptNonInvite global Initial value of the AcceptNonInvite property.
return SIPDialPlan
        public static SIPDialPlan CreateSIPDialPlan(global::System.String dialPlanName, global::System.Int32 executionCount, global::System.String id, global::System.String inserted, global::System.String lastUpdate, global::System.Int32 maxExecutionCount, global::System.String owner, global::System.String scriptTypeDescription, global::System.Boolean acceptNonInvite)
        {
            SIPDialPlan sIPDialPlan = new SIPDialPlan();
            sIPDialPlan.DialPlanName = dialPlanName;
            sIPDialPlan.ExecutionCount = executionCount;
            sIPDialPlan.ID = id;
            sIPDialPlan.Inserted = inserted;
            sIPDialPlan.LastUpdate = lastUpdate;
            sIPDialPlan.MaxExecutionCount = maxExecutionCount;
            sIPDialPlan.Owner = owner;
            sIPDialPlan.ScriptTypeDescription = scriptTypeDescription;
            sIPDialPlan.AcceptNonInvite = acceptNonInvite;
            return sIPDialPlan;
        }