Hi all,
Here is my ser.cg file. I try to configure send IM, Missed calls,
Voicemail.
I just can configure Send IM.
Anybody could help me to configure the others functions (problem with
logic !!).
harry
Regards
#
# $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 …
[View More]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)
listen=192.168.0.1
port=5060
children=4
fifo="/tmp/ser_fifo"
fifo_mode=0666
# ------------------ 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/domain.so"
loadmodule "/usr/lib/ser/modules/msilo.so"
loadmodule "/usr/lib/ser/modules/acc.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_url", "mysql://ser:heslo@localhost/ser")
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "use_domain", 1)
# -- 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)
# --registrar params--
modparam("registrar", "use_domain", 1)
# --domain params--
modparam("domain", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("domain", "db_mode", 1) # Use chaching
# --acc params--
#modparam("acc", "db_url", "mysql://ser:heslo@localhost/ser")
#modparam("acc", "db_missed_flag", 3)
# --msilo params--
modparam("msilo", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("msilo", "db_table", "silo")
modparam("msilo","registrar","sip:registrar@192.168.0.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;
};
setflag(3);
# 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 (is_from_local()) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("", "subscriber")) {
www_challenge("", "0");
break;
};
save("location");
# MSILO - dumping user's offline messages
if (m_dump()) {
log("MSILO: offline messages dumped - if they were\n");
}else{
log("MSILO: no offline messages dumped\n");
};
break;
};
# native SIP destinations are handled using our USRLOC DB
lookup("aliases");
if (!lookup("location")) {
if (! t_newtran()) {
sl_reply_error();
break;
};
# we do not care about anything else but MESSAGEs
if (!(method=="MESSAGE")) {
if (!t_reply("404", "Not found")) {
sl_reply_error();
};
break;
};
log("MESSAGE received -> storing using MSILO\n");
# MSILO - storing as offline message
if (m_store("0")) {
log("MSILO: offline message stored\n");
if (!t_reply("202", "Accepted")) {
sl_reply_error();
};
}else{
log("MSILO: offline message NOT stored\n");
if (!t_reply("503", "Service Unavailable")) {
sl_reply_error();
};
};
break;
};
# if the downstream UA does not support MESSAGE requests
# go to failure_route[1]
t_on_failure("1");
t_relay();
break;
};
if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {
route(2);
t_relay();
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();
};
}
failure_route[1] {
# forwarding failed -- check if the request was a MESSAGE
if (!method=="MESSAGE")
{
break;
};
log(1,"MSILO: the downstream UA does not support MESSAGE requests
...\n");
# we have changed the R-URI with the contact address -- ignore it now
if (m_store("1")) {
log("MSILO: offline message stored\n");
t_reply("202", "Accepted for delivery");
}else{
log("MSILO: offline message NOT stored\n");
t_reply("503", "Service Unavailable");
};
}
route[2] {
# non-Voip -- just send "off-line"
if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {
sl_send_reply("404", "Not Found");
break;
};
if (t_newtran()) {
t_reply("404", "Not Found");
acc_db_request("404 missed call", "missed_calls");
};
}
[View Less]
Hi all,
Here is my ser.cg file. I try to configure send IM, Missed calls,
Voicemail.
I just can configure Send IM.
Anybody could help me to configure the others functions (problem with
logic !!).
harry
Regards
#
# $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 …
[View More]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)
listen=192.168.0.1
port=5060
children=4
fifo="/tmp/ser_fifo"
fifo_mode=0666
# ------------------ 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/domain.so"
loadmodule "/usr/lib/ser/modules/msilo.so"
loadmodule "/usr/lib/ser/modules/acc.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_url", "mysql://ser:heslo@localhost/ser")
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "use_domain", 1)
# -- 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)
# --registrar params--
modparam("registrar", "use_domain", 1)
# --domain params--
modparam("domain", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("domain", "db_mode", 1) # Use chaching
# --acc params--
#modparam("acc", "db_url", "mysql://ser:heslo@localhost/ser")
#modparam("acc", "db_missed_flag", 3)
# --msilo params--
modparam("msilo", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("msilo", "db_table", "silo")
modparam("msilo","registrar","sip:registrar@192.168.0.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;
};
setflag(3);
# 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 (is_from_local()) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("", "subscriber")) {
www_challenge("", "0");
break;
};
save("location");
# MSILO - dumping user's offline messages
if (m_dump()) {
log("MSILO: offline messages dumped - if they were\n");
}else{
log("MSILO: no offline messages dumped\n");
};
break;
};
# native SIP destinations are handled using our USRLOC DB
lookup("aliases");
if (!lookup("location")) {
if (! t_newtran()) {
sl_reply_error();
break;
};
# we do not care about anything else but MESSAGEs
if (!(method=="MESSAGE")) {
if (!t_reply("404", "Not found")) {
sl_reply_error();
};
break;
};
log("MESSAGE received -> storing using MSILO\n");
# MSILO - storing as offline message
if (m_store("0")) {
log("MSILO: offline message stored\n");
if (!t_reply("202", "Accepted")) {
sl_reply_error();
};
}else{
log("MSILO: offline message NOT stored\n");
if (!t_reply("503", "Service Unavailable")) {
sl_reply_error();
};
};
break;
};
# if the downstream UA does not support MESSAGE requests
# go to failure_route[1]
t_on_failure("1");
t_relay();
break;
};
if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {
route(2);
t_relay();
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();
};
}
failure_route[1] {
# forwarding failed -- check if the request was a MESSAGE
if (!method=="MESSAGE")
{
break;
};
log(1,"MSILO: the downstream UA does not support MESSAGE requests
...\n");
# we have changed the R-URI with the contact address -- ignore it now
if (m_store("1")) {
log("MSILO: offline message stored\n");
t_reply("202", "Accepted for delivery");
}else{
log("MSILO: offline message NOT stored\n");
t_reply("503", "Service Unavailable");
};
}
route[2] {
# non-Voip -- just send "off-line"
if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {
sl_send_reply("404", "Not Found");
break;
};
if (t_newtran()) {
t_reply("404", "Not Found");
acc_db_request("404 missed call", "missed_calls");
};
}
[View Less]
Hi all,
Here is my ser.cg file. I try to configure send IM, Missed calls,
Voicemail.
I just can configure Send IM.
Anybody could help me to configure the others functions (problem with
logic !!).
harry
Regards
#
# $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 …
[View More]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)
listen=192.168.0.1
port=5060
children=4
fifo="/tmp/ser_fifo"
fifo_mode=0666
# ------------------ 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/domain.so"
loadmodule "/usr/lib/ser/modules/msilo.so"
loadmodule "/usr/lib/ser/modules/acc.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_url", "mysql://ser:heslo@localhost/ser")
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "use_domain", 1)
# -- 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)
# --registrar params--
modparam("registrar", "use_domain", 1)
# --domain params--
modparam("domain", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("domain", "db_mode", 1) # Use chaching
# --acc params--
#modparam("acc", "db_url", "mysql://ser:heslo@localhost/ser")
#modparam("acc", "db_missed_flag", 3)
# --msilo params--
modparam("msilo", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("msilo", "db_table", "silo")
modparam("msilo","registrar","sip:registrar@192.168.0.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;
};
setflag(3);
# 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 (is_from_local()) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("", "subscriber")) {
www_challenge("", "0");
break;
};
save("location");
# MSILO - dumping user's offline messages
if (m_dump()) {
log("MSILO: offline messages dumped - if they were\n");
}else{
log("MSILO: no offline messages dumped\n");
};
break;
};
# native SIP destinations are handled using our USRLOC DB
lookup("aliases");
if (!lookup("location")) {
if (! t_newtran()) {
sl_reply_error();
break;
};
# we do not care about anything else but MESSAGEs
if (!(method=="MESSAGE")) {
if (!t_reply("404", "Not found")) {
sl_reply_error();
};
break;
};
log("MESSAGE received -> storing using MSILO\n");
# MSILO - storing as offline message
if (m_store("0")) {
log("MSILO: offline message stored\n");
if (!t_reply("202", "Accepted")) {
sl_reply_error();
};
}else{
log("MSILO: offline message NOT stored\n");
if (!t_reply("503", "Service Unavailable")) {
sl_reply_error();
};
};
break;
};
# if the downstream UA does not support MESSAGE requests
# go to failure_route[1]
t_on_failure("1");
t_relay();
break;
};
if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {
route(2);
t_relay();
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();
};
}
failure_route[1] {
# forwarding failed -- check if the request was a MESSAGE
if (!method=="MESSAGE")
{
break;
};
log(1,"MSILO: the downstream UA does not support MESSAGE requests
...\n");
# we have changed the R-URI with the contact address -- ignore it now
if (m_store("1")) {
log("MSILO: offline message stored\n");
t_reply("202", "Accepted for delivery");
}else{
log("MSILO: offline message NOT stored\n");
t_reply("503", "Service Unavailable");
};
}
route[2] {
# non-Voip -- just send "off-line"
if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {
sl_send_reply("404", "Not Found");
break;
};
if (t_newtran()) {
t_reply("404", "Not Found");
acc_db_request("404 missed call", "missed_calls");
};
}
[View Less]
Hi
Could you pls suggest me some solution for implementing NAT. I have almost
all the devices behind NAT. Pls suggest me that where can i get the
documentation for that too...
Regards
_________________________________________________________________
Deals can't get any better. Products at Lowest Prices.
http://go.msnserver.com/IN/47508.asp Only on baazee.com
I tried it as well. The GUI appears but when it tries to make a connection
with it's sever looks like it hangs up...
> I would not bet on it too much -- it does not seem to be actively
> maintained and the last version I tried was not exactly meeting
> my expectations.
>
> -jiri
>
> At 10:13 PM 4/23/2004, Sergio Diaz wrote:
>
>>Anybody work with SerAdmin (xten) last version and Ser 0.8.12 ?
>>
>>I try to install but not make to work....
>>
>&…
[View More]gt;Any Ideas ?
>>
>>Regards!
>>
>>--
>>Sergio DÃaz Escobar. CCNA
>><sdiaz at comnet dot net dot mx>
>>Network Engineer - Information Technology
>>COMNET, S.A. DE C.V.
>>Patriotismo 889 7o. Piso Col. Mixcoac
>>Mexico, 039100, D.F.
>>(52) 55 12539230 <> 121 Fax. (52) 55 12539240
>>
>>
>>
>>Computers are unreliable, but humans are even more unreliable.
>>Any system which depends on human reliability is unreliable.
>> Murphy`s Law.
>>
>>
>>
>>___________________________________________________________________
>>
>>This email may be confidential and/or privileged. Only the intended
>>recipient may access or use it. Any dissemination, distribution or
>>copying of this email is strictly prohibited. If you are not the
>>intended recipient please notify us immediately by return email and
>>then erase the email.
>>
>>We use virus scanning software but exclude all liability for viruses
>>or similar in any attachment or message...,..,..,.
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
> --
> Jiri Kuthan http://iptel.org/~jiri/
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
Regards,
Lakmal
Lankacom Services (Pvt) Ltd.
65C, Dharmapala Mawatha,
Colombo 07.
Sri Lanka.
Tel: +94-1-437545
www.lankacom.net
[View Less]
Hi all,
It is expected to be cisco solution for sip<->H.323 in
2004
http://www.cisco.com/en/US/products/sw/voicesw/ps5640/products_qanda_item09…
Arnd, could you explain, why you think sipquest.com
sucks?
Thanks.
Esteban D. Benavides wrote:
> I'm looking for a gateway for SER to translate and
work between SIP and
> H.323. Is there any software for this...
No Open-Source solution available except Asterisk. It
is said that asterisk
would be capable of this but i havent seen it …
[View More]at work
or any example config.
Dont try "sipquest.com" products cause the company IMO
sucks.
If you only need H323 -> sip-proxy -> sipua
communication you can
use siph323csgw which is part of Vovidas "Vocal"
distribution. You
cant use siph323csgw for for SIP <> H323 GK/GW
communications.
best regards,
:: Arnd ::
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
http://photos.yahoo.com/ph/print_splash
[View Less]
Hi all,
I started using SER a few weeks back. It's working
pretty good, but i am having some issues with audio.
This is the scenario:
softphone <-> NAT <-> SER/Public IP <-> NAT <->
softphone
I have a softphone in our local network trying to call
another softphone in another network. This works
perfectly, I am having no issues. But when I try to
call a softphone in the same local network, the
connection establishes, softphone says audio active,
but there is no sound. …
[View More]I think this is because of NAT,
but how can i make it work for phones connected in the
same network? Can anyone help me in figuring out the
problem, or any pointers or links from where i can
find some useful information? Any help on this regard
would be greately appreciated.
Regards, Girish
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
http://photos.yahoo.com/ph/print_splash
[View Less]
Yes, it would be good if you captured all the SIP messages and send a error
description to serusers(a)lists.iptel.org. I am afraid, this is not really a isdngw
problem, but more a SER routing problem.
Uli.
On Friday 23 April 2004 13:06, Ulrich Holeschak wrote:
> Hello again,
> would it help if i create an log file with etherreal? I expect it's getting
> very big, but it contains more information. I expect, that i can only log
> on the windows side, so if there are telegrams going …
[View More]to the wrong
> destionation you can't see them ...
>
> Ulrich
>
> -----Ursprüngliche Nachricht-----
> Von: "Ulrich Abend" <ullstar(a)iptel.org>
> An: "Ulrich Holeschak" <ulrich(a)holeschak.de>
> Gesendet: Freitag, 23. April 2004 11:57
> Betreff: Re: [Sems] current cvs ser version and isdngw
>
> > Hi Ulrich,
> >
> > sorry for asking for the logfiles again, my hosting provider delayed your
>
> mail
>
> > from 14:01. I received it yesterday at 23:00 :-((
> >
> > Anyway, now after I reviewed the complete log files, I still cannot find
> > a reason for the strange behaviour.
> >
> > Please tell me again, what exactly happens, from your last log files I
>
> see,
>
> > that the connection is established for ~30sec. What causes your Messenger
>
> to
>
> > send BYE then?
> >
> > Apr 22 23:24:46 router ser[29099]: method: <BYE>
> >
> > Do you manually stop the connection? Is Audio working allright while the
> > 30sec?
> >
> > What version of Messenger do you use? There have been some problems with
>
> the
>
> > standards compliance (esp. version 5.0, recommended version is 4.7)...
> > Do you have any other SIP client, you could use for testing? E.g. kphone?
> >
> > Uli.
> >
[View Less]
Hello Laurent,
Tuesday, April 20, 2004, 6:21:07 PM, you wrote:
LB> I think i follow the instructions ... but should i "route" ( so modify
LB> the ser.cfg file) some messages to my gateway to use the answering
LB> machine or services provided by my gateway ...
LB> And what about autocreatepeer=yes?
surely later you will have to route in ser.cfg for outbound calls, checking first for
user auth and grp assignement.
Using the extention method you can direct sip addresses to …
[View More]services in
asterisk like voicemail or voice prompts.
that's my ser routing for outside calls
record_route();
if (uri=~"sip:0[0-9]+@"){
if (!proxy_authorize("mydomain.com", "subscriber")) {proxy_challenge("mydomain.com", "0");sl_send_reply("403", "That's not your home");break;}; #fine proxy challenge
if (!is_user_in("credentials", "local")){sl_send_reply("403", "No permission for local calls");break;}; #fine invite
rewritehostport("sip.mydomain.com:5090");
t_relay();
break;
}; #fine if uri sip:0
inside asterisk calls forwarded by ser are treated by this extention
exten => _0.,1,Dial,Zap/g1/${EXTEN:1}|45|r
exten => _0.,2,Congestion
its important to notice that you have to block port 5090 for incoming
ip requests ....
Only ser will be allowed to talk to asterisk and forward calls, after
user checking.
Hope it helps
LB> thx
LB> Alessio Focardi wrote:
>>Hello Laurent,
>>
>>Tuesday, April 20, 2004, 4:45:41 PM, you wrote:
>>
>>LB> But my clients should register on SER or on Asterisk?
>>
>>On ser, then you will need to protect asterisk from unallowed pstn
>>call, but that will come later on.
>>
>>
>>LB> thx
>>
>>LB> Alessio Focardi wrote:
>>
>>
>>
>>>>Hello Laurent,
>>>>
>>>>Tuesday, April 20, 2004, 1:50:37 PM, you wrote:
>>>>
>>>>LB> In fact, my ser installation works fine...
>>>>LB> I can pass call through asterisk in standalone...
>>>>LB> The problem is to interconnect the 2, to register ( i don't know if it's
>>>>LB> a right solution) the sipphones on SER and to go outside thanks to
>>>>LB> asterisk...
>>>>
>>>>make asterisk use port 5090 for sip, then as a first step make
>>>>asterisk register in ser as an extention.
>>>>
>>>>you can do this in asterisk's sip.conf
>>>>
>>>>example
>>>>
>>>>register => 10:password@sip.yourdomanin.com/10
>>>>
>>>>this tells asterisk to register extention 10 as address 109(a)yourdomain.com
>>>>
>>>>dial 10 with a sip phone and you are in asterisk ... note that you
>>>>should have an extention 10 defined, or it will not work.
>>>>
>>>>B> Thx
>>>>
>>>>LB> Alessio Focardi wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>>Hello Laurent,
>>>>>>
>>>>>>What you want to accomplish could be done, my advice is to setup a
>>>>>>working installation of ser then you will continue with asterisk.
>>>>>>
>>>>>>At first make a simple installation of ser (no auth, no db maybe) and make
>>>>>>your phones call each other.
>>>>>>
>>>>>>If you encounter specific problems and you want to have some help this
>>>>>>is the right place.
>>>>>>
>>>>>>Good luck !
>>>>>>
>>>>>>
>>>>>>
>>>>>>Tuesday, April 20, 2004, 1:29:41 PM, you wrote:
>>>>>>
>>>>>>LB> Hi,
>>>>>>LB> I want to use SER as a sip Proxy and asterisk as a gateway to the PSTN
>>>>>>LB> network ...
>>>>>>LB> My sipphones are BudgetTone101 and i'm having trouble trying configure
>>>>>>LB> them....
>>>>>>LB> Indeed, i don't know if they should register on SER or not... I don't
>>>>>>LB> know what kind of sip messages should be passed to my machine running
>>>>>>LB> asterisk.
>>>>>>LB> I don't know what must be in ser.cfg ( if you've an example it could
>>>>>>LB> help me a lot...)...
>>>>>>LB> I wasn't able to find documentations about using Ser and Asterisk in
>>>>>>LB> this configuration ( messages in the archives are not explicit
>>>>>>LB> enough....) , so if you've a pointer or so....
>>>>>>
>>>>>>
>>>>>>LB> Help...
>>>>>>
>>>>>>LB> thx,
>>>>>>LB> Laurent
>>>>>>
>>>>>>LB> _______________________________________________
>>>>>>LB> Serusers mailing list
>>>>>>LB> serusers(a)lists.iptel.org
>>>>>>LB> http://lists.iptel.org/mailman/listinfo/serusers
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>LB> _______________________________________________
>>>>LB> Serusers mailing list
>>>>LB> serusers(a)lists.iptel.org
>>>>LB> http://lists.iptel.org/mailman/listinfo/serusers
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>>
--
Best regards,
Alessio mailto:afoc@interconnessioni.it
[View Less]
Hi,
does anyone have a hint for a good windows software for Marcello including the
g723.1 codec?
Thanks,
Uli.
----- Weitergeleitete Nachricht von Marcello Lupo <lupo(a)itspecialist.it> -----
Datum: Wed, 21 Apr 2004 23:46:35 +0200
Von: Marcello Lupo <lupo(a)itspecialist.it>
Antwort an: Marcello Lupo <lupo(a)itspecialist.it>
Betreff: SIP Client g723.1
An: ullstar(a)iptel.org
Hi Ulrich,
i hope you remember me...
I hope all is good with you.
We are using very …
[View More]happily your SER in our offices in production environment
right now. Thanks a lot for all you past help.
I have a question, do you know any very good client SIP Phone software running
on Windows that support the G723.1 codec?? I think that it will be almost
sure a commercial product but it doesn't matter.
Thank you again,
Bye,
MArcello
----- Ende der weitergeleiteten Nachricht -----
----------------------------------------------------------------
Diese Mail wurde über das ADM Internet Mailsystem verschickt.
[View Less]
Is the latest stable version of the the rtpproxy still v20040105 ?
I am struggling to compile it on RedHat 9 with make-3.79.1-17
I downloaded sorce files using cvs co -r v20040105 rtpproxy
when I use the make install command the following error message is returned.
"Makefile:33: *** missing separator. Stop.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.661 / Virus Database: 424 - Release Date: 4/19/2004
Hi all:
I am trying nathelper module
refer to (http://www.informatik.uni-bremen.de/~prelle/terena/cookbook/main/ch04s07.ht…)
but when run ser , it say unknown command , missing load module?
and the error is
if (method == "REGISTER" || ! search("^Record-Route:")) {
and each line when use "search" , always says it has errors
can anyone give me any idea what was wrong ?
thanks
jimmy
In the overly simplified version below, assuming I have 2 ip's:
192.168.0.1 , and 1.2.3.4 How do I specify which IP will be replaced?
In this particular case I want it to always replace with 1.2.3.4 on
packets
going out, and 192.168.0.1 on the way …
[View More]in. From my example it's always
replacing it with the internal ip.
For example the following would be nice:
EIP=1.2.3.4
IIP=192.168.0.1
fix_nated_contact(EIP);
fix_nated_sdp(EIP);
etc.
if (method == "INVITE") {
fix_nated_contact();
fix_nated_sdp("3")
if (force_rtp_proxy("FAEE"))
t_on_reply("1");
}
onreply_route[1] {
if (!(status=~"183" || status=~"200"))
break;
fix_nated_contact();
fix_nated_sdp("3");
force_rtp_proxy("FA");
}
[View Less]
Hello Andy,
SER MediaProxy has fail-over mechanism and achieve what you want. Using
DNS SRV records you may distribute the load among any number of boxes
you have.
http://www.ag-projects.com/SER_Media_Proxy.html
--
Adrian
Hi Jan,
thanks for your answer.
however, How does this solution scale?
I may have a large number of users behind NAT.
Is it possible to have a failover.. i.e. send to to rtpproxy1, if it is
down/busy send to rtpproxy2, rtpproxy3, etc? From what I can see in the
…
[View More]source code there can only be one rtpproxy at a time. Is this correct?
Or
am I missing something.
Is anyone deploying a large number of users using rtpproxy? What have
you
found?
regards,
Andy
[View Less]
Hello Andy,
SER MediaProxy has fail-over mechanism and achieve what you want. Using
DNS SRV records you may distribute the load among any number of boxes
you have.
http://www.ag-projects.com/SER_Media_Proxy.html
--
Adrian
Hi Jan,
thanks for your answer.
however, How does this solution scale?
I may have a large number of users behind NAT.
Is it possible to have a failover.. i.e. send to to rtpproxy1, if it is
down/busy send to rtpproxy2, rtpproxy3, etc? From what I can see in the
…
[View More]source code there can only be one rtpproxy at a time. Is this correct?
Or
am I missing something.
Is anyone deploying a large number of users using rtpproxy? What have
you
found?
regards,
Andy
[View Less]
I recompiled and install ser-0.8.12 in WhiteBox Linux 3. Everything its
ok.
I installed SerWeb-2004-01-04, but i cant create users, the page show me
the users, find users, but i can't create users, no button, no tab for
this. Reading the list many users can do this.
Whats its the problem, any ideas ?
Regards!
--
Sergio Díaz Escobar. CCNA
<sdiaz at comnet dot net dot mx>
Network Engineer - Information Technology
COMNET, S.A. DE C.V.
Patriotismo 889 7o. Piso Col. Mixcoac
Mexico, 039100, …
[View More]D.F.
(52) 55 12539230 <> 121 Fax. (52) 55 12539240
Computers are unreliable, but humans are even more unreliable.
Any system which depends on human reliability is unreliable.
Murphy`s Law.
___________________________________________________________________
This email may be confidential and/or privileged. Only the intended
recipient may access or use it. Any dissemination, distribution or
copying of this email is strictly prohibited. If you are not the
intended recipient please notify us immediately by return email and
then erase the email.
We use virus scanning software but exclude all liability for viruses
or similar in any attachment or message...,..,..,.
[View Less]
With this command you checkout the the current (unstable) release.
Maybe you have mixed ab unstable and stable versions of the modules.
Delete everything ser related
rm -rf /usr/local/lib/ser
rm /usr/local/sbin/ser*
also remove any ser-rpms if you have installed them prior.
and try make, make install again
klaus
Harold Workman wrote:
> Klaus,
>
> Maybe im doing something wrong...isnt
> cvs -d:pserver:anonymous@cvs.ser.berlios.de:/cvsroot/ser co sip_server
>
> supposed …
[View More]to update the core as well? When I try starting ser it gives me a
> 0.8.12 core not compatible error with the modules. all the modules are in
> the correct path on the config....
>
> -----Original Message-----
> From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
> Sent: Thursday, April 22, 2004 10:32 AM
> To: hworkman(a)cytelcom.com
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Error compiling Radius and ACC
>
>
> I did it on monday with unstable cvs and everything was fine.
>
> Do you have manually set the path to
> /usr/local/sip_router/modules/acc/acc.so ?
>
> Default is /usr/local/sip_router/modules/
> and all modules are in this directory.
>
> klaus
>
> Harold Workman wrote:
>
>>Klaus,
>>
>>Thanks so much.....Using radiusclient-ng fixed the compiling
>
> problem....but
>
>>now that i have it installed im getting this when i try to start SER. I
>>read the previous emails, and have already updated everything (using
>>0.8.13-dev-28), make clean, and recompiled everything....still got this
>>error...
>>
>>Apr 22 10:12:20 hstntxsipua ser: ERROR: load_module: could not open module
>></usr/local/sip_router/modules/acc/acc.so>:
>>/usr/local/sip_router/modules/acc/acc.so: undefined symbol: log_facility
>>Apr 22 10:12:20 hstntxsipua ser: parse error (80,13-54): failed to load
>>module
>>Apr 22 10:12:20 hstntxsipua ser: ERROR: load_module: could not open module
>></usr/local/sip_router/modules/auth_radius/auth_radius.so>:
>>/usr/local/sip_router/modules/auth_radius/auth_radius.so: undefined
>
> symbol:
>
>>log_facility
>>
>>
>>
>>-----------------------
>>Harold Workman
>>CCNA, CCNP
>>Cytel Communications
>>hworkman(a)cytelcom.com
>>Ph. 281-449-4000 x3098
>>
>>
>>-----Original Message-----
>>From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
>>Sent: Thursday, April 22, 2004 9:33 AM
>>To: Harold Workman
>>Cc: serusers(a)lists.iptel.org
>>Subject: Re: [Serusers] Error compiling Radius and ACC
>>
>>
>>You have to use the radiusclient-ng for usntable ser:
>>http://developer.berlios.de/projects/radiusclient-ng/
>>
>>klaus
>>
>>Harold Workman wrote:
>>
>>
>>>Hi,
>>>
>>>Ive got the latest ser from cvs, and cannot compile acc or radius. I have
>>>already installed radius server, radius client_0-3-2 I edited the make
>>
>>files
>>
>>
>>>and here is what i get when i attempt to compile them.
>>>
>>>
>>>make[1]: Entering directory `/usr/local/sip_router/modules/acc'
>>>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
>>>-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
>>>-DNAME='"ser"' -DVERSION='"0.8.13-dev-28"' -DARCH='"i386"' -DOS='"linux"'
>>>-DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux
>>>-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
>>>-DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK
>>>-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
>>>-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
>>>-DHAVE_MSGHDR_MSG_CONTROL -DRAD_ACC -I/usr/local/include -c acc.c -o acc.o
>>>acc.c: In function `acc_rad_request':
>>>acc.c:597: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:597: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:597: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:597: error: too many arguments to function `rc_avpair_add'
>>>acc.c:602: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:602: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:602: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:602: error: too many arguments to function `rc_avpair_add'
>>>acc.c:609: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:609: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:609: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:609: error: too many arguments to function `rc_avpair_add'
>>>acc.c:614: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:614: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:614: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:614: error: too many arguments to function `rc_avpair_add'
>>>acc.c:633: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:633: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:633: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:633: error: too many arguments to function `rc_avpair_add'
>>>acc.c:644: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:644: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:644: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:644: error: too many arguments to function `rc_avpair_add'
>>>acc.c:666: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:666: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:666: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:666: error: too many arguments to function `rc_avpair_add'
>>>acc.c:677: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:677: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:677: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:677: error: too many arguments to function `rc_avpair_add'
>>>acc.c:687: warning: passing arg 2 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:687: warning: passing arg 3 of `rc_avpair_add' makes pointer from
>>
>>integer
>>
>>
>>>without a cast
>>>acc.c:687: warning: passing arg 4 of `rc_avpair_add' makes integer from
>>
>>pointer
>>
>>
>>>without a cast
>>>acc.c:687: error: too many arguments to function `rc_avpair_add'
>>>acc.c:694: warning: passing arg 1 of `rc_acct' makes integer from pointer
>>>without a cast
>>>acc.c:694: warning: passing arg 2 of `rc_acct' makes pointer from integer
>>>without a cast
>>>acc.c:694: error: too many arguments to function `rc_acct'
>>>make[1]: *** [acc.o] Error 1
>>>make[1]: Leaving directory `/usr/local/sip_router/modules/acc
>>>
>>>
>>>
>>>
>>>Harold Workman
>>>CCNA, CCNP
>>>Cytel Communications
>>>hworkman(a)cytelcom.com
>>>Ph. 281-449-4000 x3098
>>>
>>>
>>>
>>>
>>>
>>>----------------------------------------------------------------
>>>This message was sent using IMP, the Internet Messaging Program.
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers(a)lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>
>>
>>
>
>
[View Less]
Hi,
Ive got the latest ser from cvs, and cannot compile acc or radius. I have
already installed radius server, radius client_0-3-2 I edited the make files
and here is what i get when i attempt to compile them.
make[1]: Entering directory `/usr/local/sip_router/modules/acc'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='"ser"' -DVERSION='"0.8.13-dev-28"' -DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"…
[View More]gcc 3.3"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DRAD_ACC -I/usr/local/include -c acc.c -o acc.o
acc.c: In function `acc_rad_request':
acc.c:597: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:597: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:597: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:597: error: too many arguments to function `rc_avpair_add'
acc.c:602: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:602: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:602: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:602: error: too many arguments to function `rc_avpair_add'
acc.c:609: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:609: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:609: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:609: error: too many arguments to function `rc_avpair_add'
acc.c:614: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:614: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:614: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:614: error: too many arguments to function `rc_avpair_add'
acc.c:633: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:633: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:633: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:633: error: too many arguments to function `rc_avpair_add'
acc.c:644: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:644: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:644: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:644: error: too many arguments to function `rc_avpair_add'
acc.c:666: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:666: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:666: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:666: error: too many arguments to function `rc_avpair_add'
acc.c:677: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:677: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:677: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:677: error: too many arguments to function `rc_avpair_add'
acc.c:687: warning: passing arg 2 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:687: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast
acc.c:687: warning: passing arg 4 of `rc_avpair_add' makes integer from pointer
without a cast
acc.c:687: error: too many arguments to function `rc_avpair_add'
acc.c:694: warning: passing arg 1 of `rc_acct' makes integer from pointer
without a cast
acc.c:694: warning: passing arg 2 of `rc_acct' makes pointer from integer
without a cast
acc.c:694: error: too many arguments to function `rc_acct'
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/usr/local/sip_router/modules/acc
Harold Workman
CCNA, CCNP
Cytel Communications
hworkman(a)cytelcom.com
Ph. 281-449-4000 x3098
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
[View Less]
> Hello!
>
> Plese help me, if possible!
> I have a SER server and Vocal b2bua on my linux server. I would like make
> a simple prepaid
> application whith these components.
> I'm beginner in SIP, therefore excuse me for stupid questions.
> SER works fine without b2bua, sends accounting messages to the freeradius
> server, but can't hang up
> conversation depend on user balance amount.
> Therefore i need a b2ua, that watches the sessions, and starts a timer
&…
[View More]gt; (vocal 2b2ua be able to do it )
>
> How works b2bua in this plan? Need i one b2bua between two SER servers for
> calltime controll?
>
> Are there any other simple free solutions for prepaid billing with SER?
>
> Is there anyone who use b2bua with SER server? If yes, please send a
> configuration hint for me!
>
> Thank you.
>
> Regards,
>
> Antal Pletli
>
> email: a.pletli(a)euromacc.hu
[View Less]
Here is my ser.cfg.SER don't start because of acc module
anybody could help me to solved this problem before an other ?
ser -c =>
0(6238) set_mod_param_regex: parameter <db_url> not found in module
<acc>
0(6238) parse error (96,60-61): Can't set module parameter
0(6238) set_mod_param_regex: parameter <db_missed_flag> not found in
module <acc>
0(6238) parse error (97,36-37): Can't set module parameter
0(6238) parse error (195,63-64): unknown command, missing …
[View More]loadmodule?
ERROR: bad config file (3 errors)
regards
#
# $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=9
fork=yes
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
listen=192.168.0.1
children=4
fifo="/tmp/ser_fifo"
fifo_mode=0666
#alias="example.com"
# ------------------ module:wq 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/domain.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
loadmodule "/usr/lib/ser/modules/msilo.so"
loadmodule "/usr/lib/ser/modules/vm.so"
loadmodule "/usr/lib/ser/modules/acc.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_url", "mysql://ser:heslo@localhost/ser")
modparam("usrloc", "db_mode", 1)
#modparam("usrloc", "use_domain", 1)
# --register params--
modparam("registrar", "use_domain", 1)
# -- 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)
# --domain module--
modparam("usrloc", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("domain", "db_mode", 1)
modparam("domain", "domain_table", "domain")
modparam("domain", "domain_col", "domain")
# --msilo params--
modparam("msilo", "registrar", "sip:registrar@example.com")
modparam("msilo", "db_url", "mysql://ser:heslo@localhost/ser")
# --vm params--
modparam("voicemail", "db_url", "mysql://ser:heslo@localhost/ser")
# --acc params--
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 2)
modparam("acc", "log_missed_flag", 2)
modparam("acc", "log_fmt", "fimos")
modparam("acc", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("acc", "db_missed_flag", 2)
# ------------------------- 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 (is_from_local()) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("", "subscriber")) {
www_challenge("", "0");
break;
};
save("location");
m_dump();
break;
};
# native SIP destinations are handled using our USRLOC DB
lookup("aliases");
if (!lookup("location")) {
if (method == "MESSAGE") {
if (!t_newtran()) {
sl_reply_error();
break;
};
if (m_store("0")) {
t_reply("202", "Accepted for Later Delivery");
break;
};
t_reply("503", "Service Unavailable");
break;
};
};
if ((method=="INVITE" || method=="ACK") && t_newtran() ) {
t_reply("404", "Not Found");
route(3);
break;
};
};
setflag(2);
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
t_on_failure("1");
# 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();
};
}
route[3] {
# non-Voip -- just send "off-line"
if (!(method=="INVITE" || method=="ACK" || method=="CANCEL")) {
sl_send_reply("404", "Not Found");
break;
};
if (t_newtran()) {
t_reply("404", "Not Found");
acc_db_request("404 missed call", "missed_calls");
};
}
[View Less]