Results 171 to 180 of 198

Thread: Asterisk PBX Integration Zimlet (new)

Threaded View

  1. #1
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    7

    Default Asterisk PBX Integration Zimlet

    Hi all.
    I started programming an asterisk zimlet that uses asterisk manager interface AMI instead of SIP protocol like the already existing Zimlet.
    Thanks to Asterisk-Java I was able to easily interface with AMI in jsp.
    Main purpose is to dial (originate). I also added SMS functionality that uses Asterik SMS() application. For now every originate does a separate login to AMI, send action and then logs out. Don't now if this can cause troubles in big installations.

    Finally i have something working, but there are still some problems.

    1) Internationalization:
    I was unable to get messages.properties files to work. Already check the Forum and Zimlets Whitepaper, but still no luck.
    So for now everything is hardcoded in English.

    2) SMS encoding:
    For some reason the SMS Messages do not arrive correctly in the Zimlets JSP. I can watch the correctly URL encoded message with LiveHttp Headers in FF or with wireshark. For some reason German and French Umlauts do not arrive in the JSP. Even when i try to log what the paramter like:
    Code:
    smsMsg = request.getParameter("msg");
    zimletLog.debug("Param smsMsg: " + smsMsg);
    Umlauts like are just displayed as ???. Is there an issue with jetty?

    3)Disabling of SMS Menu does not work
    Seems like
    Code:
    enableContextMenuItem(this.PANEL_MENU,id,false);
    in ZmZimletBase.js does nothing

    4)Getting global properties in javascript for maxSMSLength
    Was also unable to make
    Code:
    getConfigProperty(key);
    working.

    Any help is welcome!
    I added zimlet zip file. config_template.xml should be commented enough to get it working.

    Have fun, Christof.
    Attached Files Attached Files
    Last edited by chlauber; 10-16-2008 at 08:22 AM.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Outlook 2007 Beta error
    By bersrker in forum Zimbra Connector for Outlook
    Replies: 13
    Last Post: 07-17-2008, 08:38 AM
  3. Replies: 5
    Last Post: 01-11-2008, 05:34 AM
  4. weird Asterisk zimlet behaviour
    By bbarnett in forum Zimlets
    Replies: 4
    Last Post: 10-17-2007, 09:36 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 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
  •