<br><font size=2 face="sans-serif">Hi ,</font>
<br>
<br><font size=2 face="sans-serif">I am having some startup trouble here
understanding the exact way this stack works...</font>
<br>
<br><font size=2 face="sans-serif">Few queries that I have :</font>
<br>
<br><font size=2 face="sans-serif">1. Does this stack gives the functionality/instance
of MGC and MG or I would need it separately (think satck will be providing
that)</font>
<br>
<br><font size=2 face="sans-serif">2. In the user guide for Megaco, in
order to prepare MGC to recieve messages follwoing needs to ne done</font>
<br>
<ul>
<li><font size=3>Start the Megaco application. (how to do that -- configure-build-install
the OTP stack then run follwoing command - </font><font size=3><tt>erl
-pa ../../../megaco/ebin -s megaco_filter -s megaco</tt></font><font size=3>)....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)</font>
<li><font size=3>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)</font>
<li><font size=3>Initiate the transport service and provide it with a receive
handle obtained from megaco:user_info/2.(How to do that)...</font></ul>
<p><font size=3>Please correct me if my understanding is correct..</font>
<p><font size=3>Please forgive me if my quesetions appear to be a bit too
novice..</font>
<p><font size=3>Thanking in anticipation...</font>
<p><font size=3>Cheers,</font>
<p><font size=3>jb</font>
<p>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Maxim Treskin"
<zerthurd@gmail.com></b> </font>
<p><font size=1 face="sans-serif">01/24/2008 04:25 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"J Bhanot" <j.bhanot@tcs.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">erlang-questions@erlang.org, megaco@ietf.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [erlang-questions] running sample
progs for MGC and MG</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>On 24/01/2008, <b>J Bhanot</b> <</font><a href=mailto:j.bhanot@tcs.com><font size=3 color=blue><u>j.bhanot@tcs.com</u></font></a><font size=3>>
wrote:</font>
<br><font size=2 face="sans-serif"><br>
Hi Maxim,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I was using putty from my local windows machine to connect to linux server
and then running this sample application.....</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
but when i ran this script from linux sever itself (FC8)....it did show
MGC GUI...</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
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
windows i.e </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
ReflectionX</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
hoping that it would open the GUI from my local windows m/c....</font>
<br><font size=3><br>
You have two way:<br>
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 <br>
2) Do not run megaco_filter process. In this case you can see megaco messages
on console, not in GUI.</font>
<br>
<br><font size=2 face="sans-serif">Second question is that - I am
looking into </font><font size=3>erl_interface library <br>
</font><font size=2 face="sans-serif"><br>
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....</font>
<br><font size=3><br>
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,
not Erlang. <br>
</font>
<br>
<br><font size=2 face="sans-serif">Actually, i am bit hazy about this at
this moment...</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Could you kindly throw more light on that...</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Appreciate your help...</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Many Thanks,</font><font size=3> </font><font size=2 face="sans-serif"><br>
jb</font><font size=3> </font>
<br><font size=3><br>
<br>
---<br>
Maxim 'Zert' Treskin</font>
<br><font size=1 color=white face="sans-serif">ForwardSourceID:NT0000DC3A
</font>
<br>
<br>
<br>
<br><pre>=====-----=====-----=====
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
</pre>