Hi!
I want to test a sip configuration with SER and Cisco IOS.
Can someone tell me how to configure this ?
Can someone send me an example configuration ?
How do I associate a user with a directory number ?
For what is the Caller-ID in the user information ?
My configuration should be:
SIP ua -- SER Server -->Cisco Gateway --> PSTN
I know that are a lot of questions, but I don't know
where else to find this information.
The admin Guide and install guide didn't helped.
I searched a lot of pages, mailing list and cisco
documentation, but nowhere I could find any examples.
Thanks in advance,
Ahmad
--
Ahmad Cheikh-Moussa
NetUSE AG
Dr.-Hell-Straße, 24107 Kiel, Germany
Telefon: +49 431 2390 400 -- Telefax: +49 431 2390 499
Service: Service(a)NetUSE.DE -- http://NetUSE.DE/
I'm running serweb installed from cvs a month ago.
I'd like to create aliases from serweb but I didn't find the appropriate config, there is an alias.php but I dont have the alias tab.
Does some one knows hoe to enable it?
thanks
Rosario
Hi,
to connect LCS my pstn gateway through SER I have to
change
from sip:user1@pdc.local.aastra.net to from
sip:user1@192.168.1.108
when I receive the status eg 180 ringing I have to
make the reverse operation.
For that I think I have to use
t_on_reply("1");
onreply_route[1] {...}
But I never go onreply_route[1]. I am wrong but don't
understand why. Here after my ser.cfg file.
Thanks for help,
Alexis
#
# $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=no
#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/exec.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"
#Modif ADE chargement module
loadmodule "/usr/local/lib/ser/modules/textops.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;
};
#ajout alexis external parsing for
alaexis.debreu(a)aastra.net
if (method=="INVITE") {
if (uri=~"^sip:[a-zA-Z\.]@*") {
log (1, "got mail format uri lookup for tel
number\n");
exec_dset ("/usr/local/etc/ser/siplookup");
};
rewritehostport("192.168.1.109");
replace ("<sip:user1@pdc.local.aastra.net>",
"<sip:user1@192.168.1.108>");
t_relay_to_udp("192.168.1.109","5060");
};
t_on_reply("1");
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("sip.pdc.local.aastra.net",
"subscriber")) {
www_challenge("sip.pdc.local.aastra.net", "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();
};
}
onreply_route[1] {
log (1, "got msg from Nexpan on reply\n");
}
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
Hi everybody,
In order to increase the security, performance, reliability and scalability of my VoIP Service I'm putting SER and Mysql at two separate Servers. I'm a kind of worried about my mysql server, because, if its comes to stop one day, none of my Users will connect. In order to solve this problem, I'm thinking of doing a Redundant MySQL DB Server. I'm not sure how am I going to do that. Has anyone done it already, that could share some information ?
I'm trying to make all my 3 Sip Server use my Local Mysql DB Server Machine to auth, but another Mysql Server Machine to do the redudance.
Any help will be great
Best Regards
Thanks in Advance
--
Felipe Martins
Mundivox Communications
Tecnologia e Projetos
fmartins(a)mundivox.com
Tel.: +55 +21 +3820 8839
Cel.: +55 +21 +9823 8602
Fax.: +55 +21 +3820 8844
www.mundivox.com
Hi
I was wondering if anybody had some advice on howto account forwarded
calls to the subscriber who farwarded his phone?
ATM I account people by the From address, and I was thinking of adding a
control prior to the routes in ser.cfg, which serched the message for
any diversion header:
if (method=="INVITE" & search("Diversion:"))
{
log(1, "Call is being forwarded and we need to account it to
this person\n");
append_hf("P-hint: Call being forwarded from\r\n");
setflag(1);
};
But I dont seem to be getting the information, that I seek, cause no 302
status gets recorded in my accouonting table.
Any help on what I'm doing wrong? And is there a better way to use
setflag, or more correct?
Regards
Martin
Hi!
After reading through the instructions, I have finally managed to make
ser work. After that, I also followed the instructions and mysql seems
to be working fine as well. (at least I can see the users I added so
that should be a good sign!)
Now I am trying to configure serweb so that others can connect to my
server and add themselves etc but try as I may, I can not get it to
work... I have made all the changes to the php files as suggested by
the manual but when I try to go to the webserver's address all I get is
:
Database error: pconnect(localhost,administrator(a)oug.gr, $Password)
failed.
MYSQL Error: ()
Session halted.
What is this? Can someone please help?
Thanks you in advance,
Alexandros.
Hi Juha,
Thanks for the reply. I undertsand now. However if I want to
implement sequential forking i.e. by adding a failure route etc,
won't this do sequential forking for every user?....Is there a way of
making this user profile specific?
Many Thanks,
Aisling.
>
>---- Original Message ----
>From: jh(a)tutpro.com
>To: ashling.odriscoll(a)cit.ie
>Subject: RE: [Serusers] Parallel Forking Query
>Date: Mon, 18 Apr 2005 18:37:42 +0300
>
>>Aisling O'Driscoll writes:
>>
>> > I want to set up SER such that some users have their imcoming
>calls
>> > forked to all their devices and others have their incoming calls
>> > processed as normal....Is this possible??
>>
>>if a user has several contacts registered for an aor with the same q
>>value, then it is "normal" for a proxy to parallel fork to all those
>>contacts.
>>
>>-- juha
>>
>>-------------------Legal
>Disclaimer---------------------------------------
>>
>>The above electronic mail transmission is confidential and intended
>only for the person to whom it is addressed. Its contents may be
>protected by legal and/or professional privilege. Should it be
>received by you in error please contact the sender at the above
>quoted email address. Any unauthorised form of reproduction of this
>message is strictly prohibited. The Institute does not guarantee the
>security of any information electronically transmitted and is not
>liable if the information contained in this communication is not a
>proper and complete record of the message as transmitted by the
>sender nor for any delay in its receipt.
>>
>>
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
Thank u Daniel for the reply.
I'm using ser 0.8.14. I have already installed radiusclient-ng-0.5.0.
I forgot to mention I also saw the advice about adding /usr/local/lib to the
LD_LIBRARY_PATH environment variable.
Is there a way for me to check if the installation of the libradiusclient /
radiusclient-ng went ok?
Thx in advance
itsik
I'm trying to enable radius auth, but the loadmodule fails. I installed the
libradiusclient 0.3.2 and I c libradiusclient.so in /usr/local/lib.
I saw the advice about adding /usr/local/lib to the /etc/ld.so.conf and
running ldconfig -v. I even saw that it handles the libradiusclient.so.
Then I tried to fool auth_radius by adding a link to libradiusclient.so
named libradiusclient.so.2, but then it didn't find some symbol rc_dict..
The configuration file is the default file, except the loadlodule for
auth_radius and replacing www_auth with radius_auth.
The ser output is:
0(14859) loading module /usr/local/lib/ser/modules/sl.so
0(14859) loading module /usr/local/lib/ser/modules/tm.so
0(14859) loading module /usr/local/lib/ser/modules/rr.so
0(14859) loading module /usr/local/lib/ser/modules/maxfwd.so
0(14859) loading module /usr/local/lib/ser/modules/usrloc.so
0(14859) loading module /usr/local/lib/ser/modules/registrar.so
0(14859) loading module /usr/local/lib/ser/modules/auth.so
0(14859) loading module /usr/local/lib/ser/modules/auth_radius.so
0(14859) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/auth_radius.so>: libradiusclient.so.2: cannot
open shared object file: No such file or directory
0(14859) parse error (38,13-55): failed to load module
0(14859) set_mod_param_regex: usrloc matches module usrloc
0(14859) set_mod_param_regex: found <db_mode> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]
0(14859) set_mod_param_regex: rr matches module rr
0(14859) set_mod_param_regex: found <enable_full_lr> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(14859) find_export: found <mf_process_maxfwd_header> in module
maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so]
0(14859) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(14859) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(14859) find_export: found <record_route> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(14859) find_export: found <loose_route> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(14859) find_export: found <t_relay> in module tm
[/usr/local/lib/ser/modules/tm.so]
0(14859) find_export: <radius_www_authorize> not found
0(14859) find_export: <radius_www_authorize> not found
0(14859) parse error (105,32-33): unknown command, missing loadmodule?
.
a. why does the auth_radius looking for 'libradiusclient.so.2' doesn't
it seeks the 'libradiusclient.so'?
b. what can I do in order to make it work?
Thx in advance,
Itsik