[Home]

Summary:ASTERISK-13702: Create New feature for callcenter solution
Reporter:Vikas Kumar (vikaskumar2020)Labels:
Date Opened:2009-03-06 01:50:41.000-0600Date Closed:2011-06-07 14:03:10
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/New Feature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.

****** STEPS TO REPRODUCE ******

New feature devlopment
Comments:By: Mark Michelson (mmichelson) 2009-03-06 10:50:13.000-0600

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.