Discussion:
[SR-Users] [OT] Accounting Drouting Gateway Selection
Spencer Thomason
2014-09-18 15:34:40 UTC
Permalink
Hello all,
I have a need to determine which calls go to which gateway. The challenge is that CDRs are produced by a FreeSWITCH instance upstream of a provider side Kamailio proxy that handles route selection via drouting module. The topology is like this:

customer proxy -> FS [1-N] (accounting) -> carrier proxy (route selection)

Does anyone have any ideas how to make the FreeSWITCH instances aware of which gateway actually received the call?

Thanks!
Spencer
Daniel-Constantin Mierla
2014-09-22 07:45:20 UTC
Permalink
Hello,
Post by Spencer Thomason
Hello all,
customer proxy -> FS [1-N] (accounting) -> carrier proxy (route selection)
Does anyone have any ideas how to make the FreeSWITCH instances aware of which gateway actually received the call?
Where exactly are you positioned and want to get the gateway? It should
be either a via header or a Record-Route or Contact address. Of course,
if no b2bua in between.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany
Dan Christian Bogos
2014-09-22 10:20:37 UTC
Permalink
Hi Spencer,

We use a similar approach as yours and use 302 Redirects coming from
Kamailio instead of proxying the call (in our case we do it via LCR
module in Kamailio). In FreeSWITCH you can then manually route these
redirects and get your CDR data out of it.

Cheers,
DanB
Post by Spencer Thomason
Hello all,
customer proxy -> FS [1-N] (accounting) -> carrier proxy (route selection)
Does anyone have any ideas how to make the FreeSWITCH instances aware of which gateway actually received the call?
Loading...