Getting closer to making this work, anyone see this before and why?
rad_recv: Access-Request packet from host 127.0.0.1:38671, id=164, length=205
User-Name = "test(a)192.168.1.119"
(Unknown Type 17)
(Unknown Type 17)
(Unknown Type 17)
(Unknown Type 17)
(Unknown Type 17)
(Unknown Type 17)
Service-Type = SIP
Sip-URI-User = "test"
NAS-IP-Address = 127.0.0.1
NAS-Port = 5060
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 1620
modcall[authorize]: module "digest" returns noop for request 1620
rlm_realm: Looking up realm "192.168.1.119" for User-Name =
"test(a)192.168.1.119"
rlm_realm: Found realm "192.168.1.119"
rlm_realm: Adding Stripped-User-Name = "test"
rlm_realm: Proxying request from user test to realm 192.168.1.119
rlm_realm: Adding Realm = "192.168.1.119"
rlm_realm: Preparing to proxy authentication request to realm
"192.168.1.119"
modcall[authorize]: module "suffix" returns updated for request 1620
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 1620
users: Matched test at 1
modcall[authorize]: module "files" returns ok for request 1620
modcall: group authorize returns updated for request 1620
Sending Access-Request of id 205 to 216.157.192.117:1812
User-Name = "test"
Service-Type = SIP
Sip-URI-User = "test"
NAS-IP-Address = 127.0.0.1
NAS-Port = 5060
Proxy-State = 0x313634
Hi folks!
Ok, I got my rtpproxy working now, and the calls are comming thought it...
but just if i have a real ip in my box.....but now I need to put my box
behind a NAT.... I have an static ip mapped to an real ip in the nat router.
. example: internal 10.1.90.100 --> outside 200.81.134.66 ...and now i need
to call force_rtp_proxy but with the options to insert the outside address
in the sdp and not the internal one....
I have tried several times with diferents values in the parameteres...but I
can't get the result i want... i can not understand how i need to call
force_rtp_proxy("f","200.81.134.66") i tried this but i didn't work....
Any help will be really appreciate!
Thanks in advance!
Armando Marrero
Cti, Miami. FL
Just numeric 10-digit CPN and DN.
matt
-----Original Message-----
From: Juha Heinanen [mailto:jh@tutpro.com]
Sent: Sunday, September 26, 2004 11:22 AM
To: Matt Johnson
Cc: serusers(a)lists.iptel.org
Subject: [Serusers] e.164 help
Matt Johnson writes:
> <P><FONT SIZE=2 FACE="Arial">Is it possible to strip the '+1' from >
the FROM and TO fields? strip(2) only removes it from the >
INVITE. I need to forward to a gateway that doesn't support >
e.164.</FONT></P>
for what does the gw use to uri?
-- juha
Hello all,
I got a problem initializing acc and realy will appreciate any help. Here is the output:
.
.
stateless - initializing
Maxfwd module- initializing
acc - initializing
0(59925) ERROR: tm_bind: TM module function 't_relay_to_tcp' not found
0(59925) init_mod(): Error while initializing module acc
ERROR: error while initializing modules
This is version info:
version: ser 0.8.12 (i386/freebsd)
flags: STATS:Off, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.168 2003/10/12 15:09:08 andrei Exp $
main.c compiled on 14:58:55 Sep 27 2004 with gcc 3.3
Thanks in advance.
Cezar.
OK, I finally got SER to talk to Radius, but now I am getting the
following error:
ERROR: No Digest-Nonce: Cannot perform Digest Authentication
I can see a where SER is comparing a nonce when in debug, but is it
just not getting to Radius?
Hi,
Is there any way to invoke accounting when using the ser_fifo
interface to initiate calls? I have radius accounting working on SER,
but when I use an application that initiates calls using t_uac_dlg,
accounting does not get invoked. Is there a way to do the equivalent of
setflag() on the ser_fifo interface within a t_uac_dlg dialogue?
Thanks,
Robert Liao
Hi,
I have problem with acc module - according to method.get_accounting.php there should be table coloumn named length ant there have to be the call legth ... but
there is no such table in - latest CVS, 0.8.14 and 0.8.11 versions (I've checked them). Can you help me I need to have call length for every call for the billing.
Also is there version of acc for PostgreSQL.
Thanks in advance.
Pavel Siderov,
Exsisto LTD
Hi,
Hope somebody can help. I think this is some bug in "domain" module's
"is_from_local()" function...?
I'm running ser 0.8.12, newest release from CVS. This is multidomain
configuration, with Radius authentication thru remote db and some other
tricks. I use "is_from_local() {}" routine to determine if to handle a
request. There is "domain" module running and domain table in local db.
However, when using domain module, there is serious problem. Everything
works fine, except when I do BYE. SER is responding with my own "404 Not
Found" routine, because it cannot properly find requested domain in domain
table..
When I use simple "if (uri=~"somedomain.net") {}" it WORKS fine. But i don't
want it, as I don't want to use "is_uri_host_local()" as well.
Please take a look at BYE debug, when using is_from_local():
Successful (1 to 2):
U 194.183.229.180:5060 -> 194.183.228.176:5060
BYE sip:3398@194.183.228.176;ftag=b9ea699db4320dbf;lr=on SIP/2.0..
Via: SIP/2.0/UDP 194.183.229.180:5060;branch=0..
Max-Forwards:70..
To: 2 <sip:3396@tara.perceval.net>;tag=b9ea699db4320dbf..
From: <sip:3398@tara.perceval.net>;tag=CSdQo3..
Call-ID: fc083a95-8a6a781e(a)194.183.229.179..
CSeq: 1 BYE..
Route: 2 <sip:3396@194.183.229.179:5060>..
Content-Length: 0....
ACK..... everything fine
Unsuccessful (2 to 1):
U 194.183.229.179:5060 -> 194.183.228.176:5060
BYE sip:3398@194.183.229.180 SIP/2.0..
Via: SIP/2.0/UDP 194.183.229.179:5060;branch=z9hG4bK-b355eb02..
From: 2 <sip:3396@tara.perceval.net>;tag=b9ea699db4320dbf..
To: <sip:3398@tara.perceval.net>;tag=YGk9UT....dxT0uq6sn..
Call-ID: 411783df-ee95995e(a)194.183.229.179..
CSeq: 102 BYE..
Max-Forwards: 70..
Route: <sip:3398@194.183.228.176;ftag=b9ea699db4320dbf;lr=on>..
User-Agent: 2(LS)..
Content-Length: 0....
404 not found.....
Thanks for any help. I count on you, guys ;-)
Regards,
Arek Bekiersz
Perceval R&D Team
arek(a)perceval.net
------------------------------------------------------------------------
Perceval Technologies sa/nv Rue Tenbosch, 9 B-1000 Brussels
Tel: +32-2-6409194 Fax: +32-2-6403154
URL: http://www.perceval.net/
E-mail for general informations: info(a)perceval.net
E-mail for technical informations: helpdesk(a)perceval.net
------------------------------------------------------------------------
This e-mail message contains legally PRIVILEGED and CONFIDENTIAL
information intended for the use of the addressee only. If you are not
the intended recipient of this message, please notify the undersigned
by telephone or e-mail reply and destroy this message and any
attachments.
Any views or opinions presented in this e-mail are solely those of
the author and do not necessarily represent those of Perceval. The
integrity and security of this message cannot be guaranteed and it may
be subject to data corruption, interception, unauthorised amendment,
viruses and unforesee
Hi,
I'm trying to set up SER to use it with windows messenger 5.0.
I can log in with my account, initiate a voice/video call but the problem is
that I'm always shown offline to the other user when I connect using TCP.
When using UDP, my status is correctly reported.
The other problem is that I can't send any text message. I always get an
error saying the message could not be delivered.
I'm using SER stable version 0.8.14 with mysql account storage (debian
packages from berlios ftp server).
Can someone give me some hints? Here is the ser.cfg file I'm using:
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
alias=mydomain.com
listen=192.168.1.1
#debug=7 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
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/lib/ser/modules/mysql.so"
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.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
# 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", "password")
# -- 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 (!www_authorize("mydomain.com", "subscriber")) {
www_challenge("mydomain.com", "0");
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();
};
}
Thank you,
--
Gregory Wong A Fa
Hi all,
2 week ago ported the avp core from 0.8.14 to unstable version. This
makes happy people who want to use avp within the modules. The next step
is to make available avp access from the cfg script (this will include
functions for db interaction, setting avps, RURI exchange, etc).
I will compile and post a list with avp functions I was thinking of. The
whole process will go slow for the next 2 weeks, since I'm still in
vacation, but it will be done.
bogdan