*

Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?


Pagine: [1]
  Stampa  
Autore Discussione: Hylafax dividere fax per directory  (Letto 589 volte)
0 utenti e 1 Utente non registrato stanno visualizzando questa discussione.

Hylafax dividere fax per directory

Merlyno
PrimoLivello
*
Messaggi: 17


Mostra profilo
Novembre 11, 2009, 06:34:14 pm

Salve a tutti ragazzi!
spero di non essere OT, ma avrei bisogno di un suggeriemtno:
come in qualche post precedente qualcuno ha già letto sto usando la distro Elastix come centralino telefonico ed ultimamente sono riuscito (non senza sforzi per problemi di incompatibilità di alcuni hardware) a fargli inviare anche fax.
Mi piacerebbe però fare in modo di dividere i fax in cartelle alle quali hanno accesso solo gli utenti abilitati, in modo da non avere un'unica cartella come raccoglitore di fax per tutti i numeri fax, ma dividerli per i vari utenti, magari mi spiego meglio:
Il FAX1 deve mettere tutti i file che gli arrivano nella cartella /var/spool/hylafax/recvq/FAX1, mentre il FAX2 deve mettere tutti i fax che gli arrivano in /var/spool/hylafax/recvq/FAX2.
In questo modo avrei la possibilità anche di abilitare delle autorizzazioni sulle cartelle e condividerle in remoto o magari on una pagina web, sapete! giusto per dedicare qualche fax a qualcuno e dargli un minimo di privacy.
Avevo trovato il file FaxDispatch, ma dalle varie documentazioni che ho trovato permette solo di mandarlo per email, non di suddividere i file per cartella.
Spero possiate aiutarmi e come sempre grazie in anticipo!




M.
« Ultima modifica: Novembre 11, 2009, 07:13:48 pm da Merlyno » Registrato
VoceSuIP.com
« inserita:: Novembre 11, 2009, 06:34:14 pm »


Centralino IP PBX - 3CX. Scarica la versione Gratuita!
 Registrato

#1 Re: Hylafax dividere fax per directory

Merlyno
PrimoLivello
*
Messaggi: 17


Mostra profilo
Novembre 13, 2009, 01:30:26 pm

Ragazzi vi prego non chiamatemi rompiscatole, sto anche googlando ma non trovo nulla che fa al caso mio, spero possiate aiutarmi voi.




M.
Registrato

#2 Re: Hylafax dividere fax per directory

starlab
Guru
*****
Messaggi: 1548



Mostra profilo
Novembre 13, 2009, 03:36:23 pm

Ecco quello che ti serve.

FOLDER="/var/spool/hylafax/recvq/"
FULLPATH="${FOLDER}${FILENAME}.tif"
case "$DEVICE" in
ttyIAX0)   mv $FULLPATH /var/spool/hylafax/recvq/FAX1/;;    # tutti i fax ricevuti sul modem ttyIAX0
ttyIAX1)   mv $FULLPATH /var/spool/hylafax/recvq/FAX2/;;    # tutti i fax ricevuti sul modem ttyIAX1
esac

Registrato

#3 Re: Hylafax dividere fax per directory

Merlyno
PrimoLivello
*
Messaggi: 17


Mostra profilo
Novembre 18, 2009, 04:03:14 pm

ok Starlab innanzitutto ti ringrazzio per il suggerimento, solo una cosa: mi sembra la sintassi che ho visto nel file FaxDispatch, lo script che mi hai passato lo devo aggiungere all'interno di quel file?
Registrato

#4 Re: Hylafax dividere fax per directory

Merlyno
PrimoLivello
*
Messaggi: 17


Mostra profilo
Novembre 18, 2009, 04:29:04 pm

Ho appena provato lo script, ma sfortunatamente non funziona, i fax mi arrivano senza problemi nella cartella di default /var/spool/hylafax/recvq/ ma non vengono copiati nella cartella di destinazione, ho anche provato ad aggiungere un punto e virgola sui path e ho anche modificato la cartella di destinazione, ti posto lo script:

FOLDER="/var/spool/hylafax/recvq/";
FULLPATH="${FOLDER}${FILENAME}.tif";
case "$DEVICE" in
  ttyIAX0)   cp $FULLPATH /var/www/html/Faxfile_redir/ttyIAX1;;
  ttyIAX1)   cp $FULLPATH /var/www/html/Faxfile_redir/ttyIAX2;;
esac

Mi sono permesso di personalizzarlo un pò lo script che mi hai passato Starlab, spero potrai perdonarmi  Occhiolino
« Ultima modifica: Novembre 18, 2009, 04:33:20 pm da Merlyno » Registrato

#5 Re: Hylafax dividere fax per directory

starlab
Guru
*****
Messaggi: 1548



Mostra profilo
Novembre 21, 2009, 01:11:42 pm

Il mio era solo un esempio per aiutarti nella tua richiesta. Devi controllare che i device siano corretti e di avere i permessi per la scrittura. Dai un occhio ai log per carcare di capire il problema.
Registrato

#6 Re: Hylafax dividere fax per directory

Merlyno
PrimoLivello
*
Messaggi: 17


Mostra profilo
Novembre 24, 2009, 01:09:37 pm

Starlab, ti ringrazio tantissimo  Occhiolino , ora do un'occhiata ai log...
Registrato

#7 Re: Hylafax dividere fax per directory

varis
Beginner
**
Messaggi: 21


Mostra profilo
Febbraio 08, 2010, 10:19:32 am

Se serve ancora...
Dai un occhiata alla versione Hylafax 6.0, uscita in aprile 2009, c'è tutto quello che ti serve per suddividere i fax in arrivo e in uscita.
http://www.hylafax.org/content/Advanced_Permissions_with_6.0
Ciao.
Registrato
VoceSuIP.com
   

 Registrato
Pagine: [1]
  Stampa  
 
Vai a:  

Recent
[Oggi alle 02:44:08 am]

[Marzo 10, 2010, 11:33:10 pm]

[Marzo 10, 2010, 11:09:49 pm]

[Marzo 10, 2010, 11:01:56 pm]

[Marzo 10, 2010, 10:32:37 pm]

[Marzo 10, 2010, 08:58:51 pm]

[Marzo 10, 2010, 06:09:55 pm]

[Marzo 10, 2010, 05:35:06 pm]

[Marzo 10, 2010, 02:18:16 pm]

[Marzo 10, 2010, 01:26:39 pm]
utenti
Utenti in totale: 7415
Ultimo utente: matricone
Stats
Messaggi in totale: 86662
Discussioni in totale: 11832
Online Oggi: 30
Presenze Massime Online: 270
(Aprile 17, 2008, 04:22:27 pm)
Utenti online
Utenti: 0
Visitatori: 18
Totale: 18
News da 3CX
3CX is now providing additional free training Webcasts on more advanced topics, and the next one is scheduled for Thursday 25 March 2010 at 1500hrs (GMT+1). This will be presented via Microsoft Live ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/hE2vk9Yh5YU" height="1" width="1"/
3CX Phone System can be installed on most versions of Windows. Below is a complete list of supported and unsupported operating systems. Note: Unsupported does not necessarily mean that 3CX will not work, however ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/C-9pMOJHjWc" height="1" width="1"/
The 3CX Phone System IVR service is based on VXML and therefore integrates with the web server that you have chosen to use with 3CX. If there are problems with the web server integration, the ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/jNrCx1GR2wU" height="1" width="1"/
This article helps you recover from Backup and Restore Errors including some tips to make this operation quick and seamless. When a new major version is released, it is recommended to install the latest version. ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/X5HeUZffo-s" height="1" width="1"/
This guide describes the different caller ID formats and how to alter /rewrite the caller ID before it gets sent to the Telecoms provider when using beroFix VoIP Gateway cards. In this document we will use ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/ohHQkLTfnJo" height="1" width="1"/
With a Beronet Card, and proper configuration, you are able to choose the exact line/port on which you want to dial out. This feature is requested for lines that have different MSN/DID/DDI numbers. In addition ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/VcLTGU_QQC0" height="1" width="1"/
How to configure Secure SiP This is a complete guide that will provide detailed information on how to: 1. Setup 3CX Phone System with Secure SiP (TLS) (In this way the SiP messaging will be encrypted and ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/RjTpKSvFRgY" height="1" width="1"/
3CX Phone System V8 and later include the functionality to set the TimeZone and DST (Daylight Savings Time) parameters on phones via provisioning. 3CX PhoneSystem is delivered with example pre-configured default values set to EasternTime ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/pQvrYsYUl5g" height="1" width="1"/
NOTE: This device has been tested for Fax Calls and Voice Calls using firmware 1.2.1.5. Grandstream firmware versions are typically available from: http://www.grandstream.com/firmware.html. Depending on your geographic location and telecommunications provider, it may be necessary to ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/ot0bekHNwHo" height="1" width="1"/
This article describes how to setup Microsoft Exchange 2007/2010 server as a Unified Messaging Server and configure 3CX Phone System to use it for voice mail and auto attendants This guide has been tested with the following ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/CnmxV5NiIaw" height="1" width="1"/
3CX CRM Integration overview 3CX Assistant includes a CRM Integration module to allow it to integrate with Microsoft Outlook or Salesforce.com When a call arrives to your extension, you will be notified about it with a ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/FJmcvY0VqD8" height="1" width="1"/
Many businesses who are adopting VoIP Software PBX Systems are always looking for a way to cut down costs. That#8217;s where the Intel Atom N270 comes in the picture, which is  designed to deliver performance ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/2iwqr88zB9s" height="1" width="1"/
3CX provides monthly free training Webcasts, and the next one is scheduled for Thursday 11 March 2010 at 1500hrs (GMT+1). This will be presented via Microsoft Live Meeting using its built-in VoIP ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/CXdty1_32AY" height="1" width="1"/
3CX administrators need to plan ahead on how to construct their 3CX Phone System. Now it is very time consuming to create 1 extension at a time for each user, with their settings and provisioning. ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/MBIm-kTm7_4" height="1" width="1"/
After high demand from 3CX administrators worldwide, we have finalized a version of the 3CX Assistant that is specifically designed for Windows Server OS with Terminal service roles enabled.  This installation package is available for ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/JGqox57xNS0" height="1" width="1"/
New 3CX Assistant version 8.11105 with improved TAPI driver supportimg src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/x38Q3ybhhOU" height="1" width="1"/
This 10 minute presentation explains the unique selling points of 3CX #8211; what makes our system different and what its key features are.img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/UtWmtOhWNn8" height="1" width="1"/
London, UK #8211; February  17, 2010 -  Spitfire, the leading Internet Telephony Service Provider, has completed full Interoperability testing with 3CX and agreed to promote 3CX to Spitfire’s 200 strong partner channel. Spitfire has become ...img src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/qVX8dQefP8o" height="1" width="1"/
3CX, the leading IP PBX software manufacturer, partners with EFL to help expand it’s UK channel businessimg src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/UvE7o-zPMIs" height="1" width="1"/
3CX Application Exchange - 3rd Party application solution pageimg src="http://feeds.feedburner.com/~r/3CXVoIPBlog/~4/AmHmvM_k3Sc" height="1" width="1"/