Create multiple extensions

Discussion in 'General' started by Gahao, Jul 9, 2010.

  1. Gahao

    Joined:
    Jul 9, 2010
    Messages:
    19
    Likes Received:
    0
    Hi guys,

    How can I create multiple extensions at the same time if my elastix without "Extension Batch" tools?

    Can I upload a file by CLI?

    Please give all solutions. Thank you very much.
     
  2. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    Hi Gahao and welcome.

    You can create one extension using the Elastix interface and then download the csv file as a template. Enter all the extensions and data in the csv file and then upload them again to the server.

    Best regards,

    Rafael
     
  3. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    I will recommend to open and edit the csv file using the calc application of open office, since, using excel, it changes the delimiters, and messes up the information, unless you configure it correctly...

    Remember that the Extension Batch Module currently supports SIP extensions
     
  4. Gahao

    Joined:
    Jul 9, 2010
    Messages:
    19
    Likes Received:
    0
    Hi Rafael,

    Thanks for your reply.

    But how can I find the csv file? Could you give me the directory of it in CLI?
     
  5. Gahao

    Joined:
    Jul 9, 2010
    Messages:
    19
    Likes Received:
    0
    Hi Jorge,

    Yes, I think it is a good way to do that.

    But if my Elastix doesn't support Extension Batch Page in the web, how can I find and upload the csv file to it?

    Thanks very much.
     
  6. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    I dont understand, if you dont have the module on your Elastix, it is because you have an old version, so there will not be the functions to check and upload the csv file.
    I will recommend that you use the web interface.
     
  7. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    this is an Elastix functionality so you should use the Elastix extension batch module in the wbe interface for both: upload & download.

    Regards,

    Rafael
     
  8. Gahao

    Joined:
    Jul 9, 2010
    Messages:
    19
    Likes Received:
    0
    Hi Rafael,

    I think upload it in the web interface that is OK.

    But, can I upload & download it from the CLI? Whether I could upload or download it in the web interface only?
     
  9. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    I guess so, but what you should do is check the code of the module and see how it works. I think it does some mysql and asterisk commands. Then you can create your own bash shell program and share it with us ;)

    Regards,

    Rafael
     

Share This Page