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
  #1 (permalink)  
Old 03-18-2008, 04:01 PM
Intermediate Member
 
Posts: 20
Default Asterisk zimlet

Hello,

I configured asterisk zimlet in order to click to call .

It work fine for the the asterisk extensions in the dialplan but i can't dial the external numbers !

When I dial a number with 10 digits 1 is append (us) i've tried to change that in asterisk .js .
if (numStr.length == 10) {numStr = "1"+numStr;} to if (numStr.length == 10) {numStr = ""+numStr;} without success anyway the dialded number can't be reached !!

any idea

Regards
Reply With Quote
  #2 (permalink)  
Old 03-19-2008, 02:12 PM
Active Member
 
Posts: 29
Smile

What messages are on your asterisk console during a failing dial attempt?

I had to add two rules for different direct dial conditions in my outgoing context:
exten => _1NXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})
exten => _NXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/1${EXTEN})

The first directly dials if the number is in the form 18005551212. The second prepends the 1 in the event the number is in the form 8005551212 (thus making it 18885551212).
Reply With Quote
  #3 (permalink)  
Old 03-19-2008, 03:45 PM
Intermediate Member
 
Posts: 20
Default

404 Not found i use the asterisk gui but i fix it
the external dialed numbers is not sent to the sip
request when i use the contacts (drag)!!

My asterisk server is on the same box but not the same
network for zimbra
Reply With Quote
  #4 (permalink)  
Old 03-21-2008, 04:48 PM
Intermediate Member
 
Posts: 20
Default

I would like to strip 1 to get a number with 10 digits XXXXXXXXX witout 1 in front of but asterisk receive this number 1XXXXXXXXX

from extensions.conf

exten = _0XXXXXXXXX,1,Macro(trunkdial,${trunk_1}/${EXTEN:0})
comment = _0XXXXXXXXX,1,PSTN1,standard
exten = _1XXXXXXXXXX!,1,Macro(trunkdial,${trunk_1}/1${EXTEN:1})
comment = _1XXXXXXXXXX!,1,PSTN3,standard



Harry
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.