Thanks Klaus,<br>Actually I got my idea from CEL. But I am more familiar with AMI, plus CEL generates too many events for a single call. I dont want that, I already have a library of routines which read manager events, i just have to plug in my new idea. But still I will think about CEL once again. I never gave it a second thought.<br>
<br>I like your idea of a gateway asterisk as well. Will try it.<br><br>Thanks<br><br><div class="gmail_quote">On Tue, Mar 8, 2011 at 3:27 PM, Klaus Darilion <span dir="ltr"><<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</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;"><br>
<br>
Am 08.03.2011 11:05, schrieb Rizwan Hisham:<br>
<div class="im">> Hi all,<br>
> I have a problem with CDRs when doing call transfers. I am using * 1.8.2.3<br>
> with cdr_odbc.<br>
<br>
</div><div class="im">> This is the best supposed solution i have come up with. But, I am here to<br>
> ask you people for your ideas and thoughts on my solution. I am still in<br>
> search for a better solution. So please share your ideas.<br>
<br>
</div>Sounds like you are trying to re-implement CEL:<br>
<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Call+Event+Log+%28CEL%29+Driver+Modules" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Call+Event+Log+%28CEL%29+Driver+Modules</a><br>
<a href="https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals" target="_blank">https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals</a><br>
<br>
klaus<br>
<br>
PS: I prefer a dedicated GW-Asterisk which does accounting:<br>
<br>
/---trunk1<br>
/<br>
/-----trunk2<br>
SIP --------> PBX <--------> GW Asterisk <-------ISDN<br>
phones Asterisk \------ISDN2<br>
\---.......<br>
<br>
<br>
So, all the transfers happens in the PBX Asterisk. All calls which will<br>
be billed are routed via the GW-Asterisk into the PSTN via several<br>
uplinks or back to the same or another PBX Asterisk. So, I generate CDRs<br>
only at the GW-Asterisk, and as there never happens any transfers on the<br>
GW-Asterisk, those CDRs are always 100% correct (as long as you signal<br>
proper CLIs from the PBX Asterisk to the GW-Asterisk).<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><font color="#888888"><div>Best Ragards</div><div>Rizwan Qureshi</div><div>VoIP/Asterisk Engineer</div><div>Axvoice Inc.</div>
<div>V: +92 (0) 3333 6767 26</div><div>E: <a href="mailto:rizwanhasham@gmail.com" target="_blank">rizwanhasham@gmail.com</a></div><div>W: <a href="http://www.axvoice.com/" target="_blank">www.axvoice.com</a></div></font><br>