Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
TAPI Newbee
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mohan Maganti  
View profile  
 More options Jun 17 2008, 5:51 am
Newsgroups: microsoft.public.win32.programmer.tapi
From: Mohan Maganti <Mohan Maga...@discussions.microsoft.com>
Date: Mon, 16 Jun 2008 12:51:04 -0700
Local: Tues, Jun 17 2008 5:51 am
Subject: TAPI Newbee
Hello Masters,
This is my first day in the TAPI-TSP World.  I am supposed to write an
application that monitors Samsung Officeserv PABX for incoming phone calls.  
The App should know when the call starts and ends.
I have samsung open TSP driver installed on my computer.  I am running Vista
Business.  I think I can invoke TAPI 2 or TAPI 3 by including the appropriate
DLLs in the project.  Please correct me if I am wrong.

How do I make my app talk THROUGH the Samsung Open TSP driver to the PABX
(OFFICESERV LINK)and monitor the phone traffic.

Any  function names are greately appreciated

regards
Maganti

My biggest problem is HOW DO I MAKE THE APPLICATION TALK TO SAMSUNG


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SM  
View profile  
 More options Jun 18 2008, 8:02 pm
Newsgroups: microsoft.public.win32.programmer.tapi
From: SM <deepak...@gmail.com>
Date: Wed, 18 Jun 2008 03:02:19 -0700 (PDT)
Local: Wed, Jun 18 2008 8:02 pm
Subject: Re: TAPI Newbee
On Jun 16, 10:51 pm, Mohan Maganti <Mohan

Hi ,

I am an Telecom Engineer and have experience on the samsung
Officeserv , i am not a software guy but can possible help you on the
hardware part.You have not mentioned how the model of the office serv
series, the officeserv 100 provides the call information on the  SMDR
port which is an RS 232 port , some of the new models report the call
info via the Ethernet port this makes it easier for you to capture.

Hope this info helps.

Cheers

Deepak John


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Marschall [MVP TAPI]  
View profile  
 More options Jun 20 2008, 1:02 am
Newsgroups: microsoft.public.win32.programmer.tapi
From: "Andreas Marschall [MVP TAPI]" <Andreas.Marsch...@I-B-A-M.de>
Date: Thu, 19 Jun 2008 17:02:57 +0200
Local: Fri, Jun 20 2008 1:02 am
Subject: Re: TAPI Newbee
"Mohan Maganti" <Mohan Maga...@discussions.microsoft.com> schrieb im
Newsbeitrag news:ED3FDD9D-662F-4A83-860E-714ED3716782@microsoft.com...

> Hello Masters,
> This is my first day in the TAPI-TSP World.  I am supposed to write an
> application that monitors Samsung Officeserv PABX for incoming phone calls.
> The App should know when the call starts and ends.
> I have samsung open TSP driver installed on my computer.  I am running Vista
> Business.  I think I can invoke TAPI 2 or TAPI 3 by including the
appropriate
> DLLs in the project.  Please correct me if I am wrong.

> How do I make my app talk THROUGH the Samsung Open TSP driver to the PABX
> (OFFICESERV LINK)and monitor the phone traffic.

> Any  function names are greately appreciated
> My biggest problem is HOW DO I MAKE THE APPLICATION TALK TO SAMSUNG

Maganti,
on Vista you can use TAPI 2.x and 3.x as you like.
What programming language do you want to use?

You may want to take a look at the MS sample code from P-SDK and the JulMar
TAPI tools with open source:
http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html
http://www.julmar.com/tapi/

Try it with MS TAPI Browser TB20 / TB3x before starting to code anything
yourself.
See my TAPI and TSPI FAQ:

Q: Where can I download TAPI Browser ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_W...

Q: Is there a user guide available for TAPI Browser TB20 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_I...

Q: Is there a user guide available for TAPI Browser TB3x ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_I...

BTW please use meaningful topics in the future.
"TAPI Newbee" isn't meaningful at all in the TAPI newsgroup...

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My TotoŽ Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mohan Maganti  
View profile  
 More options Jul 1 2008, 2:20 am
Newsgroups: microsoft.public.win32.programmer.tapi
From: Mohan Maganti <MohanMaga...@discussions.microsoft.com>
Date: Mon, 30 Jun 2008 09:20:00 -0700
Subject: Re: TAPI Newbee
Hello Guys,

I was out of commission for couple of weeks.  Just looked at the messages.  
Thanks for the information. I will look into this today.

Andreas --
Your website is very nice.  I will follow the suggestion of naming post
little better.

regards
Mohan
"Andreas Marschall [MVP TAPI]" wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Marschall [MVP TAPI]  
View profile  
 More options Jul 1 2008, 11:01 pm
Newsgroups: microsoft.public.win32.programmer.tapi
From: "Andreas Marschall [MVP TAPI]" <Andreas.Marsch...@I-B-A-M.de>
Date: Tue, 1 Jul 2008 15:01:43 +0200
Local: Tues, Jul 1 2008 11:01 pm
Subject: Re: TAPI Newbee
"Mohan Maganti" <MohanMaga...@discussions.microsoft.com> schrieb im
Newsbeitrag news:173E9AFA-EA9A-4976-8AAA-F173DD1E9D5C@microsoft.com...

> Hello Guys,

> I was out of commission for couple of weeks.  Just looked at the messages.
> Thanks for the information.

Mohan, you are welcome.

> I will look into this today.

Ok.

> Andreas --
> Your website is very nice.

Thanks for your feedback :-)

> I will follow the suggestion of naming post little better.

Thanks again.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My TotoŽ Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mohan Maganti  
View profile  
 More options Jul 2 2008, 5:24 am
Newsgroups: microsoft.public.win32.programmer.tapi
From: Mohan Maganti <MohanMaga...@discussions.microsoft.com>
Date: Tue, 1 Jul 2008 12:24:01 -0700
Local: Wed, Jul 2 2008 5:24 am
Subject: Re: TAPI Newbee
Andreas,
I was looking into what I need to accomplish.  I think I need some help.  I
will state what I need again --
From the PC
1) log-in , log-off from the phone system (samsung)
2) Monitor any incoming calls on that particular phone "NODE".
3) When a call comes-in, display some UI depending on the caller-ID.
4) Know when the call ends and do some thing else (in the UI and other parts
of the application)

Here is what I had done until now.  I pulled some portions from internet and
some from the MSDN website.

There are lot of unknowns for me here.  
The code posted does not do what I need to do, but I thought it is a start

1) What do I need to know to accomplish what I need to.?
2) Can any one please give  me some function names (atleast) so that I can
be helped.
3) Thanks.  Awaiting any help

*************************************************
        HRESULT hr=NULL;
        // Initialize COM.
        hr = CoInitializeEx(
                 NULL,
                COINIT_MULTITHREADED
                );
        // If (hr != S_OK) process the error here.  

        // Create a TAPI entry point object.
        ITTAPI *gpTapi;    // globally allocated
        hr = CoCreateInstance(
                 CLSID_TAPI,
                NULL,
                CLSCTX_INPROC_SERVER,
                IID_ITTAPI,
                (LPVOID *)&gpTapi
                );
// If (hr != S_OK) process the error here.  

// Initialize TAPI.
        hr = gpTapi->Initialize();
 if (hr != S_OK) //process the error here.
        printf("I am stuck");

// Declare the interfaces used to select an address.
IEnumAddress * pIEnumAddress;
ITAddress * pAddress;
ITMediaSupport * pMediaSupport;
VARIANT_BOOL bSupport;
BSTR ppName;
// Use the TAPI object to
// enumerate available addresses.
hr = gpTapi->EnumerateAddresses( &pIEnumAddress );
// If (hr != S_OK) process the error here.

// Locate an address that can support the
// media type the application needs.
while ( S_OK == pIEnumAddress->Next(1, &pAddress, NULL) )
{
    // Determine the media support.
        pAddress->get_ServiceProviderName(&ppName);
        pAddress->get_AddressName(&ppName);
    hr = pAddress->QueryInterface(
         IID_ITMediaSupport,
         (void **)&pMediaSupport
         );
            // If (hr != S_OK) process the error here.
pAddress->get_ServiceProviderName(&ppName);
    // In this example, the required media type is already known.
    // The application can also use the address object to
    // enumerate the media supported, then choose from there.

hr = pMediaSupport->QueryMediaType(
         TAPIMEDIATYPE_AUDIO,
         &bSupport
         );
    // If (hr != S_OK) process the error here.
//pAddress->get_ServiceProviderName(ppName);
    if (bSupport)
    {
                pAddress->get_ServiceProviderName(&ppName);
        hr = pAddress->get_AddressName(&ppName);
                if(hr != S_OK)
                        printf("I am stuck");
                break;
    }
        //pAddress->CreateCall(

}

// pAddress is now a usable address.

// start making call
        BSTR AddressToCall = SysAllocString(L"111.11.1.1");

  // Have a look at the service provider and the address name
  BSTR d;
  pAddress->get_ServiceProviderName(&d);
  BSTR ss = d;
  pAddress->get_AddressName(&d); ss = d;
 ITBasicCallControl *    pBasicCall;
  ADDRESS_STATE pAddressState;
  pAddress->get_State(&pAddressState);
  if (pAddressState == AS_OUTOFSERVICE)
  {
    /*The address is temporarily out of service*/
    int i = 9;
  }
pAddress->
  // Start the call
  hr = pAddress->CreateCall(AddressToCall, LINEADDRESSTYPE_IPADDRESS,
TAPIMEDIATYPE_AUDIO, &pBasicCall);

  SysFreeString(AddressToCall);

  // Make the connection.
  hr = pBasicCall->Connect(TRUE);

  if (hr != S_OK)
  {
    //AfxMessageBox("Couldn't connect to call");
  }

  hr = pBasicCall->Disconnect(DC_NORMAL);

  if (hr == S_FALSE)
  {
    // Call state is idle
    bool idle = true;
  }
// end making call

// end enumerations
        return (int) msg.wParam;

**********************************************
"Andreas Marschall [MVP TAPI]" wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mohan Maganti  
View profile  
 More options Jul 2 2008, 11:25 pm
Newsgroups: microsoft.public.win32.programmer.tapi
From: Mohan Maganti <MohanMaga...@discussions.microsoft.com>
Date: Wed, 2 Jul 2008 06:25:01 -0700
Local: Wed, Jul 2 2008 11:25 pm
Subject: Re: TAPI Newbee
Hello Again,
Clarification:
In my previous post, I said
**** 1) log-in , log-off from the phone system (samsung) *****

I was wrong.  The log-in, log-off will happen independent of the application.

regards
Mohan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google