Menu

#21 Any chance to support SQLite?

open
nobody
MySQL (1)
5
2015-07-16
2015-07-15
Timmy
No

Hi,
Is it possible to include support of bigger data base like SQLite or even a centralized MySQL into Winprint HylaFAX Reloaded?

It sounds profitable for open-source service providers. ^^

Discussion

  • Lorenzo Monti

    Lorenzo Monti - 2015-07-16

    Did you try with ODBC? You should be able to connect to virtually any DB (I successfully tested MS SQL and MySQL when I was developing ODBC support into wphfr).

     
  • Timmy

    Timmy - 2015-07-16

    I have checked the built-in ODBC feature. It seems that it cannot connect to a remote Linux MySQL server.

     
  • Lorenzo Monti

    Lorenzo Monti - 2015-07-16

    Wrong. It works. See attachments.
    I suggest that you review:
    - server firewall rules, if any
    - my.cnf (did you comment out the line "bind-address = 127.0.0.1"?)
    PS. No write capability, though.

     
  • Lorenzo Monti

    Lorenzo Monti - 2015-07-16

    Another screenshot

     
  • Lorenzo Monti

    Lorenzo Monti - 2015-07-16

    Yet another one.

     
  • Lorenzo Monti

    Lorenzo Monti - 2015-07-16

    The configuration in wphfr

     
  • Timmy

    Timmy - 2015-07-16

    I see! I see the trick!

    For international contacts, a single fax number field is not enough. We should separate the fax number into:
    country code;
    area code;
    local fax number;

    so that Hylafax can handle local and international calls differently. International calls are expensive. They are important to enterprises.

     
  • Lorenzo Monti

    Lorenzo Monti - 2015-07-16

    Your request is not clear to me. How is the client supposed to handle these separate fields? Should it prepend the country / area prefix to the local number based on some client side rules, before submitting the number to HylaFAX?

     
  • Timmy

    Timmy - 2015-07-16

    So the address book or address book table structure of your software should be improved.

    Here is an example of my other project:

     
  • Timmy

    Timmy - 2015-07-16

    When the user try to select a name from the data base or address book, the receiver's country code and area code will show up on your GUI.

    When Winprint GUI user enter a record, he is also required to input country code, area code, fax number separately as different record fields.

     
  • Lorenzo Monti

    Lorenzo Monti - 2015-07-16

    I'm still confused. There's no point in splitting the number into its components, unless we provide the client with the logic to decide whether a certain component (e.g. the international prefix) is to be sent to the server or not, based on some client-side rule.
    But this is the server's job: to normalize a number through dial rules, and then decide where to route the fax. Am I missing something?

     
  • Timmy

    Timmy - 2015-07-16

    The country list on this planet can vary from time to time. ^^

    Also, every country/company handle local/long distance/international call differently.

    For instance, the win7 fax simply cannot handle a long string fax number. I must teach it how to dial. ^^

    Telling the software the corresponding code is more reliable.

     

Log in to post a comment.