Working with SIP trunks, PBX phone systems and the like
Asked Answered
P

2

6

This isn't a question that has a black/white yes/no answer, this is more a request for advice so I hope this doesn't break any rules and if it does, I apologise and will remove if asked to.

I will mark the answer I find most helpful as the correct one.

Basically I am working for a company that has a PBX phone system. It has three machines called 'Maximisers', the first runs a linux based command line operating system entirely in memory and controls the other two.

The first maximiser also has an LDAP database, which I know very little about.

Each has 15 ethernet ports, each of which has a SIP phone plugged into it. Each 'Maximiser' also has 4 Lan ports.

The issue is that I know very little about what's going on under the hood. Any work we need done we are relying on the company who supplies the hardware to VPN in and do.

What I am asking is for somebody to point me in the right direction. I want to programmatically (preferably in C# .Net) retrieve information about what's going on with the phone system at any given time, record calls and take control of the phones so we can make outbound calls without the guys on the phone having to type the numbers in themselves.

Time isn't an issue here, I have all the time in the world to read whatever books I need to read, I just need some guidance on where to start.

Thanks in advance

Purity answered 17/10, 2011 at 18:42 Comment(5)
Have you asked the PBX vendor for API documentationDatestamp
Yeah, no joy. They're a small company so I think doing maintenance for clients provides a signifigant proportion of their income.Purity
Unless you can find out what type of PBX it is, what protocol it's using etc. you are going to be fumbling in the dark. If the servers are using Ethernet ports then it's probable it's a SIP server and if running on top of Linux a chance that it's Asterisk. If that's the case you could feasibly run it yourself. If you can access the machines search the file system for an asterisk direcory, typically it's in /etc/asterisk.Nicollenicolson
There may be a good chance that the hardware is branded by one of the big players like Alcatel or Siemens. In this case maybe you could determine what is the product series and look for clues or generic software on specialists forums.Chantress
You should also be mindful of potential legal ramifications. I used to work for NEC, and while they generally did not prosecute companies that wrote their own software to interact with the phones (without first getting permission), it was highly discouraged, and any company that did so was generally blacklisted from future support.Tenor
M
3

It really depends on what brand/model your PBX system is (Siemens, Splicecom, Alcatel, whatever...) - they usually offer some form of documentation/protocol description etc. - Splicecom for example has several protocols providing different information which you can access to achieve what you describe. Similar things exist for Siemens and others too... with some vendors/models these interfaces need to be licensed additionally.

It might also be that your PBX is based on Asterisk - an opensource solution for PBX... see the link provided for how to access that.

Another option is to use the the TAPI provider most PBX systems offer to access the information you want.

Some starting points for TAPI via .NET:

Another option is to build a SIP proxy which allows you to do all sorts of things including the things you described:

Maud answered 5/1, 2012 at 15:20 Comment(0)
S
2

Hope this helps: I ran a PBX auto-dialer in a SIP/MPLS network. I was able connect using ODBC connections to the INFORMIX DB. The vender supplied the custom ODBC drivers as part of their sub-par management system that was view-able on a PC. The connection to the DB was all I needed for reporting and call viewing. To control the system, is a little harder. You'll need to master all the systems command line controls then pass them in via Telnet or Console/Serial port (and handle the response..where I got stuck b/c my system wasn't sending the responses consistently). Good luck! P.S. you can also monitor you calls at the switch instead of the PBX; your TELCO has SW for such things.

Sphenoid answered 5/1, 2012 at 15:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.