Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: ActiveX - Redistributing the VOIP Media Engine Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
hermes
Junior
Junior


Joined: October 27 2006
Posts: 64
Posted: December 26 2006 at 6:37am | IP Logged Quote hermes

Hello,
I´ve just developed an ActiveX phone component with VOIP Lanscape Engine. I´ve made a CAB file which includes:
1.- An OCX file with a VOIP phone.
2.- A dll library with additional utils.
3.- And an INF file.

This ActiveX is integrated in a web page like this: http://www.lanscapecorp.com/ASP%20Files/SalesAndMarketing.as p

If I download it from a computer with VOIP Lanscape Engine installed it works successful; but if I want to use it from any other computer I suppose that I need to redistribute the engine, so I´ll need to include in the CAB file: RedistSetup.exe, RedistSetup1.cab, RedistSetup.msi, RedistSetup.ini and LsAutomation.dll files and runs RedistSetup.exe in quite mode, doesn´t it?

Is there other method to use the file LMEVoip.dll without need to redistribute the VOIP engine?

Thank you very much.
Back to Top View hermes's Profile Search for other posts by hermes
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 03 2007 at 4:13pm | IP Logged Quote support

Hi hermes,

Sorry for the long delay of this response. We had a planned shutdown over the holidays and we are just getting caught up.

Yes, you are correct. Normally end users will use the files you mentioned to redistribute the media engine with their VOIP applications or ActiveX components.

...and yes. There is another way to redistribute the VOIP Media Engine.

More Information:
There is an easier way to redistribute the media engine that was not included in your latest product images you purchased.

We now allow developers to directly redistribute the media engine DLL with their applications as they require. Using the legacy redistribution package is now optional. It makes life easier for everyone.

Here is what we would like to do: We will re-release all of your recently purchased product images to you via your support FTP account.

The redistribution model for the new version has been updated. Download the new product images and review the updated “Redistributing LanScape VOIP Media Engine.pdf” file image that gets installed with the product. It will explain everything.

With these latest updates, your VOIP redistribution should now be very easy.

We will send you an email when your new product images are ready.


Repost as needed,


Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 03 2007 at 4:42pm | IP Logged Quote support

Hi hermes,

We just mounted your new product images on the ftp server. These new product images contain the updated redistribution capabilities. You should be receiving a download email shortly.

If you can, please repost back to this forum with your results.

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
hermes
Junior
Junior


Joined: October 27 2006
Posts: 64
Posted: January 05 2007 at 3:23am | IP Logged Quote hermes

Thank you very much.
I´m going to test it.
Back to Top View hermes's Profile Search for other posts by hermes
 
hermes
Junior
Junior


Joined: October 27 2006
Posts: 64
Posted: January 09 2007 at 9:54am | IP Logged Quote hermes

Hello,

I´ve trying to redistribute VOIP Media Engine with the new update but I can´t do it. When I execute my application in a machine with VOIP Media Engine installed, it works fine, but when I try to execute the same application in other machine it crash when StartSipTelephony is called (it returns a SipCallFailure). What happens?

Thank you.
Back to Top View hermes's Profile Search for other posts by hermes
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 09 2007 at 10:21am | IP Logged Quote support

Hi hermes,

That’s strange.

Did you take a look at the updated “Redistributing LanScape VOIP Media Engine.pdf” document that describes the new changes?

To easily redistribute the media engine, all you have to do in your source code is call the InitializeMediaEngine() API procedure and pass it a character string that represents your “Customer Redistribution Code” from your CustomerLog.html license file.

For example, when you initialize the media engine, do something like this:

Code:


// init the media engine for redistribution. The passed in character string
// of length 128 is the license file’s redistribution code.

char *pRedistCode;

pRedistCode =
     “d03467e7df78e8b7887fd258c7978 9b40b277ce199ff832445b733c5f86c517e”
     “aa22f29f2061ddfe631f261056e98 502ede11b411a50b5df9bedb75b5f7267a2”;

if(InitializeMediaEngine((char *)pRedistCode) != SipSuccess)
{
     // handle the error.
}
else
{
     // success.
}



It should be that easy.

If this does not fix your problem, repost as soon as you can so we can look into it further.


Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 09 2007 at 2:52pm | IP Logged Quote support

Hi hermes,

We took another look at the redistribution changes we made in the most resent product image. We located a stupid bug – a bug that is our fault.

As long as you pass a redistribution code string to the InitializeMediaEngine() API procedure (with the version you have), you should be OK.

Here is the bug: If you pass NULL to the InitializeMediaEngine() API procedure (which is a valid supported value), your app will experience an access violation. Sorry about that mistake.

We have removed the problem and will get an updated product image to your support FTP account. We will send you an email when it is ready.


Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
hermes
Junior
Junior


Joined: October 27 2006
Posts: 64
Posted: January 12 2007 at 3:07am | IP Logged Quote hermes

Hello,
I have just solved the problem. I forgot to add a '\0' character at the end of the redistribution string.

Thank you.
Back to Top View hermes's Profile Search for other posts by hermes
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: January 12 2007 at 5:51am | IP Logged Quote support

hermes,

Good job. Thanks for the feedback!

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights