Hello,
yes, kamailio can be used as frontend and should be no problem implementing what you need.
As a remark, if you forward REGISTER requests, you should use PATH (see path module) in case you need that requests pass through kamailio. This requires that the registrar supports PATH extension as well. For dialog requests, you should use record_route().
A starting point could be the example from dispatcher module is quite close to what you need, see: - http://kamailio.org/docs/modules/stable/modules/dispatcher.html#idp1885888
You would need to decide how to select the dispatcher group (set) id for routing. That could be done using mtree if you select the next hop based on a number (e.g., dialed number). If it is alpha-numeric based selection, maybe htable or dialplan are good options.
Cheers, Daniel
On 05/09/14 15:02, Tom Johnson wrote:
I am looking for something that would act as front end to various SIP PBX systems. I am using Asterisk, but compatibility with others might be necessary. What I want to do is pass subscribe requests with certain content types to an external program (written in Java) and the rest onto the SIP PBX. Can Kamailio do this and if so, is there some example config files somewhere that I can look at to get started?
Tom Johnson mailto:tjohnson@microautomation.com | Senior Software Engineer O: 703-543-2118 | F: 703-543-2099 5870 Trinity Parkway, Suite 600, Centreville, VA 20120 cid:image001.png@01CE18AF.8F231EB0 http://www.microautomation.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users