Added new AsteriskFastAGI constructor

This commit is contained in:
skrusty 2014-03-05 16:42:56 +00:00
parent d3b0e1a24d
commit bc48474e0f
2 changed files with 17 additions and 0 deletions

View file

@ -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()
{

View file

@ -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