[asterisk-dev] [Code Review] Add Congestion detail in CDR call logs when Congestion application is used.

Alec Davis sivad.a at paradise.net.nz
Thu Jan 7 12:45:17 CST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/454/
-----------------------------------------------------------

(Updated 2010-01-07 12:45:17.109201)


Review request for Asterisk Developers and Russell Bryant.


Summary
-------

Cuurently if the dialplan is designed for whatever reason to terminate a call with the Congestion() application a CDR log is not recorded for that call.

This adds that functionality.


This addresses bug 15907.
    https://issues.asterisk.org/view.php?id=15907


Diffs
-----

  trunk/include/asterisk/cdr.h 237965 
  trunk/main/cdr.c 237965 
  trunk/main/pbx.c 237965 

Diff: https://reviewboard.asterisk.org/r/454/diff


Testing
-------

Tested and currently been in use with 1.6.1 branch.

Tested for functionality with trunk.

dialplan:
exten => 2001,1,Congestion(0)
exten => 2098,1,Playback(echo-test)

output: /var/log/asterisk/cdr-csv/Master.csv for 2 calls, first to Playback application, 2nd to Congestion(). 
"","857","2098","phones","857","SIP/cisco4-00000000","","Playback","echo-test","2010-01-06 20:47:45","2010-01-06 20:47:45","2010-01-06 20:47:47",2,2,"ANSWERED","DOCUMENTATION","1262764065.2",""
"","857","2001","phones","857","SIP/cisco4-00000000","","Congestion","0","2010-01-06 20:50:09",,"2010-01-06 20:50:09",0,0,"CONGESTION","DOCUMENTATION","1262764209.0",""


Thanks,

Alec




More information about the asterisk-dev mailing list