How to call an External survey and give Customer contact details as parameter to external survey page

i would like to redirect external survey (Survey which hosted on external webpage) when chat disconnected and provide Chat ID, Customer Name, Email Address to that external page?
we have close_redirect_url attribute to redirect page when click disconnect button but not sure how to send contact detail to this page, can anyone help me on this.

Thanks in Advance.


My start point would be to look at creating a custom ChatDisconnectButton widget and re-working the logic for the _onButtonClick method.

That method looks something like this:

     * Handles when user clicks disconnect button. Sends disconnect and hides button.
     * @param type string Event name
     * @param args object Event arguments
    _onButtonClick: function(type, args)
        if(this._currentState !== RightNow.Chat.Model.ChatState.DISCONNECTED && this._currentState !== RightNow.Chat.Model.ChatState.CANCELLED){
  "evt_chatHangupRequest", new RightNow.Event.EventObject(this, {data: {}}));
  "evt_chatCloseButtonClickRequest", new RightNow.Event.EventObject(this, {data: {closingUrl:, openInWindow:}}));

Your custom code would want to fetch some context, probably from "RightNow.Chat.Model" and append the parameters to the URL before the "evt_chatCloseButtonClickRequest" is fired

Zircon - This is a contributing Drupal Theme
Design by WeebPal.