[asterisk-users] cdr question

Giedrius Augys voipas at gmail.com
Tue Dec 15 06:07:44 CST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091215/4d8260bb/attachment.htm 


More information about the asterisk-users mailing list