megaco_test_mg and megaco_test_mgc]

Miguel Willigs mwilligs@REDACTED
Wed Oct 8 21:53:35 CEST 2003


Hi again
This is my last question about this issue (I hope), how can I install
erlang in order to be able to execute megaco_test_mgc and megaco_test_mg?.
The point is, I understand prety well (I think) about megaco_test_mg and
megaco_test_mgc by looking the source code, but I can't execute those
codes.

Thanks

> Hi,
>
> On Tuesday, October 7, 2003, at 07:26 PM, Miguel Willigs wrote:
>
>> Hi
>> I use the next command line to start the megaco_test_mgc aplication:
megaco_test_mgc:start(mgc1,{deviceName,"controller6666qq"},{text,tcp},s
ilence).
>> Is there something wrong in this command?
>
> ET should be a list. And if you intend to run it on the same node, then you
> can make it:
>
> megaco_test_mgc:start(node(),{deviceName,"controller6666qq"},[{text,tcp}
],silence).
>
>>
>> Thank again
>
> /BMK
>
>>
>>> Hi,
>>>
>>> The start function:
>>>
>>> 	start(Node, Mid, ET, Verbosity)
>>>
>>> Node - Is a node name. In the test programs we start slave nodes and
run the
>>>         MG/MGC in those.
>>> Mid  - Is the Mid of the MGC
>>> ET   - What encoding type's the MGC shall support
>>> 	  basically a list of {encoding_type(),transport_protocol()}
>>>         where
>>> 		encoding_type() = text | binary
>>> 		transport_protocol() = tcp | udp
>>> Verbosity - Debugging: silence | info | debug
>>> 		   silence - no debug printouts
>>> 		   info    - some debug printouts
>>>              debug   - lots of debug printouts
>>>
>>> /BMK
>>>
>>> On Monday, October 6, 2003, at 08:55 PM, Miguel Willigs wrote:
>>>
>>>> Thank you for the answer, I have one more question: What are the
parametters in the megaco_test_mgc:start() function?
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> They are not examples. They are part of the megaco test suite. No
doc. Take a look in the Makefile in the test directory.
>>>>>
>>>>> /BMK
>>>>>
>>>>> On Friday, October 3, 2003, at 09:45 PM, Miguel Willigs wrote:
>>>>>
>>>>>> Hi there.
>>>>>>
>>>>>> I found two examples files in the erlang instalation:
>>>>>> megaco_test_mg.erl
>>>>>> and megaco_test_mgc.erl.
>>>>>> My question is: How do I run these examples? Is there any
>>>>>> documentation
>>>>>> about these examples?
>>>>>>
>>>>>> Thanks in advance
>>>>>>
>>>>>
>>>>
>>>
>>
>




More information about the erlang-questions mailing list