[ASTPPCOM-223] Cannot create DID Created: 11/Sep/17  Updated: 01/Apr/21  Resolved: 01/Apr/21

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature
Reporter: tridcatij Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hello, was trying to add DID on the fresh ASTPP install.

> A Database Error Occurred
>
> Error Number: 1054
>
> Unknown column 'leg_timeout' in 'field list'
>
> INSERT INTO 'dids' ('id', 'number', 'country_id', 'city', 'province', 'provider_id', 'accountid', 'connectcost', 'includedseconds', 'cost', 'init_inc', 'inc', 'setup', 'monthlycost', 'leg_timeout', 'call_type', 'extensions', 'maxchannels', 'status', 'assign_date') VALUES ('', '6546546544', '200', '', '', '3', '2', '0', '', '0', '', '', '0', '0', '0', '3', '', '', '0', '2017-09-11 09:11:34')
>
> Filename: /var/www/html/astpp/modules/did/models/did_model.php
>
> Line Number: 33



 Comments   
Comment by Samir Doshi [ 11/Sep/17 ]

Please check which version of ASTPP are you using.

If you are on 3.0 then run update.sh script to update to latest version.

Comment by tridcatij [ 11/Sep/17 ]

It's helped, thank you.

Btw, during update there were some errors on Centos 7:

./update.sh: line 68: apt-get: command not found
./update.sh: line 69: apt-get: command not found
./update.sh: line 71: dig: command not found
./update.sh: line 73: ifconfig: command not found

Comment by Samir Doshi [ 11/Sep/17 ]

Please download update.sh file again and try again. It should work now.

Comment by tridcatij [ 11/Sep/17 ]

Thank you. All is fine now.

Generated at Sat Feb 10 07:15:15 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.