<br><font size=2 face="sans-serif">Hi Maxim,</font>
<br>
<br><font size=2 face="sans-serif">I am sending following message from
MGC to C node - </font>
<br>
<br><font size=2 face="sans-serif">{'ServiceChangeRequest',[{megaco_term_id,false,[[114,111,111,116]]}],{'ServiceChangeParm',restart,asn1_NOVALUE,asn1_NOVALUE,asn1_NOVALUE,[[57,48,49]],asn1_NOVALUE,asn1_NOVALUE,asn1_NOVALUE,asn1_NOVALUE}}
</font>
<br>
<br><font size=2 face="sans-serif">I am using this in C node :</font>
<br>
<br><font size=2 face="sans-serif">tuplep = erl_element(3, emsg.msg); //
above msg is the 3rd element that I pass from Erlang</font>
<br><font size=2 face="sans-serif">        fnp1 = erl_element(1,
tuplep); // I try to get the first element from that i.e. ServiceChangeRequest\</font>
<br>
<br><font size=2 face="sans-serif"> tuplesize = ERL_TUPLE_SIZE(tuplep);
// gives me 3</font>
<br>
<br><font size=2 face="sans-serif">mymessage1= ERL_ATOM_PTR(fnp1); // corerctly
get ServiceChangeRequest when I print mymessage1</font>
<br>
<br><font size=2 face="sans-serif"> mymessage2 = ERL_ATOM_PTR(fnp2);
// this gives junk as 2 element is not an atom</font>
<br>
<br><font size=2 face="sans-serif"><b>Unfortunately, I have not been able
to find any API that converts the whole list or tuple in String.</b></font>
<br>
<br><font size=2 face="sans-serif"><b>Is there any API that can do so.</b></font>
<br>
<br><font size=2 face="sans-serif">Many thanks for your help<b>.</b></font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">jb<br>
</font><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>