Hello,

the fifo interface for ul_add command has changed. It requires an extra filed containing flags, whose value should be 128 (which means that the contact is permanent -- reqiured for aliases). Also, it requres the METHODs bitmask.

In conclusion, edit the serweb, find the file where write2fifo() is called for adding a new user with command 'ul_add'. Append to fifo command two new lines

128
0xffffffff

If I got the right version of serweb, in html/data_layer.php, line 161, do:

       $fifo_cmd=":ul_add:".$config->reply_fifo_filename."\n".
           $config->fifo_aliases_table."\n".    //table
           $ul_name.    //user
           $sip_address."\n".                    //contact
           $config->new_alias_expires."\n".    //expires
           $config->new_alias_q."\n".         //priority
$replication."\n\n128\n0xffffffff\n"; // replication flag/expires flag/methods bitmask

Try again and see if it works.


Cheers,
Daniel





On 09/15/06 16:38, cv aik wrote:
Hi all,
I have problem to built serweb into openser 1.1.0.
i use openser 1.1.0 and it work succesfully. i can add user by using *openserctl add. *For web interface i use serweb 2004-07. When i tried add new user, i have error message when i click for confirmation. the error is:
*400 ul_add: flags_expected*
I check into the database (mysql), new user was added into subscriber and pending table but the aliases table was not.. When i tried add user by openserctl add, in serweb i can login as that user..
Why it happen?
What should i do to run serweb succesfully?
Thanks for your help..
Aldi

------------------------------------------------------------------------
All-new Yahoo! Mail <http://us.rd.yahoo.com/evt=43256/*http://advision.webevents.yahoo.com/mailbeta>- Fire up a more powerful email and get things done faster.
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to