Hi all
I am working on SER when configure ser.cfg and when
this using ./ser it shows the segmentation fault
my configuration file is
#
# $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"
# 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", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
modparam("auth_radius", "radius_config",
"/usr/local/etc/radiusclient/radiusclient.conf")
modparam("auth_radius", "service_type", 15)
# ------------------------- 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();
# reak;
# };
# 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("",
"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();
};
}
this is the ./ser file
0(3682) DEBUG: init_mod: auth_radius
0(3682) auth_radius - Initializing
Segmentation fault
please tell me the what is the problem where i have to
change please tell me
Thank u
Sailatha
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
Hi all
I am working on SER when configure ser.cfg and when
this using ./ser it shows the segmentation fault
my configuration file is
#
# $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"
# 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", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
modparam("auth_radius", "radius_config",
"/usr/local/etc/radiusclient/radiusclient.conf")
modparam("auth_radius", "service_type", 15)
# ------------------------- 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();
# reak;
# };
# 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("",
"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();
};
}
this is the ./ser file
0(3682) DEBUG: init_mod: auth_radius
0(3682) auth_radius - Initializing
Segmentation fault
please tell me the what is the problem where i have to
change please tell me
Thank u
Sailatha
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
Hi,
I put the proxy and registar at the two machine. and
each has its own domain name. Registrar is "suntest.com"
proxy name is "sip.suntest.com". Both of which are interpreted
by my DNS server. I use the mysql to store the user information.
and ser.cfg uses:
modparam("registrar", "use_domain", 0)
when proxy deal with calling, I found that proxy
don't query the callee information from the database.
I sniffed the data traffic with ethereal. the Ser log
said in the registrar/lookup.c lines 81 that:
"lookup(): '862222' Not found in usrloc". How could I
to solve that problem???
Thanks for your instructions.
Best Regards.
Zongjun
Hi,
I've seen that the media_sessions.phtml does not show on-hold status
when Micronet SP5100 puts a caller on hold.
I've seen in the SDP messages that the Micronet phone does not insert
c=IN IP4 0.0.0.0, but c=IN IP4 <IP address>
However a= sendonly is inserted as supposed to.
Any comments?
Br hw
Hi,
Can I run SER on LAN?
I'm trying to connect a Xten Light and a GrandStream HandyTone 286 device in
a LAN environment. It allow me to call each other.
Now I want to move one step ahead by connecting the 286 in LAN while the
Xten Light are connecting from remote site. This time, I cannot call 286
device, it gave me time out error, what am I missing?
Please help.
Thanks
ST Ooi
________________________________________________
Message sent using UebiMiau 2.7.2
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
so would thing config file work.
#
# $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=4
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"
listen=my ip
alias=fqdn
# ------------------ 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"
# 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"
# ----------------- 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)
modparam("usrloc", "db_url", "mysql://user:pass@localhost/ser")
# -- 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", "password")
modparam("auth_db", "db_url", "mysql://user:pass@localhost/ser")
# -- 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;
};
if (uri=~"^sip:0[0-9]*@digicen.com") {
rewritehostport("10.0.18.3:5060");
forward(10.0.18.3, 5060);
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("digicen.com", "subscriber")) {
www_challenge("digicen.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();
};
}
On Tue, 15 Feb 2005 22:41:35 -0800, scm-j(a)nuntius.com <scm-j(a)nuntius.com> wrote:
>
> You need to rewrite the host/IP and port before calling t_relay
> rewritehostport("xxx.xxx.xxx.xxx:5060");
>
> OR
>
> Use t_relay_to_udp("xxx.xxx.xxx.xxx","5060"); instead of t_relay()
>
> where xxx.xxx.xxx.xxx is the IP address of the Asterisk
>
>
> -----Original Message-----
> From: Patrick Baker [mailto:patricksbaker@gmail.com]
> Sent: Tuesday, February 15, 2005 10:01 PM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] asterisk and ser forwarding
>
> can anyone take a look at these
>
> http://pastebin.ca/5922http://pastebin.ca/5921
>
> they are my ser.cfg and sip debug info from ser - and maybe tell me
> why ser isnt forwarding the connection to asterisk?
>
> Thanks,
>
> Patrick
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
can anyone take a look at these
http://pastebin.ca/5922http://pastebin.ca/5921
they are my ser.cfg and sip debug info from ser - and maybe tell me
why ser isnt forwarding the connection to asterisk?
Thanks,
Patrick
Hi ser users;
I want to use the messenger 4.6 of the MSN for send messages.
When I am connected and one of my contacts begins session later, I
don't see it until some minutes pass.
That is normal or something misses the configuration.
Thank you for their answers.
Graciela
Hi,
I am seeing some strange behavior from SER. I recently upgraded to a
circuit that supports caller ID. I am running ser 0.8.14. I set up
ser rpid for my users yesterday. The strange behavior is this:
In the initial SIP/SDP INVITE, Remote-Party-ID is set correctly as
sip:212400AAAA. If the call gets answered by the party at the other
end, everything is great. I see strange rpid stuff, however, if the
call gets cancelled before it is answered.
For example, I have a packet trace where The SIP/SDP INVITE comes in
with the correct number, but once the call is cancelled, the proxy
sends ACKs to the cisco AS5350 with other numbers listed in the
Remote-Party-ID that were not part of the call. They are listed in my
database, but they weren't actively making phone calls at the time. I
know this because some of the numbers I am seeing come through rpid
headers are my own (the phones are right in front of me).
Has anybody seen this? I suppose it is not a problem per se,
especially seeing as how it only happens when an INVITE gets
CANCELled, but it does raise an eyebrow.
Thank you for your time.
Dan Poulsen
Hi gurus!
I have been playing with multicast in SER fow a while and it worked
almost perfectly: SER is listening and sending wihout much difference as
if it was a unicast address. Again thanks to SER developers!!
There is a small detail which I hope you can help me to solve:
multicast loopback. The problem is that SER receives all messages it
sends to the multicast address and processes it as if it was received
from the multicast address.
Variables affecting the mcast loopback:
SER config file mcast_loopback is set to no, and it is used in the
opening of the mcast socket. So I guess the socket is effectively opened
with the loopback disabled.
The kernel MCAST_LOOPBACK is enabled, but I think that it does not
affect the sockets opened with an explicit 0 in the MCAST_LOOPBACK
setsockopt field.
So I think it is not a matter of the multicast loopback parameters but
a matter of the network topology. Please correct me if I am wrong!!!!
Our host has a couple of listen= addresses, one for the unicast and
another for the multicast.
Guessings:
Is it possible that SER uses the unicast interface to send the
multicast message and therefore the multicast loopback check is not
checked in the unicast sending socket????
But the same message, going deep into the TCP/UDP linux stack faces
that there is an internal interface with the mcast address and it is
therefore passed back?????
I hope that I have been clear and that somebody can clarify me why is
this happening (a solution is even better :) )
Thanks in advance,
Samuel.
Unclassified.