Hi,
I tried with sql:// instead of mysql:// and I get the same error...
Anyway, I still get the error when I put that :
modparam("usrloc", "db_mode", 1)
#modparam("usrloc", "db_url",
"sql://ser:heslo@localhost/ser")
Help :-(
Gwen
On 09-11 14:26, E. Versaevel wrote:
First of all put a linebreak between them, they
should not be on the
same
line, and if I'm not mistaken the sql url should be
sql://user:password@server/database not mysql://
It depends on SER version, 0.8.99-xx uses "mysql:" (or the name of the
database driver, to be more precise), 0.8.14 uses "sql:"
Jan.
>-----Oorspronkelijk bericht-----
>Van: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]
>Namens
>g.billoudet(a)arwen-tech.fr
>Verzonden: dinsdag 9 november 2004 14:18
>Aan: serusers(a)lists.iptel.org
>Onderwerp: [Serusers] receive_msg: no mem for sip_msg
>
>
>Hi,
>
>When I put these lines in ser.cfg :
>modparam("usrloc", "db_mode", 1)
>modparam("usrloc", "db_url",
"mysql://ser:heslo@localhost/ser")
>
>Then I get this error each time my ser gets a sip message :
> ERROR: receive_msg: no mem for sip_msg
>
>(and ser doesn't work and I can't have phone call)
>
>
>The probleme comes from the script ser.cfg or from mysql ?
>
>
>Thanks
>
> Gwen
>
># ----------- global configuration parameters ------------------------
>debug=1
>fork=yes
>log_stderror=yes
>memlog=0
>sip_warning=yes
>listen=10.0.1.139
>listen=127.0.0.1
>
>check_via=no # (cmd. line: -v)
>dns=no # (cmd. line: -r)
>rev_dns=no # (cmd. line: -R)
>fifo="/tmp/ser_fifo"
>port=5060
>children=4
>alias="arwen-tech.fr"
>alias="10.0.1.139"
>
># ------------------ module loading ----------------------------------
>loadmodule "/usr/local/lib/ser/modules/mysql.so"
>loadmodule "/usr/local/lib/ser/modules/sl.so"
>loadmodule "/usr/local/lib/ser/modules/tm.so"
>loadmodule "/usr/local/lib/ser/modules/rr.so"
>loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
>loadmodule "/usr/local/lib/ser/modules/usrloc.so"
>loadmodule "/usr/local/lib/ser/modules/registrar.so"
>
># ----------------- setting module-specific parameters ---------------
># -- usrloc params --
>modparam("usrloc", "db_mode", 1)
>modparam("usrloc", "db_url",
"mysql://ser:heslo@localhost/ser")
>
># -- rr params --
>modparam("rr", "enable_full_lr", 1)
>
># ------------------------- request routing logic -------------------
>route{
> if (!mf_process_maxfwd_header("10")) {
> sl_send_reply("483","Too Many Hops");
> break;
> };
> if ( msg:len > max_len ) {
> sl_send_reply("513", "Message too big");
> break;
> };
> record_route();
> if (loose_route()) {
> t_relay();
> break;
> };
>
> if (uri == myself) {
> if (method=="REGISTER") {
> save("location");
> sl_send_reply("200","REGISTER OK");
> break;
> };
> if (!lookup("aliases")) {
> log(1, "ALIASES FAILED\n");
> };
> if (lookup("location")) {
> log(1, "USER FOUND\n");
> if (!t_relay()) {
> sl_reply_error();
> };
> } else {
> log(1, "USER NOT FOUND\n");
> sl_send_reply("404", "User not found");
> break;
> };
> } else {
> log(1, "OUT REALM\n");
> t_relay();
> break;
> };
>}
>
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org