Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 10-16-2007, 03:06 AM
Senior Member
 
Join Date: Sep 2007
Posts: 64
bbarnett is on a distinguished road
Default weird Asterisk zimlet behaviour

Not quite sure what's up here.

I've found that when I configure and setup the Asterisk zimlet, everything seems to work fine if I click on the Zimlet, and then enter a phone number. However, if I drag and drop a contact onto the Zimlet, and then select the number to call from the drop down list (or leave the drop down list at the default) the 'to' number is always blank.

For example, I enter the number manually (6135551212) and the Zimlet debug output is as follows (this is the Zimlet sip dialog in /opt/zimbra/tomcat/logs/catalina.out)

Asterisk debug mode on
Calling from 219 to 6135551212

However, when I drag and drop a contact onto the Zimlet, and select a number from the drop down list (6135551212) I get:

Asterisk debug mode on
Calling from 219 to

It's blank. I've undeployed, manually removed the Asterisk zimlet dir, and redeployed a few times. Same problem. I've also edited the asterisk.js file, and found that the values 'finalto' and 'to' are always blank for some reason (see below), even for the js!

I've flushed my browser cache just in case, and of course restarted tomcat between every deployment attempt. I know my new js is updated, because I've changed the output to:

this.displayStatusMessage('Connecting '+finalto);

or

this.displayStatusMessage('Connecting '+to);

and various other values while debugging this.

Does anyone have any ideas as to why the asterisk.js code always receives a blank number to call, when one does a drag and drop?
Reply With Quote
  #2 (permalink)  
Old 10-17-2007, 07:54 AM
Senior Member
 
Join Date: Sep 2007
Posts: 64
bbarnett is on a distinguished road
Default

Would anyone be able to verify this behaviour with 4.5.6? I'd hate to file a bug report without some confirmation first...
Reply With Quote
  #3 (permalink)  
Old 10-17-2007, 08:01 AM
Senior Member
 
Join Date: Sep 2007
Posts: 64
bbarnett is on a distinguished road
Default

Hmm.

Something very odd I've noticed.

If I have a contact with a mobile phone number filled in, it works! That is, any contact I drop on the Asterisk Zimlet will be callable, as long as that contact has a mobile number filled in. If I have no mobile number in that contact, I can not contact them.

For example, contact Joe Smith. I have a home phone, work phone, and mobile phone. I drag Joe to the Asterisk Zimlet, drop and can pick any of his numbers. I call, and it works without issue.

Then I remove Joe's mobile number from his contact. I drag Joe to the Zimlet, and calling does not work. When I do this, the outgoing number is actually empty, as described in my first post.

Very odd. Ideas?
Reply With Quote
  #4 (permalink)  
Old 10-17-2007, 08:16 AM
Moderator
 
Join Date: Nov 2005
ZCS Version: Release 5.0.0_BETA2_1092.FC5_20070718124259 FC5_64 FOSS edition
Posts: 380
JoshuaPrismon is on a distinguished road
Send a message via AIM to JoshuaPrismon
Default

I would go ahead and file a bug on this.
Reply With Quote
  #5 (permalink)  
Old 10-17-2007, 08:36 AM
Senior Member
 
Join Date: Sep 2007
Posts: 64
bbarnett is on a distinguished road
Default

See Bug 21119 - asterisk zimlet not working unless mobile number is filled in
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 Beta error bersrker Zimbra Connector for Outlook 13 07-17-2008 07:38 AM
Admin interface fails after install of posix/samba zimlets Franck Zimlets 5 01-11-2008 04:34 AM
Domain Admin Error: Permission Denied shanson Administrators 3 05-29-2007 05:48 AM
Post instsallation problems Assaf Installation 14 01-29-2007 10:38 AM
Kickstart for automated installation and disaster recovery mubley Installation 19 01-10-2006 02:45 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.1.0