Problem with pc to pc Voice chat on LAN using h323 protocol.
-
i got voice conference code using h323(by fahdi) from here code project, the problem m facing is it works fine on same PC when i put both peers on a single PC. but when i try to run it on LAN receiving call PC get hanged, y is it. thanks in advance. waiting for reply here is the code. these are the h323 events i have used
void h323_RemoteBusy()
{
MessageBox.Show("User is busy");
}void h323\_Disconnected(string RemoteUserName) { MessageBox.Show("Call Disconnected "); btnCall.IsEnabled = true; btnEndCall.IsEnabled = false; btnVideo.IsEnabled = false; lblCallStatus.Visibility = Visibility.Hidden; } void h323\_Connected(string RemoteUserName) { System.Windows.Forms.DialogResult myDialogResult = System.Windows.Forms.MessageBox.Show("Incomming Call by " + RemoteUserName + "\\nDo u want to recieve Call?", "Message", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question); if (myDialogResult == System.Windows.Forms.DialogResult.Yes) { h323.Answer(); } else { h323.Hangup(); } }
-
i got voice conference code using h323(by fahdi) from here code project, the problem m facing is it works fine on same PC when i put both peers on a single PC. but when i try to run it on LAN receiving call PC get hanged, y is it. thanks in advance. waiting for reply here is the code. these are the h323 events i have used
void h323_RemoteBusy()
{
MessageBox.Show("User is busy");
}void h323\_Disconnected(string RemoteUserName) { MessageBox.Show("Call Disconnected "); btnCall.IsEnabled = true; btnEndCall.IsEnabled = false; btnVideo.IsEnabled = false; lblCallStatus.Visibility = Visibility.Hidden; } void h323\_Connected(string RemoteUserName) { System.Windows.Forms.DialogResult myDialogResult = System.Windows.Forms.MessageBox.Show("Incomming Call by " + RemoteUserName + "\\nDo u want to recieve Call?", "Message", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question); if (myDialogResult == System.Windows.Forms.DialogResult.Yes) { h323.Answer(); } else { h323.Hangup(); } }
The chances are you would be better off asking the article author directly. If you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them. Posting this here relies on them "dropping by" and realising it is for them.
Did you know: That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
-
i got voice conference code using h323(by fahdi) from here code project, the problem m facing is it works fine on same PC when i put both peers on a single PC. but when i try to run it on LAN receiving call PC get hanged, y is it. thanks in advance. waiting for reply here is the code. these are the h323 events i have used
void h323_RemoteBusy()
{
MessageBox.Show("User is busy");
}void h323\_Disconnected(string RemoteUserName) { MessageBox.Show("Call Disconnected "); btnCall.IsEnabled = true; btnEndCall.IsEnabled = false; btnVideo.IsEnabled = false; lblCallStatus.Visibility = Visibility.Hidden; } void h323\_Connected(string RemoteUserName) { System.Windows.Forms.DialogResult myDialogResult = System.Windows.Forms.MessageBox.Show("Incomming Call by " + RemoteUserName + "\\nDo u want to recieve Call?", "Message", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question); if (myDialogResult == System.Windows.Forms.DialogResult.Yes) { h323.Answer(); } else { h323.Hangup(); } }