Add a new phone model into endpoint configuration

Discussion in 'General' started by razametal, Mar 3, 2010.

  1. razametal

    Joined:
    Jul 9, 2007
    Messages:
    33
    Likes Received:
    0
    Hi,

    I'm using the extensions batch for grandstream provisioning. The box for the phone model only is showing a few models. How can I add a new model like BT200 or GXP280 ?

    Regards,
     
  2. razametal

    Joined:
    Jul 9, 2007
    Messages:
    33
    Likes Received:
    0
    It's very easy.

    Code:
    sqlite3 /var/www/db/endpoint.db
    
    sqlite> .schema model
    CREATE TABLE model(
        id          integer         primary key,
        name        varchar(255)    not null default '',
        description varchar(255)    not null default '',
        id_vendor   integer         not null,
        foreign key (id_vendor)     references vendor(id)
    );
    
    
    sqlite> insert into model values(50,'GXP280','GXP280',3);
    sqlite> insert into model values(51,'BT200','BT200',3);
    sqlite> .exit
    
    Done :)
     
  3. francthetank

    Joined:
    May 17, 2010
    Messages:
    1
    Likes Received:
    0
    Hi

    I am fairly new to elastix. Where do I enter these commands? I am able to log into the machine via the http interface. Do I need to connect the keyboard and monitor to the machine and enter these commands afetr startup, or is there a way through the http gui?
    Regards
     
  4. razametal

    Joined:
    Jul 9, 2007
    Messages:
    33
    Likes Received:
    0
    Do you need to access using ssh.

    These commands are for sqlite application.
     

Share This Page