Jump to content

CSTA-getting to know how to use it questions


mattlandis
 Share

Recommended Posts

Hello,

 

I was thinking about making a small Windows VB.net desktop client for pbxnsip using csta to make more of pbxnsip's features realistically accessible to normal users.

 

I'm not familiar with csta and not familiar with SOAP so these may be newbie questions:

 

 

1-can more than one pc be using CSTA commands at the same time? (confusion is around fact that only one SOAP)

2-does pbxnsip have a .net example using soap?

3-can pbxnsip CSTA return the presence info of pbxnsip extensions?

4-can pbxnsip CSTA be used send instant message?

5-is CSTA the tool to use to make a client that initiates calls, shows presence etc?

 

thanks,

matt

Link to comment
Share on other sites

Hello,

 

I was thinking about making a small Windows VB.net desktop client for pbxnsip using csta to make more of pbxnsip's features realistically accessible to normal users.

 

I'm not familiar with csta and not familiar with SOAP so these may be newbie questions:

 

 

1-can more than one pc be using CSTA commands at the same time? (confusion is around fact that only one SOAP)

2-does pbxnsip have a .net example using soap?

3-can pbxnsip CSTA return the presence info of pbxnsip extensions?

4-can pbxnsip CSTA be used send instant message?

5-is CSTA the tool to use to make a client that initiates calls, shows presence etc?

 

thanks,

matt

 

 

I looked in the old PBXNSIP WIKI and they say that they have only implemented basic CSTA which is limited to "Make a call" and "Release a call".

 

Maybe in the future more methods will be available. The nice thing about CSTA is that the "Language" will be "Universal" to all VOIP phones that choose to allow it.

 

 

You can make a call a lot easier using the "Click to Dial " URL method from any web browser without writing any programs.

 

If you use Aastra phones then you can really get a lot of control for your dollar.

 

Take a look at Aastras XML abilities. Aastra XML

 

As far as VB.net goes I would look at the XMLHTTPRequest object.

 

I have used this object with VB Script in Active Server Pages to communicate with PBXNSIPS' database and Aastra phones.

 

Let us all know how it works out for you.

 

Bill H

Link to comment
Share on other sites

I looked in the old PBXNSIP WIKI and they say that they have only implemented basic CSTA which is limited to "Make a call" and "Release a call".

 

Maybe in the future more methods will be available. The nice thing about CSTA is that the "Language" will be "Universal" to all VOIP phones that choose to allow it.

 

We added a lot more now. For example, you can transfer a call or accept a call (if the connected device supports the "talk" event). The Wiki is pretty old on CSTA. We need to update the documentation there.

Link to comment
Share on other sites

Guest kevin

We are actually working on a .net application that will take CSTA commands from the pbx and then do things like open up the WAC window when a new call comes in as well as outlook pop ups etc... Once it matures a bit we can open it up for more people to test out and open a separate topic on it.

Link to comment
Share on other sites

  • 2 months later...
Kevin,

 

Sometime I'd still like that .net app example.

 

tx

matt

 

Hi Matt,

 

I wrote a PBXnSIP helper library in vb.net a few months ago.

This library can be used to access all the PBXnSIP (and Snom ONE) inside tables but also to make call using Csta.

I will post a sample on codeplex in a few minutes.

 

Kind regards,

 

Régis

Link to comment
Share on other sites

Hi Matt,

 

I wrote a PBXnSIP helper library in vb.net a few months ago.

This library can be used to access all the PBXnSIP (and Snom ONE) inside tables but also to make call using Csta.

I will post a sample on codeplex in a few minutes.

 

Kind regards,

 

Régis

 

Hi Matt,

 

snom_one_csta_sample.JPG

 

 

The sample application is available at : PBXnSIP & Snom ONE Csta sample

The two main files can be read online at :

Csta Helper Class

Csta Sample Form

 

More info about the snom phones csta api is available here and it can helps.

 

Hope it can help,

 

Regards,

 

Régis

Link to comment
Share on other sites

  • 3 months later...

I am curious once again, is there a way to pull pbx extension presence at all?

 

My previous questions that didn't get answered yet:

3-can pbxnsip CSTA return the presence info of pbxnsip extensions? (or something else?)

4-can pbxnsip CSTA be used send instant message? (or something else?)

5-is CSTA the tool to use to make a client that initiates calls, shows presence etc?

 

Thanks guys.

Link to comment
Share on other sites

  • 2 weeks later...

Bump.

 

We would like to write a snom ONE "helper" client app for Windows Desktop and windows phone 7.

 

This client will not be a sip client, but but we would like to:

-on call/off call

-show/set presence

-be able to IM

-change some key settings: forward/etc

-listen to voicemail

 

To get an idea of what I am talking about please take a look at:

http://windowspbx.blogspot.com/2010/10/tip-use-polycom-cx300-plantronics-p540.html

Jump halfway down the article. Note that the screen shot is a very barbaric (but working) start on this client. The end product will a smooth UI both to use and look at.

 

My previous questions that didn't get answered yet:

 

1-how do we pull presence info of pbxnsip extensions? (is there a webby/webservice/soap method of doing this?)

2-can soap/CSTA/ be used send/recieve instant message? (or something else?)

 

-We know how to initiate a call

-we know how to change account settings

 

 

 

thanks

Link to comment
Share on other sites

 

My previous questions that didn't get answered yet:

 

1-how do we pull presence info of pbxnsip extensions? (is there a webby/webservice/soap method of doing this?)

2-can soap/CSTA/ be used send/recieve instant message? (or something else?)

 

1. what type of presence info are you looking for. Currently, we do not advertise the "presence" info.

2. IM/Chat is not currently supported on the snom ONE CSTA.

Link to comment
Share on other sites

okay I figured it out.

 

so others following this can get pointed in the correct direction:

 

#1-login to the pbx

 

#2-then http post this

http://192.168.1.152:8082/ajax.htm?action=call_list&domain=localhost&token=whatever

(you can just copy this into a browser with your IP and domain name)

 

#3-the pbx will reply with XML containing current calls.

 

Now if you want to do something with an active call:

 

#1-login to the pbx

 

#2-http://192.168.1.152:8082/reg_calls.htm?delete_call=3555

will hangup call with id 3555 (you will get this from above steps)

 

Send an IM:

http://192.168.1.152:8082/ajax.htm?action=sendim&im_dest=101&im_msg=hello world

 

For some reason this one does not work for me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...