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: New user questions: Setting up Proxies and sample apps Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Pete
Intermediate
Intermediate


Joined: December 05 2006
Posts: 12
Posted: December 05 2006 at 8:23am | IP Logged Quote Pete

All,

I have successfully activated a trial license for the Media Engine, Centrex and Media Proxy products. Please answer the following questions for me... Thanks!

1) I thought I read that the trial software is only licensed for a single machine, so I would need to go through the process to get another set of licenses for a second machine correct? In the meantime, is there a way to configure any of your Media Engine examples so that I can call myself, just to make sure I have things set up properly environment wise?

2) Can I run the Proxy/Centrex server on the same machine as the example Singleline Phone.exe? I noticed they seem to be competing for port 5060 but it looks like I can change that in one or more places.

3) Can I configure the Telephony Echo Server.exe example so that I can call myself on the same machine, again using Singleline Phone.exe?

4) I'm not SIP aware at this point, can you give me a quick example of how I can configure one (or two) machines with hard-coded IP addresses to call each other? Do I need to get the Proxy/Centrex server(s) involved? If so, how?
Back to Top View Pete's Profile Search for other posts by Pete
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: December 05 2006 at 12:16pm | IP Logged Quote support

Hi Pete,

Thanks for posting your question to the forum.

Question 1:
I thought I read that the trial software is only licensed for a single machine, so I would need to go through the process to get another set of licenses for a second machine, correct?

For the Centrex (SIP) proxy and VOIP Media proxy:
Yes, that is correct.

For the VOIP Media Engine:
The Media Engine can be installed on whatever machines you want using the same license.


Question 2:
In the meantime, is there a way to configure any of your Media Engine examples so that I can call myself, just to make sure I have things set up properly environment wise?

A good way to perform a “single machine test” would be to do the following.

1)
Install the Media Engine.
Install the Centrex SIP proxy.
Install the VOIP media proxy.


2)
Start the Centrex SIP proxy.

A dialog will be displayed. It will want you to configure an IP address for the server. Press the OK button in the dialog.

A configuration dialog will be displayed (Network Configuration page). In the Domain name field, type the host name of your Windows machine (case does not matter). Also select the IP address of your windows box (Server IP address).

Optionally right click in the left window pane to select the “Basic Settings” page. Uncheck the following:

Display startup splash dialog.
Enable system tray balloon messages

Right click in the left window pane to select the “Media Proxy Support” page. Check the “Enable Media Proxy Support” check box. Also check the “Proxy all call media regardless of source or destination”.

Press the OK button.

The Centrex Proxy should begin running.


3)
Start the VOIP Media Proxy.

The media proxy will want you to select an IP address. Press the OK button in the “Ip Address Not Configured” modal dialog.

The Network Configuration page of the config dialog will be displayed. Select the IP address of your Windows box.

Right click in the left pane and select the ‘Sip Proxy Configuration” page.

You now need to “point” the media proxy to your SIP proxy. Right click in the list control at the right. Select ‘Add” from the pop up menu.

A new dialog with the title “Add SIP Proxy Information” will be displayed. In the upper edit field, type in the host name of your machine or its IP address. In the lower edit field, enter port value 9000.

Also, change the “SIP proxy ping interval” from 10 seconds to 1 second.

Optionally select the “Basic Settings” page and uncheck the following:

Display startup splash dialog.
Enable system tray balloon messages

The media proxy should start and communicate with the SIP proxy. Your SIP proxy should have logged an event that says something like:

“VOIP Media Proxy x.x.x.x is on-line”

If everything has worked up to this point, then you have a working SIP/Media proxy setup for local machine testing.


4)
Setting up the Media Engine VOIP example – 1 line Soft phone:

The trial product image of the media engine comes with a license file called “LanScapeVME.C”. Copy this file to the media engine install location:

C:\Program Files\LanScape\VOIP Media Engine\5.12\Software Examples\Microcode

The above path is the install default location. If you installed the media engine to another location, change the path as needed.

The GUI based VOIP exampled do not have to be rebuilt if you don’t want to. For our testing purposes, we will use the single line phone and the echo server.

Start the Single line phone:
“C:\Program Files\LanScape\VOIP Media Engine\5.12\Software Examples\Bin\Release\ SingleLine Phone.exe”

It will ask to set its IP address. Press the OK button.

The config dialog will be displayed. Change the settings as follows:

User Name: 111
Display Name: Extension 111
Local SIP port: 5062
Sip Log Server: clear this field.
Current IP Address: select the IP of your windows box.
Use SIP Domain: checked
SIP Domain Name: the host name of your windows box.
Use Registration Server: checked
Server Address: the host name of your windows box.
Use SIP Proxy: checked
SIP proxy address: the host name of your windows box.
Press the OK button in the config dialog.

The single line phone will then as you for a license file. Select the following:
“C:\Program Files\LanScape\VOIP Media Engine\5.12\Software Examples\Microcode\ LanScapeVME.C”

If everything went OK, the signle line soft phone should start up. Your SIP proxy will log a message indicating that the soft phone (extension 111) registered.


6)
Setting up the Media Engine VOIP example – Echo server:

This is the same as the previous set up but we use different values. I just cut portions of the previous example and changed values.

Start the echo server:
“C:\Program Files\LanScape\VOIP Media Engine\5.12\Software Examples\Bin\Release\ Telephony Echo Server.exe”

It will ask to set its IP address. Press the OK button.

The config dialog will be displayed. Change the settings as follows:

User Name: 222
Display Name: Extension 222
Local SIP port: 5064
Sip Log Server: clear this field.
Current IP Address: select the IP of your windows box.
Use SIP Domain: checked
SIP Domain Name: the host name of your windows box.
Use Registration Server: checked
Server Address: the host name of your windows box.
Use SIP Proxy: checked
SIP proxy address: the host name of your windows box.
RTP Port range: min=12000 max=12006 (or any UDP port not being used).
Press the OK button in the config dialog.

The echo server will then as you for a license file. Select the following:
“C:\Program Files\LanScape\VOIP Media Engine\5.12\Software Examples\Microcode\ LanScapeVME.C”

If everything went OK, the echo server should start up. Your SIP proxy will log a message indicating that the echo server (extension 222) registered.


7)
Placing a call to the echo server:

Press the call button on the 1 line soft phone.

The phone book gets displayed.

In the SIP UIR edit field, type the following:

sip:222@host:5060

where “host” is the host name of your windows box (i.e. the same host as your SIP proxy).

Press the Add button then press the Save button to update the address book.

To make the call to the echo server, Select the “sip:222@ps:5060” line in the list box and press the “make call” button.

The SIP proxy will contact the media proxy. A media session on the media proxy will be opened. The SIP proxy will then route the call to the echo server (extension 222).

The echo server will auto answer the call. If you speak into your soft phone, the echo server will echo back everything you speak.

When you are done, hang the call up on the soft phone by pressing the call button again.

You can use the other media example software apps for testing too. Setup is similar.


Question 3:
Can I run the Proxy/Centrex server on the same machine as the example Singleline Phone.exe? I noticed they seem to be competing for port 5060 but it looks like I can change that in one or more places.

You can run the different example voip apps from the media engine distribution on the same machine as the Centrex SIP proxy and VOIP Media Proxy just as long as none of them use the same UDP ports.

Question 4:
Can I configure the Telephony Echo Server.exe example so that I can call myself on the same machine, again using Singleline Phone.exe?

Yes. See answer to question 2 above.


Question 5:
I'm not SIP aware at this point, can you give me a quick example of how I can configure one (or two) machines with hard-coded IP addresses to call each other?

Once you get the hang of it, setting up SIP domains using these products is very simple.

If you want to perform a simple VOIP test between 2 user agents (soft phones) that are in the same subnet (behind the same NAT), then the soft phones can call each other directly.

If on the other hand you need to communicate between 2 or more soft phones that are anywhere in the world (say between 2 company facilities), then you will have to get a SIP proxy and Media proxy involved. One domain deployed at each facility or a single domain that is accessible by all the soft phones.

A simple single VOIP domain consist of a SIP proxy, a media proxy and soft phones or IP desktop phones.

To configure 2 machines with proxies would be the same as the single machine example we went through above. All you have to do is set up the proxies on two or more machines as we did in the example. Each proxy deployment would be considered a VOIP domain. Some of the soft phones would register with one of the sip proxies (domain 1 at facility 1) and some of the other soft phones would then register with the other proxy (domain 2 at facility 2), etc.

Here is an important item to remember: The domain name of the SIP proxy “most times” is set to be the same as the host name of the machine.

For soft phones in a domain to be able to call soft phones in another domain (via their SIP proxy), the host machines that the proxies reside on must be able to communicate with each other using static IP addresses or DNS.

If you want to go through an actual example here, post again and we can put it together for you. It sounds like we need a simple deployment primer for new users.


Question 6:
Do I need to get the Proxy/Centrex server(s) involved? If so, how?

SIP and media proxies should be involved if you have to traverse any NAT or firewall boundaries – which is always the case when you are trying to set up a VOIP domain between 2 or more facilities.


You will probably have more question as you progress so do not hesitate to repost as needed.



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


Joined: December 05 2006
Posts: 12
Posted: December 05 2006 at 12:21pm | IP Logged Quote Pete

Whoa! That's a lot of info, guess I need to get to work now... Thanks for your prompt response.
Back to Top View Pete's Profile Search for other posts by Pete
 
Pete
Intermediate
Intermediate


Joined: December 05 2006
Posts: 12
Posted: December 05 2006 at 3:39pm | IP Logged Quote Pete

Okay folks, your suggestions worked great! However, in your answer to my original question 1, you mentioned that I could install the VOIP Media Engine on "whatever machines I want using the same license". I've tried every way I can think of to do this with no luck. On my final attempt it said I needed to install it on the same machine I was on when I applied for the trial license. Any suggestions?

Assuming you can help me to get the Media Engine distributed, then an example of two softphones calling each other (behind the same firewall/NAT) would be helpful. Thanks again!
Back to Top View Pete's Profile Search for other posts by Pete
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: December 05 2006 at 4:19pm | IP Logged Quote support

Hi Pete,

Yes you can install the media engine trial on any number of machines once it has been downloaded.

The files you need for this current product revision are:
CustomerLog.html (install info)
LanScapeVME.C (runtime license info)
LanScape VOIP Media Engine Trial v5.12.1012.7.zip (the install image)

The first 2 files you received when you installed the trial license to a folder using the License Manager.

The third file you downloaded with the License manager. If you unzip the third file and use the install info from the CustomerLog.html, you can install the trial voip media engine product to any machine.

So it is easier for you, we have set up a download FTP account with the needed files. The new trial license starts today for 30 days. We will send you the FTP login info shortly.

If you have any further problems, just repost to this forum thread.

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


Joined: December 05 2006
Posts: 12
Posted: December 06 2006 at 5:15pm | IP Logged Quote Pete

Great! Works as advertised. Once again thanks for your promptness...

Perhaps I missed it, did you give the example of two softphones calling one another directly (behind a NAT/firewall)?

Incidentally, do you give out candy for bug reports? In the "Network Configuration" dialog of your Proxy Server, there are two typos under the "SIP Specific" heading: 'lenght' and 'mesages'. :-)
Back to Top View Pete's Profile Search for other posts by Pete
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: December 06 2006 at 6:09pm | IP Logged Quote support

Pete,

Thanks for the type-o report. They will be fixed next release. I will have to see if we have a candy jar somewhere around here....

From your original post - Question 4:
There are many ways the VOIP server and soft phones can be deployed. If you can, give us another post with a bit more info as to what you want to do. For real voip deployments, we always set up at least one domain (Centrex SIP Proxy + Media proxy) and then just deploy soft phones and other SIP devices where ever we need to. We can get away with this because the proxy pair takes care of all the nasty NAT issues that affect SIP and RTP.

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