Using a csv file to dictate Least cost routing

Discussion in 'General' started by GodLovesATrier, Dec 16, 2009.

  1. GodLovesATrier

    Joined:
    Nov 5, 2009
    Messages:
    16
    Likes Received:
    0
    Hi all.

    I have an elastx 1.5 box and I have set up least cost routing in the UK manually. From my Voip provider I have been given a few ".csv" files with numbers they charge differently and I am wanting to route a call of a certain number to a spacific trunk, Can this be done, if not will I be able to just copy all the 'allowed' numbers into the dial plan which in some cases will be 2000+ lines.

    Thanks for your time.
     
  2. adopilot

    Joined:
    Oct 2, 2009
    Messages:
    20
    Likes Received:
    0
    I tryed sometihing similar in this post
    http://www.elastix.org/component/option ... ,en/#39317

    What I did is that I madded changes in MYSQL according to my needs and after I reload confguration, My routes did worked well.
    I know for sure that MYSQL can read in CSV files, I do that when I comparing Post Bills whit records in csv bases.
    You shold show structure of Your CSV files and Ill look at Base to see can We assort files from CSV to MYSQL base.

    Also If this read someone whit more experience let us know if possible this done trought adding rows in MYSQL,
    Or we need to edit additional data in config files
     

Share This Page