[erlang-questions] running sample progs for MGC and MG
Fri Jan 25 07:18:33 CET 2008
I am having some startup trouble here understanding the exact way this
Few queries that I have :
1. Does this stack gives the functionality/instance of MGC and MG or I
would need it separately (think satck will be providing that)
2. In the user guide for Megaco, in order to prepare MGC to recieve
messages follwoing needs to ne done
Start the Megaco application. (how to do that -- configure-build-install
the OTP stack then run follwoing command - erl -pa ../../../megaco/ebin -s
megaco_filter -s megaco)....am just in the process of learning Erlang as
well (don't understand the erlang syntax as of now but will learn
:-)......another question - how to make megaco_filter off so that megaco
messages can be seen on console)
Start the MGC user. This may either be done explicitly with
megaco:start_user/2 or implicitly by providing the -megaco users
configuration parameter. (how to do that - once I run the above command, i
get erlang shell - 1>...then type megaco:start_user/2.....that should make
my MGC up and running ..listeniing at some port)
Initiate the transport service and provide it with a receive handle
obtained from megaco:user_info/2.(How to do that)...
Please correct me if my understanding is correct..
Please forgive me if my quesetions appear to be a bit too novice..
Thanking in anticipation...
"Maxim Treskin" <zerthurd@REDACTED>
01/24/2008 04:25 PM
"J Bhanot" <j.bhanot@REDACTED>
Re: [erlang-questions] running sample progs for MGC and MG
On 24/01/2008, J Bhanot <j.bhanot@REDACTED> wrote:
I was using putty from my local windows machine to connect to linux server
and then running this sample application.....
but when i ran this script from linux sever itself (FC8)....it did show
now it want to display GUI from my local windows machine running this appl
on putty...for this i am trying to download an interface b/w linux and
hoping that it would open the GUI from my local windows m/c....
You have two way:
1) Install X server on your windows machine, start it, then set DISPLAY
variable on linux station to "your_windows_addr:x_display", where
your_windows_addr is network address of machine and x_display is display
number of X server
2) Do not run megaco_filter process. In this case you can see megaco
messages on console, not in GUI.
Second question is that - I am looking into erl_interface library
now when you say atleast one erlang node should be running ...do you mean
that anyways i will have to use Erlang in building some application (
Start Media Gateway Controller) and then if i want to start Media Gateway
....i can use my C application to start it and then making MG communicate
with MGW via erl_interface library using C....
At least one erlang node should be started for MGC and one node for each
MG. Also you must write pice of code in erlang to handle megaco messages.
The easiest way is learn Erlang OTP, and write whole application on this
platform. You can write low-level part of application on C/C++, but it is
impossible to write high-level part, megaco messaging, on other language,
Actually, i am bit hazy about this at this moment...
Could you kindly throw more light on that...
Appreciate your help...
Maxim 'Zert' Treskin
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions