Re: [Quexs-discuss] Authentication & Asterisk 1.6.2+
Web based system for Computer Assisted Telephone Interviewing (CATI)
Brought to you by:
azammitdcarf
|
From: Adam Z. <ada...@ac...> - 2010-03-23 01:52:02
|
Dear Mathis,
The creation of a default number 039... is when queXS is unable to
find a suitable phone number from the sample. Can you give a short
example of records in the sample and their data (maybe the first 3
rows or so?)
Also, queXS now handles full addressing of Asterisk extensions, so
make sure that they are specified in the format:
SIP/5000
or
IAX2/5000
(for extension 5000 on either SIP or IAX)
Regards,
Adam Zammit
On 17 March 2010 00:35, Mathis O Azubike <mat...@ug...> wrote:
> Adam,
> Thank you for your assistance, now my problem is that when I try to add respondents, I am not able to add nor edit their phone numbers and this creates a default number 039...... Now when I click on call supervisor, I receive a call on my phone, but I look at the debug info of Asterisks, I noticed that it call and extension 039..... and then ends up calling default which gives you the welcome message of of asterisk initial setup. I also looked at the respondent table of quexs and there is no column for phone numbers, What do u suggest I do.
>
> Mathis
> ----- Original Message -----
> From: "Adam Zammit" <ada...@ac...>
> To: "Mathis O Azubike" <mat...@ug...>
> Cc: "queXS discuss" <que...@li...>
> Sent: Monday, March 15, 2010 9:31:45 PM GMT -05:00 US/Canada Eastern
> Subject: Re: [Quexs-discuss] Authentication & Asterisk 1.6.2+
>
> Dear Mathis,
>
> I hope you are progressing further with your installation!
>
> One thing to note is that your asterisk permissions need originate and reporting
>
> see my example here:
>
> [admin]
> secret = secretpassword
> deny=0.0.0.0/0.0.0.0
> permit=127.0.0.1/255.255.255.0
> read = system,call,log,verbose,command,agent,user,originate,reporting
> write = system,call,log,verbose,command,agent,user,originate,reporting
>
> Also, if possible, please reply to the mailing list so others may
> assist (I have cc'ed this to the mailing list)
>
> Regards,
> Adam Zammit
>
> On 11 March 2010 20:29, Mathis O Azubike <mat...@ug...> wrote:
>>
>> Adam,
>> Thank you for helping me. This is what I have for ht configuration.
>> 1 .htaccess
>> AuthName "Authentication Required"
>> AuthType Basic
>> AuthUserFile /home/azgametu/public_html/quexs/.htpasswd
>> AuthGroupFile /home/azgametu/public_html/quexs/.htgroup
>> require group admin
>> 2 .htgroup
>> admin: mathis king admin
>> user: test1 test2 king admin
>> 3 .htpasswd
>>
>> mathis:aaaaaaaaaaaaa
>>
>>
>> 4 The first time I tried with basic authentication. I logged in but I was still getting the error that Server side authentication is not enabled. the problem is that I run Cpanel server and apache is run as CGI so I had to mofdify the function.operator.php with
>>
>> // split the user/pass parts
>> list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));
>>
>> This solved the problem of PH authentication.
>>
>> 5. My asterisk box is 1.6.2+ and the manager.conf file config is ;
>>
>> [general]
>> enabled = yes
>> webenabled = yes
>> port = 5038
>> httptimeout = 60
>>
>> [azubike]
>> secret=queens
>> writetimeout=100
>> read=system,call,log,verbose,command,agent,user,config
>> write=system,call,log,verbose,command,agent,user,config
>> permit=0.0.0.0/0.0.0.0
>>
>> And I know it connects to the manager because when I run asterisk in verbose mode I see that there s a connection right when I run the php function in voip folder of quexs
>>
>> asterisk*CLI> manager show users
>> asterisk*CLI>
>> username
>> --------
>> mark
>> azubikek*CLI>
>> -------------------
>> 2 manager users configured.
>>
>>
>> V/R
>> Mathis
>>
>>
>> -----Original Message-----
>> From: ada...@ac... [mailto:ada...@ac...]
>> Sent: Wednesday, March 10, 2010 7:45 PM
>> To: Chris Mylonas
>> Cc: Azubike, Mathis IS3; que...@li...
>> Subject: Re: [Quexs-discuss] Authentication & Asterisk 1.6.2+
>>
>> Dear Mathis,
>>
>> You will receive the error about user authentication, even if your
>> users have been correctly set up with Apache authentication if you
>> have not also added them as queXS users (under "Add Operator to the
>> system" in the admin screen) Please confirm that the username field
>> exactly matches the apache authentication username.
>>
>> The message "No VoIP" indicates that VOIP is not enabled in the queXS
>> configuration file. Please confirm that you have done this. (i.e in
>> config.inc.local.php defined:
>>
>> define('VOIP_ENABLED',true);
>> define('VOIP_ADMIN_PASS','yourpassword');
>> define('VOIP_SERVER','your.server.org');
>>
>> Regards,
>> Adam Zammit
>>
>>
>> On 11 March 2010 11:40, Chris Mylonas <ch...@mr...> wrote:
>>> Hi Mathis,
>>>
>>> You've got two problems, and you'll need to post a little bit more info.
>>>
>>>
>>> 1. Can yo post your .htaccess file - it sounds like you have your
>>> virtualhost set up correctly.
>>>
>>> 2. Can you post your manager.conf settings from asterisk.
>>>
>>> 3. Are you able to log into the asterisk CLI? If so, do a "manager show
>>> users"
>>>
>>>
>>> Cheers
>>> Chris
>>>
>>>
>>>
>>> On Wed, Mar 10, 2010 at 10:26 PM, Azubike, Mathis IS3
>>> <Mat...@us...> wrote:
>>>>
>>>> Please Help,
>>>>
>>>> I have managed to install the QueXS system and I am having authentication
>>>> errors. I have set up a basic apache authentication system using .htaccess
>>>> and .htpasswd but I stiill get the error regarding user authentication.
>>>> Secondly, I have set the configuration for my QueXS to connect to my
>>>> asterisk server and when I run the php voip funtion I can see the debug
>>>> msg
>>>> on my asterisk server but the home page still says "NO VOIP". Pleae can
>>>> you
>>>> tell me what I am doing wrong. Thanks
>>>>
>>>> Mathis
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download Intel® Parallel Studio Eval
>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>> proactively, and fine-tune applications for parallel performance.
>>>> See why Intel Parallel Studio got high marks during beta.
>>>> http://p.sf.net/sfu/intel-sw-dev
>>>> _______________________________________________
>>>> Quexs-discuss mailing list
>>>> Que...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/quexs-discuss
>>>
>>>
>>>
>>> --
>>> ======================
>>>
>>> Chris Mylonas
>>>
>>> Web Systems Administrator
>>> Omnium Research Group
>>> College Of Fine Arts
>>> University of NSW
>>> www.omnium.net.au
>>>
>>> Communications, Internetworking, Software Design & Prototyping
>>> Consultant
>>> www.mrvoip.com.au
>>>
>>> Open Source Software Projects
>>> Founder
>>> www.opencsta.org
>>> www.nursepaging.com
>>>
>>> ======================
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> Quexs-discuss mailing list
>>> Que...@li...
>>> https://lists.sourceforge.net/lists/listinfo/quexs-discuss
>>>
>>>
>>
>
|