Esempio n. 1
0
 internal unsafe IAXStateEventArgs(IAXUnmanaged.iaxc_event e)
     : base(e)
 {
     CallNo       = e.call.callNo;
     State        = (IAXCallState)e.call.state;
     Format       = (IAXFormat)e.call.format;
     Remote       = BytesToString(e.call.remote);
     RemoteName   = BytesToString(e.call.remote_name);
     Local        = BytesToString(e.call.local);
     LocalContext = BytesToString(e.call.local_context);
 }
Esempio n. 2
0
 internal unsafe IAXStateEventArgs(IAXUnmanaged.iaxc_event e)
     : base(e)
 {
     CallNo = e.call.callNo;
     State = (IAXCallState)e.call.state;
     Format = (IAXFormat)e.call.format;
     Remote = BytesToString(e.call.remote);
     RemoteName = BytesToString(e.call.remote_name);
     Local = BytesToString(e.call.local);
     LocalContext = BytesToString(e.call.local_context);
 }