I am trying to bring up the anthentication module. Here are the list of what I have done.
1. Create MySQL tables and modify the permissions (SER could connect MySQL successfully)
2. Modify SER configuration (See below)
loadmodule "//usr/lib/ser/modules/mysql.so"
loadmodule "//usr/lib/ser/modules/auth.so"
modparam("usrloc", "db_url", "sql://ser:heslo@localhost/ser")
modparam("usrloc", "db_mode", 2)
modparam("auth", "db_url", "sql://ser:heslo@localhost/ser")
modparam("auth", "user_column", "user_id")
modparam("auth", "calculate_ha1", yes)
modparam("auth", "password_column", "password")
if (uri=~"sip\.abcd\.com") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("sip.abcd.com", "subscriber")) {
www_challenge("sip.abcd.com", "0");
break;
};
save("location");
break;
};
After all these changes, SER could start without problem. But it seems that the Auth module doesn't take effect. For whatever username/password (whether it's included in the subscriber table or not), SER just allow the registration.
What maybe the problem? Is there anything wrong with the configuration?
Thanks.
Hi,
I tested auth_radius module with freeradius and it works perfecly
But now i would like test it with Microsoft IAS.
Is it possible ?
Even if i had Attribute in Dictionary
I have this error on IAS Event :
A malformed request was received from client Sip. The data is the packet.
Thank you for your help
Yours faith fully
I know I can do this, but I can't figure out how.
How can I put a button on my web site that says 'call me'.
Given two SIP accounts, assuming they are registered, can I
connect the two???
---greg
Hi,
I downloaded the latest CVS snapshot in order to test the PA module. Unfortunately when I start up SER I get this error:
0(19596) ERROR: load_module: could not open module </opt/bin/ser/lib/ser/modules/pa.so>: /opt/bin/ser/lib/ser/modules/pa.so: undefined symbol: default_expires
Any idea what could be happening here.
The entire output is:
0(19596) loading module /opt/bin/ser/lib/ser/modules/sl.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/tm.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/rr.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/maxfwd.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/usrloc.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/registrar.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/jabber.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/pa.so
0(19596) ERROR: load_module: could not open module </opt/bin/ser/lib/ser/modules/pa.so>: /opt/bin/ser/lib/ser/modules/pa.so: undefined symbol: default_expires
0(19596) parse error (38,13-48): failed to load module
0(19596) find_param_export: found <db_mode> in module usrloc [/opt/bin/ser/lib/ser/modules/usrloc.so]
0(19596) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/opt/bin/ser/lib/ser/modules/maxfwd.so]
0(19596) find_export: found <sl_send_reply> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
0(19596) find_export: found <sl_send_reply> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
0(19596) find_export: found <save> in module registrar [/opt/bin/ser/lib/ser/modules/registrar.so]
0(19596) find_export: found <lookup> in module registrar [/opt/bin/ser/lib/ser/modules/registrar.so]
0(19596) find_export: found <sl_send_reply> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
0(19596) find_export: found <t_relay> in module tm [/opt/bin/ser/lib/ser/modules/tm.so]
0(19596) find_export: found <sl_reply_error> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
ERROR: bad config file (1 errors)
0(19596) INFO: signal 15 received
0(19596) Memory status (pkg):
0(19596) qm_status (0x809e800):
0(19596) heap size= 1022872
0(19596) used= 0, used+overhead=25704, free=997168
0(19596) max used (+overhead)= 25704
0(19596) dumping all allocked. fragments:
0(19596) dumping free list stats :
0(19596) hash= 521. fragments no.: 1
0(19596) -----------------------------
Thanks,
Ricardo
On Fri, 14 Mar 2003 17:22:14 -0500
"Bo" <boman122(a)yahoo.com> wrote:
> Hi Sebastien,
>
> I saw your post on SER mialing list regarding the SER logging and the mighty HelloWorld.cfg. Actually I met the same problem with yours. Whatever configuration options I changed, the only thing I could see in the /var/log/messages are as follows.
>
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
> Mar 14 17:56:49 dda ser[15316]: INFO: fifo process starting: 15316
> Mar 14 17:56:49 dda ser[15316]: SER: open_uac_fifo: fifo server up at /tmp/ser_fifo...
>
> Did you solve your problem finally? If yes, can you give me some hints?
Yes!
I simply start ser in mono-process mode, with `ser -E -f HelloWorld.cfg'.
-- Sebastien
Hi,
I just got the latest snapshot from CVS, it all compiles fine but ser
produces submit_query errors in the log. In particular it comments that
field "user" is not found.
It seems to work after I changed char* user_col = "user" in
modules/usrloc/ul_mod.c to
char* user_col = "username";
Stephan
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
XPhone is another SIP UA soft client [Windows PC and PocketPC/CE] that works
well with SER. The Beta version is free and you can download it here:
http://xphone.xten.net
Cheers,
Erik Lagerway