PDA

View Full Version : Zoiper Tx/Rx audio to Wave. My app connects to Wave but doesnt RX.


rgeckle
04-30-2009, 08:55 AM
Zoiper connects to WAVE with the G711u codec. The connection is successful and audio is transmitted.

When my SDK application connects to WAVE with the G711u codec, The connection is successful yet audio is not transmitted.

Reviewing the network connection (WireShark), it looks like after the initial connection Wave never again communicates to SDK.
Is there any additional handshaking required?

Thanks
Robert

mikep
04-30-2009, 10:41 AM
Can you please explain the scenario in more detail.

i) Which version of the SDK/Engine are you using?

ii) When you say Zoiper connects to WAVE, I'm assuming you are referring to one of our communicator products. Is that correct?

iii)
Reviewing the network connection (WireShark), it looks like after the initial connection Wave never again communicates to SDK.
Is there any additional handshaking required?
Please describe which products are communicating. That is, what sort of network traffic are you monitoring?

Any more detail that is relevant would also help me understand your situation.

Thanks,
Mike

rgeckle
05-01-2009, 07:11 AM
Sorry for the lack of information in posting. I have talked with KennethC, thinking he would be the one to respond to posting. So Mike to bring you up to speed...

i. Wave 4.5
ii. No. SIP softphone http://www.zoiper.com/
iii. Zoiper connects to a Wave channel and shares audio in full duplex. No problem. My app connects to Zoiper and shares audio. No problem.
When my app connects to the Wave channel, the connection is made but no audio is shared.

Using WireShark to view the connection between apps, I can see that:

Zopier requests invite to Wave, Wave responds with Status: 200 Ok
Then communication occurs bewtween both parties.

My app requests invite to Wave, Wave responds with Status: 200 Ok
Then Wave never sends any packets to my app while my app is sending packets.

I have the pcap files and can take a snapshot of the open files on my desktop but not sure if forum allows for image uploads?

After you digest this information, let me know what I can explain so you have a better understanding of my goal.

Thank you for the assistance.
Robert

mikep
05-01-2009, 02:04 PM
No worries, I just spoke with Kenneth about your situation.

If I understand correctly, you are connecting to a session on a media server via SIP. When you connect with Zoiper everything works OK. However, when you connect to the session using the SDK, you are not able to send or receive audio.

If that is correct, then I'd like to know exactly how you are setting up the call in your SDK app.. Which makeCall method are you using and what are the parameters.

-Mike

rgeckle
05-04-2009, 06:32 AM
Hey Mike,
calledNum = "<sip:" + WaveSessionID@IPAddressofWaveServer + ">";
env.Send_Make(0, calledNum, "");
Robert

mikep
05-04-2009, 09:37 AM
I need to know how you are calling makeCall() from the SDK.

To troubleshoot this, I need to know how you are interacting with the SDK. Send_Make is not a WAVE SDK method, so there is no way for me to know what happens after you call it. I'm assuming that if you drill down into what Send_Make is actually doing you'll find a call to makeCall on a WAVECallManager object. Here is a snippet of code from the API documentation as an example of what you are looking for:

// variables initialized elsewhere
private WAVECallManager m_CallManager; // make, take, and break calls
private WAVECallNode m_LocalNode; // our end of the conversation
private JTextField m_TextField; // for entering phone numbers

private void callButtonActionPerformed(java.awt.event.ActionEve nt evt) {
// get the number we want to dial
String dest = m_TextField.getText();
if (dest == null)
return;

try {
// make the call
m_CallManager.makeCall(m_LocalNode, WAVECall.ALIAS_E164, dest);
} catch (WAVEException e) {
logger.error(e);
}
}

rgeckle
05-05-2009, 05:57 AM
I am not using the WAVE SDK for the connection.
Only using the existing channel emmulating from Wave Media Server.

The sample code above is from a SIP phone SDK that calls other SIP phones.
http://www.pcbest.net/

I can call Zoiper with the SIP phone SDK.
Zoiper can call the Wave channel.
When I call the Wave channel with the SIP phone SDK, the connection occurs but Wave never sends any data packets?

Robert

llamprecht
05-05-2009, 06:37 PM
Thanks for clarifying this. We thought you were using the WAVE SDK:) OK, I am going to ask Keith/Kenneth to take a look at the configuration for the WAVE management server channels, telephony and session. There may be something there.

rgeckle
05-06-2009, 05:58 AM
Okay. Thankyou.

Kenneth has a copy of the pcap files. These only show limited information; that the initial connection to Wave channel is successful then Zoiper has 2 way communication with the Wave channel but SIP phone keeps sending data packets and Wave never responds with data.

Robert

kcarpenter
05-07-2009, 10:38 AM
Robert,

If Zoiper can call into a WAVE Session without issue that indicates your WAVE configuration is good. The wire traces you sent me show the initial call setup of both applications and while Zoiper's looks good the other application has significantly less information in the setup. I would try to figure out how to make your application behave like Zoiper, but unfortunately I can't help you with an application I'm unfamiliar with.

Have you brought this issue up with the vendor of the SDK you're trying to use?

Thank you,
Kenneth

rgeckle
05-08-2009, 07:25 AM
Yes I am communicating the issue with a positive vendor response.
We were just wondering if there was anything special that may need to take place directly after the initial handshaking when connecting to the Wave channel.

I would like to thank everyone at Wave for their assistance.

Robert

kcarpenter
05-08-2009, 08:59 AM
Robert,

Thanks for the update. Please let us know what the resolution is.

Thank you,
Kenneth