I would end up with 2 or more PBX's...

On Fri, Sep 4, 2015 at 2:47 PM, Daniel Tryba <d.tr...@pocos.nl> wrote:

> On Friday 04 September 2015 14:30:34 Michael Nielsen wrote:
> > My initial thought is to, right after route(pstn); to put:
> > route(DISPATCHER);
> >
> > and then have, right after the route[relay] block:
> >
> > route[DISPATCHER] {
> >   if(!ds_select_dst("1", "4")) {
> >     send_reply("404", "No destination"); exit;
> >   }
> >   route(RELAY);
> >   exit;
> > }
> >
> > Would that do it?
>
> That is a possible solution. But if you only have 1 destination you could
> just
> use the PSTN route.
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to