I have one quick question with regards to ser.cfg I have just uncommented all of these lines below,

    - loadmodule "/usr/lib/ser/modules/mysql.so"

    - loadmodule "/usr/lib/ser/modules/auth.so"

    - loadmodule "/usr/lib/ser/modules/auth_db.so"

    - modparam("usrloc", "db_mode", 0)

    - modparam("usrloc", "db_mode", 2)

    - modparam("auth", "calculate_ha1", yes)

    - modparam("auth_db", "password_column", "password")

    - if (!www_authorize("sipserver.ipaxiom.com", "subscriber")) {

        www_challenge("sipserver.ipaxiom.com", "0");

        break;

      };

After having done the above, I tried restarting ser and get an error message, ser failed ERROR: bad config file (2 errors.

In var/log/messages I get error messages

sipserver ser: parse error (126,1-1): syntax error

sipserver ser: parse error (126,1-1): bad command.

 

Now if I comment these lines in the ser.cfg then everything works well.

    - if (!www_authorize("sipserver.ipaxiom.com", "subscriber")) {

        www_challenge("sipserver.ipaxiom.com", "0");

 

Am I missing out on something or there something I am not doing right, hostname of the linux machine as you can see is sipserver.ipaxiom.com

 

I have been googling for the above error message, with no luck.

 

Would appreciate if the ser folks could point me in the right directions

 

Thanks in Advance

 

Best regards

 

Saber

Technical Director

GSM Tel(:             +44 (0) 7775840875

Email+:                saber@ipaxiom.com

msn:                  saber@ipaxiom.com

Mobile Internet is just a click away
============================================================================================================================================
This message is confidential and is for the named recipient (s) only. It may be subject to legal privilege. If you receive this message but are not named recipient or a person responsible for delivering it to a named recipient, please contact us immediately. You must not use, distribute, copy, disclose or take any action in reliance on the e-mail or its contents.
============================================================================================================================================