Results 1 to 7 of 7

Thread: com_zimbra_phone not working.

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default com_zimbra_phone not working.

    Under my Zimbra 5.0.4 under RHEL 5 64 bit, com_zimbra_phone zimlet does not work. No telephone numbers are highlighted, both in contacts and email views. Tried with many differently formatted numbers (with/without +1, with/without +39, 0039, etcetera).
    No errors when undeployed/redeployed, at least by looking at mailbox.log. Other zimlets (date, email, url, ymaps) work flawlessly.

    I'd post more information, only if had something more to report! Let me know if you guys come up with any suggestion/info request.

    Thanks in advance!

  2. #2
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    First thing to verify is if your zimlet is active for your COS and for your user.

  3. #3
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default

    Thanks for your reply. I checked 'em both, of course. Nope, everything is all set, com_zimbra_phone should be enabled... I wrote myself a mail to test it. Here it is:


    10 Giugno 2008
    10/06/2008
    10-06-2008
    June 10, 2008
    0532123456
    123
    +39053212456
    00390532123456
    0039 0532 123456
    Google
    Google

    Everything is working thanks to the other zimlets (date, url, etc) except for telephone numbers... :-(

  4. #4
    Join Date
    Mar 2008
    Posts
    20
    Rep Power
    7

    Default

    Hello,
    unfortunately if you don't live in the US this zimlet is unuseful.
    try these numbers like this xxx-xxx-xxxx in you contacts or mails .
    the numbers will be highlighted.
    It would be fine to fix the regex in com_zimbra_phone.xml to use it anywhere.

    Harry

  5. #5
    Join Date
    Jan 2008
    Posts
    7
    Rep Power
    7

    Default

    while we're on the phone zimlet, mebbie someone could point me in the right direction. I have a 3com nbx with imap and tapi support. It works great, however, i cant seem to figgure out where i can configure tele zim to work with it.... any ideas?

  6. #6
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    4
    Rep Power
    5

    Default com_zimba_phone needs to be fully developed

    The phone zimlet seems to be in a sort of "limbo" state .. there are localized regex in the properties languages' files, but they are not used anywhere.

    The only regex used is the one in the xml file and it is only suited to handle US telephone numbers ..

    I think it would be the case to carry on the development of localization support for telephon numbers, looking in the meanwhile to make the regex a bit more stringent, nowadays it highlights IP numbers too!

  7. #7
    Join Date
    Jul 2010
    Posts
    17
    Rep Power
    5

    Default

    Hi. I'm currently working on a zimlet that does escaux click to call integration for telephone numbers in Belgium. We are dealing with numbers written like this:
    Fully prefixed international numbers:
    0032 2 123456
    0032(0)2 123123
    +32 2 123 123
    +32 / 2 123 - 123
    and so on...
    Local numbers without the international prefix:
    02 123 123
    063/123456
    and so on...

    My current regexp is the following:
    Code:
    (00|\+)(93|355|213|1684|376|244|1264|672|1268|54|374|297|61|43|994|1242|973|880|1246|375|32|501|229|1441|975|591|387|267|55|1284|673|359|226|95|257|855|237|1|238|1345|236|235|56|86|61|61|57|269|242|243|682|506|385|53|357|420|45|253|1767|1809|670|593|20|503|240|291|372|251|500|298|679|358|33|689|241|220|970|995|49|233|350|30|299|1473|1671|502|224|245|592|509|504|852|36|354|91|62|98|964|353|44|972|39|225|1876|81|962|7|254|686|381|965|996|856|371|961|266|231|218|423|370|352|853|389|261|265|60|960|223|356|692|222|230|262|52|691|373|377|976|382|1664|212|258|264|674|977|31|599|687|64|505|227|234|683|672|1670|850|47|968|92|680|507|675|595|51|63|870|48|351|1|974|40|7|250|590|685|378|239|966|221|381|248|232|65|421|386|677|252|27|82|34|94|290|1869|1758|1599|508|1784|249|597|268|46|41|963|886|992|255|66|228|690|676|1868|216|90|993|1649|688|971|256|44|380|598|1|998|678|39|58|84|1340|681|970|967|260|263)( *)[\.\/\-]?( *)(\(0\))?( *)[\.\/\-]?( *)[1-9]\d{0,4}( *)[\.\/\-]?( *)\d+(( *)[\.\/\-]?( *)\d+)*|[^0]0[1-9]\d{0,4}\d+(( *)[\.\/\-]?( *)\d+)*
    It is so long because I accounted for every possible international dialing prefix and for various separator characters between the numbers.
    The part before the "|" handles the internaltional numbers and the part after the "local" numbers. For the local numbers I begin with [^0]0 to make sure that it only matches when there's a single 0 at the beginning. I tried to do that with a lookbehind, but it didn't work (see my forum post on that topic), so I have to "clean up" the first charater in javascript later.

    So in my js code I do some formatting before sending the number to the escaux telephony server:
    Code:
    nr = matchContent[0];
    nr = nr.replace("(0)", "");
    nr = nr.replace(/[\. \/\-]/g, '');
    if (nr.substr(0, 1) == "+") {
        nr = "00" + nr.substr(1);
    } else if (nr.substr(0, 1) != "0") { // happens for local numbers
        nr = nr.substr(1);
    };
    So far, this works pretty well for us. What I haven't figured out yet is how to implement a right click menu for contacts. I'd like to be able to right click on a contact and say "Call number" from there. Maybe someone has done this?

Similar Threads

  1. Zimlets all not working?
    By jadestorm in forum Administrators
    Replies: 16
    Last Post: 10-28-2007, 07:25 PM
  2. Replies: 6
    Last Post: 10-10-2007, 05:11 PM
  3. User UI not working, Admin UI works
    By zpotonaator in forum Administrators
    Replies: 8
    Last Post: 08-03-2007, 04:28 AM
  4. Zimbra stoped working overnight
    By vlskip in forum Installation
    Replies: 32
    Last Post: 03-07-2006, 12:52 PM
  5. HTTPS Is Working, HTTP Not Working
    By uh-nu-bu in forum Installation
    Replies: 12
    Last Post: 11-09-2005, 05:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •