Page 1 of 1
on web phone creation, mysql password shows default to 1234
Posted:
Thu Dec 28, 2006 12:08 pm
by ramindia
Hi
i just downloaded latest SVN, and testing my test server
when iam installing time, i have changed the password of CRON user
when iam installing time also install.pl will ask the same question
i have entered latest information of my password
iam able to see the update in /etc/astguicong file also
but when iam creating phone, iam getting still cron/1234, where is this getting from ? any idea
how can i ask this script to pick up from new password and display
ram
Posted:
Fri Dec 29, 2006 10:50 am
by mflorell
what do you have set in the servers table for cron logins?
Posted:
Fri Dec 29, 2006 11:39 am
by ramindia
Hi
this what myserver tables looks like
+-----------+------------------------------------+---------------+--------+------------------+---------------------+-------------+-------------+----------------+--------------+----------------------+----------------------+--------------------+-----------+----------------------+-----------------------+-------------+--------------+----------------+------------+-------------------------+--------------------------+
| server_id | server_description | server_ip | active | asterisk_version | max_vicidial_trunks | telnet_host | telnet_port | ASTmgrUSERNAME | ASTmgrSECRET | ASTmgrUSERNAMEupdate | ASTmgrUSERNAMElisten | ASTmgrUSERNAMEsend | local_gmt | voicemail_dump_exten | answer_transfer_agent | ext_context | sys_perf_log | vd_server_logs | agi_output | vicidial_balance_active | balance_trunks_offlimits |
+-----------+------------------------------------+---------------+--------+------------------+---------------------+-------------+-------------+----------------+--------------+----------------------+----------------------+--------------------+-----------+----------------------+-----------------------+-------------+--------------+----------------+------------+-------------------------+--------------------------+
| XXXXXX | xxxx Consuliting of Dialer server | x.x.x.x | Y | 1.2.14 | 96 | localhost | 5038 | cron | mypassword | updatecron | listencron | sendcron | 5.50 | 85026666666666 | 8365 | default | Y | Y | FILE | N | 0 |
+-----------+------------------------------------+---------------+--------+------------------+---------------------+-------------+-------------+----------------+--------------+----------------------+----------------------+--------------------+-----------+----------------------+-----------------------+-------------+--------------+----------------+------------+-------------------------+--------------------------+
ram
Posted:
Fri Dec 29, 2006 12:03 pm
by mflorell
What script is giving you the problem, and what is the error output it is giving you?
Posted:
Fri Dec 29, 2006 11:29 pm
by ramindia
Hi Matt
iam not getting errors,
when iam creating the Phone
After Submit, the user created, when iam iam try to modify
i see the DBX Pass, shows default 1234, rather my new password.
iam changing manually and submitting, iam not sure if i leave default
to 1234, iam getting any error, but iam manually modifying
iam just posting information, is there any place i can change,
so that its automatically take new password rather default password.
ram
Posted:
Sat Dec 30, 2006 6:18 am
by mflorell
That is the database default for those fields.
You would need to ALTER TABLE phones MODIFY ...
in MySQL to change those default values.
Posted:
Sat Dec 30, 2006 2:05 pm
by ramindia
Hi
i can alter the tables when the data is there,
but where is this values coming from
so if i change that values, when ever i create the phone, so i no need to allter phone table always right
so iam looking the source picking up from
ram
Posted:
Sat Dec 30, 2006 4:23 pm
by mflorell
That is the source, nothing is inserted into those fields so MySQL takes the default values.
Posted:
Mon Jan 01, 2007 1:01 pm
by vctor
It's the default value of the password for this table.
Posted:
Mon Jan 01, 2007 11:29 pm
by ramindia
how can i customise to my password
so that everytime when iam creating phone
i dont need to change this fileds also..
ram
Posted:
Tue Jan 02, 2007 10:29 am
by vctor
You need to learn ALTER TABLE command in mysql to change the default value
Posted:
Tue Jan 02, 2007 11:07 pm
by ramindia
Hi
i got it what people talking about
thanks all
ram