private void s_TelephonyServer_NewCall(object sender, NewCallEventArgs e){// Handle The New Call Herevar inboundLine = new VoiceElementsLine{TelephonyServer = TelephonyServer,ChannelResource = e.ChannelResource};var callInfo = new VoiceElementsCallInfo {InboundLine = inboundLine };inboundLine.LineId = callInfo.CallId;lock (VoiceElementsCallFlowService.SyncVar){Calls.Add(callInfo);}inboundLine.SetupLine();inboundLine.RunCallScript();}
public virtual void RegisterTelephonyServerNewCallEvent()
{
TelephonyServer.NewCall += s_TelephonyServer_NewCall;
}
What is it that you want to test?
--
--
Post: moq...@googlegroups.com
Unsubscribe: moqdisc-u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Moq Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moqdisc+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.