[Freeswitch-users] Help needed regaridng Contact Center solution

Vbvbrj vbvbrj at gmail.com
Tue Aug 21 23:02:32 MSD 2012


For my callcenter I use keypad's numbers for agent's login/logout. For 
example, my callcenter has extension 1011, then I use:

  <extension name="agent_login">
     <condition field="destination_number" expression="^agent-login|*1011$">
       <action application="set" data="res=${callcenter_config(agent set 
status
  ${caller_id_number}@${domain_name} 'Available')}" />
       <action application="answer" data=""/>
       <action application="sleep" data="500"/>
       <action application="playback" 
data="ivr/ivr-you_are_now_logged_in.wav"/>
       <action application="hangup" data=""/>
     </condition>
  </extension>

  <extension name="agent_logoff">
     <condition field="destination_number" 
expression="^agent-logoff|#1011$">
       <action application="set" data="res=${callcenter_config(agent set 
status
  ${caller_id_number}@${domain_name} 'Logged Out')}" />
       <action application="answer" data=""/>
       <action application="sleep" data="500"/>
       <action application="playback" 
data="ivr/ivr-you_are_now_logged_out.wav"/>
       <action application="hangup" data=""/>
     </condition>
  </extension>

Ofcourse, phones must be setup so *1011 and #1011 are send to FS and not 
intepreted by the phone itself.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list