Author |
|
micro Intermediate
Joined: May 19 2006 Posts: 20
|
Posted: May 19 2006 at 6:57am | IP Logged
|
|
|
hi,
We are getting telephony engine error:
The following eror was detected:sip invalid instance.error 29 0x0000001d.
Also..
>>can you send the trial sdk code voip media engine in .net or send the activex ? since in this trial the code is is vc and is not getting compiled and running properly.
>> Does it detect answering machine/fax tone/busy tone and other relevant tones ?
Kindly answer immidiately on this..
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 19 2006 at 8:44am | IP Logged
|
|
|
Hi micro,
When the SipInvalidInstance value is returned to your application, it means that you are trying to instantiate the telephony engine more than once. The trial license you have will only allow a single instance of the Media Engine to run on a host machine. To experiment with the example applications, use 2 development machines.
You >>>
>>can you send the trial sdk code voip media engine in .net or send the activex ? since in this trial the code is is vc and is not getting compiled and running properly.
<<< Support
The VOIP Media Engine is a native binary Win32 DLL and does not require compilation. We assume you had problems compiling the sample application using Visual Studio 2003 or higher. We have fixed this and new example source code will be in the v5.12 release. To build the examples using Visual Studio, see the following post:
Building VOIP Samples using .NET 2003
We do not supply a COM or ActiveX version. Call all of the VOIP Media Engine API procedures as unmanaged code in your .NET applications.
You >>>
Does it detect answering machine/fax tone/busy tone and other relevant tones ?
<<< Support
No default tone generation/detection is built in. You have access to all transmit and receive media streams. You can do whatever you want with the media streams as you see fit.
Repost as needed,
Support
|
Back to Top |
|
|
micro Intermediate
Joined: May 19 2006 Posts: 20
|
Posted: May 19 2006 at 9:53am | IP Logged
|
|
|
>>we are are trying to instantiate the telephony engine more than once.the error comes even if we intantiate only once.
>>we have an application already made in vb.net and this trial sdk is in vc.net..
How can we combine these two ?
>>Is g729 codec supported in the latest version 5.11 ?
>> Do you have a version with more than 64 lines ?
requesting immidiate reply..
thanks in advance
|
Back to Top |
|
|
micro Intermediate
Joined: May 19 2006 Posts: 20
|
Posted: May 19 2006 at 9:55am | IP Logged
|
|
|
sorry for the type error in the first line..of our last message.
>>we are not trying to instantiate the telephony engine more than once.the error comes even if we intantiate only once.
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 19 2006 at 11:05am | IP Logged
|
|
|
Hi micro,
In your VB.NET project, you must call the VOIP Media Engine API procedures as unmanaged code. This is definitely documented somewhere in the VB.NET development docs. You will have to create a VB.NET class wrapper for the media engine API. We did a search using Google and found info on how to call native Win32 Dlls (unmanaged code) from .NET applications.
You >>>
Is g729 codec supported in the latest version 5.11?
<<< Support
Yes. G729 and G729A
You >>>
Do you have a version with more than 64 lines?
<<< Support
Yes. We can license to you a version with as many lines as required. We offer 1 to 64 line versions via the web because they are the most popular configurations.
You >>>
we are not trying to instantiate the telephony engine more than once. the error comes even if we instantiate only once.
<<< Support
If you build and run any of the sample applications one at a time on a single host machine, they should boot up immediately.
To build the sample properly, make sure you read and understand the "ReadMe.txt" file located in the installation folder:
"<Install Dir>\Software Examples\Documents"
Support
|
Back to Top |
|
|
micro Intermediate
Joined: May 19 2006 Posts: 20
|
Posted: May 20 2006 at 1:50am | IP Logged
|
|
|
We have also read the "ReadMe.txt" file located in the installation folder:
"<Install Dir>\Software Examples\Documents" and followed the instructions.
We are building and running any of the sample applications one at a time on a single host machine but with the same error.
kindly do something regarding this error...how will we move ahead if this error is not removed.
awaiting immidiate response.
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 20 2006 at 10:52am | IP Logged
|
|
|
micro,
Thanks for the last information. We will assume you are building the example code correctly with the valid trial "LanScapeVME.C" license file image.
We have verified that the trial software installs and builds properly on Windows 2000, XP and 2003 machines here in the lab (VC6 and Visual Studio 2003). No problems.
Because you are using a trial image of the product, the Media Engine will generate this error if your PC's system time/date is not correct. The trial image you have is "time bombed" and if it thinks your trial period is over, this error code can be returned.
Here is a small utility you can run on your machine to get the system date as seen by the Media Engine. Please run it and post back to this thread with the results.
http://www.lanscapecorp.com/Binary/GetCurDate.exe
Again, if you built the example software using the proper license file, then the trial date issue is the only thing that can cause your error.
Other info that may help us:
What operating system and language?
What did you use to build sample code? VC6, Visual Studio 2003, etc.
Support
|
Back to Top |
|
|
micro Intermediate
Joined: May 19 2006 Posts: 20
|
Posted: May 22 2006 at 5:01am | IP Logged
|
|
|
finally the error is removed..thanks for the help.
further queries.
>> where do we put our sip account details ?
>> how is the voice activity detection done ?
thanks in advance..
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 22 2006 at 8:39am | IP Logged
|
|
|
micro,
You >>>
where do we put our sip account details ?
Support <<<
Please see the following post:
Adding Domain, Registrar and SIP Proxy support to examples
Download the v5.11 sample update. The PhoneBase.cpp module will show you how to use domain, registrar and proxy support.
Search the PhoneBase.cpp module for the ENABLE_SIP_REGISTRAR_AND_PROXY_SUPPORT macro.
You >>>
how is the voice activity detection done ?
Support <<<
If enabled, voice activity detection in the media engine allows RTP data to be transmitted only when a person is speaking. We do not publish the exact method or algorithms used. Just know that its main use is to reduce required bandwidth when a person is not actively speaking. This VAD functionality greatly reduces network traffic seeing that one person generally speaks during normal phone conversations.
For more information, see the section “Transmitter Noise Discrimination” in the Developer’s Reference.
Repost as needed,
Support
|
Back to Top |
|
|
micro Intermediate
Joined: May 19 2006 Posts: 20
|
Posted: May 22 2006 at 9:37am | IP Logged
|
|
|
Is there any help file for all the functions like transfer / conference / voice activity detection etc so that we dont have to trouble you with questions.I suggest a good help file for the voip engine..
>> Also is the trial version with full features ?
thanks for the good support..
goodluck
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 22 2006 at 9:56am | IP Logged
|
|
|
micro,
The help file you seek is the "Software Developer's Reference". Look for the following compiled HTML Windows help file in your installation directory:
LanScape_Software_Developer's_Reference.chm
It will give you much information about the API.
Note: The trial version is fully functional. All features are available.
Support
|
Back to Top |
|
|
micro Intermediate
Joined: May 19 2006 Posts: 20
|
Posted: May 22 2006 at 10:38am | IP Logged
|
|
|
LanScape_Software_Developer's_Reference.chm
No link ..
Kindly give a hyperlink
thanks
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 22 2006 at 11:11am | IP Logged
|
|
|
It is part of your VOIP Media Engine install image.
It is usually located at:
"C:\Program Files\LanScape\VOIP Media Engine\5.11\Documents\LanScape_Software_Developer's_Referenc e.chm"
Support
|
Back to Top |
|
|