PBX Info :: Your Free PBX, PABX and Telephone Information Resource - View Single Post - Digital PBX and Analog Modem
View Single Post
Old 09-28-2004, 08:04 AM   #4 (permalink)
Chas2002
Admin
 
Chas2002's Avatar
Chas2002 is scared by papa-bear\'s "not work safe"

Activity Longevity
2/20 19/20
Today Posts
0/0 sssss1682
Location: Gulf Coast
Rep Power: 5Chas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond reputeChas2002 has a reputation beyond repute
Country:
It’s all in the ‘dial’ strings and each pbx is a little different ‘proprietary’. Basically you have to get your application to emulate a telephone set connected to the pbx. Thus, most applications referred to as “Third Party Applications”, communicate to and with the pbx via Analog ports or Digital Ports.

As an example:

Scenario: You have a VB script that associates ‘button clicks’ with actionable items. Say, button 101 = ‘Conference Call”. The pass-thru “Data Access Object” portion of your code would;

1. Call “Obtain dialtone” code, [Gets dialtone from the switch]
2. If button 101 = “0” Then ..Send a spre code and Conference Call code,
3. The switch will handle the call connection for you,
4. Wait or For timeout action, or error code check and implementation,
5. If Not “Idle” Then back to 4,
6. IF Idle Then send “Disconnect” code.

(Of course the common comm to a switch from a third party application is via a series of ACK (acknowledge) commands.)

That’s basically it…

Some other things to consider;
1. Digital ports are expensive resources, so If you can implement your program via analog ports that would be best,
2. Queues are a great way to allow the ‘Switch’ to stack calls for you,


Chas2002
__________________
Free Preview of my fictional book: Chaos Theorem .:-:. Employment: Find a new job on pbxjobs.com

Best Video Jukebox on the net (mini-flash widget) | and | Do you want to store your MP3 files? visit: Musecast.com

Why not start a blog http://www.pbxinfo.com/blog.php - it's 110% free.
Chas2002 is offline   sendpm.gif Reply With Quote