I would use mod_xml_curl to query your C# server after a dialplan for
each call. Then you can create dialplan actions that answers, says the
balance and then bridge to the destination. Or you can create a small
javascript that answers, uses curl to fetch balance from a http server
(or use the socket module, or odbc to query the db directly) and then
bridge the call to the destination.
As for CDR I would recommend the mod_cdr_xml module which sends CDR
XML to a http server. I'm also coding a ODBC CDR module, but I havent
had time to finish it :(
On Sun, Apr 6, 2008 at 9:02 AM, Christian Jensen
<christian@verbx.com> wrote:
Hi,
I am looking for a little guidance. We have built our system around
Asterisk and now we are looking to FreeSwitch to see if it will do
what we need. I am confident that it can, but I need a tiny bit of
pointing in the right direction.
That said, here is what we do now:
We do what we call Three Party Calling (call leg A, announce their
minute balance, call leg B, bridge)
Pretty easy to do really.
The part I need help with is how we can get the balance to be
announced as that data is contained in our SQL server database.
Ideally, this data would come from the database but by way of C#. We
also would like to get FreeSwitch to tell us the CDR data, http is
fine if need be.
I know #freeswitch is available, but I thought I would ask here
first.
Thanks!
Christian
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org