Page 5 of 20 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 198

Thread: Asterisk PBX Integration Zimlet (new)

  1. #41
    chlauber is offline Senior Member
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    6

    Default Logs?

    BTW: For better debugging also look in mailboxd.log. See BNC Business Network Communications AG - Asterisk PBX Integration Zimlet how to raise debug level for zimlet logs.

  2. #42
    bluecc is offline Intermediate Member
    Join Date
    May 2008
    Posts
    15
    Rep Power
    6

    Default

    This is the setting in sip.conf for extension 200

    Code:
    [200]
    type=friend
    nat=yes
    canreinvite=no
    insecure=very
    host=dynamic
    secret=****
    username=200
    context=phones
    insecure=very

  3. #43
    chlauber is offline Senior Member
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    6

    Default

    hmm so phones seems to be definitively the right context setting. Could you please rise the zimlet debug level and post the releveant logs from mailbox.log?

  4. #44
    bluecc is offline Intermediate Member
    Join Date
    May 2008
    Posts
    15
    Rep Power
    6

    Default

    Sure thing. Can you refresh me on where to enable that and where mailbox.log would be? I'm relatively new to Zimbra so still getting the hang of things.

    Thanks!

  5. #45
    chlauber is offline Senior Member
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    6

    Default

    You'll find the instructions at BNC Business Network Communications AG - Asterisk PBX Integration Zimlet section "Debugging", Subtitle "Serverside"

  6. #46
    bluecc is offline Intermediate Member
    Join Date
    May 2008
    Posts
    15
    Rep Power
    6

    Default

    Got that debug going and here's what I get in the log when I try to make a call. Note that I put 5555555 as the callee number here only.

    Code:
    2009-01-05 14:32:20,105 INFO  [btpool0-7] [] AuthProvider - Adding auth provider: zimbra com.zimbra.cs.service.ZimbraAuthProvider
    2009-01-05 14:32:20,603 DEBUG [btpool0-7] [] zimlet - Getting ch_bnc_asterisk config
    2009-01-05 14:32:20,603 DEBUG [btpool0-7] [] zimlet - {local={}, site={}, global={astManagerIp=our.server.com, enableSMS=true, astManagerPort=5038, astManagerUser=administrator, astSMSSendContext=sms-send, astSMSCenterChannel=CAPI/g1/0622100000, phonebookUrlCommonParams=ext=1, matchingRegExp=(\s|\t|^)\+?(\s?((\(\d{1,4}\))|(\d{1,4}))){6,10}(=?((\.|\,)?(\n|\r\n|\s|\t|$))), astDialChannelType=SIP, iddPrefix=00, astSMSVariable=SMS_MESSAGE, phonebookBaseUrl=http://tel.local.ch/q/, maxSMSLength=160, astDialContext=phones, astManagerSecret=OURPASS, phonebookUrlNumberParam=phone, srcPhonePrefix=, astActionTimeout=8000}}
    2009-01-05 14:32:20,604 DEBUG [btpool0-7] [] zimlet - astManagerIp:our.server.com port:5038 user:administrator
    2009-01-05 14:32:20,616 DEBUG [btpool0-7] [] zimlet - Encoding: UTF-8
    2009-01-05 14:32:20,616 DEBUG [btpool0-7] [] zimlet - URL Params:
     info: null caller: 100 callee: 6306407999 smsFrom: null smsTo: null smsMsg:
     null
    2009-01-05 14:32:20,616 INFO  [btpool0-7] [] zimlet - ch_bnc_asterisk caller: 100 callee 5555555
    2009-01-05 14:32:20,616 DEBUG [btpool0-7] [] zimlet - Checking Extension state
    2009-01-05 14:32:20,617 INFO  [btpool0-7] [] ManagerConnectionImpl - Connecting to our.server.com:5038
    2009-01-05 14:32:20,661 INFO  [Asterisk-Java ManagerConnection-0-Reader-0] [] ManagerConnectionImpl - Connected via Asterisk Call Manager/1.0
    2009-01-05 14:32:20,699 INFO  [btpool0-7] [] ManagerConnectionImpl - Successfully logged in
    2009-01-05 14:32:20,779 INFO  [btpool0-7] [] ManagerConnectionImpl - Determined Asterisk version: Asterisk 1.4
    2009-01-05 14:32:20,779 INFO  [btpool0-7] [] zimlet - Logged in asterisk manager.
    2009-01-05 14:32:20,779 INFO  [btpool0-7] [] zimlet - Logged in asterisk manager.
    2009-01-05 14:32:20,780 DEBUG [btpool0-7] [] zimlet - handleRequest ok
    2009-01-05 14:32:20,781 DEBUG [btpool0-7] [] zimlet - {"callee":"5555555","extenState":-1,"extenStateWarning":true,"originateSuccess":false}
    2009-01-05 14:32:20,789 INFO  [Asterisk-Java ManagerConnection-0-Reader-0] [] ManagerReaderImpl - Terminating reader thread: No more lines available: null
    2009-01-05 14:32:20,790 INFO  [btpool0-7] [] ManagerConnectionImpl - Closing socket.

  7. #47
    chlauber is offline Senior Member
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    6

    Default

    So the number of your voip phone is still 200? Now it looks like its configured for number 100:
    ch_bnc_asterisk caller: 100 callee 5555555

  8. #48
    bluecc is offline Intermediate Member
    Join Date
    May 2008
    Posts
    15
    Rep Power
    6

    Default

    That's correct. I'm at my office now and my exntension here is 100. I was using 200 earlier to test from my extension I use at home. However, both were not working. Hopefully that explains a little more. Sorry for not mentioning that.

  9. #49
    chlauber is offline Senior Member
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    6

    Default

    I can't find something wrong in zimlet logs So lets look more closely at asterisk to debug. Your voip phone is using SIP, right? So lets turn sip debug on. Use command
    Code:
    sip set debug
    on the asterisk cli. Then try click-on-dial in zimbra again.

  10. #50
    chlauber is offline Senior Member
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    6

    Default

    Just to ensure there is not a handling problem. Normally the dialing should work that way:
    • Click phone number in Zimbra.
    • Wait until your phone rings. (Maybe message "Pickup phone to dial number #######" appears before ringing)
    • Pickup the phone to dial the clicked number
    • Message "Successfully dialed #######" appears
    • Call should take place

    Mabybe you just picked up the phone before it rang?

Page 5 of 20 FirstFirst ... 3456715 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 07: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, 08: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
  •