Can not dial out from action bar

  1. 15 years ago
  2. admin

    4 Jul 2009 Administrator

    Hi Matt. FOP2 is firing the call, but asterisk does not like the destination number.

    What is the extension and context for your buttons in the .cfg file? You must be sure that the extension is valid within the context. And when dialing out, that the context for the original extension is able to dial the number you type.

    in the logs for the successful call I see mentioned the context "from-inside"

    So, in the buttonfile, the context for your extension or other extensions should be aso 'from-inside'

    In your logs I do not see the originate action, so I am not able to see what context did you configure. Anyways, the good news is that is a misconfiguration, not a bug. Please check the buttonfile and change the context to one that includes the extension or numbers that you want to dial.

    Best regards,

    --
    Nicolás

  3. Here is the buttons.cfg

    The mailbox was '1003@default'. I will test again with these settings when I get back.

    Do I need a context to be able to dial and outside number from the action bar?

    [SIP/1000]
    type=extension
    extension=1000
    context=from-internal
    label=Matt
    mailbox=1000@from-internal
    extenvoicemail=*1000@from-internal

    [SIP/1002]
    type=extension
    extension=1002
    context=from-internal
    label=Seth
    mailbox=1002@from-internal
    extenvoicemail=*1002@from-internal

    [SIP/1003]
    type=extension
    extension=1003
    context=from-internal
    label=X-Lite
    mailbox=1003@from-internal
    extenvoicemail=*1003@from-internal

    [DAHDI/1]
    type=trunk
    label=DAHDI 1-23
    channel=DAHDI/1
    channel=DAHDI/2
    channel=DAHDI/3
    channel=DAHDI/4
    channel=DAHDI/5
    channel=DAHDI/6
    channel=DAHDI/7
    channel=DAHDI/8
    channel=DAHDI/9
    channel=DAHDI/10
    channel=DAHDI/11
    channel=DAHDI/12
    channel=DAHDI/13
    channel=DAHDI/14
    channel=DAHDI/15
    channel=DAHDI/16
    channel=DAHDI/17
    channel=DAHDI/18
    channel=DAHDI/19
    channel=DAHDI/20
    channel=DAHDI/21
    channel=DAHDI/22
    channel=DAHDI/23

  4. admin

    4 Jul 2009 Administrator

    Hi,

    In the extension definitions in your buttonfile replace "context=from-internal" with "context=from-inside"

    I believe you are running thirdlane software, I believe this will apply to anyone using it. If you or some other user grants me ssh access to a machine running thirdlane software I will be able to write an automatic config script for it.

    Best regards,

    --
    Nicolás

  5. Aloha,

    I apologize, that was a silly mistake! Thank you for pointing it out.

    I am working on a single tennant Thirdlane box now. I will set up a multi-tennant box and give you ssh access. That would be great if you could create a script.

    I have been talking about the product on the Thirdlane forum - http://www.thirdlane.com/forum/anyone-tried-fop2 - I will be happy to announce the auto script when it is completed. A very knowledgable poster asked if it is 1.6 compatiable; I use 1.4.x now.

    Will the CDR product work with any version of asterisk? The CDR we get from Thirdlane is not good. We are looking for something better.

    -Matt

  6. admin

    5 Jul 2009 Administrator

    Aloha Matt,

    FOP2 is compatible with Asterisk 1.6. There is currently a minor bug in the whisper functionality that I am about to fix.. I will also change the transfer code to use attendant transfers by default on 1.6. I am taking my time because I want to detect the asterisk version automatically so there is no need to touch config files to take advantage of it.

    I will try to get the CDR product ready as soon as possible as there is much interest in it. It is currently working on several places, but I have to clean a version up to make it general enough. There will be a free and a paid version, just like the call center stats. I like the CDRs myself, but the approach is quite unique, it is similar to the call center stats, grouping by extension with drilldown.

    Please try to catch me online on the live help to arrange the ssh access. Best regards,

    --
    Nicolás

or Sign Up to reply!