call by two peers have no sound, but call by peers and x-lite is normal

Help
2013-05-10
2013-05-11
  • mengchunzhi
    mengchunzhi
    2013-05-10

    Hello, my English is not very well, please forgive me!

    I use peers call x-lite, I can hear the voice, but when I use peers call peers, I can't hear the voice, can you give me some help

     
    • are you using peers both instances on the same host? Did you
      check <mediaMode> parameter in peers.xml?

      On Fri, May 10, 2013 at 6:09 AM, mengchunzhi mengchunzhi@users.sf.netwrote:

      Hello, my English is not very well, please forgive me!

      I use peers call x-lite, I can hear the voice, but when I use peers call
      peers, I can't hear the voice, can you give me some help


      call by two peers have no sound, but call by peers and x-lite is normal
      https://sourceforge.net/p/peers/discussion/683024/thread/3f64c507/?limit=25#389e


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/peers/discussion/683024/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      • mengchunzhi
        mengchunzhi
        2013-05-11

        Hi, yohannmartineau, thank you for your answer!
        Firstly, I use peers in two different host, peers on A host use the peers.xml like this(not all, the several main config):

        userPart: bob@open-ims.com
        domain: open-ims.com
        password: alice
        outboundProxy: sip:10.109.247.112:4060
        mediaMode: captureAndPlayback

        peers on B host (I also use x-lite on this host as I describe before using the same config ) use the peers.xml like this:

        userPart: alice@open-ims.com
        domain: open-ims.com
        password: alice
        outboundProxy: sip:10.109.247.112:4060
        mediaMode: captureAndPlayback

        what confuse me is that when I use peers on A host to call x-lite on B host, the call is good, but I use peers on A host to call peers on B host, we can't hear anything both on A host and B host.
        I use wireshark to find that when I use peers to call each other, only the calling party send the RTP data package, the called party doesn't send nor receive the RTP data package, so neither the calling party nor the called party can't hear anything. Now I think it may be the reason that when the peers play as the called party, it's RtpSession has some problem, and I am looking into your source code.
        I don't know if I describe the problem clearly, but can you give me some help, I will be very thankful.

         
        Last edit: mengchunzhi 2013-05-11
        • could you send peers.log and transport.log on both hosts when host A is
          using peers and host B is using peers?

          Can you also capture network traffic using wireshark on host A and host B
          when host A is using peers and host B is using xlite (working scenario) and
          send me those traces?

          Here is my email address: yohann.martineau at gmail.com.

          Thanks,

          yohann

          On Sat, May 11, 2013 at 11:58 AM, mengchunzhi mengchunzhi@users.sf.netwrote:

          Hi, yohannmartineau, thank you for your answer!
          Firstly, I use peers in two different host, peers on A host use the
          peers.xml like this(not all, the several main config):

          bob@open-ims.com
          open-ims.com
          bob
          sip:10.109.247.112:4060
          captureAndPlayback

          peers on B host (I also use x-lite on this host as I describe before using
          the same config ) use the peers.xml like this:

          alice@open-ims.com
          open-ims.com
          alice
          sip:10.109.247.112:4060
          captureAndPlayback

          what confuse me is that when I use peers on A host to call x-lite on B
          host, the call is good, but I use peers on A host to call peers on B host,
          we can't hear anything both on A host and B host.
          I use wireshark to find that when I use peers to call each other, only the
          calling party send the RTP data package, the called party doesn't send nor
          receive the RTP data package, so neither the calling party nor the called
          party can't hear anything. Now I think it may be the reason that when the
          peers play as the called party, it's RtpSession has some problem, and I am
          looking into your source code.
          I don't know if I describe the problem clearly, but can you give me some
          help, I will be very thankful.


          call by two peers have no sound, but call by peers and x-lite is normal
          https://sourceforge.net/p/peers/discussion/683024/thread/3f64c507/?limit=25#389e/be91/fcf6


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/peers/discussion/683024/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/