Re: [SR-Users] Route all traffic from Kamailio to FreeSWITCH after inital checks...

2015-09-07 Thread Daniel-Constantin Mierla
Next link is for a tutorial showing kamailio+freeswitch integration: * http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc 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/fr

Re: [SR-Users] Route all traffic from Kamailio to FreeSWITCH after inital checks...

2015-09-04 Thread Michael Nielsen
I would end up with 2 or more PBX's... On Fri, Sep 4, 2015 at 2:47 PM, Daniel Tryba 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

Re: [SR-Users] Route all traffic from Kamailio to FreeSWITCH after inital checks...

2015-09-04 Thread Daniel Tryba
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")

Re: [SR-Users] Route all traffic from Kamailio to FreeSWITCH after inital checks...

2015-09-04 Thread Michael Nielsen
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, 201

[SR-Users] Route all traffic from Kamailio to FreeSWITCH after inital checks...

2015-09-04 Thread Michael Nielsen
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 tran