<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Next link is for a tutorial showing kamailio+freeswitch integration:<br>
<br>
*
<a class="moz-txt-link-freetext" href="http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc">http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc</a><br>
<br>
If you route to freeswitch and back to kamailio, then the tutorial
should be useful. It uses one freeswitch instance, but you can
enhance the routing to/from freeswitch to use dispatcher.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 04/09/15 14:49, Michael Nielsen
wrote:<br>
</div>
<blockquote
cite="mid:CAKLKb5=CBtuzoxDu4=VWW63uQVwfBtKnE6nGQH+Z5++nJqJUuw@mail.gmail.com"
type="cite">
<div dir="ltr">I would end up with 2 or more PBX's...</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Sep 4, 2015 at 2:47 PM, Daniel
Tryba <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Friday 04 September 2015 14:30:34 Michael
Nielsen wrote:<br>
> My initial thought is to, right after route(pstn); to
put:<br>
> route(DISPATCHER);<br>
><br>
> and then have, right after the route[relay] block:<br>
><br>
> route[DISPATCHER] {<br>
> if(!ds_select_dst("1", "4")) {<br>
> send_reply("404", "No destination"); exit;<br>
> }<br>
> route(RELAY);<br>
> exit;<br>
> }<br>
><br>
> Would that do it?<br>
<br>
</span>That is a possible solution. But if you only have 1
destination you could just<br>
use the PSTN route.<br>
<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<br>
</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>
<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>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
</body>
</html>