Author |
|
TJMcMeley Intermediate
Joined: April 19 2007 Location: United States Posts: 20
|
Posted: May 17 2007 at 2:07pm | IP Logged
|
|
|
Good Afternoon,
We have a question about using the ConferenceLine method in the .net release of the Media Engine.
The engine is communicating to a single end point nicely on its own thread inside the application. We are having difficulty with getting conferencing open to multiple end points.
1. For our purposes we can use either SWITCH_LINE or PHONE_LINE mode, currently we are configured to use SWITCH_LINE.
2. We have a one to one relationship between phone lines and channels (i.e. phone line one uses channel one, etc.)
3. We can place the calls on hold and in conference.
4. When we stream wave file audio to the first device in the conference call, only it replys.
We are logging the VoipMediaEngine SIP_NOTIFY_TYPE callback when events occur in the application.
The log of the process is below. Can you please advise.
File: tada.wav
[Start the Engine]
Response: SipCallEngineReady
Response: SipOutgoingCallStart
Response: SipDialTone
Response: SipDialing
Response: SipSendInvite
Response: SipModifySipMessage
Response: SipStartOutgoingRing
Response: SipModifySipMessage
Response: SipReceivedProvisionalResponse
Response: SipReceived100Trying
Response: SipWaitForInviteOk
Response: SipModifySipMessage
Response: SipReceivedUnsupportedProvisionalResponse
Response: SipModifySipMessage
Response: SipReceived180Ringing
Response: SipModifySipMessage
Response: SipInviteOkReceived
Response: SipSendInviteAck
Response: SipModifySipMessage
Response: SipOutgoingCallConnected
Response: SipInCall
[Open communication to one device]
Phone Channel: 0, Phone Line: 0
Response: SipOutgoingCallStart
Response: SipDialTone
Response: SipDialing
Response: SipSendInvite
Response: SipModifySipMessage
Response: SipStartOutgoingRing
Response: SipModifySipMessage
Response: SipReceivedProvisionalResponse
Response: SipReceived100Trying
Response: SipWaitForInviteOk
Response: SipModifySipMessage
Response: SipReceivedUnsupportedProvisionalResponse
Response: SipModifySipMessage
Response: SipReceived180Ringing
Response: SipModifySipMessage
Response: SipInviteOkReceived
Response: SipSendInviteAck
Response: SipModifySipMessage
Response: SipOutgoingCallConnected
Response: SipInCall
[Open communication to two device]
Phone Channel: 1, Phone Line: 1
Response: SipCallHoldOn
Response: SipCallHold
Response: SipModifySipMessage
Response: SipModifySipMessage
Response: SipModifySipMessage
Response: SipModifySipMessage
[Place all calls on hold before conferencing]
Line on hold: 0
Response: SipCallHoldOn
Response: SipCallHold
Response: SipModifySipMessage
Line on hold: 1
Response: SipModifySipMessage
Response: SipModifySipMessage
Response: SipModifySipMessage
Response: SipModifySipMessage
Response: SipCallHoldOff
Response: SipInCall
Response: SipInConferenceOn
Response: SipInConference
[Conference all lines]
Line on conference: 0
Response: SipModifySipMessage
Response: SipCallHoldOff
Response: SipInCall
Response: SipInConferenceOn
Response: SipInConference
Line on conference: 1
[Stream audio]
Phone Line for stream: 0
[Shutdown]
Response: SipInConferenceOff
Response: SipInCall
Response: SipInConferenceOff
Response: SipInCall
Response: SipSendBye
Response: SipModifySipMessage
Response: SipModifySipMessage
Response: SipReceivedByeAck
Response: SipCallComplete
Response: SipOnHook
Response: SipSendBye
Response: SipModifySipMessage
Response: SipModifySipMessage
Response: SipCallComplete
Response: SipOnHook
Response: SipCallEngineTerminated
|
Back to Top |
|
|
TJMcMeley Intermediate
Joined: April 19 2007 Location: United States Posts: 20
|
Posted: May 18 2007 at 4:13am | IP Logged
|
|
|
Second question:
Instead of conferencing phone lines, is it possible to use MakeCall to connect with a UDP MultiCast?
In our experiments we made a connection to two multicast devices (the devices responded with a tone indicating a connection was made), and as expected, it failed MakeCall with no response back.
We also tried serializing the data to a file being sent to a device when it was configured for SIP, and then using file data with ‘SendUdpDatagram’, ‘SendUdpDatagramUsingSipPort’ and ‘System.Net.udpClient’ to send to the Multicast group of devices with no response.
MakeCall is apparently handling the stream properly compared to sending the binary data via UDP. If MultiCast could be used it would very efficiently use our network bandwidth.
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 18 2007 at 11:06am | IP Logged
|
|
|
Hi TJ,
Regarding your first post:
Your initial post is pretty straight forward to understand. All is OK. But your statement in item #4 confused us a bit. Hopefully we understand.
We are going to assume you want to do the following:
1)
Allow the media engine have multiple calls active all at the same time.
2)
Place all active calls into the conference mode.
3)
Stream audio to all conference members.
What we understand from your post, you tried to stream wave file data to phone line 0 (the first device?). All conference participants did not hear the streamed audio but conference participant that is connected to the media engine’s phone line 0 did.
Answer:
This is normal behavior.
When a phone line is in a conference session, all RTP audio data that is received by the phone line is automatically digitally mixed with the “ready-to-be” transmitted audio of all other conferenced phone lines and then the digitally mixed audio is transmitted out the other phone lines in the conference. That way all call endpoints share each others audio at the point of the media engine conference session.
The transmit IVR outputs however only send audio sample block data to the specific phone line transmitter. This data is digitally mixed only with the “ready-to-be” transmitted audio of that phone line. Conferencing does not change this behavior.
If you want to have all conference members hear the audio you are streaming, open a Tx IVR output for all conferenced lines and stream the wave file data to each phone line Tx IVR output. This way all conference members will hear the streaming data.
Hope that makes sense and I hope we understood your questions.
But you do raise a very interesting possibility for a later enhancement in the media engine. Hmm….
Support
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 18 2007 at 11:18am | IP Logged
|
|
|
TJ,
Regarding your second post:
<<< You
Instead of conferencing phone lines, is it possible to use MakeCall to connect with a UDP MultiCast?
Support >>>
Up to this point, we have not used the VOIP Media Engine in any multicast deployment. But the point you raise is an excellent one.
If you can find the time, please post your suggested deployment scenario to this thread and describe with a bit of detail what you want to do. Be somewhat specific in your description so we can follow your thought on what you are attempting to do.
This would be pretty cool to see if we could do this deployment scenario. Like I said, up until now, we have not had the need/request to do this. We would like to hear your thoughts and media engine SIP logs from your testing.
Support
|
Back to Top |
|
|
TJMcMeley Intermediate
Joined: April 19 2007 Location: United States Posts: 20
|
Posted: May 25 2007 at 8:22am | IP Logged
|
|
|
Hello,
I apologize for not replying sooner, our current development schedule has precluded working on this. But we will definitely send you the logs requested after the first installation product is completed.
On the subject of installs, currently we’re in need of the “Customer Redistribution Code” for instancing the voip engine in “InitializeMediaEngine.” The install fails because it cannot instance the engine, and we see in the documentation where this key is needed. We’re about to be in a rush weekend of testing.
Also, I believe we have a bad copy of your Developer’s Media Engine install package for .Net on our CD. Is it possible to re-download from the FTP site you’re Developer’s Media Engine install package for .Net?
Thanks
TJ
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 25 2007 at 9:04am | IP Logged
|
|
|
Hi TJ,
Installs and “Customer Redistribution Code “:
You can locate this redistribution code in the license file named: “CustomerLog.html”
Updated Media EngineTrial with .NETsupport:
Send an email to support ‘at’ lanscapecorp.com requesting this. We will send you the FTP info so you can download the image.
By the way, why do you think your current image is bad?
Please do us a favor and update your email account in our support forum. Right now you are using a gmail account. This makes it hard for us to keep track of what company you are working for. We would prefer if you use your real company email. We do not disclose our customer’s email addresses to anyone.
Support
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 25 2007 at 9:30am | IP Logged
|
|
|
TJ,
We just received your email. Lets continue this conversation there.
Support
|
Back to Top |
|
|