on web phone creation, mysql password shows default to 1234

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

on web phone creation, mysql password shows default to 1234

Postby ramindia » Thu Dec 28, 2006 12:08 pm

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
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby mflorell » Fri Dec 29, 2006 10:50 am

what do you have set in the servers table for cron logins?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ramindia » Fri Dec 29, 2006 11:39 am

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
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby mflorell » Fri Dec 29, 2006 12:03 pm

What script is giving you the problem, and what is the error output it is giving you?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ramindia » Fri Dec 29, 2006 11:29 pm

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
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby mflorell » Sat Dec 30, 2006 6:18 am

That is the database default for those fields.

You would need to ALTER TABLE phones MODIFY ...
in MySQL to change those default values.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ramindia » Sat Dec 30, 2006 2:05 pm

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
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby mflorell » Sat Dec 30, 2006 4:23 pm

That is the source, nothing is inserted into those fields so MySQL takes the default values.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby vctor » Mon Jan 01, 2007 1:01 pm

It's the default value of the password for this table.
vctor
 
Posts: 49
Joined: Tue Jun 13, 2006 9:32 pm

Postby ramindia » Mon Jan 01, 2007 11:29 pm

how can i customise to my password

so that everytime when iam creating phone
i dont need to change this fileds also..

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby vctor » Tue Jan 02, 2007 10:29 am

You need to learn ALTER TABLE command in mysql to change the default value
vctor
 
Posts: 49
Joined: Tue Jun 13, 2006 9:32 pm

Postby ramindia » Tue Jan 02, 2007 11:07 pm

Hi

i got it what people talking about

thanks all

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India


Return to Support

Who is online

Users browsing this forum: d001, Google [Bot], Majestic-12 [Bot] and 108 guests