Hello, I'm very new to SER, been using * for a couple months....
I don't mean to ask stupid questions, but I'm finding it hard to find any examples of using SER to REGISTER to a VoIP provider like Iconnecthere or Broadvoice and forward calls TO/FROM *...
All phones will register to Asterisk. Asterisk in turn will register to SER which will pass that registration info on to the SIP Provider...
So if someone calls from PSTN it would go PSTN => SIP-PROVIDER => SER => * => My Phone
And if I made a call: My Phone => * => SER => SIP-PROVIDER => PSTN
The reason I want to do this is because * does not support outbound proxies, round-robin DNS or RTP over TCP... Things I kinda want...
If anyone can point me to some examples or maybe help me out I would appreciate it... I've tried WIKI and searching this list, the closest I could come was this post...
http://lists.iptel.org/pipermail/serusers/2004-June/008916.html
but I can't understand most of it... it looks like he's doing basically what I want to do, but I am unfamiliar with the config file syntax... I've tried reading the manual and the faq, but it dosen't really help when it comes to passing things to/from *...
-Thank you for any help you can give
Chris
Hi,
Can someone illustrate the steps on how to upgrade mysql from ver3.23 to
ver4.0? Basically I just want to use serweb-missed-calls feature.
I have installed ser using rpm and the version is 0.8.12. and recompiled acc
module for mysql support. I can see some records in the missed-call table by
using mysql command.
Thanks and Best Regards
--------------------------------------------------------------
Linda Xiao
Hello all,
Both of my mysql and ser servers are running !.
I have uncommented some lines on "ser.cfg" file.
But I have problem when I want to add users with "serctl" and get
the following error messages.
----------------------------------------------------------------------------------------------------------
serctl add mura password murat@iptel@org
MySql password:
ERROR 1045: Access denied for user: 'ser@localhost' (Using password: YES)
introducing a new user to the database failed
Do you have any suggestions ?. My syetem is Fedora 1, and ser version
is:0.8.12.
Thank you for your help.
****************************************************************
Last situation of ser.cfg file
************************************************************
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
#debug=3 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/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
#
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("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "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();
};
}
Hi List
I hop i have posted my query at wrong time....do u have any suggestion for
the same..
regards
----- Original Message -----
From: "Kapil Dhawan" <sersavvy(a)hotmail.com>
To: <sersavvy(a)hotmail.com>
Cc: <serusers(a)lists.iptel.org>
Sent: Sunday, July 25, 2004 6:41 AM
Subject: RE: [Serusers] Too Many Hops
> Hi all
>
> I amusing domain module for multiple domain...If i use Ip's in domain
table all works fine....when we start ser. it accepts and processes requests
from all those ip's but if i use domain names rather...then it doesn't
work....
>
> registration gets done..
>
> but if 101(a)sip.abc.com calls 102@sip.abc.com....INVITE comes but No ACK or
BYE...we are unable to hear from any side...kindly suggest me whats
happening...
>
> With same case if i use alias="sip.abc.om" in ser.cfg then it works ....
>
>
> Regards
>
> >From: "Kapil Dhawan" <sersavvy(a)hotmail.com>
> >To: sersavvy(a)hotmail.com
> >Subject: RE: [Serusers] Too Many Hops
> >Date: Sat, 24 Jul 2004 12:45:46 +0000
> >
> >
> >Hi All
> >
> >It is working with domain name also....but with a new problem now.....i
am using sip1.abc.com as the domain name now when 101 calls to 102 ...invite
goes to 102 properly and gets stored in acc table also...but ACK is not
coming back.....
> >
> >7(5436) Warning: sl_send_reply: I won't send a reply for ACK!!
> >
> >so call is not progressing....any idea...
> >
> >
> >
> >>From: "Kapil Dhawan" <sersavvy(a)hotmail.com>
> >>To: serusers(a)lists.iptel.org
> >>Subject: [Serusers] Too Many Hops
> >>Date: Sat, 24 Jul 2004 12:24:55 +0000
> >>
> >>Hi List
> >>
> >>I am using domain module with 0.8.12. it was running perfect if i add
multiple ip's in that table...but if i add domain names instead of ip's
then i get 483 Too Many Hops.
> >>
> >>any possible reason for that
> >>
> >>regards
> >>
> >>_________________________________________________________________
> >>Studies, career, romance. Whatever your concerns.
http://www.astroyogi.com/newMSN/ We have the answers.
> >>
> >>_______________________________________________
> >>Serusers mailing list
> >>serusers(a)lists.iptel.org
> >>http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
When I do a "ps -ef | grep ser" I don't get the process if for ser. When I
look at the "ser.pid" file, and get the Process ID from it, then try to do a
"kill <pid>" for example, it says there is no such process. However, when I
send SIP messages to the server, and monitor port 5060 by ngrep, I do see
registration response messages go out to my IP phone. Please help.
Thanks in advance.
MS
_________________________________________________________________
Overwhelmed by debt? Find out how to Dig Yourself Out of Debt from MSN
Money. http://special.msn.com/money/0407debt.armx
Dear All,
I need to test the voicemail functionality of SER proxy, please sugeest
me some free user agent to perform this test.
As I tryed with windows messanger but I conuld not succed. As with
windows messanger I can communicate only with on line user (as per my best
knowledge). But due to the testing of voicemail I need to send an
invite request to off line user which could e lead as voice mail session.
thanks ..
koyama
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hello Voicemail and IVR Users,
The Servpac development team (located Honolulu, Hawaii) would like
announce the Alpha version of SipUMS. We ported our old OpenUMS project
(http://sourceforge.net/projects/linuxvm) to the work as a SEMS/IVR
plugin. Feel free to download it and try it out SipUMS:
http://developer.berlios.de/projects/sipums/
In the distribution you will find detailed installation instructions.
Make sure that you have set up Perl support for SEMIVR. If you run into
any problems installing it, you can subscribe to our mailing list at
http://lists.servpac.com and ask questions.
We hope that SipUMS can grow and expand in scope and users. The
system is pretty flexible and has many IVR features. Out of the box, it
has a fully functional voicemail. The web interface is written in
perl-CGI but is being ported to php. We look forward to getting feedback
from other users in the community on this project.
Kevin W. English
kevin(a)x5dev.com
Software Engineer, Servpac.com
808-356-0034 (w)
808-271-5125 (c)
Before i begin to make some work on my own :
Did anybody did some basic work on implementing SER on a linksys WRT54G ?
for more info :
www.batbox.org/wrt54g-linux.html
Kind Regards
Michaël Devenijn
DISCLAIMER: The content of this e-mail message does not constitute a commitment of DKMA bvba This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the intended recipient only. Any use of the information contained herein ( including, but not limited to, total or partial reproduction, communication or distribution in any form ) by persons other than the designated recipient(s) is prohibited.If an addressing or transmission error has misdirected this e-mail, please notify the author, either by telephone or by e-mail and delete the material from any computer.
hi
I've been told to setup a 48-PRI SIP/PSTN gateway system, and want to
do this as follows:
1 SER server proxying all incoming SIP connections
12 asterisk servers with 4 E1 PRIs each doing the actual SIP/PSTN
gatewaying
1 database server for number routing, call details and authentication
info
Questions:
- How can I setup SER to forward up to 120 calls per asterisk node
before switching to another one? does SER keep a list of open RTP
connections to the box forwarded to?
- Can multiple SER boxes be used for failover or load balancing?
thanks
roy
Hi
please someone help me... IŽm still having problems to obtain radius accounting and I found this error in the debug file:
.
.
7(7511) ERROR: acc_rad_request: radius-ing failed
7(7511) DEBUG: cleanup_uacs: RETR/FR timers reset
7(7511) DEBUG: add_to_tail_of_timer[2]: 0x402f59b8
7(7511) receive_msg: cleaning up
5(7509) ERROR: acc_rad_request: radius-ing failed
5(7509) SER: forwarding ACK statelessly
5(7509) DEBUG: mk_proxy: doing DNS lookup...
5(7509) check_via_address(200.110.6.58, 200.110.6.58, 0)
5(7509) Sending:
ACK sip:6603000@10.0.0.236 SIP/2.0
Record-Route: <sip:6603000@200.110.2.132;ftag=4040fe43a4;lr=on>
Via: SIP/2.0/UDP 200.110.2.132;branch=0
Via: SIP/2.0/UDP 200.110.6.58:5060;branch=z9hG4bK4040fe43a418
From: <sip:6604000@200.110.2.132>;tag=4040fe43a4
To: <sip:6603000@200.110.2.132>;tag=8e006a06a4
Call-ID: 40d9ba40-16dd-fe9c-8043-0002a4005564(a)200.110.6.58
CSeq: 18 ACK
Route: <sip:6603000@200.110.2.132;ftag=4040fe43a4;lr=on>
Content-Length: 0
Max-Forwards: 69
.
.
this error appears only when I try "setflag(1)" for the transactions I want to account, also in this case the ACK message it comes too late (not when pick Up the phone...).
these are some details of my installation:
- SuSE Linux 9.0 (i586)
- ser-0.8.12
- I have followed "radius-how-to" very carefully.
- radiusclient-0.3.2
- freeradius-0.9.3 (installed in the same host with ser)
- I`m Not using mysql (do I have to use it??)
- my current ser.cfg and endpoints configuration are shown below
thanks.
Rafael Risco
PS: Config Files:
#
# ----------- 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=6
fork=yes
log_stderror=yes
#*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
#loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
# loadmodule "/usr/local/lib/ser/modules/uri.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"
loadmodule "/usr/local/lib/ser/modules/group_radius.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
# load the NAT Helper Module
# loadmodule "/usr/local/lib/ser/modules/nathelper.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("acc","log_level",1)
modparam("auth_radius","radius_config","/usr/local/etc/radiusclient/radiusclient.conf")
modparam("auth_radius","service_type",15)
modparam("acc","radius_config","/usr/local/etc/radiusclient/radiusclient.conf")
modparam("acc", "service_type", 15)
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 3)
# ------------------------- 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 (method=="REGISTER") {
log(1, "REGISTER: Authenticating user\n");
if (!radius_www_authorize("")) {
log(1, "REGISTER: challenging user\n");
www_challenge("", "0");
break;
};
save("location");
break;
};
if (method=="INVITE") {
log(1, "INVITE\n");
setflag(1); /* set for accounting (the same value as in log_flag!) */
};
if (method=="MESSAGE") {
log(1, "MESSAGE\n");
setflag(1); /* set for accounting (the same value as in log_flag!) */
};
if (method=="BYE" || method=="CANCEL") {
log (1, "BYE or CANCEL\n");
setflag(1);
};
# 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();
break;
};
}
########################################################################
Example of one endpoint config:
VoiceFinder Gateway Series (http://www.addpac.com)
AP200B System software Revision 8.10
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
no force-starth245
busyout monitor gatekeeper
busyout monitor voip-interface
display send e164
!
!
! Voice port configuration.
!
voice-port 0/0
! FXS
caller-id enable
!
!
voice-port 0/1
! FXS
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 6600020
port 0/0
call-waiting
!
dial-peer voice 1 pots
destination-pattern 6603000
port 0/1
call-waiting
!
!
!
! Voip peer configuration.
!
!
dial-peer voice 1002 voip
destination-pattern 6604000
session target sip-server
session protocol sip
codec g7231r63
dtmf-relay rtp-2833
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-username 660300X
sip-password 1234
sip-server 200.X.2.132
register e164
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
!
!
! Tones
!
!
voip-interface ether0.0
!
agent00 #