Feb 6, 2010 at 6:40 PM

This discussion area is intended for feedback and Q&A.  Anyone is welcome to participate!

Mark Smith
JulMar Technology, Inc. 

Sep 14, 2010 at 5:59 AM

Dear Mark Smith,Please help me solve my problem.

Can atapi help we contact to Switch ( PBX) ?

I try to using

foreach (TapiLine line in Lines)
                if (line.Name.Contains("100"))
                    TapiLine LineCaller = line;
                    TapiAddress[] ta = line.Addresses;

                    String s = "ALL_COL_STATUS";
                 //Convert this string to []Byte

                    Char[] charray = s.ToCharArray();
                    byte[] dataspec = new byte[charray.Length];
                    for (int i = 0; i < charray.Length; i++)
                        dataspec[i] = (byte)charray[i];
                     Byte[] result = ta[0].BeginDeviceSpecific(dataspec);//Get exception Invalid Line here !?

In my pbx document I see

LONG lineDevSpecific(

  HLINE hLine,       

  DWORD dwAddressID

  HCALL hCall,       

  LPVOID lpParams,   

  DWORD dwSize       


But I try to see in ATAPI Source lpPram in lineDevSpecific function is IntPtr instead LPVOID, I wonder ATAPI can help me to get specify information from pbx, and how i can make it do?
Please give me any advice !
Thanks very much !

P/S: I posted there, but I post again here, Hope you or any one can help me fast !


Dec 23, 2010 at 9:29 PM


First, I want to thank you for open sourcing your tapi modem api.

One comment.

I think that the api would greatly benefit from better comments in the api. While for the most part, your api is self explanatory, sometimes more explanation is needed. Having comments build into the api would be extremely helpful.