<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 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 href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a 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>