Web Architecture

HttpSDMPBridge

HttpSDMPBridge (HSBridge for short) is an intermediate service between Softdial CallGem™ and any other application session. Its main purposes are:

There are three different methods of handling messages:

  1. asynchronous - Message Verify [MV] or Error Report [ER]
  2. synchronous - Message Verify [MV] plus Softdial CallGem™ response (e.g. Agent Login [AL] has the response Logged In [LI])
  3. callbacks - HSBridge is able to callback application session straight away when there is a message from a dialer

In order to create a bridge session you must POST an html form to http://host:7003/AuthEx

HSBridge opens a separate socket connection to the Softdial CallGem™ and tries to authenticate the user with the credentials from the form document - (tenant/user/password). If authentication is successful the response should be an xml document which conforms to the SXMP protocol.

From this point the HSBridge hosts the SDMP connection which is identified by the application session id from the xml document.

Each time there is a message from the application session to the bridge the session id should be present in the url. This allows the bridge to determine which SDMP connection should be used.

When HSBridge is to callback an application session, it creates an http cookie and attaches it to the request. This allows the bridge to determine which application session is to be used.

In application session you can POST and GET messages using these URL templates:

The first url always expects the GET method while the second one always expects the POST method with the SDMP message in the body of the message.

The Console Tester utility which is accessed from the web services administration panel (http://localhost/apanel on the bridge server) provides facilities for extracting and testing the RESTful API for all web applications.