<br><font size=2 face="sans-serif">Hi Maxim,</font>
<br>
<br><font size=2 face="sans-serif">I was using putty from my local windows
machine to connect to linux server and then running this sample application.....</font>
<br>
<br><font size=2 face="sans-serif">but when i ran this script from linux
sever itself (FC8)....it did show MGC GUI...</font>
<br>
<br><font size=2 face="sans-serif">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>
<br>
<br><font size=2 face="sans-serif">ReflectionX</font>
<br>
<br><font size=2 face="sans-serif">hoping that it would open the GUI from
my local windows m/c....</font>
<br>
<br>
<br><font size=2 face="sans-serif">Second question is that -  I am
looking into </font><font size=3>erl_interface library </font>
<br>
<br><font size=2 face="sans-serif">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>
<br><font size=2 face="sans-serif">Actually, i am bit hazy about this at
this moment...</font>
<br>
<br><font size=2 face="sans-serif">Could you kindly throw more light on
that...</font>
<br>
<br><font size=2 face="sans-serif">Appreciate your help...</font>
<br>
<br><font size=2 face="sans-serif">Many Thanks,</font>
<br><font size=2 face="sans-serif">jb</font>
<br><font size=2 face="sans-serif"><br>
</font>
<br>
<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 03:50 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 All,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I built the stack doing following in FC 8 :</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
./configure --disable -sctp</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
make all</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
make install</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Now i want to test MGC and MG running examples at follwoing location</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
/home/j.bhanot/Download/H.248/otp_src_R12B-0/lib/megaco/examples/simple</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
i tried to execute megaco_simple_mgc.erl</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
following these commands:</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
erl -pa ../../../megaco/ebin -s megaco_filter -s megaco</font><font size=3>
</font><font size=2 face="sans-serif"><br>
%%   megaco_simple_mgc:start().</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
but getting the error :</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
1> Application initialization failed: no display name and no $DISPLAY
environment variable</font><font size=3> </font><font size=2 face="sans-serif"><br>
Error in startup script: no display name and no $DISPLAY environment variable</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Question1 : what should the value with which env value DISPLAY be set</font>
<br><font size=3><br>
DISPLAY is environment variable, which contains address and display number
of your X server. Megaco sample progs have some GUI to trace megaco messages.
It seems that you ran stack not in X environment, or under another user.
</font>
<br>
<br><font size=2 face="sans-serif">Question2: these sample applications
are made in erlang...is it possible to use c/c++ or some other language
to use APIs/Functionalities of Megaco stack</font>
<br><font size=3><br>
There is erl_interface library to interact between erlang node and C/C++
applications, but it is necessary to run one erlang node for this.</font>
<br><font size=3><br>
<br>
--- Maxim 'Zert' Treskin<br>
</font>
<br><font size=1 color=white face="sans-serif">ForwardSourceID:NT0000DC1E
   </font>
<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>