Hello Everyone,
Just a new face on the mailinglist (only been lurking so far) so just a
friendly hi from me to all of you.
I was wondering if the following idea could be realised with the use of SER
and some (advanced) routing rules.
One main SER server with one or more 'slave' SER servers running at their
own location with a synchronized user database, but with their own presence
table.
e.g. if someone on the main SER server asks for a connectiong with a user on
a 'sub' ser server of the same domain, the main SER server looks up if the
user is online on it's server if not it checks if the user is online on one
(or more) sub servers.
What i like to accomplish is multple local networks that run their own ser
server and support their 'local' connections, but sometimes there is a
connection available to another local network, in which case more users can
be reached. so on a request and fail of the user online on the local server
it would try and see if it can connect to (any) other server and if so query
if the user is online there.
so everyone will be user(a)domain.com but it would point to the ip of the
local server.
Any config examples on how to achive this if possible would really be
appreciated.
Kind regards,
Tjardick van der Kraan
--
Tjardick van der Kraan
tjardick(a)vanderkraan.net
Tel +32 4 34 40 522
Fax +32 4 34 40 525
GSM +32 497 45 27 36
IAXtel: 1 700 344 0522
FWD: 26322
IPtel: 91331
Rue des Pocheteux 10
4020 Jupille
Belgium
is it possible to somehow change paramters during runtime?
I need to look up users in two different enum domains - first in e164.arpa
and, if not found, in e164.foo.bar (2nd enum is for internal provider
routing purposes).
if not, should we add a enum_query_domain(service, domain) that enables
this?
jakob
At 17.32 06/10/2003 +0200, you wrote:
>At 05:12 PM 10/6/2003, giAndrea wrote:
>
> >Hi, another problem.
> >
> >After compilation of new sources (0.8.12dev-17-cristian) i've found this
> problem in modules registrar.so during execution (/etc/init/ser start)
> >
> >Oct 6 16:19:09 webby ser: 0(0) fixing
> /usr/lib/ser/modules/registrar.so save
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 16) called from
> dlist.c: new_dlist(156)
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 16) returns
> address 0x422bea0c frag. 0x422be9f4 (size=16) on 1 -th hit
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 8) called from
> dlist.c: new_dlist(163)
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 8) returns
> address 0x422bea4c frag. 0x422bea34 (size=8) on 1 -th hit
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 36) called from
> udomain.c: new_udomain(117)
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 36) returns
> address 0x422bea84 frag. 0x422bea6c (size=36) on 1 -th hit
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 8192) called from
> udomain.c: new_udomain(124)
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x42134000, 8192) returns
> address 0x422bead8 frag. 0x422beac0 (size=8192) on 1 -th hit
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x80c17c0, 9) called from
> db_con.c: use_table(53)
> >Oct 6 16:19:09 webby ser: 0(0) qm_malloc(0x80c17c0, 12) returns
> address 0x80cb9dc frag. 0x80cb9c4 (size=12) on 1 -th hit
> >Oct 6 16:19:09 webby ser: 0(0) submit_query(): Unknown column 'flags'
> in 'field list
>
>See what it tells you :)
I've seen that, but i supposed that i was an error on source and not in db.
I provide to correct my db structure.
thanks.
>You are using development version in which database structures have not
>been updated yet. I suppose you actually don't want to take the development
>version.
>
>It takes now a new column, called "flags". It is an int(11).
>
>-jiri
--------------------------------------------------------------------------------------
There is no world without Verona's walls but purgatory, torture, hell itself.
Hence-banished is banished from the world, and world's exile is death
[Shakespeare: Romeo and Juliet - Act III - Scene III]
THANK YOU.
That works.
Stephen
Subject: RE: [Serusers] voicemail question - dial plan example -
pstngatewayexample
Steve,
Have you tried using "append_branch()" after
"rewritehostport(<new uri>)"?
Jaime
From: Steve Dolloff <sdolloff(a)noc.dls.net> on 03/10/2003 15:04
To: Alexander Mayrhofer <axelm(a)nic.at>@SMTP@Exchange
Jiri Kuthan <jiri(a)iptel.org>@SMTP@Exchange
serusers@lists.iptel.org@SMTP@Exchange
cc:
Subject: RE: [Serusers] voicemail question - dial plan
example - pstngatewayexample
Any other suggestions?
Subject: Re: [Serusers] voicemail question - dial plan example -
pstngateway example
On (02.10.03 23:28), Alexander Mayrhofer wrote:
> replacing
>
> rewritehostport("219.242.10.153:5061");
>
> with
>
> append_branch("sip:219.242.10.153:5061");
>
> in the fialure_route should do the trick.
err, i hate replying to my own mails.
The above line will make you loose the user part of the URI, and
is
therefore not a working solution ... we'd need a function to
reset the
branch status value here, which afaik does currently not exist
...
axelm
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
************************************************************************
*******
Important.
Confidentiality: This communication is intended for the above-named
person and
may be confidential and/or legally privileged. Any opinions expressed in
this
communication are not necessarily those of the company. If it has come
to you
in error you must take no action based on it, nor must you copy or show
it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus
free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in
England No
2178917, with its address at St James Court, Great Park Road,
Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
************************************************************************
*******
Dear Teacher:
How are you! I'am in china.I install ser in my computer. But when I login with Windows message 4.6 ,Ser server don't authenticate my usename. How do I config? when I login server every time, Server can request authentication.
Help me! thank you!
Mr, hao
How are you! Is file name of SER script ser.cfg ? my SER script be shown at last , Is it correct? Thank you very much!
#
# $Id: ser.cfg,v 1.21.2.1 2003/07/30 16:46:18 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 (len_gt( 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("Lserver", "subscriber")) {
www_challenge("Lserver", "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();
};
}
# Then end
Does anyone know how I can send from ser a NOTIFY (or is perhaps INFO)
message to a Cisco ATA 186 or other UA to turn on/off the message
waiting indicator for voicemail. The Cisco ATA is capable of playing a
stuttered dial tone to indicate voicemail but I cannot find any
documentation on how to toggle this tone on/off from the proxy. I also
have other sip phones like the Grandstream where I would like to signal
the MWI to it as well. Does anyone know how this can be done? I assume
via the ser_fifo, but what kind of message and what should it look like?
-- Josh
Hello,
Can anybody please tell me the meaning of the ftag-Parameter in Record-Route
Header which SER uses?
e.g.: Record-Route: <sip:409870@192.246.69.223;ftag=180507275;lr=on>
Franz
Hi all
Here are lines from my ser.cfg
modparam("acc", "radius_missed_flag", 3)
modparam("acc", "radius_log_flag", 1)
# ------------------------- request routing logic -------------------
I m getting
Oct 6 00:07:45 voice ser: set_mod_param_regex: parameter <radius_log_flag> not found in module <acc>
Oct 6 00:07:45 voice ser: parse error (73,37-38): Can't set module parameter
in logs, ser doesnt run, while compiled acc module with radius support ON, ser isnt recognizing radius_log_flag param.
Any idea?
JF
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Steve,
Have you tried using "append_branch()" after "rewritehostport(<new uri>)"?
Jaime
From: Steve Dolloff <sdolloff(a)noc.dls.net> on 03/10/2003 15:04
To: Alexander Mayrhofer <axelm(a)nic.at>@SMTP@Exchange
Jiri Kuthan <jiri(a)iptel.org>@SMTP@Exchange
serusers@lists.iptel.org@SMTP@Exchange
cc:
Subject: RE: [Serusers] voicemail question - dial plan example - pstngatewayexample
Any other suggestions?
Subject: Re: [Serusers] voicemail question - dial plan example -
pstngateway example
On (02.10.03 23:28), Alexander Mayrhofer wrote:
> replacing
>
> rewritehostport("219.242.10.153:5061");
>
> with
>
> append_branch("sip:219.242.10.153:5061");
>
> in the fialure_route should do the trick.
err, i hate replying to my own mails.
The above line will make you loose the user part of the URI, and is
therefore not a working solution ... we'd need a function to reset the
branch status value here, which afaik does currently not exist ...
axelm
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
I'm not sure how the "turn-off-lamp" NOTIFY is supposed to look like either.
Someone requested us to send Cisco's "reboot" NOTIFY, which is
implemented in serctl using ser_fifo. If you learn how the NOTIFY is supposed
to look like, aligning serctl to your need should be fairly simple.
-jiri
At 05:13 AM 10/5/2003, Josh Newman wrote:
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C38AEE.A0208F26"
>Content-class: urn:content-classes:message
>
>Does anyone know how I can send from ser a NOTIFY (or is perhaps INFO) message to a Cisco ATA 186 or other UA to turn on/off the message waiting indicator for voicemail. The Cisco ATA is capable of playing a stuttered dial tone to indicate voicemail but I cannot find any documentation on how to toggle this tone on/off from the proxy. I also have other sip phones like the Grandstream where I would like to signal the MWI to it as well. Does anyone know how this can be done? I assume via the ser_fifo, but what kind of message and what should it look like?
>
>
>
>-- Josh
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/