Forkcdr may be the thing you need.  As I understand it, it does a "snapshot"
cdr record and continues with the call.

 

  _____  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Giedrius Augys
Sent: Tuesday, December 15, 2009 6:08 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] cdr question

 

Hello,

 

  I'm using Asterisk 1.6.X version and I'm creating IVR. My question : is it
possible create CDR record , before client is exiting from contexts ? My
test dialplan is:

context Sales {
 _X. => { 
  Ringing();
  Wait(4);
  Answer();
  Playback(tt-monkeys);
  goto Techs|${EXTEN}|1;
  
 }
}

context Techs {
 _X. => {
  Playback(tt-monkeys);
  Playback(tt-monkeys);
  goto Manager|${EXTEN}|1;
 }
}

context Manager {
 _X. => {
  Playback(tt-monkeys);
  Playback(tt-monkeys);
  Playback(tt-monkeys);
  Hangup();
 };
};

 

So is it possible get 3 CDR records with , and each cdr had different
dcontext: Sales, Techs and Manager?

Thanks for help

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to