Hi All,
I've got my SER collecting incoming POTS calls now, thanks to those that gave
me some pointers.
However, I'm in the glue again trying to setup SEMS and vm. Can anyone point
me to a simple howto that will step me through the process?
I have SER running on a single server, and would like SEMS and vm running on
that same box. Basically I would like the calls to divert to vm after about 15
seconds if there's no answer.
>From reading the bits I can find, is it true I need two instances of SER
running, with one proxy handling calls and then redirecting to the second SER
with SEMS on a time out? If I need 2 instances of SER running with different
ser.cfg files, what sort of cpu overhead does this put on a single server? Is
it possible to run the voice mail redirect on once instance of SER?
Is there a simple howto out there to guide me through it?
Much thanks,
Ian Bonham
~ 70 calls on 1GHz CPU
~ 200 calls on 3 GHz CPU
There is a synthetic performance script in the MediaProxy distribution
which matched a real test bench so you can use that for an indication.
Adrian
>>>>>>>>>>>>>>
Hi eveyone,
I am gathering information about the performance of a media proxy.
Does anyone have statistics about how many calls and how long per phone
converstaion (in minutes) that a single media proxy handle?
thanks
proson
How to create a multiuser account?
I want an account, which can make simultaneous calls and also can login simultaneously fron different devices. How to create such user account?
Thanks & Regards
Ritesh Jalan
Senior Engineer - Test & Audit
Net4india Ltd.
504, Bhikaji Cama Bhawan
11, Bhikaji Cama Place
New Delhi 110066
Tel: 91 (011) (26160129 - 131) (Extn 131)
URL: http://www.net4india.com
Hello,
Try these inclusions pls for a simple straight forward Digest Auth...
modparam("auth_db", "db_url","sql://ser:heslo@localhost/ser")
# main routing logic
route{
if(!proxy_authorize("yourdomain.com" /* realm */,
"subscriber" /* table name */ ))
{
proxy_challenge("yourdomain.com", "0");
break;
}
sl_send_reply("200", "ok");
karthikeyan.k
________________________________
From: serusers-bounces(a)lists.iptel.org on behalf of Magnus Sörman (AL/EAB)
Sent: Thu 12/30/2004 3:45 PM
To: 'serusers(a)lists.iptel.org'
Subject: [Serusers] Digest Authentication
Hi,
I need some help with digest authentication.
When I uncomment those lines in ser.cfg, the register msg stops to work. In the trace, see below, you can see the nonce being sent in the re-register msg, but the server still responds with 401 Unauthorized. I've tried with both 0 and 1 in the www_challenge.
Without the digest authentication the register works fine.
Thanks in advance,
//Magnus
ser.cfg (ser 0.8.12 running on a Fedora box. Used for test purpose only):
====================================================
# ----------- 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"
sip_warning=no
alias="sip_server_ip"
# ------------------ 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"
loadmodule "/usr/lib/ser/modules/pa.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
#
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=="SUBSCRIBE") {
if(t_newtran()){
handle_subscription("registrar");
break;
};
};
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("sip_server_ip", "subscriber")) {
www_challenge("sip_server_ip", "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();
};
}
Register trace:
==========
REGISTER sip:sip_server_ip SIP/2.0
Via: SIP/2.0/UDP local_pc_ip:5060;rport;branch=z9hG4bK4268DFDFE5EE410C8DB113A6223C800C
From: Magnus <sip:magnus@sip_server_ip>;tag=470300110
To: Magnus <sip:magnus@sip_server_ip>
Contact: "Magnus" <sip:magnus@local_pc_ip:5060>
Call-ID: EB7272E371C24F6C8F24DB47A53EE7CB@sip_server_ip
CSeq: 6590 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP local_pc_ip:5060;rport=5060;branch=z9hG4bK4268DFDFE5EE410C8DB113A6223C800C
From: Magnus <sip:magnus@sip_server_ip>;tag=470300110
To: Magnus <sip:magnus@sip_server_ip>;tag=b27e1a1d33761e85846fc98f5f3a7e58.0d0e
Call-ID: EB7272E371C24F6C8F24DB47A53EE7CB@sip_server_ip
CSeq: 6590 REGISTER
WWW-Authenticate: Digest realm="sip_server_ip", nonce="41d1321431d402c1af9617eb73deccbce7e532d5", qop="auth"
Server: Sip EXpress router (0.8.12 (i386/linux))
Content-Length: 0
REGISTER sip:sip_server_ip SIP/2.0
Via: SIP/2.0/UDP local_pc_ip:5060;rport;branch=z9hG4bK1813C486770C442BB51E58686A61921F
From: Magnus <sip:magnus@sip_server_ip>;tag=470300110
To: Magnus <sip:magnus@sip_server_ip>
Contact: "Magnus" <sip:magnus@local_pc_ip:5060>
Call-ID: EB7272E371C24F6C8F24DB47A53EE7CB@sip_server_ip
CSeq: 6591 REGISTER
Expires: 1800
Authorization: Digest username="magnus",realm="sip_server_ip",nonce="41d1321431d402c1af9617eb73deccbce7e532d5",response="27ea80aed1b9f5086b396c8f86bcec60",uri="sip:sip_server_ip",qop=auth,cnonce="9F5BBA98D6724D909C6560E8A045A300",nc=00000006
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP local_pc_ip:5060;rport=5060;branch=z9hG4bK1813C486770C442BB51E58686A61921F
From: Magnus <sip:magnus@sip_server_ip>;tag=470300110
To: Magnus <sip:magnus@sip_server_ip>;tag=b27e1a1d33761e85846fc98f5f3a7e58.9cf2
Call-ID: EB7272E371C24F6C8F24DB47A53EE7CB@sip_server_ip
CSeq: 6591 REGISTER
WWW-Authenticate: Digest realm="sip_server_ip", nonce="41d1321431d402c1af9617eb73deccbce7e532d5", qop="auth"
Server: Sip EXpress router (0.8.12 (i386/linux))
Content-Length: 0
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin(a)wipro.com immediately
and destroy all copies of this message and any attachments.
Hi eveyone,
I am gathering information about the performance of a media proxy.
Does anyone have statistics about how many calls and how long per phone
converstaion (in minutes) that a single media proxy handle?
thanks
proson
I have ser version version: 0.8.14 (i386/linux)
I have compiled acc module with support for SQL.
I am trying to setup the ser.cfg to write information to the mysql database to acc table (with no success).
modparam("acc", "db_url", "sql://ser:heslo@localhost/ser")
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1 )
setflag(1);
I have those settings in my cfg file, I can register users, and i see them in the location table.
I can make local calls, but i don't see anything in the acc table.
Any help will be more than welcome.
---------------------------------
Do you Yahoo!?
Meet the all-new My Yahoo! � Try it today!
Hi list,
I`m in trouble configuring DNS.
My SER was working fine. I started a named process at the same server with the configuration below. Using any SIP client as Sipura or X-Pro, I receive 483 error (too many hops).
Nbody could help me?
######
$ttl 38400
@ IN SOA server.domain.com. vitor.domain.com. (
1104286100
10800
3600
604800
38400 )
IN NS ns.domain.com.
$ORIGIN domain.com.
_sip._udp SRV 0 0 5060 sip
server IN A 1.2.3.4
sip IN A 1.2.3.4
#####
Thanks,
Vitor Brasileiro.
Contact details?
On Thursday 30 December 2004 17:08, karunendra babu. karumanchi wrote:
> Hi Diego,
> I can help you on this send me your contact details.
>
> ________________________________
>
> From: serusers-bounces(a)lists.iptel.org on behalf of Diego M. Vadell
> Sent: Thu 12/30/2004 11:13 AM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] 404 Not Found when Register
>
>
>
> Hello,
> First of all excuse my newbieness. I have just installed SER in a public
> IP. I read Dan Austin's howto, and understood that I would be able to
> register using the default configuration file. I installed and configured
> kphone with these values:
>
> Full Name: Diego M. Vadell
> User part of SIP URL: dvadell
> Host part of SIP URL: 200.69.255.72 (the public IP of SER)
> Outbound proxy (optional): 200.69.255.72
>
> but I get a 404 Not found from SER.
> Could anyone guide me? Im lost here. Do I need to setup mysql to register?
> Here are some lines of information, both from kphone and from SER.
>
> Thanks in advance,
> -- Diego.
>
>
> Kphone says:
> bash-2.04$ kphone
> Found 2 interfaces.
> SipClient: Listening UDP on port: 5060
> SipClient: Our address: 200.126.216.62
> SipRegister: Auth is '(null)'
> SipRegister: Proxy Auth is '(null)'
>
> SipClient: Sending: 15:54:15.756
> --------------------------------
> REGISTER sip:200.69.255.72 SIP/2.0
> Via: SIP/2.0/UDP 200.126.216.62;branch=z9hG4bK7578380A
> CSeq: 107 REGISTER
> To: "Diego M. Vadell" <sip:dvadell@200.69.255.72>
> Expires: 900
> From: "Diego M. Vadell" <sip:dvadell@200.69.255.72>
> Call-ID: 1930116421(a)200.126.216.62
> Content-Length: 0
> User-Agent: kphone/4.0.5
> Event: registration
> Allow-Events: presence
> Contact: "Diego M. Vadell"
> <sip:dvadell@200.126.216.62;transport=udp>;methods="INVITE, MESSAGE, INFO,
> SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER"
>
>
> SipClient: Sending to '200.69.255.72:5060'
> SipClient: Receiving message...
>
> SipClient: Received: 15:54:15.869
> ---------------------------------
> SIP/2.0 404 Not Found
> Via: SIP/2.0/UDP 200.126.216.62;branch=z9hG4bK7578380A
> CSeq: 107 REGISTER
> To: "Diego M. Vadell"
> <sip:dvadell@200.69.255.72>;tag=b27e1a1d33761e85846fc98f5f3a7e58.cf28
> From: "Diego M. Vadell" <sip:dvadell@200.69.255.72>
> Call-ID: 1930116421(a)200.126.216.62
> Server: Sip EXpress router (0.8.14 (i386/linux))
> Content-Length: 0
> Warning: 392 200.69.255.72:5060 "Noisy feedback tells: pid=14352
> req_src_ip=200.126.216.62 req_src_port=5060 in_uri=sip:200.69.255.72
> out_uri=sip:200.69.255.72 via_cnt==1"
>
>
>
> And SER says:
> 19(14352) SIP Request:
> 19(14352) method: <REGISTER>
> 19(14352) uri: <sip:200.69.255.72>
> 19(14352) version: <SIP/2.0>
> 19(14352) parse_headers: flags=1
> 19(14352) Found param type 232, <branch> = <z9hG4bK7578380A>; state=16
> 19(14352) end of header reached, state=5
> 19(14352) parse_headers: Via found, flags=1
> 19(14352) parse_headers: this is the first via
> 19(14352) After parse_msg...
> 19(14352) preparing to run routing scripts...
> 19(14352) DEBUG : is_maxfwd_present: searching for max_forwards header
> 19(14352) parse_headers: flags=128
> 19(14352) get_hdr_field: cseq <CSeq>: <107> <REGISTER>
> 19(14352) end of header reached, state=9
> 19(14352) DEBUG: get_hdr_field: <To> [47]; uri=[sip:dvadell@200.69.255.72]
> 19(14352) DEBUG: to body ["Diego M. Vadell" <sip:dvadell@200.69.255.72>
> ]
> 19(14352) DEBUG: get_hdr_body : content_length=0
> 19(14352) found end of header
> 19(14352) DEBUG: is_maxfwd_present: max_forwards header not found!
> 19(14352) end of header reached, state=9
> 19(14352) parse_headers: flags=256
> 19(14352) find_first_route(): No Route headers found
> 19(14352) loose_route(): There is no Route HF
> 19(14352) check_self - checking if host==us: 13==9 && [200.69.255.72] ==
> [127.0.0.1]
> 19(14352) check_self - checking if port 5060 matches port 5060
> 19(14352) check_self - checking if host==us: 13==10 && [200.69.255.72] ==
> [10.5.5.242]
> 19(14352) check_self - checking if port 5060 matches port 5060
> 19(14352) check_self - checking if host==us: 13==13 && [200.69.255.72] ==
> [200.69.255.72]
> 19(14352) check_self - checking if port 5060 matches port 5060
> 19(14352) lookup(): '' Not found in usrloc
> 19(14352) parse_headers: flags=-1
> 19(14352) check_via_address(200.126.216.62, 200.126.216.62, 0)
> 19(14352) DEBUG:destroy_avp_list: destroing list (nil)
> 19(14352) receive_msg: cleaning up
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers