[asterisk-bugs] [Asterisk 0014612]: Create New feature for callcenter solution

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 6 10:50:13 CST 2009


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14612 
====================================================================== 
Reported By:                vikaskumar2020
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14612
Category:                   Addons/New Feature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.17 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-06 01:50 CST
Last Modified:              2009-03-06 10:50 CST
====================================================================== 
Summary:                    Create New feature for callcenter solution
Description: 
Call centers has simple requirement for Inbound such as create IVR at the
start of call and then put call into queue, voice mail, forward or Play
greeting message. This can be done using asterisk and we have to initialize
the application corresponding to each of those requirement. Once the
inbound is working well we can create a dial same for outbound too. I have
started a module locally which is named as "CallCenterDial" i really don't
know much about how to read conf file alike to queue as the is queue
variable and different member are added corresponding to each line my point
of idea like :
;For option # we have key value is 10
;For option * we have key value is 11
;shift start and end will be written in vcalander for crossponding RFC
2445

[global]


[demoivr]
start=
end=
welcome=
invalid=
maxtry=
afterhr=
voicemail=
forward=
maxoptions=
maxlevel=

;callcentermenu=><application><perent>,<key>,<arg>
callcentermenu=>ivr,0,1,msg_msg1
callcentermenu=>ivr,0,2,msg_msg2
callcentermenu=>queue,1,1,sales
callcentermenu=>hangup,1,2
callcentermenu=>forward,1,3,50000
callcentermenu=>voicemail,2,3,50000
callcentermenu=>hangup,2,3

I want to parse above config file to my asterisk code.
====================================================================== 

---------------------------------------------------------------------- 
 (0101308) mmichelson (administrator) - 2009-03-06 10:50
 http://bugs.digium.com/view.php?id=14612#c101308 
---------------------------------------------------------------------- 
The main reason that I am closing this issue is that you appear to be
attempting to add a new feature to Asterisk, but you have supplied no patch
to actually implement the feature.

To answer your question about how to parse Asterisk configuration files,
the API for parsing config files is located in include/asterisk/config.h.
There are several files in Asterisk that have some good examples of
configuration file parsing. One particularly good example is
channels/chan_phone.c (the load_module function, to be specific).

Another reason that I am closing this issue is that I really don't see the
value in this application. Everything you have described in this issue
seems to be something that can be done in the Asterisk dialplan. If you
want to discuss this further, please send a message to the asterisk-dev
mailing list so that this can be discussed in further detail. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-06 10:50 mmichelson     Note Added: 0101308                          
2009-03-06 10:50 mmichelson     Status                   new => resolved     
2009-03-06 10:50 mmichelson     Resolution               open => suspended   
2009-03-06 10:50 mmichelson     Assigned To               => mmichelson      
2009-03-06 10:50 mmichelson     Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list