[SR-Users] Route all traffic from Kamailio to FreeSWITCH after inital checks...
Michael Nielsen
mic.niel84 at gmail.com
Fri Sep 4 14:30:34 CEST 2015
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?
On Fri, Sep 4, 2015 at 1:11 PM, Michael Nielsen <mic.niel84 at gmail.com>
wrote:
> I'm running the standard Debian 7 Kamailio 4.3 package.
>
> I've added the following to my kamailio.cfg:
>
> #!define WITH_MYSQL
>
> #!define WITH_AUTH
>
> #!define WITH_USRLOCDB
>
> #!define WITH_NAT
>
> #!define WITH_TLS
>
> #!define WITH_ANTIFLOOD
>
>
> After authentication, nat etc. is done is there an easy way to transfer
> everything else to FreeSWITCH?
>
>
> I've looked at the dispatcher module, but don't know where to put the
> "transfer" in kamailio.cfg?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150904/35901b82/attachment.html>
More information about the sr-users
mailing list