[Freeswitch-users] Forked dialing and CDRs
Rupa Schomaker (lists)
freeswitch-users at lists.rupa.com
Tue Aug 5 08:25:45 PDT 2008
I'm using XML CDRs, posting to a rails app to capture and display CDR
Incoming calls are forked to both internal extensions and external cell
hands back a dialstring similar to:
2008-08-05 10:09:21 [INFO] mod_dptools.c:862 log_function()
The sofia/internal/##%domain works as expected. I get one CDR with
everything stacked up in the XML.
The sofia/loopback/##@domain:5061 generates a new CDR. This is expected
but is a pain in the rear since it means that I have to cross-correlated
log entries to show the one that one the race and suppress/roll up the
Ok, so why don't I do:
Because I want to do other work before dialing out the gateway and to
centralize the work done for that dialout. Specifically, I do real-time
rating to determine which actual gateway to route the call through and
also handle failover if a particular gateway doesn't terminate the call
with an expected error code.
There is a level of abstraction missing here I think.
The transfer application does exactly what I want to do. I give it a
context and a # and it routes the call as expected. But transfer can't
handle forked dialing. For that I need bridge.
The bridge application can fork but requires too much knowledge about
More information about the FreeSWITCH-users