Hello,<br><br>When I bridge an incoming and outgoing call (attempting to simulate call-forwarding) I'm only getting one CDR -- that of the outgoing call.<br><br>A (PSTN) calls B (residing on Asterisk) and the Asterisk calls C (cell phone on PSTN) and bridges the call.<br>
The only CDR created is from B to C. I have even tried using Answer() and ForkCDR() to get two CDRs, but to no avail.<br>I am starting to wonder if there's a bug in the CDR generation in general, because I set up an extension to do only that:<br>
<br>exten => 5822558,1,Answer()<br>exten => 5822558,n,ForkCDR()<br>exten => 5822558,n,Playback(tt-monkeys)<br>exten => 5822558,n,Hangup()<br><br>This is even given as an example on how to generate two CDRs from one call on this website: <a href="http://asterisk.name/asterisk/0596009623/asterisk-app-b-79.html">http://asterisk.name/asterisk/0596009623/asterisk-app-b-79.html</a><br>
<br>I have been able to create two CDRs with the use of the Local/n channel, but the CDR is messy if I do so because I am required by law to change the caller-id for the outgoing call to that of the PBX, so both call legs seem to be originating from the Asterisk.<br>
<br>Am I missing something? Any ideas appreciated.<br><br>Best regards,<br>Örn<br>