Added new AsteriskFastAGI constructor
This commit is contained in:
parent
d3b0e1a24d
commit
bc48474e0f
|
@ -171,6 +171,20 @@ namespace AsterNET.FastAGI
|
||||||
}
|
}
|
||||||
#endregion
|
#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()
|
#region Start()
|
||||||
public void Start()
|
public void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
27.02.2014 (skrusty)
|
||||||
Added Contribution by metzlers, ParkAction for AMI, see https://asternet.codeplex.com/workitem/1288
|
Added Contribution by metzlers, ParkAction for AMI, see https://asternet.codeplex.com/workitem/1288
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue