Results 1 to 2 of 2

Thread: Customise local phone numbers

  1. #1
    Join Date
    Sep 2007
    Location
    Aoteroa
    Posts
    128
    Rep Power
    8

    Default Customise local phone numbers

    With com_zimbra_phone, I need to be able to customise a) the recognition strings that trigger the zimlet, and b) the handling of local numbers.

    Currently, if i have a local phone number that doesn't include a country or area code then it assumes that I am in the states. I'm not. Also, in the string "+64 3 123 4567" only the last 7 digits are recognised, the +64 3 is ignored, and it assumes again that I am in the states.

    How do I go about this?

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    there's more than one way to do this so that you can quickly test (/opt/zimbra/tomcat/webapps/serrvice/zimlets/com_zimbra_phone) but I'm gonna give you a method so that you can save it for later use:
    cd /opt/zimbra/zimlets
    make a copy of the original phone zip and put it in a safe place
    extract the original
    inside the zip there will be a .xml
    edit the regex line to your needs
    rezip
    zmzimletctl deploy com_zimbra_phone
    zmcontrol stop/start
    you will need to apply it to other COS's - as that will be enabled in the default COS only after doing that

Similar Threads

  1. postfix transport maps
    By pheonix1t in forum Administrators
    Replies: 12
    Last Post: 01-17-2009, 10:42 PM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  4. Replies: 13
    Last Post: 05-15-2007, 06:41 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM

Posting Permissions

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