Hi all,
I am sorry to attach a useless report. What I am trying to say is when I try
to use this two commands in my ser.cfg I get the missing loadmodule error.
The current version of ser I am using is ser-0-8-12, is the nathelper.so in
this version the latest which I can use the above two commands and where can
I get the latest version of nathelper and rtpproxy? Thanks.
Regards,
Shirley
> -----Original Message-----
> From: Maxim Sobolev [SMTP:sobomax@portaone.com]
> Sent: Monday, February 16, 2004 11:40 PM
> To: Shirley Toh
> Cc: SER Users (E-mail)
> Subject: Re: [Serusers] FW: nat module
>
> Shirley Toh wrote:
>
> >
> >>-----Original Message-----
> >>From: Shirley Toh
> >>Sent: Monday, February 16, 2004 5:21 PM
> >>To: SER Users (E-mail)
> >>Subject: nat module
> >>
> >>Hi,
> >>
> >>I am trying the commands of the nat module in my ser.cfg but I have
> >>problem with modparam("nathelper", "ping_nated_only", 1) and the
> >>nat_uac_test. Plese advise.
>
> I am sorry, but it is good example of almost useless problem report.
> Please attach exact error messages if you really want to get a help.
>
> Regards,
>
> Maxim
Hi All,
Made my first voip call over ser today happy days :) Messenger 5
still acting strange but that's Microsoft for you.
Anyway I was wondering whether I can take this voip call and route it
out to real phones via a 56k modem?
Any ideas
Thanks,
Dee
Hi serusers!
I have a simple question, what does wrong with my ser.cfg, when our sip client
(ata) lost the domain and send only the number without domain to sip server?
I get this entry on syslog:
Feb 19 16:37:20 ser /usr/sbin/ser[18289]: ERROR: parse_uri: bad host in uri
(error at char : in state 4) parsed: <sip:55324660005@>(16)
/<sip:55324660005@:0;user=phone> (29)
Regards.
--
|o
|o Drive defensively. Buy a tank.
|o
|o Fabio Silvestri
|o fabio(a)informatec.com.br
|o ICQ: 1667351
|o
See commit message below. The bug was introduced in rev.1.5 of main.c,
so that if you are running version >= 1.5 please do cvs update.
-Maxim
-------- Original Message --------
Subject: [Serdev] CVS:commitlog: rtpproxy main.c
Date: Thu, 19 Feb 2004 22:11:30 +0100
From: Maxim Sobolev <sobomax(a)portaone.com>
To: serdev(a)lists.iptel.org
sobomax 2004/02/19 22:11:30 CET
SER CVS Repository
Modified files:
. main.c
Log:
Fix a critical error introduced in one of previous commits:
bind to all addresses if no explicit bind address is specified. Without
this fix rtpproxy wasn't working if started without explicit ip address
in the command line.
Revision Changes Path
1.8 +3 -2 rtpproxy/main.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/main.c.diff?r1=1.7&r…
_______________________________________________
Serdev mailing list
serdev(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serdev
Folks,
I´m trying to use SER 0.8.12 with FreeRadius 0.9.3 and RadiusClient
0.3.2
So, I get authentication but the radacc do not generate log neither
details directory either "details file"
Could someone help me to fix this ?
I hope that information bellow help you
============== radiusd -X command ===============
rad_recv: Access-Request packet from host 127.0.0.1:32867, id=111,
length=236
User-Name = "16008(a)192.168.0.252"
Digest-Attributes = "\n\00716008"
Digest-Attributes = "\001\017192.168.0.252"
Digest-Attributes = "\002*4035094b8e9d86159d3443828c5dd602835c91d9"
Digest-Attributes = "\004\023sip:192.168.0.252"
Digest-Attributes = "\003\nREGISTER"
Digest-Attributes = "\005\006auth"
Digest-Attributes = "\t\n00000001"
Digest-Attributes = "\010\013abcdefghi"
Digest-Response = "76ec656e18c4e282ae8318f1a1ede8d8"
Service-Type = Sip-Session
Sip-Uri-User = "16008"
NAS-IP-Address = 127.0.0.1
NAS-Port = 5060
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
modcall[authorize]: module "eap" returns noop for request 0
rlm_digest: Converting Digest-Attributes to something sane...
Digest-User-Name = "16008"
Digest-Realm = "192.168.0.252"
Digest-Nonce = "4035094b8e9d86159d3443828c5dd602835c91d9"
Digest-Uri = "sip:192.168.0.252"
Digest-Method = "REGISTER"
Digest-Qop = "auth"
Digest-Nonce-Count = "00000001"
Digest-Cnonce = "abcdefghi"
rlm_digest: Adding Auth-Type = DIGEST
modcall[authorize]: module "digest" returns ok for request 0
rlm_realm: Looking up realm "192.168.0.252" for User-Name =
"16008(a)192.168.0.252"
rlm_realm: No such realm "192.168.0.252"
modcall[authorize]: module "suffix" returns noop for request 0
users: Matched DEFAULT at 152
users: Matched 16008(a)192.168.0.252 at 218
modcall[authorize]: module "files" returns ok for request 0
modcall[authorize]: module "mschap" returns noop for request 0
modcall: group authorize returns ok for request 0
rad_check_password: Found Auth-Type Digest
auth: type "digest"
modcall: entering group authenticate for request 0
A1 = 16008:192.168.0.252:teste
A2 = REGISTER:sip:192.168.0.252
KD =
ced97c4bdc31efb9e87d518cbf7199de:4035094b8e9d86159d3443828c5dd602835c91d
9:00000001:abcdefghi:auth:157f8b98cafef48ffc426fbd0e38c842
modcall[authenticate]: module "digest" returns ok for request 0
modcall: group authenticate returns ok for request 0
radius_xlat: 'Authenticated'
Login OK: [16008(a)192.168.0.252/<no User-Password attribute>] (from
client localhost port 5060) Sending Access-Accept of id 111 to
127.0.0.1:32867
Reply-Message = "Authenticated"
Finished request 0
========= ser.cfg file ================
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
#debug=3 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
#/* Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
#*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
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"
loadmodule "/usr/local/lib/ser/modules/acc.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this
config),
# uncomment also the following parameter)
#
#modparam("auth_db", "password_column", "kknd22")
modparam("auth_radius","radius_config","/usr/local/etc/radiusclient/radi
usclient.conf")
modparam("auth_radius","service_type",15)
modparam("acc","radius_config","/usr/local/etc/radiusclient/radiusclient
.conf")
modparam("acc", "service_type", 15)
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)
modparam("acc","radius_flag",1)
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
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;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!radius_www_authorize("")) {
www_challenge("", "1");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
Thanks in advance
Jadylson Bomfim
Redevox Telecom
+55 34 32347813
www.redevox.com.br
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.592 / Virus Database: 375 - Release Date: 18/2/2004
Please always CC the mailing list, comments inline.
On 19-02 17:59, Dee Lowndes wrote:
> > -----Original Message-----
> > From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]
> On
> > Behalf Of Jan Janak
> > Sent: 19 February 2004 17:41
> > To: Laurent BURGY
> > Cc: serusers(a)lists.iptel.org
> > Subject: Re: [Serusers] Serweb no online user
> >
> > It is called user_interface in the sources, so the symlink is correct.
> > What do you mean by "I can't see the online user", could you be more
> > specific ?
> >
> > Jan.
> >
>
> I have a similar problem I can see users online in the phonebook of ser
> web but I can't see them as online in the admin section if I tick view
> only those online.
It is possible that it was not implemented, I have to check with the
serweb author.
> Also when clicking the account link in the admin section it follows a
> link to user instead of user_interface.
Yes, simply create an alias user_interface -> user in the config file
of apache.
> With regards to my earlier problem I have installed ethereal more info
> below.
>
> 39.429855 AniCommu_a5:85:35 -> AniCommu_a5:80:13 ARP Who has
> 192.168.0.2? Tell 192.168.0.1
> 39.429995 AniCommu_a5:80:13 -> AniCommu_a5:85:35 ARP 192.168.0.2 is
> at00:40:05:a5:80:13
> 39.494687 192.168.0.2 -> 82.45.234.141 SIP Request: REGISTER
> sip:dev.asyouneed.com
> 39.530455 82.45.234.141 -> 192.168.0.2 SIP Status: 200 OK
> 42.444621 192.168.0.2 -> 82.45.234.141 SIP Request: REGISTER
> sip:dev.asyouneed.com
> 42.445260 82.45.234.141 -> 192.168.0.2 SIP Status: 200 OK
> 42.445482 192.168.0.2 -> 82.45.234.141 ICMP Destination unreachable
> 48.144448 192.168.0.2 -> 192.168.0.1 SSDP M-SEARCH * HTTP/1.1
> 48.144554 192.168.0.1 -> 192.168.0.2 ICMP Destination unreachable
We would need to see whole messages.
Jan.
Folks,
I´m trying to use SER 0.8.12 with FreeRadius 0.9.3 and RadiusClient
0.3.2
So, I get authentication but the radacc do not generate log neither
details directory either "details file"
Could someone help me to fix this ?
Thanks in advance
Jadylson Bomfim
Redevox Telecom
+55 34 32347813
www.redevox.com.br
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.592 / Virus Database: 375 - Release Date: 18/2/2004
Jan,
it won't even compile now:
hash.c:33:18: hash.h: No such file or directory
hash.c: In function `new_hash_table':
hash.c:44: `HASH_SIZE' undeclared (first use in this function)
hash.c:44: (Each undeclared identifier is reported only once
hash.c:44: for each function it appears in.)
hash.c: In function `free_hash_table':
hash.c:61: warning: implicit declaration of function `empty_hash_table'
hash.c: In function `hash':
hash.c:85: `HASH_SIZE' undeclared (first use in this function)
hash.c: In function `hash_table_insert':
hash.c:98: dereferencing pointer to incomplete type
hash.c:104: dereferencing pointer to incomplete type
hash.c:105: dereferencing pointer to incomplete type
hash.c:105: dereferencing pointer to incomplete type
hash.c:107: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:115: dereferencing pointer to incomplete type
hash.c:117: dereferencing pointer to incomplete type
hash.c:119: dereferencing pointer to incomplete type
hash.c:121: dereferencing pointer to incomplete type
hash.c:123: dereferencing pointer to incomplete type
hash.c:129: dereferencing pointer to incomplete type
hash.c:130: dereferencing pointer to incomplete type
hash.c:134: dereferencing pointer to incomplete type
hash.c:136: dereferencing pointer to incomplete type
hash.c:137: dereferencing pointer to incomplete type
hash.c: In function `match_hash_table':
hash.c:168: dereferencing pointer to incomplete type
hash.c:169: dereferencing pointer to incomplete type
hash.c:170: dereferencing pointer to incomplete type
hash.c:171: dereferencing pointer to incomplete type
hash.c:171: dereferencing pointer to incomplete type
hash.c:172: dereferencing pointer to incomplete type
hash.c: At top level:
hash.c:191: parse error before "FILE"
hash.c: In function `hash_table_print':
hash.c:196: `HASH_SIZE' undeclared (first use in this function)
hash.c:197: `hash_table' undeclared (first use in this function)
hash.c:199: warning: implicit declaration of function `fprintf'
hash.c:199: `reply_file' undeclared (first use in this function)
hash.c:200: dereferencing pointer to incomplete type
hash.c:200: dereferencing pointer to incomplete type
hash.c:200: dereferencing pointer to incomplete type
hash.c:201: dereferencing pointer to incomplete type
hash.c:202: dereferencing pointer to incomplete type
hash.c:203: dereferencing pointer to incomplete type
hash.c: At top level:
hash.c:214: warning: type mismatch with previous implicit declaration
hash.c:61: warning: previous implicit declaration of `empty_hash_table'
hash.c:214: warning: `empty_hash_table' was previously implicitly declared to
return `int'
hash.c: In function `empty_hash_table':
hash.c:218: `HASH_SIZE' undeclared (first use in this function)
hash.c:221: dereferencing pointer to incomplete type
hash.c:222: dereferencing pointer to incomplete type
hash.c:223: dereferencing pointer to incomplete type
make[1]: *** [hash.o] Error 1
Eduard San Anselmo
Hi All,
I have been working on this Ser installation for awhile and now
have it setup with mysql and ser-web. I am able to instant message from
the server to the end users but the end users show up as unavailable
when trying to message between them.
This is setup on a local (192.168.0.1/24 192.168.1.1/24) network using
MS Messenger for XP to keep it all simple.
I am now a bit stuck or too tired anyone now of a good link to get me
further or have an idea where I've gone wrong.
Thanks in advance,
Dee