forked from Mirrors/freeswitch
corrected managedEsl sample
This commit is contained in:
parent
063acdbd24
commit
d827cfecb4
|
@ -166,7 +166,7 @@ namespace ManagedEslTest
|
||||||
ESLconnection eslConnection = new ESLconnection(sckClient.Handle.ToInt32());
|
ESLconnection eslConnection = new ESLconnection(sckClient.Handle.ToInt32());
|
||||||
|
|
||||||
ESLevent eslEvent = eslConnection.GetInfo();
|
ESLevent eslEvent = eslConnection.GetInfo();
|
||||||
string strUuid = eslEvent.GetHeader("UNIQUE-ID", 0);
|
string strUuid = eslEvent.GetHeader("UNIQUE-ID", -1);
|
||||||
|
|
||||||
eslConnection.SendRecv("myevents");
|
eslConnection.SendRecv("myevents");
|
||||||
eslConnection.SendRecv("divert_events on");
|
eslConnection.SendRecv("divert_events on");
|
||||||
|
|
Loading…
Reference in New Issue