From: "freeswitch-users-request@lists.freeswitch.org" <freeswitch-users-request@lists.freeswitch.org>
To: freeswitch-users@lists.freeswitch.org
Sent: Saturday, January 14, 2012 6:03 PM
Subject: FreeSWITCH-users Digest, Vol 67, Issue 137
----- Forwarded Message -----
Send FreeSWITCH-users mailing list submissions to
freeswitch-users@lists.freeswitch.orgTo subscribe or unsubscribe via the World Wide Web, visit
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
freeswitch-users-request@lists.freeswitch.orgYou can reach the person managing the list at
freeswitch-users-owner@lists.freeswitch.orgWhen replying, please edit your Subject line so it is more specific
than "Re:
Contents of FreeSWITCH-users digest..."
Today's Topics:
1. cdr minutes of use per did (Rodney)
2. Re: Problems with CURL_XML and bridging ? (Bob Smith)
3. Re: cdr minutes of use per did (Avi Marcus)
does anyone have a cdr viewer or method that can help me determine the total minutes for all calls on a specified DID for the hour/day/month to date? I would like a method to generate such a report and maybe have it emailed on a 24 hour basis to the person in charge of the DID. the following I have seen in the past with any method to find the original program that would give an output like this.
Calls by Day, DNIS -> DID ACCOUNT-> Friday, 8/19/11 (Eastern Standard Time)
| Daily | Month to Date (Start of Month = Day 21) |
|---|
| Day | DNIS | DNIS Group | Total Calls | Minutes of Use | Average Hold Time (Minutes) | Total Calls | Minutes of Use | Average Hold Time (Minutes) |
|---|
| – No rows – |
Actually, you're quite right. I've gone back and double checked. Does not work with static XML. Same behaviour... transfer works, bridge fails.
However I can definitely originate a call from the CLI over the same route ..... "originate sofia/gateway/mygate/12345678 &park" works great.
That's what's really bugging me, if I can CLI originate to that number, if I can call that PSTN number from my FreeSwitch softphone, why on earth
can't i do this simple bridge ! ;-(
>So doing the bridge to the same number with static XML worked, but when
> bridging to the exact same endpoint with xml_curl you're getting a 503?
It depends on how your cdr statistics are stored.. CSV file, sqlite, pgsql, mysql.. for how easy
it is to run a query.
And if you want just inbound or outbound "on" that DID.
Then just add that SQL query to a script and have a cron job run it..
e.g. if you use mysql in fusionpbx to store your cdrs (via xml_cdr posts) I can run:
= 831.4500 minutes for all of November 2011. (pgsql doesn't like using a like like that on a time stamp field, it seems..)
Your query, and source info, will vary..
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org