Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Problem with pc to pc Voice chat on LAN using h323 protocol.

Problem with pc to pc Voice chat on LAN using h323 protocol.

Scheduled Pinned Locked Moved C#
questionhelplounge
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 8 Offline
    8 Offline
    88Rocker
    wrote on last edited by
    #1

    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();
            }
        }
    
    OriginalGriffO 8 2 Replies Last reply
    0
    • 8 88Rocker

      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();
              }
          }
      
      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      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 have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • 8 88Rocker

        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();
                }
            }
        
        8 Offline
        8 Offline
        88Rocker
        wrote on last edited by
        #3

        he is not replying that's y i put question here. i really need help

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups