[Users] Help in pstn.cfg

Daniel-Constantin Mierla daniel at voice-system.ro
Sat Jul 1 23:54:10 CEST 2006


Have you created the proper tables using the openser_mysql.sh script? 
Seems that there is an integer column whose value is not a valid number. 
It might not be from authentication if you use other modules with 
database interaction.

Cheers,
Daniel

On 07/01/06 14:26, Abdul Lateef wrote:
> Hello,
>
> I did configure for PSTN and it is working well. 
>
> Again i tried to use MySQL for user authuntication and
> i followed this tutorial 
> http://www.voip-info.org/wiki/view/Realtime+Integration+Of+Asterisk+With+OpenSER
> But i am getting some error on REGISTER method:
>
> if (method=="REGISTER") {
>  if (!www_authorize("localhost", "subscriber")) {
>   www_challenge("localhost", "0");
>    return;
>   };
> save("location");
> return;
> };
>
> ERROR::
> Jul  1 14:59:53 main openser[25713]: str2val: Error
> while converting integer value from string 
> Jul  1 14:59:53 main openser[25713]: convert_row:
> Error while converting value 
> Jul  1 14:59:53 main openser[25713]: convert_rows:
> Error while converting row #0 
> Jul  1 14:59:53 main openser[25713]: convert_result:
> Error while converting rows 
> Jul  1 14:59:53 main openser[25713]: store_result:
> Error while converting result 
>
> Thank You
> abdul
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the sr-users mailing list