Dialplan for a specific Extension

Discussion in 'General' started by isuzupi, Sep 29, 2009.

  1. isuzupi

    Joined:
    Jun 16, 2009
    Messages:
    8
    Likes Received:
    0
    Hello,

    I have an Asterisk PBX running. I also have a few SIP lines (SIP trunks) registered and configured.

    What I want to do is that all the outgoing calls from a specific extension, going out for a specific SIP line (and not for through the other lines).

    I don't know exactly if I can configure it directly in the FreePBX web management or if I have to edit some file (and in this case I don't know what is the exactly file that I have to edit and how).

    I will be very gratefull for every help.

    Thanks in advance.
     
  2. lemuelgv

    Joined:
    Sep 9, 2008
    Messages:
    73
    Likes Received:
    0
    you need create a custom context for the extension

    then, yo can edit the extensions_custom.conf

    freepbx don´t modify this file
     
  3. lemuelgv

    Joined:
    Sep 9, 2008
    Messages:
    73
    Likes Received:
    0
    you need create a custom context for the extension

    then, yo can edit the extensions_custom.conf

    this fileis not modified by freepbx
     
  4. yashi

    Joined:
    Sep 30, 2009
    Messages:
    4
    Likes Received:
    0
    I don't think you can make such restrictions via freepbx web. I'm agreeing with lemuelgv that to do so, you must create some custom dial plans in the "extensions_custom.conf" file
     
  5. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
    yes you can do it with the freepbx gui.
    You just need to use the optional module 'custom context'.
    However this module is unsupported and maybe not be working with the next freepbx version.

    Also be careful with it, it's a powerful tool that can do a lot of damage if you use it wrong.

    I'm using it, and so far I'm happy with it.

    Some info on this module are available in Elastix Without Tears.
     

Share This Page