<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
yes, kamailio can be used as frontend and should be no problem
implementing what you need.<br>
<br>
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().<br>
<br>
A starting point could be the example from dispatcher module is
quite close to what you need, see:<br>
-
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules/dispatcher.html#idp1885888">http://kamailio.org/docs/modules/stable/modules/dispatcher.html#idp1885888</a><br>
<br>
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.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 05/09/14 15:02, Tom Johnson wrote:<br>
</div>
<blockquote
cite="mid:62e2cc4fdd3d409693d98d6dcbdf6ace@CO1PR07MB221.namprd07.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">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?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a
moz-do-not-send="true"
href="mailto:tjohnson@microautomation.com"><span
style="color:blue">Tom Johnson</span></a> | Senior
Software Engineer<br>
O: 703-543-2118 | F: 703-543-2099 <br>
5870 Trinity Parkway, Suite 600, Centreville, VA 20120<br>
</span><a moz-do-not-send="true"
href="http://www.microautomation.com/"><span
style="color:windowtext;text-decoration:none"><img
id="Picture_x0020_1"
src="cid:part2.03020601.02020003@gmail.com"
alt="cid:image001.png@01CE18AF.8F231EB0" height="49"
border="0" width="319"></span></a><span
style="font-size:8.0pt;color:white"><br>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany</pre>
</body>
</html>