The script wouldn’t load if I specified a auth-int as well as auth.  I removed 
auth-int entirely and the script runs.

> On 6 Jan 2021, at 5:26 am, Vlad Patrascu <vl...@opensips.org> wrote:
> 
> Hi Michael,
> 
> Regarding the qop issue, you should pass for that parameter a string value of 
> "auth", "auth-int", or both separated by ','.
> 
> Regards,
> 
> -- 
> Vlad Patrascu
> OpenSIPS Developer
> http://www.opensips-solutions.com
> 
> On 05.01.2021 19:50, Michael Vale via Users wrote:
>> Hi,
>> 
>> I’m attempting to do auth with AAA,
>> 
>> I was met with an error of no Cisco vendor and no SIP-URI-Host Attribute 
>> which I added to the dictionaries.
>> 
>> Now www_challenge thinks either “0” or “1” is an invalid qop type.           
>>                                                                 
>> 
>>                                                                              
>>  ERROR:auth:fixup_qop: Bad qop type
>> Jan 06 04:42:14 unispy /usr/sbin/opensips[29711]: ERROR:core:fix_cmd: Fixup 
>> failed for param [2]
>> Jan 06 04:42:14 unispy /usr/sbin/opensips[29711]: ERROR:core:fix_actions: 
>> Failed to fix command <www_challenge>
>> Jan 06 04:42:14 unispy /usr/sbin/opensips[29711]: ERROR:core:fix_actions: 
>> fixing failed (code=-1) at /etc/opensips/opensips.cfg:216
>> Jan 06 04:42:14 unispy /usr/sbin/opensips[29711]: ERROR:core:main: failed to 
>> fix configuration with err code -1
>> Jan 06 04:42:14 unispy /usr/sbin/opensips[29711]: INFO:core:cleanup: cleanup
>> Jan 06 04:42:14 unispy /usr/sbin/opensips[29711]: NOTICE:core:main: 
>> Exiting....
>> Jan 06 04:42:14 unispy opensips[29709]: INFO:core:daemonize: pre-daemon proce
>> 
>>      if (!aaa_www_authorize("")) {
>>             www_challenge("", "1");
>>          };
>> 
>> 
>> Could someone please shed some light on the subject?
>> 
>> Also it would be nice if there was another approach to handling the 
>> SIP-URI-Host and Cisco issue or at least some confirmation that my approach 
>> was the best way to deal with it.
>> 
>> 
>> Regards,
>> 
>> Michael.
>> _______________________________________________
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to