Skip to content

Commit

Permalink
Added link to screencast. Fixed commenting mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
devs-freelancers committed Jan 26, 2011
1 parent 1564d9b commit 00f2af5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CALL CENTER DISASTER RECOVERY SOLUTION

======================================

The call center disaster recovery solution provides ccxml portal, MQ producer/consumer, and webservices to manage call handling and agent selection. The ccxml portal can be loaded into an existing phone tree by creating an application in Voxeo's cloud, and issuing a <createcall> to the assigned number.
The call center disaster recovery solution provides ccxml portal, MQ producer/consumer, and webservices to manage call handling and agent selection. The ccxml portal can be loaded into an existing phone tree by creating an application in Voxeo's cloud, and issuing a <createcall> to the assigned number. A demo of the application can be see here: http://www.youtube.com/watch?v=lMN04Gucnck.

DEPENDENCIES

Expand All @@ -21,11 +21,11 @@ Rabbit MQ

INSTALL

The python libs can be installed using setuptools: python setup.py install . This will install django and ampqlib for Rabbit MQ. This currently creates dist/ and egg/ folders which aren't needed and be removed.
The python libs can be installed using setuptools: python setup.py install . This will install django and ampqlib for Rabbit MQ. This currently creates dist/ and egg/ folders which aren't needed and can be removed.

Rabbit MQ can be installed following the instructions here: http://www.rabbitmq.com/install.html.

To create the ccxml portal, upload the files in cc_vector_ccxml/ to Voxeo's cloud and create and application that points to 'call_center_ivr.ccxml'. The number assigned from Voxeo can be used to call the application.
To create the ccxml portal, upload the files in cc_vector_ccxml/ to Voxeo's cloud and create an application that points to 'call_center_ivr.ccxml'. The number assigned from Voxeo can be used to call the application.

Run the sql_scripts found in cc_vector_webservices/services/. This will create the agents and call_history tables.

Expand Down
4 changes: 2 additions & 2 deletions cc_vector_ccxml/call_center_ivr.ccxml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<dialogstart src="VOURL" dialogid="HoldMusicDialog" connectionid="connectionID" type="'application/voicexml+xml'" />
</transition>

<!-- TODO: add logic for http event injection which should do a blind join -->
<!-- logic for http event injection which should do a blind join -->
<transition event="agent.retrieved" state="HOLD_MUSIC">
<!-- agent ani return, make outbound call to agent, then join legs -->
<!-- check uid -->
Expand Down Expand Up @@ -175,7 +175,7 @@
<join id1="connectionID" id2="OutBoundConnID" duplex="'full'" entertone="'false'" exittone="'false'"/>
</transition>

<!-- TODO: add logic for hangup, update agent phone status in db -->
<!-- logic for hangup, update agent phone status in db -->
<transition event="connection.disconnected" state="AGENT_CONNECTED">
<send name="'http.post'" namelist="IVRCallID" target="WEBSERVICE_URL + 'end_connection'" targettype="'basichttp'"/>
</transition>
Expand Down
2 changes: 1 addition & 1 deletion cc_vector_manager/call_center_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def getNextAgent(self,msg):
ccxmlUniqueID = loadedMessage['id']

#get available agents
#returns list of {'agent':<Agent Instance>, 'idle':integer} *idle is measured in seconds
#returns <Agent Instance>
agents = self.agentGateway.getAvailableAgentsByIdleTime()

#use our selected UCD_MIA algorithm to select the next agent
Expand Down
2 changes: 1 addition & 1 deletion cc_vector_manager/routing_algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class UCD_MIA_Alogrithm(object):

def getNextAgent(self, agents):
""" Returns the agent with the most idle time """
""" Returns the agent with the most idle time. Idle time in seconds. """
try:
#sort agents based on idle time
agentWithMostIdleTime = sorted(agents, key=itemgetter('idle'),reverse=True)[0]
Expand Down

0 comments on commit 00f2af5

Please sign in to comment.