diff --git a/Asterisk.2013/Asterisk.NET/FastAGI/AsteriskFastAGI.cs b/Asterisk.2013/Asterisk.NET/FastAGI/AsteriskFastAGI.cs index b1d1e48..34ca7ff 100644 --- a/Asterisk.2013/Asterisk.NET/FastAGI/AsteriskFastAGI.cs +++ b/Asterisk.2013/Asterisk.NET/FastAGI/AsteriskFastAGI.cs @@ -171,6 +171,20 @@ namespace AsterNET.FastAGI } #endregion + public AsteriskFastAGI(string ipaddress = Common.AGI_BIND_ADDRESS, + int port = Common.AGI_BIND_PORT, + int poolSize = Common.AGI_POOL_SIZE, + bool sc511_CausesException = false, + bool scHangUp_CausesException = false) + { + this.address = ipaddress; + this.port = port; + this.poolSize = poolSize; + this.mappingStrategy = new ResourceMappingStrategy(); + SC511_CAUSES_EXCEPTION = sc511_CausesException; + SCHANGUP_CAUSES_EXCEPTION = scHangUp_CausesException; + } + #region Start() public void Start() { diff --git a/Asterisk.2013/ChangeLog.txt b/Asterisk.2013/ChangeLog.txt index 77389c4..3eedb50 100644 --- a/Asterisk.2013/ChangeLog.txt +++ b/Asterisk.2013/ChangeLog.txt @@ -1,3 +1,6 @@ +05.03.2014 (skrusty) + Added new constructor (see: https://asternet.codeplex.com/workitem/1163) proposed by nuronce + 27.02.2014 (skrusty) Added Contribution by metzlers, ParkAction for AMI, see https://asternet.codeplex.com/workitem/1288