Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #61 (permalink)  
Old 01-08-2009, 09:57 AM
Partner (VAR/HSP)
 
Posts: 15
Default

it work perfectly avec passing the astNoExtenCheck to false. Thanks a lot !!!
Reply With Quote
  #62 (permalink)  
Old 01-10-2009, 12:24 PM
Intermediate Member
 
Posts: 16
Default

Hi,

just installed and configured the zimlet and already did some debugging...

our SIP channels are like: phone-manufacturer-#
e.g: phone-linksys-2 is the channel name!

everytime i dial the log is:

Quote:
zimlet - ch_bnc_asterisk caller: phonelinksys2 callee 203
so phone-linksys-2 -> phonelinksys2
does the SOAP "kill" the "-" ?

any ideas? (changing the SIP name isn't a solution)

Thanks Martin
__________________
There is no good day since you make it one!
Reply With Quote
  #63 (permalink)  
Old 01-11-2009, 04:44 PM
Intermediate Member
 
Posts: 15
Default

Sorry for not updating in so long. But I have good news!

Simply adding the hint lines to my phones context solved it!

After adding that and reloading, I clicked and my desk phone rang right away. I picked it up and sure enough it went right out. Two way audio is working as well.

So thank you so much!

Quote:
Originally Posted by chlauber View Post
Finally got the problem! Actually for the ExtensionState action you need hints. So starting with Zimlet version 0.6 I added a feature to check the ExtensionState before placing the call. Seems that this is an old issue. Sorry!
[Asterisk-Dev] ExtensionState problems using Manager.conf API
So the easiest way ist to add
Code:
exten => 200,hint,SIP/200
To your phones context.
Reply With Quote
  #64 (permalink)  
Old 01-14-2009, 03:46 AM
Senior Member
 
Posts: 72
Default

Quote:
Originally Posted by mmbl13 View Post
Hi,

just installed and configured the zimlet and already did some debugging...

our SIP channels are like: phone-manufacturer-#
e.g: phone-linksys-2 is the channel name!

everytime i dial the log is:
zimlet - ch_bnc_asterisk caller: phonelinksys2 callee 203
so phone-linksys-2 -> phonelinksys2

does the SOAP "kill" the "-" ? any ideas? (changing the SIP name isn't a solution)

Thanks Martin
Hi Martin
No SOAP does not kill the '-'. Actually I do some number checking in asterisk.jsp. In fact this is not necessary for the caller (which is taken from the zimlet user propery srcPhone). So you can try to remove line 496 in asterisk.jsp that contains this code:
Code:
			caller=checkNumber(caller);
Then i would expect it to work. I think i will remove that that check in future versions, too ...
Let me now if it worked
Reply With Quote
  #65 (permalink)  
Old 01-15-2009, 08:15 AM
Intermediate Member
 
Posts: 16
Default

Hi,

thanks that helped! works great now!
good work... keep going

Martin
__________________
There is no good day since you make it one!
Reply With Quote
  #66 (permalink)  
Old 01-18-2009, 01:10 AM
Junior Member
 
Posts: 7
Default

Wow, that was intense. After 6 hours of head banging, I got it working. Problems turned out to be Asterisk 1.6 related.

1) If you run Asterisk 1.6.x, you'll need to add 'originate' privs (new in 1.6) to your manager user:

Code:
read = system,call,log,verbose,command,agent,user,originate
write = system,call,log,verbose,command,agent,user,originate
... otherwise the 'originate' command will get rejected with "Permission denied", although you won't see this in the mailmanager log, you'll just see a generic originate failure. I'm not sure if it needs originate on both read and write, I just put it on both to be sure.

2) If you run 1.6.0.3, you'll need to patch your Asterisk as per this bug:

0014208: Channel not specified - Asterisk-1.6.0.3 - Digium Issue Tracker

... (file you need is main/manager.c) then make, make install and restart Asterisk. Without this, the 'originate' command always gets rejected with "Channel not specified", even though it is specified.

If you run FreePBX in vanilla form, you'll probably need to config with:

Code:
    <property name="astDialContext">from-internal</property>
    <property name="astDialChannelType">Local</property>
Whoo HOOOO! It works.

Thanks chlauber, this is awesome.

-- hugh
Reply With Quote
  #67 (permalink)  
Old 01-18-2009, 01:14 AM
Junior Member
 
Posts: 7
Default

Can we pretty please have a dial prefix config option? Similar to srcPhonePrefix, but for prefixing the callee with?

-- hugh
Reply With Quote
  #68 (permalink)  
Old 01-19-2009, 07:02 AM
Intermediate Member
 
Posts: 15
Default

Probably a simple question but how do you adjust so it can dial different number formats?

For example, right now it's just dialing 5555555 for me but I also need 555.555.5555 and 555-555-5555.

Thanks!
Reply With Quote
  #69 (permalink)  
Old 01-19-2009, 05:08 PM
Junior Member
 
Posts: 7
Default

You need to fiddle with the matchingRegEx in your zimlet config. Which can be a little scary if you aren't familiar with regex pattern matching.

Someone mentioned building a better, multi-purpose regex earlier in this thread, but I haven't seen any followup on that yet. I'm about to start rebuilding my matchingRegEx to recognize more formats, I'll post when I have something working.

-- hugh
Reply With Quote
  #70 (permalink)  
Old 01-20-2009, 04:14 PM
Senior Member
 
Posts: 72
Default Dial Prefix

Quote:
Originally Posted by cheesegrits View Post
Can we pretty please have a dial prefix config option? Similar to srcPhonePrefix, but for prefixing the callee with?

-- hugh
Hi hugh
What would fits your needs best? A global config in zimlets config xml or a per user configurable option?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.