<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV></DIV>
<DIV>
<DIV></DIV>Hi there,</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000000; FONT-SIZE: 12pt">
<DIV> </DIV>
<DIV>I would like to dial a phone number, and read the RTP package back when connected so that we can analyze the data; (to determine when we should play an audio at the right time--human or answer machine.)</DIV>
<DIV> </DIV>
<DIV>We found a code for IVR test (http://docs.freeswitch.org/switch__ivr_8c-source.html) Function name: switch_ivr_sound_test</DIV>
<DIV> </DIV>
<DIV>We would like to do the same but with C# code, but we encountered a problem when calling the function "freeswitch.switch_core_session_read_frame( ) " </DIV>
<DIV> </DIV>
<DIV>< in <A href="http://swig.cs/" target=_blank>swig.cs</A></DIV>
<DIV> </DIV>
<DIV>switch_core_session_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, uint flags, int stream_id) ></DIV>
<DIV> </DIV>
<DIV>where the second parameter--frame is a pointer to pointer of switch_frame type and in C# code, it is having a difficulty passing an object to the C++ side and keep the pointer place holder before going deeper into the C code (switch_core_io.c)</DIV>
<DIV> </DIV>
<DIV>1) So is there any way I can call this function in C#?</DIV>
<DIV>2) Is there another function or routine that you can suggest me to for reading RTP package?</DIV>
<DIV><BR>Thanks,</DIV>
<DIV><BR> </DIV>Frank
<DIV></DIV></DIV><BR></DIV></DIV></div><br>
</body></html>