Author Message
Ravi.Mani
Joined: Jul 2, 2015
Messages: 3
Offline
Dear ,

I am trying to open popup message when incoming call event triggers /or i want to open and new url when the incoming comes,

Below is the sample snippet from my application

1.if i sent the value in session i am getting object null reference error occur - reason call back method hits continuously
2.if i open url its open 4 times
3.if i open notepad its open 4 times
4.if i return using action result this is not happen

My goal is when the call back identify the incoming alert happen i need to neither open web ur or show popup for answer button kindly help out

technical stacks C#| MVC |CSHTML

I am doing it from Controller side.

if (e.NewState == Nortel.CCT.ConnectionState.Alerting)
{
//System.Diagnostics.Process.Start("notepad.exe"); //4 times open

SendWindoClinetMessage("INCOMING CALL"); //no redirection happen
//ViewBag.Call = "Incoming Call:";// +e.Contact.CallingAddress.ToString();
//System.Web.HttpContext.Current.Session["CALLSTATUS"] = "INCOMING CALL"; //object null reference issue
//System.Diagnostics.Process.Start("http://www.c-sharpcorner.com/Default.aspx"); //4 times open


}
FergusCameron [Avatar]
Joined: Apr 17, 2012
Messages: 131
Location: WI, USA
Offline
Unfortunately, I don't really understand your other questions. It's possible that the ALERTING state is emitted multiple times but more likely that it's being emitted from multiple places, it really depends on the context of your application, I think. You might consider firing when a new contact arrives instead of looking at the terminal event (honestly, 9 times out of 10 the correct view is of the agent and the contacts and to process addresses and terminals only when absolutely necessary).

There is a popup feature of AAAD (the standard AACC agent interface) perhaps you might consider that instead?

Fergus Cameron :: AVAYA :: DevConnect :: http://www.avaya.com/devconnect/
Go to:   
Mobile view