Input

book: Create a structured PDF document with headings, chapters, etc.
webpage: Specifies that the HTML sources are unstructured (plain web pages.) A page break is inserted between each file or URL in the output.
continuous: Specifies that the HTML sources are unstructured (plain web pages.) No page breaks are inserted between each file or URL in the output.
Title of the document for the front page.
Extract the first heading of the document and use it as title. If checked the title field has no effect.
The title image or HTML page. These file has to be an attachments!
Specify document version to be displayed on the title page.
Intellectual property owner of this document.
Copyright notice for this document.
Information about who and when modified the document are applied at the end.

Output

Specifies the output format.
Grayscale document  Title page
Compression :   JPEG big images 

Pagina

 
User defined page size 
Choose one of the predefined standard sizes or select user defined.
Specifies the page size using a standard name or in points (no suffix or ##x##pt), inches (##x##in), centimeters (##x##cm), or millimeters (##x##mm).
Set the target browser width in pixels (400-1200). This determines the page scaling of images.
   2-Sided   Landscape
   
   
   
Specifies the margin size using points (no suffix or ##x##pt), inches (##x##in), centimeters (##x##cm), or millimeters (##x##mm). Keep empty for default value.
Left
Middle
Right
Sets the page header to use on body pages.
Left
Middle
Right
Sets the page footer to use on body pages.

Indice

Sets the number of levels in the table-of-contents. Empty for unlimited levels.
   Numbered headings Check to number all of the headings in the document.
Sets the title for the table-of-contents. Empty for default title.
Left
Middle
Right
Sets the page header to use on table-of-contents pages.
Left
Middle
Right
Sets the page footer to use on table-of-contents pages.

Colors

Enter the HTML color for the body (background).
Enter the image file for the body (background). These file has to be an attachments!
Enter the HTML color for the text.
Sets the color of links.
Enables generation of links in PDF files.

Fonts

Set the default size of text.
Set the spacing between lines of text.
Choose the default typeface (font) of text.
Choose the default typeface (font) of headings.
Set the size of header and footer text.
Choose the font for header and footer text.
Change the encoding of the text in document.
Check to embed font in the output file.

PDF

Controls the initial viewing mode for the document.
Document: Displays only the docuemnt pages.
Outline: Display the table-of-contents outline as well as the document pages.
Full-screen: Displays pages on the whole screen; this mode is used primarily for presentations.
Controls the initial layout of document pages on the screen.
Single: Displays a single page at a time.
One column: Displays a single column of pages at a time.
Two column left/right: Display two columns of pages at a time; the first page is displayed in the left or right column as selected.
Choose the initial page that will be shown.

Security

Check to number all of the headings in the document.
 Versione stampabile   Modify
 Copy   Annotate
Specifies the document permissions.
Specifies the user password to restrict viewing permissions on this PDF document. Empty for no encryption.
Specifies the owner password to control who can change document permissions etc. If this field is left blank, a random 32-character password is generated so that no one can change the document.

Expert

Specify language to use for date and time format.
Shrink code blocks on page.
Show line numbers for code blocks.
Make spaces visable by dots (·) instead of white spaces.
Make line breaks visable by a extra character (¶) at the end.
Enable this feature if you searching for problems or intent to report a bug report

About

Version 2.4.2 (MoinMoin 1.9.7)


MoinMoin - Generate PDF document using HTMLDOC

This action script generate PDF documents from a Wiki site using
the HTMLDOC (http://www.htmldoc.org) software packages which has
to be preinstalled first.

Copy this script in your's MoinMoin action script plugin directory.

Thanks goes to Pascal Bauermeister who initiated the implementaion.
Lot of things changes since then but the idear using HTMLDOC is the
main concept of this implementation.

Please visit the homepage for further informations:
http://moinmo.in/ActionMarket/PdfAction

@copyright: (C) 2006 Pascal Bauermeister
@copyright: (C) 2006-2010 Raphael Bossek <raphael.bossek@solutions4linux.de>
@license: GNU GPL, see COPYING for details

       

Italiano English
Modifica History Actions

ConfigurazioneAsterisk

QUESTA PAGINA E' ANCORA DA REVISIONARE

Asterisk è un PBX per linux, ovvero un centralino telefonico per le telefonate voip e non solo. Cosa si può fare con Asterisk? Semplicissimo: Si può configurare un computer che si interconnette ad un servizio voip su internet e che smista le telefonate verso degli interni oppure semplicemente consente di effettuare chiamate tra i numeri interni. Prendiamo per esempio la rete telefonica di un grosso ufficio: ogni utente può chiamare gli altri interni componendo un numero che identifica univocamente il telefono di un altro utente. Asterisk ci permette di fare esattamente questo utilizzando la tecnologia VOIP e il cavo ethernet. Passiamo alla configurazione. Per il momento non prendiamo in considerazione l'istallazione, consideriamo di lavorare su una distribuzione linux che preveda l'uso di pacchetti come ad esempio Debian e che con solo:

# apt-get install asterisk

ci ritroviamo con asterisk istallato. Dunque nella directory /etc/asterisk troviamo tutti i file di configurazione di Asterisk. I più importanti di cui ci occuperemo sono:

sip.conf
extensions.conf
iax.conf

In sip.conf si trovano le configurazioni degli utenti SIP e dei peer con servizi esterni (su internet) che offrono account SIP.

In sip.conf si trova una sezione general in cui si specificano i parametri di default come questa:

[general]
context=default
language="it" ; lingua scelta ad esempio per i messaggi della segreteria
port=5060 ;porta utilizzata in ascolto del server asterisk
realm=sip.ninux.org ;indirizzo ip o nome del server.
Bindaddr=0.0.0.0 ;indirizzo della interfacce su cui fare ascoltare il server (0.0.0.0 =tutte)
externip=62.123.40.19 ; nel caso il server sia dietro ad un nat, ip publico o dominio dinamico
localnet=10.162.0.0/255.255.255.0 ;caso nat (ip rete locale)
disallow=all ;codec audio supportati con relatica sequenza di priorità
videosupport=yes
allow=ulaw
allow=alaw
allow=g729
allow=gsm
allow=h263
allow=h263p

Sempre nel sip.conf si trovano le configurazioni degli interni con account SIP come questa d'esempio:

[100] ;numero interno
type=friend ;significa che questo utente può ricevere e effettuare telefonate
secret=XXXXXXX ;password
username=nino ;nome può essere impostato con una striga qualsiasi
host=dynamic ;l' utente ha un ip dinamico
context=mio ; contesto di riferimento... vedremo più avanti cosa sono i contesti
nat=yes ;l'interno si trova dietro nat
canreinvite=no ;la chiamata dovrà passare per il server (non direttamente client-client)

Nello stesso file si possono configurare anche collegamenti con gestori esterni, per esempio uno per ricevere telefonate ed uno per effettuarne:

register => username:password:username@indirizzo_server_sip:porta/extension (un numero)

Spendo qualche parola in più per quanto riguarda questa riga. Come potete notare ci sono tutti i parametri che normalmente si usano in una connessione come l'indirizzo del server username e password ed anche la porta. Fin qui tutto a posto. L' unico dato che sicuramente ancora non conoscete proprio perchè tipico di asaterisk è extension. Esso è un numero che ritroveremo nella configirazione di extensions.conf che serve per decidere come sarà smistata una telefonata in entrata tramite questo account appena configurato. Praticamente un numero che deciderete voi che dovrete anche impostare in extensions.conf.

[sip.messagenet.it] ;nome del provider
context=mio ; contesto di riferimento
type=user ; tipo account, in questo caso user perchè account solo per ricevere
host=sip.messagenet.it ;indirizzo server

In modo molto similare configuriamo un account per chiamare esternamente.

[provider] ;nome account (scelto da noi) utilizzato in extensions.conf
type=peer ;tipo account peer= solo chiamate
host=sip.voipstunt.com ;indirizzo server sip provider
username=XXXX ;username
secret=XXXXX ;password
context=mio ;contesto... un po di pazienza tra qualche rigo saprete di che si tratta

Passiamo ad analizzare il secondo file: extensions.conf

le sezioni tra [] in questo file identificano i contesi, finalmente. In ogni contesto un numero digitato sulla tastiera dei nosti terminali (telefoni) acquisisce un senso. Esempio: nel file di prima la configurazione dell' interno 100 aveva come context=mio. Ciò significa che qualsiasi numero verrà composto dall'utente 100 verrà cercata una corrispondenza con una configurazione del contesto [mio]. Credo che un esempio in questo caso sia più efficace che mille parole:

[mio]
exten=>101,1,Dial(SIP/101,20)

questo significa che se l'utente 100 dovesse digitare sulla tastiera il numero 101, come prima priorita( l'uno dopo la prima virgola) verrà chiamato l'account SIP con numero 101. Spero che sia chiaro adesso cosa è un contesto. Ma in ogni caso che anche se non dovesse esserlo tra qualche riga lo sarà.

[default] ;contesto di default
exten=>800,1,Dial(SIP/100,20) ;questa extension (800) è quella da me utilizzata per le chiamate entranti, vi ricordate il numero dopo la / nel sip.conf? Quello che decideva le sorti della chiamata in ingresso? La chiamata in ingresso in questo caso è smistata all' interno 100!
il 20 sono gli squilli per i quali non si passa alla priorità successiva.
exten=>800,2,SetLanguage(it) ;se la chiamata non dovesse andare in porto si passa alla priorità 2 (vedi numero dopo prima virgola della riga)
exten=>800,3,Voicemail(b100) ;Segreteria telefonica dell'utente 100
exten=>800,102,Voicemail(u100) ; la priorità 102 è dovuta al fatto che se l'interno è occuparo o comunque non disponibile la priorità base è sommata di default a 101 quindi 1+101=102.

Andiamo avanti. Passiamo al contesto per le chiamate generate dagli interni.... introduco una variabile che ci consente di esprimere il numero composto: ${EXTEN}. Per evitare di scrivere una riga in extensions.conf per ogni interno esistente si può utilizzare una sintassi del genere: Verranno usati alcuni caratteri speciali come: “_”, “.”, “X”: essi hanno il valore rispettivemente di:

“_” = quello che verrà dopo è da interpretare... ovvero non è un numero preciso. “.” = qualsiasi sequenza di numeri. “X”= una cifra per esempio: _3XXX = qualsiasi numero a 4 cifre che inizia per 3. _3.= qualsiasi numero che inizia per 3 di lunghezza qualsiasi. _.=qualsiasi numero

Vediamo un esempio di contesto per le chiamate effettuate dagli interni:

[mio] ;contesto per i numeri interni
exten=>_1XX,1,Dial(SIP/${EXTEN},20) ; se un interno chiama un numero di 3 cifre che inizia con 1 verrà chiamato quel numero e si aspetterà per 20 squilli in caso di mancata risposta.
exten=>_1XX,2,Dial(IAX2/${EXTEN},20); con priorità 2 si proverà a chiamare la stessa utenza ma con il protocollo IAX che poi vedremo di cosa si tratta.


;chiamate in uscita
exten => _00.,1,Dial(SIP/${EXTEN}@provider) ;chiamate internazionali tramite provider SIP corrispondente a [provider] in sip.conf
exten=>_0X.,1,Dial(SIP/0039${EXTEN}@provider);chiamate nazionali (italia) tramite provider SIP corrispondente a [provider] sip.conf

Per approfondimenti questo è un bel libro AsteriskTFOT.pdf