
/* ***
 * This is the main configuration file for the chat client itself.
 * ***
 */

/* BACKENDTYPE - the type of backend to be used
 * 
 * Either 'polling' for HTTP Polling
 * Or     'binding' for HTTP Binding
 */
var BACKENDTYPE = 'polling';

/* HTTPBASE - base URI to contact HTTP Polling service
 * 
 * This must be local to your web server which serves Conferences. If
 * HTTP Polling service is not local to your web server you have to
 * define a rewrite rule which matches this address and redirects to
 * the real HTTP Polling URI.
 * 
 * [refers to step 2 of installation instructions]
 */

var HTTPBASE = "http-poll/";

/* Login Data - the user to login
 * 
 * [refers to step 3 of installation instructions]
 */

var XMPPDOMAIN = "jabber.3gnt.org"; // domain name of jabber service to be used


var CONFJID = "muc"; // username
var CONFPASS = "insegura"; // password

/* ROOMS
 *
 * Which chat room to join
 * 
 * [refers to step 4 of installation instructions]
 */

var ROOMS =
[
        {
                name:'suporte',
                description:'Suporte técnico aos clientes 3GNTW :: 3GNTW support services',
                server:'conference.3gnt.org',
		logo: 'images/logo2.gif',
		url: 'http://helpdesk.3gnt.net/',
		motd: 'Antes de colocar o seu problema, por favor consulte as respostas a <a target="_blank" href="http://kb.3gnt.net/">perguntas frequentes</a>. Apenas depois deverá seguir as <a target="_blank" href="http://www.3gnt.net/suporte.htm">regras para o contacto com a 3GNTW</a>. Para obter suporte mais rápido deve abrir um <i>ticket</i> no sistema de <i>helpdesk</i>, através do <a target="_blank" href="http://helpdesk.3gnt.net/">interface WWW</a>, ou simplesmente enviando uma mensagem para o endereço <a href="mailto:suporte@3gnt.net">suporte@3gnt.net</a>. Caso nenhum técnico esteja ligado, por favor encaminhe a sua dúvida para o endereço <a href="mailto:suporte@3gnt.net">suporte@3gnt.net</a>.',
		webphone_title: '3GNTW webphone',
		webphone_server: 'pbx.3gnt.net',
		webphone_user: 'guest',
		webphone_pass: '',
		webphone_number: 'Introduza a extensão a marcar...',
		webphone_info: '<span class="style2"> <strong>101</strong> - Suporte técnico<br> <strong>102</strong> - Departamento comercial<br> <strong>103</strong> - Departamento financeiro<br><br> Ou marque qualquer outra extensão, se a conhece.  </span>',
		defaultemail: 'suporte@3gnt.net'
        },
        {
                name:'communigatepro',
                description:'Discussões sobre o CommuniGate Pro :: CommuniGate Pro related discussions',
                server:'conference.3gnt.org',
		logo: 'http://conference.3gnt.org/images/communigate-systems.gif',
		url: 'http://jabber.3gnt.org/',
		motd: 'If you don\'t see anyone available that\'s because we all got drunk. Try again later ;).',
		webphone_title: '3GNTW webphone',
		webphone_server: 'pbx.3gnt.net',
		webphone_user: 'guest',
		webphone_pass: '',
		webphone_number: 'Introduza a extensão a marcar...',
		webphone_info: '<span class="style2"> <strong>101</strong> - Tech support<br> <strong>102</strong> - Sales<br> <strong>103</strong> - Billing<br><br> Or dial any other extension, if you know it.  </span>',
		defaultemail: 'suporte@3gnt.net'
        },
        {
                name:'jabber',
                description:'Discussões sobre tecnologia Jabber / XMPP :: Jabber and XMPP discussions',
                server:'conference.3gnt.org',
		logo: 'http://conference.3gnt.org/images/jabber-powered.gif',
		url: 'http://www.jabber.org/',
		motd: 'Para suporte técnico aos serviços e soluções da 3GNTW, por favor use a sala <a href="http://conference.3gnt.org">suporte</a>.',
		webphone_title: '3GNTW webphone',
		webphone_server: 'pbx.3gnt.net',
		webphone_user: 'guest',
		webphone_pass: '',
		webphone_number: 'Introduza a extensão a marcar...',
		webphone_info: '<span class="style2"> <strong>101</strong> - Suporte técnico<br> <strong>102</strong> - Departamento comercial<br> <strong>103</strong> - Departamento financeiro<br><br> Ou marque qualquer outra extensão, se a conhece.  </span>',
		defaultemail: 'suporte@3gnt.net'
        },
        {
                name:'mba',
                description:'Apoio comercial aos clientes MBA :: Sales support to MBA clients',
                server:'conference.3gnt.org',
		logo: 'mba/images/logo.gif',
		url: 'http://www.nobrinde.com/',
		motd: 'Caso nenhum moderador esteja ligado, por favor encaminhe a sua dúvida para o endereço <a href="mailto:nobrinde@nobrinde.com">nobrinde@nobrinde.com</a>.',
		webphone_title: '3GNTW webphone',
		webphone_server: 'sip.3gnt.net',
		webphone_user: 'webphone-nobrinde',
		webphone_pass: 'webphone-nobrinde',
		webphone_number: 'Introduza a extensão a marcar...',
		webphone_info: '<span class="style2"> <strong>21003</strong> - Carlos Hernandez <br><br> Ou marque qualquer outra extensão, se a conhece.  </span>',
		defaultemail: 'nobrinde@nobrinde.com'
		
        },
        {
                name:'mvf',
                description:'Suporte MVF :: MVF support',
                server:'conference.3gnt.org',
		logo: 'mvf/images/logo.jpg',
		url: 'http://www.mvf.pt/',
		motd: 'Caso nenhum técnico esteja ligado, por favor encaminhe a sua dúvida para <a href="mailto:mvf@mvf.pt">mvf@mvf.pt</a>, ou <a target="_blank" href="http://www.mvf.pt/index.php?link=contactos">clique aqui para nos contactar de imediato</a>.',
		webphone_title: '3GNTW webphone',
		webphone_server: 'pbx.mvf.pt',
		webphone_user: 'webphone-mvf',
		webphone_pass: 'webphone-mvf',
		webphone_number: 'Introduza a extensão a marcar...',
		webphone_info: '<span class="style2"> <strong>1</strong> - Carla Araújo<br><strong>2</strong> - João Fânzeres<br><strong>3</strong> - Cláudio Vasques<br><strong>4</strong> - Rui Coutos<br><br> Ou marque qualquer outra extensão, se a conhece.  </span>',
		defaultemail: 'mvf@mvf.pt'
        },
        {
                name:'security',
                description:'Discussões sobre segurança informática :: Computer security discussions',
                server:'conference.3gnt.org',
		logo: 'http://conference.3gnt.org/images/lock.gif',
		url: 'http://www.3gnt.net/',
		motd: 'Para suporte técnico aos serviços e soluções da 3GNTW, por favor use a sala <a href="http://conference.3gnt.org">suporte</a>.',
		webphone_title: '3GNTW webphone',
		webphone_server: 'pbx.3gnt.net',
		webphone_user: 'guest',
		webphone_pass: '',
		webphone_number: 'Introduza a extensão a marcar...',
		webphone_info: '<span class="style2"> <strong>101</strong> - Suporte técnico<br> <strong>102</strong> - Departamento comercial<br> <strong>103</strong> - Departamento financeiro<br><br> Ou marque qualquer outra extensão, se a conhece.  </span>',
		defaultemail: 'suporte@3gnt.net'
        },
        {
                name:'voip',
                description:'Discussões sobre VoIP :: VoIP discussions',
                server:'conference.3gnt.org',
		logo: 'http://conference.3gnt.org/images/cisco.jpg',
		url: 'http://voip.3gnt.net/',
		motd: 'Para suporte técnico aos serviços e soluções VoIP da 3GNTW, por favor use a sala <a href="http://conference.3gnt.org">suporte</a>.',
		webphone_title: '3GNTW webphone',
		webphone_server: 'pbx.3gnt.net',
		webphone_user: 'guest',
		webphone_pass: '',
		webphone_number: 'Introduza a extensão a marcar...',
		webphone_info: '<span class="style2"> <strong>101</strong> - Suporte técnico<br> <strong>102</strong> - Departamento comercial<br> <strong>103</strong> - Departamento financeiro<br><br> Ou marque qualquer outra extensão, se a conhece.  </span>',
		defaultemail: 'voip@3gnt.net'
        }
];

/* CONFERENCENOHIST
 * whether to not show room history upon joining 
 */
var CONFERENCENOHIST = true;

var MAX_MINS = 10; 

/* ***
 * some internally used vars - don't change except you really know
 * what you are doing
 * ***
 */

var timerval = 5000; // poll frequency in msec

var stylesheet = "conference.css";
var THEMESDIR = "themes";

/* debugging options */
var DEBUG = false; // turn debugging on
var DEBUG_LVL = 2; // debug-level 0..4 (4 = very noisy)

/* ** Don't touch ** */
var VERSION = "0.4.2";

