Author |
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: March 12 2008 at 7:59pm | IP Logged
|
|
|
Hi,
We have seen the following behavior over and over again with the Media Engine.
We start our application, initialize the Media Engine, receive a few inbound calls, pick them up, and process them normally. Then wait a few minutes, receive a few more inbound calls, and notice that the Media Engine does not "pick up" any line at all. We do not receive the SipOkToAnswerCall event. We do not receive any event from the Media Engine. We do scan our packets and see the INVITE been received OK, over and over again.
At one point we did have a similar issue but we noticed that it happened after 1 hour of being idle. We realized that after sending registration again it solved the issue (we eventually reduced the RegistrationUpdateIntervalSeconds argument in the MediaEngine.EnableSipRegisterServer call). At that point, this seemed to resolve the issue.
But still every so often, the Media Engine stops acknowledging the INVITES to "pick up" the lines. We have to stop the application, and restart it, and then it starts working again. This behavior has happened in both the DLL v5_12_4_7 and the v5_12_8_1.
What could be causing this?
Thanks.
-AJDiaz
|
Back to Top |
|
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: March 12 2008 at 8:08pm | IP Logged
|
|
|
BTW, when we see this behavior, we check the status of all the lines and they are all SipOnHook.
-AJD
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: March 13 2008 at 12:25pm | IP Logged
|
|
|
Aj,
Not sure why this might be happening. Sounds very strange.
Last year we had updates to the media engine that addressed a group of call state issues. It may be possible that we missed something from that effort and a bug is still lingering. Not sure yet.
You >>>
We do scan our packets and see the INVITE been received OK
<<< Support
We are not quite sure what you mean here. Pleas post again an elaborate a bit more.
Questions:
1)
When this condition occurs, is the media engine still receiving SIP INVITE messages?
A good way to determine this is to handle the SipModifySipMessage immediate event. Have your app look at each SIP message received and simply scan for the leading string “INVITE sip:” at the beginning of each SIP message received.
Example INVITE:
Code:
INVITE sip: 111@ps SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:5066;rport;branch=z9hG4bK06c82e c5
From: "Test Phone" <sip:333@ps>;tag=6c7bbd6;x-UaId=xxx xx-yyyy-zzzzzz
To: <sip:111@ps>
Contact: <sip:333@192.168.1.2:5066>;x-inst="VGVzdCBDYW xsIERhdGEgZnJvbSB0aGUgVlBob25lIGFwcC4="
Call-Id: 2bf6906a-3ad6-413d-93f2-de31ac9b57a0-00003f60@192.1 68.1.2
CSeq: 13102712 INVITE
Max-Forwards: 70
Organization: 2456E5FD-DC94-417D-BDF7-55A654EFB9E5
x-CustomHeader-Extension-333: "This is a modified transmitte d SIP message."
x-PhoneLine: 0
Content-Length: 223
User-Agent: LanScape VOIP Media Engine/5.12.8.2 (www.LanSca peCorp.com)
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
v=0
o=333 113750515 113750515 IN IP4 192.168.1.2
s=LanScape
c=IN IP4 192.168.1.2
t=0 0
m=audio 20000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000/1
a=rtpmap:101 telephone-event/8000/1
a=sendrecv
a=ptime:20
a=fmtp:101 0-16
|
|
|
Keep a runtime count you can view somewhere as your app runs. We need to know if the media engine is pulling the data off the network properly.
2)
When this condition occurs, is your app receiving either the SipIncomingCallStart or SipIncomingCallInitialized events?
Assuming the media engine is receiving the INVITEs off the network (SipModifySipMessage), if all lines are in the SipOnHook state when this situation occurs, that would indicate that the media engine is unable to assign the incoming call to an available phone line for some reason.
3)
When this situation occurs, how is the media engine responding to the far end of the call? What SIP is it sending back for the received INVITE?
When we are here in the lab, we hammer test the media engine in multiple ways. Below is a screen shot of a simple call hammer tester we use here (it uses the media engine).
SIP/RTP Call Tester Application:
We can set up multiple call testers and simulate call clients calling into an IVR type server. We can set up two of them and have them initiate and answer calls from one another, etc. We have not seen what you describe.
That being said, there may be a QA test case we have to add to our checkout process.
Strange…
Support
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: March 27 2008 at 5:56am | IP Logged
|
|
|
Aj,
Any further information regarding this?
Support
|
Back to Top |
|
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: March 28 2008 at 1:59pm | IP Logged
|
|
|
It is still happening, but much less frequently. Do not know if perhaps it is due to the new Media Engine DLL or changes in our code.
We will keep monitoring it to gather more statistics.
Thanks.
-Alex
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 22 2008 at 5:58am | IP Logged
|
|
|
Hi Alex,
We have not heard from your group in a while and hope that your VOIP development is going well.
Our records indicate that you received an engineering release of the media engine on 3-13-08. It is v5.12.8.2.
Question:
Are you using this v5.12.8.2 image for development and test?
If so, we need to get you a final production product image before the end of June 2008. What we will probably do is get you the v5.12.8.4 product image (the latest at this time). It will have everything your current image has with a few additional enhancements and bug fixes. However, the new fully integrated in-band and RFC2833 DTMF support will be disabled due to the license you previously purchased in February.
Let us know your situation and we will get things ready at this end.
Thanks,
Support
|
Back to Top |
|
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: May 22 2008 at 10:02am | IP Logged
|
|
|
Yes. Please. Provide us the new final product image.
Regarding the license, what do you mean? Our current license will not support in-band and RFC2833 DTMF? Please explain. Thanks.
-Alex
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 22 2008 at 11:54am | IP Logged
|
|
|
Hi Alex,
Arghhh… I made a mistake in the previous post. Your team will receive the latest v5.12.8.4 product image free. I just looked back and see that you are already using the new DTMF capability. No worries.
We have made a note of your final upgrade and will try to get this to you sometime next week for download. We have until the end of June before your current software dies.
Thanks,
Support
|
Back to Top |
|
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: May 22 2008 at 1:55pm | IP Logged
|
|
|
Great. Let me know when the release it available.
To answer a previous question: We did release a production application and we are using it with several customers in beta testing. Things are going well, in-band DTMF is much better and reliable. The biggest problem we have is that the application sometimes locks and freezes, most times when trying to make an outbound call. We cannot determine the cause. We have about 150 inbound calls and 30 outbound calls in 1 day. It happens maybe once every 2 days.
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 22 2008 at 3:51pm | IP Logged
|
|
|
Hi Alex,
We will repost to this thread when we have your new image ready.
We like to hear your feedback. We always wonder how development and deployment is going for you and others. Seems like people only post when the “SH** hits the fan”. We like to hear the good stuff too.
The dead locks are no good. We will need to get you updated and then see what your results are. V5.12.8.3 has a fix for a possible RTP and conference deadlock situations. One of these may resolve your issue. We will have to wait and see.
Also, we had a report 2 weeks ago of incoming calls possibly causing a deadlock when local multimedia audio is enabled and incoming telephone sounds are enabled. We have not verified this yet to be true but you may want to disable incoming phone sounds if you don’t need them. Because you are developing IVR server based apps, you probably are not using incoming ring sounds but we wanted to give you a “heads up” just in case.
Keep posting any further info regarding deadlocks as you see fit.
Thanks,
Support
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: June 19 2008 at 5:40pm | IP Logged
|
|
|
Alex,
We are going to get you access to an updated temporary version of the media engine. It is v5.12.8.4. See the file “v5.12.8.4 DLL Only - Expires 12-30-08.zip” in your support FTP account.
We have been very busy here and have not had time to complete the official product release. We have two issues that we want to resolve before your official update. That way we know we will be updating you with the best possible product image and functionality.
This latest temp product image can be used until the end of this year and incorporates changes that may be useful to your group.
Your current product image will die at the end of this month so please change over to this updated product image as soon as you can.
Thanks,
Support
|
Back to Top |
|
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: June 25 2008 at 10:59am | IP Logged
|
|
|
Hi Support,
URGENT - Our FTP login to your site is not working.
Note: FTP login information deleted by SysOp
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: June 25 2008 at 11:27am | IP Logged
|
|
|
Hi Aj,
Your support FTP account has been re-enabled and has been updated with the latest engineering release of the VOIP Media Engine. Please see the ZIP archive file “v5.12.8.5 DLL Only - Expires 12-30-08.zip” and the accompanying release notes.
Thanks,
Support
|
Back to Top |
|
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: June 26 2008 at 6:30pm | IP Logged
|
|
|
Hi Support,
We made the switch and in-band DTMF seems to be working now. We haven’t tested all other features, but will do so in the next few days. We did notice that the MediaEngine seems to be hanging/freezing/locking more often now with the new DLL. Any insight on this?
Thanks.
-Alex
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: June 27 2008 at 8:38am | IP Logged
|
|
|
Hi Alex,
Hmmm…
This is just a guess: Is your app using the conference call capabilities of the media engine?
If so, we have had a few reports of a possible deadlock associated with running the media engine on multi-core host machines and when calls transition to and from conference mode. It is possible that this is what you are seeing. If so, we will have to figure out a way to expedite a fix.
Other than the above guess, not sure why the deadlock. Repost with any further info that may help us narrow the search.
Support
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: July 02 2008 at 9:21am | IP Logged
|
|
|
Alex,
Please try and give us additional info regarding "locking up".
Also, if you are using conferencing support, we need to know this. We may already have an update.
Support
|
Back to Top |
|
|
ajdiaz Junior
Joined: December 10 2007 Location: United States Posts: 76
|
Posted: July 02 2008 at 6:39pm | IP Logged
|
|
|
Hi Support,
We are actually not using conferencing just yet. But will in an upcoming new upgrade.
We do experience a lock up every once in a while, about once every 3 days. It seems to be when the system places a phone call while other users are InCall. We do not have much usage right now, we are in Beta (about 150 incoming calls and 20 outbound calls per day), but we are concerned for the future. We would need to get more stats and logged messages to get more insight.
Thanks for following up.
-Alex
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: July 03 2008 at 7:41am | IP Logged
|
|
|
Aj,
Ok... just let us know if you continue to experience this moving forward. The sooner the better.
Thanks,
Support
|
Back to Top |
|
|