· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Asterisk Source/Queue Cdr

AsteriskSource/QueueCdr


* queue report 를 위한 변형작업

* qcdr
  • 필요한 function 은 main/cdr.c 에 첨가한다.
  • 필요한 데이타 구조는 include/asterisk/cdr.h 에 첨가한다.

* queue.conf 에 qcdr 변수를 추가한다.

* asterisk14-addons 의 cdr 디렉토리에 qcdr_addon_mysql.c 를 추가한다.

* 필요한 function
  • ast_qcdr_alloc
  • ast_qcdr_init
  • ast_qcdr_post
  • ast_qcdr_free

* 필요한 데이타 구조
  • ast_qcdr
    • char queuename80;
    • char membername80;
    • struct timeval enterqueue;
    • struct timeval agentcalled;
    • struct timeval lastagentcalled;
    • struct timeval leavequeue;
    • struct timeval agentconnect;
    • struct timeval agentcomplete;
    • long int disposition;
    • struct timeval cdrstart;
    • char uniqueid32;

* cdr 과 연계하기 위해 cdr 의 start 와 uniqueid 가 필요함.
  • 결과적으로 cdr 이 설정되어 있을때만 qcdr 이 설정되는 것으로 해야 할 것임.

ID
Password
Join
Do not clog intellect's sluices with bits of knowledge of questionable uses.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-10-15 07:33:10
Processing time 0.0035 sec