“LiveHelp / Call Center” Application Source Code

I recently posted an example of a “Live Help / Call Center” application built with Flex and BlazeDS. A number of you have asked me for the source code. So here it is…

Installation instructions

  1. Install BlazeDS or LCDS.
  2. Download the client-side of the application. The end-user application is mortgageapp.mxml, and the support representative application is callcenter.mxml.
  3. Download and deploy the server-side of the application.
  4. Add the following destination in WEB-INF/flex/remoting-config.xml.
    <destination id="ticket-service">
        <properties>
            <source>flex.samples.livehelp.TicketService</source>
            <scope>application</scope>
        </properties>
        <channels>
            <channel ref="my-rtmp"/>
            <channel ref="my-amf"/>
        </channels>
    </destination>

    NOTE: If you are using BlazeDS, remove the line that defines the “my-rtmp” channel.

  5. Add the following destination in WEB-INF/flex/messaging-config.xml.
    <destination id="callcenter">
        <properties>
            <server>
                <allow-subtopics>true</allow-subtopics>
                <subtopic-separator>.</subtopic-separator>
            </server>
        </properties>
        <channels>
            <channel ref="my-rtmp"/>
            <channel ref="my-longpolling-amf"/>
        </channels>
    </destination>

    NOTE: If you are using BlazeDS, remove the line that defines the “my-rtmp” channel in the above destination, and add the following channel definition in WEB-INF/flex/services-config.xml:

    <channel-definition id="my-longpolling-amf" class="mx.messaging.channels.AMFChannel">
    	<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amflongpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
    	<properties>
    		<polling-enabled>true</polling-enabled>
    		<polling-interval-seconds>3</polling-interval-seconds>
    		<wait-interval-millis>60000</wait-interval-millis>
    		<client-wait-interval-millis>1</client-wait-interval-millis>
    		<max-waiting-poll-requests>200</max-waiting-poll-requests>
    	</properties>
    </channel-definition>
  6. Follow the instructions in my original post to experience the application.

Comments

24 Responses to ““LiveHelp / Call Center” Application Source Code”

  1. Forrest on May 16th, 2008 11:08 pm

    yeah! Really thank you for your working!

  2. flexr from shanghai on May 17th, 2008 8:34 am

    thank you, Christophe !

  3. Fred on May 17th, 2008 5:53 pm

    Thank you

    Merci

  4. Brant on May 18th, 2008 2:54 am

    Great application, in your code it seems that you point to a rtmp server in LiveHelpPanel.mxml. Since BlazeDS doesn’t support rtmp, does that portion just not work or is there a way to use BlazeDS with piece?

  5. Brant on May 18th, 2008 3:40 am

    I realized that I need to use a FMS for the RTMP. thx

  6. YAMIKA FROM TOKYO on May 18th, 2008 10:03 pm

    Pretty nice work! Thank you !

    This is a nice prototype for flex/java collaboration system.

    We are also interested in using JBoss/Seam/Flamingo to build such application…

    But i don’t konw, which is better?

  7. YAMIKA FROM TOKYO on May 18th, 2008 10:08 pm

    Flex+JBoss+Seam+Flamingo+Java…
    Flex+Tomcat+BlazeDS+LiveCycle+Java…

  8. YAMIKA FROM TOKYO on May 18th, 2008 10:46 pm

    Dear Christophe, i just finished the stress testing in my local net work for the LiveHelp application,and found that , as i add all the data in the form, the speed of data synchronization get slowing down…and the data synchronization runs not smoothly…

    i don’t know to to harness this problem…

  9. YAMIKA FROM TOKYO on May 18th, 2008 10:49 pm

    Dear Christophe, i just finished the stress testing in my local net work for the LiveHelp application,and found that , as i add all the data in the form, the speed of data synchronization get slowing down…and the data synchronization runs not smoothly…and also as the time going on , data synchronizat also runs not smoothly…

    i don’t how know to to harness these problem…

  10. YAMIKA FROM TOKYO on May 18th, 2008 10:57 pm

    anyway , it’s really really a great cool application!!! i’m just love it !

  11. Taldir on May 19th, 2008 3:48 am

    Thank you so much for the source code Christophe, I was waiting for it since you published your previous post…

  12. christophe on May 19th, 2008 8:25 am

    Brant,
    Good catch. I had disabled the video conferencing feature in the version I host on my blog. But video conferencing is enabled in the source code I posted here. To make video conferencing work, you indeed need to install Flash Media Server, create a directory called flex_videoconference in the FMS applications directory, and create a file named main.asc in that directory that includes the following line: load(”components.asc”);

    Christophe

  13. the dude on June 12th, 2008 7:16 am

    hi i just downloaded the code and run it, but i just have callcenter.html working. is there “customer” src available too? thanks

  14. cnspica on June 17th, 2008 1:36 am

    Thanks for your hard work, I think this is a great idea for good causes. hand to hand.

  15. onur gunduz on June 21st, 2008 1:56 pm

    respecto ^o^

  16. dog friendly homeowners insurance on June 25th, 2008 3:01 pm

    dog friendly homeowners insurance…

    pounces paralyzing:postfix protagonist habitual …

  17. solarajan on June 26th, 2008 7:53 am

    we have downloaded and configured the application in my system.

    pls help me how to run the application

  18. viatical settlement with life insurance on June 27th, 2008 2:01 pm

    viatical settlement with life insurance…

    concisely Milne.Carlyle …

  19. commonwealth life insurance company kentucky on June 27th, 2008 10:40 pm

    commonwealth life insurance company kentucky…

    colonization anteater?refillable?…

  20. Fred on July 2nd, 2008 11:11 am

    pardon pour ca, c’est encore Flex Builder qui met WebContent pour le context root …
    c résolu donc, pardon pour ce bruit

  21. Culinary art schools in fort worth texas. on July 2nd, 2008 4:03 pm

    Culinary art insitute in costa mesa….

    Culinary art catering. Online culinary art school applications. Salon d art culinary history….

  22. certified property insurance on July 10th, 2008 1:45 am

    certified property insurance…

    arcade handfuls variability:…

  23. average cost of property insurance on July 10th, 2008 7:34 am

    average cost of property insurance…

    homer butchered consular:colonizing …

  24. "Live Help / Call Center" application packaged using Flex Java WTP project and Export Flex Project Wizard : Mihai CORLAN on July 15th, 2008 6:42 am

    [...] and to be able to import an project with minimum work on my side. For example, I grabbed the LiveHelp / Callcenter application made by Cristophe Coenraets and I made it a single Flex with Java combined project with support for [...]

Leave a Reply