<br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 6:39 AM, rentmycoder rentmycoder <span dir="ltr"><<a href="mailto:rentmycoder@gmail.com">rentmycoder@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I don't care about billing, but do care about very detailed realtime<br>
and historical call logging and routing system.</blockquote><div><br>Are you building something that monitors call status while the calls are still in progress? If so you really need to be using the event socket.<br> <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
xml cdr is not an option since it does not handle certain logging<br>
scenarios like call transfers, multy party call conversions, custom<br>
call events like recording started or stopped, etc. and it does not<br>
handle realtime call routing at all.</blockquote><div><br>The XML CDRs have loads of information, including detailed call flow. Documentation is here:<br><a href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Reference_Information">http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Reference_Information</a><br>
<br>Of course, like Brian said, the CDR always happens after the call is finished, which is why I was curious about the specifics of your application. You mentioned "very detailed realtime" but I'm not sure if that means "while the call is happening" or "immediately after the call completes."<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
We try to port our IBM Genesys like PBX and Call Center solution from<br>
asterisk to freeswitch, but for this I would need hangup detection.<br>
Actually I'm just in the learning phase in the migration process and<br>
try to use the fastest ways for the initial testing, that's why I try<br>
to use lua.<br>
Sorry for this long story :)</blockquote><div><br>No prob. Details help paint the picture. :)<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Should this hangup detection work, I mean am I doing something wrong,<br>
or this feature is not implemented yet?<br>
If not, what language and method do you suggest to implement robust<br>
call routing and history?</blockquote><div><br>I recommend you parse a sample XML CDR. If it contains all the information you need then you can use mod_xml_cdr and post-process the calls as soon as they complete. If the XML CDR doesn't contain all the information you need then we'd like to know what it is missing - the devs would be willing to add anything that's missing, assuming it makes sense to do so. <br>
<br>If you want absolute, unconditional access to every piece of information for every call as it happens in real-time, live and unedited, then you definitely need to build something that uses the event socket. I'm not sure there's much ROI in this method unless you have a special need to update a database while calls are in progress. <br>
<br>Personally, I like mod_xml_cdr because it will post to a web server and create a disk file - a good way to keep your valuable call information safe in case of a web server or db server outage.<br><br>-MC<br></div></div>