[Asterisk-Users] ASTCC configuration problem
Steve Totaro
asterisk at totarotechnologies.com
Wed Jan 12 08:30:18 MST 2005
> > Steve,
> >
> > What version of MySQL are you running? I upgraded to 4.1.8 and ran into
> the
> > problem below. I initially tested with the user root and the default
> blank
> > password and was OK. But when I changed over to a new user with a
> password,
> > I noticed an error message in the httpd logs:
> >
> > Client does not support authentication protocol requested by server;
> > consider upgrading MySQL client
> >
> >
> > Once I converted to OLD_PASSWORD for the user, I was OK. Remember to
set
> > the password for the user at host matching the host name you have used in
the
> > config file.
> >
> > http://dev.mysql.com/doc/mysql/en/Old_client.html
> >
> >
> > Karl Putz
>
>
> Karl,
>
> Thanks for your reply. It actually was not the problem but lead me one
step
> closer to getting everything working. I had to change permissions to
> /var/lib/astcc/* so that it was writeable. Now everything looks like it
> should work but when I call the script it just terminates like below.
> == Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/201-2c52'
> -- Executing Answer("SIP/201-0bef", "") in new stack
> -- Executing DeadAGI("SIP/201-0bef", "astcc.agi") in new stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/astcc.agi
> == Spawn extension (from-internal, 77, 2) exited non-zero on
> 'SIP/201-0bef'
>
> Nothing is heard on the phone. I have a feeling I am very close. Any
help
> is appreciated.
>
> Steve
If nothing else, my efforts are documented for anyone else in the same boat.
It seems that you can debug agi by typing agi debug at the * command line.
Amazing! Here is the output. I am assuming that since astcc-tone didnt
play, the problem lies there. Thoughts?
AGI Debugging Enabled
-- Accepting AUTHENTICATED call from x.x.x.x, requested format = 1024,
actual format = 2
-- Executing Answer("IAX2/200 at 200/5", "") in new stack
-- Executing DeadAGI("IAX2/200 at 200/5", "astcc.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/astcc.agi
AGI Tx >> agi_request: astcc.agi
AGI Tx >> agi_channel: IAX2/200 at 200/5
AGI Tx >> agi_language: en
AGI Tx >> agi_type: IAX2
AGI Tx >> agi_uniqueid: 1105546846.5
AGI Tx >> agi_callerid: "(Softphone) Steve\'s Dell" <200>
AGI Tx >> agi_dnid: 77
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: from-internal
AGI Tx >> agi_extension: 77
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << ANSWER
AGI Tx >> 200 result=0
AGI Rx << STREAM FILE astcc-tone 0123456789
AGI Tx >> 200 result=0 endpos=0
More information about the asterisk-users
mailing list