SQLExpress - Xb2.NET     ot4xb  
ot4xb.public
SIP TAPI
Thread Starter: Chris Andries Started: 7/16/2008 12:59 PM UTC
Replies: 3
SIP TAPI
Hi,

I'm looking for a way to connect to a SIP - TAPI device.
Anyone who already have something for this?

Regards,
Chris Andries
Re: SIP TAPI
Hi,

I'm looking for a way to connect to a SIP - TAPI device.
Anyone who already have something for this?

I was help to Thomas Preuss with the callback/thread trouble to write the attached sample. Hope can I'm really never test it but he was using with one of his applications, so I suggest you to contact Thomas by email.
Maybe he can give you some extra tips.
Regards,
Pablo Botella

This message includes the following attachments:

Re: SIP TAPI
Hi Pablo,

Thanks for the sample. I'm always wondering how you define the values of the
parameters. In the test.prg I see the following :
dwDeviceID   := 0x00000009
dwAPIVersion := 0x00020000
dwNull       := 0x00000000
dwPriv       := 0x00000002
dw10         := 0x00000010
dw12         := 0x00000012
lpCallParams := 0x00000000
lpHLine := 0
cTpl := DllprepareCall("tapi32.dll",DLL_STDCALL,"lineOpen")
? "lineOpen => "
??
DllExecuteCall(cTpl,lphLineApp,dwDeviceID,@lpHLine,dwAPIVersion,dwNull,dwNul
l,dwPriv,dw12,lpCallParams)

How do you find/define the values?

Do you have a email address of Thomas Preuss for me?

Regards,
Chris Andries.




"Pablo Botella" <pbn_NOSPAM_@pablob.com> wrote in message
news:2a3aa0f9$6885219c$e041@news.xbwin.com...
Hi,

I'm looking for a way to connect to a SIP - TAPI device.
Anyone who already have something for this?

I was help to Thomas Preuss with the callback/thread trouble to write the
attached sample. Hope can
I'm really never test it but he was using with one of his applications, so
I suggest you to contact Thomas by email.
Maybe he can give you some extra tips.
Regards,
Pablo Botella
Re: SIP TAPI
Hi Chris,
Do you have a email address of Thomas Preuss for me?
Just sent to your private email

How do you find/define the values?
See the attached tapi.h , the required constants will come from here

Visit this links, may be you will found it usefull
http://www.codeproject.com/KB/cpp/IVR.aspx
http://msdn.microsoft.com/en-us/library/ms737220(VS.85).aspx

Also maybe you can use TAPI 3.1 all interfaces implement IDispatch so probably you can use them with the Alaska ActiveX support.
http://msdn.microsoft.com/en-us/library/ms734215(VS.85).aspx

Also if you need to translate this or any other sample to Xbase++ or any custom wrapper over TAPI 2 or 3  this is my job, so just drop me a line and I will give you a quote for the task.  If you decide to use the TAPI 3.1 ActiveX interface and have troubles with any of the methods I can build also a custom wrapper just for the required methods and delegate the rest to Xbase++ so the cost will be reduced.  

Regards,
Pablo Botella

This message includes the following attachments: