CallSource PHP Classes

CallSource provides inbound phone traffic analysis by allowing businesses to provision forwarding phone numbers for different advertising campaigns / sources. Calls are then tracked, recorded, and reported on by the forwarding number.

CallSource offers its customers these services directly through their website, but it also allows third parties to integrate them into their own independently branded products via an XML based web service, and over the course of 2009/2010 I've been working on just such a project for PennySaver USA.

While it's possible to simply construct and sling XML out through HTTP Requests at the controller/business logic level of a web app (and indeed, this was more or less the practice when I came on the project), on beginning, I felt it would be helpful to create a layer that served as a set of abstractions over the XML requests: