UA ---------- SER --------- Asterisk (with
registration, authentication, etc) -------- PSTN gateway
(redirects)
Now when I want my UA to register to asterisk I send I register request
to SER, the SER then gives back a 302 message and give the ip address of
the Asterisk indicates redirection. Then the UA should directly contact
Asterisk and get it self register and SER should not be involved. But I
am unable to register and asterisk gives me back 407 proxy
authentication required. Though I can make call with right credentials I
can not receive calls since the Asterisk does not know where the UA is
and thus I cant have incoming calls. Also both my asterisk and Ser are
in different domain. Can that be the problem or not???
Here is what I hv configured
if (method="REGISTER"){
rewritehostport('ip address of asterisk:5060");
sl_send_reply("302" , "moved");
}
Is there any error in this
Pls folks help me out, I hv to get this working
Thanks
Dipen K Gala
Fidelity Investments System Company - Telecom
Phone: (617) 563-2729
Email: Dipen.Gala(a)FMR.com
I have made a diagram using Dia, of a ser footprint that I would like to
put together.
http://www.ecad.org/~jev/ser/SerFootprint.png
The idea is that all user accounts, and locations (Down to ser/rtpproxy
fronted) will be stored in the main Billing/User accounts back end. I
want to have a farm of front end ser machines which will just proxy
invites/registers/byes to the back end for authentication,
authorization, and billing, and also proxy RTP by means of either Maxims
rtpproxy or AG's mediaproxy.
The front end SERs will be able to come and go, and our cisco router
will manage the balancing (using things like 'sticky IP').
Depending on load we can just add more front end ser machines, and also
possibly add more back end machines (using the t_replicate() mechanism)
if need be.
Currently I'm playing around in my test network getting this footprint
to a functional state, I wanted to share the idea with community and see
what you guys think of this setup? Weaknesses, [over|under] complicated?
It is possible that some front end machines would be specific for a
certain group of phones, based on latency (Different physical location).
My main requirement is that I have a single billing/accounting
mechanisism...
Calls from one end point to the other will allways be mediated through a
RTP proxy on one of the front end machines.
What do you guys think?
Hi, i am testing 0.8.13 version of SER from CVS and see in the INSTALL file some like this:
vm_reply() fifo functions was replcaed by TM with t_reply() fifo function
NOTE!! because current version of SEMS/AA try to send reply via vm_reply,
it will not work with the TM version.
What is the right version of SEMS to use with SER 0.8.13 ?
Thanks
Ezequiel
Hey can any one provide me the path where all the log messages are
stored????
Dipen K Gala
Fidelity Investments System Company - Telecom
Phone: (617) 563-2729
Email: Dipen.Gala(a)FMR.com
Hi, I am running a ser server right now with authentication from database,
basically what happens now is that when the user connects to the ser server it
will request a password for authentication only on initial login. what I want
to do is also challenge for the password when the user wants to do an invite on
a chat. any help would be greatly appreciated :-)
thanks and best regards
-Nathan
here is my current ser config:
ser.cfg
#
# $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
*/
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/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/acc.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"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 0)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", 1)
#
# 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)
# -- acc params --
#modparam("acc", "log_level", 1)
#modparam("acc", "radius_flag", 1)
modparam("usrloc", "db_url", "sql://serro:47serro11@localhost/ser")
# ------------------------- 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 (!proxy_authorize("", "subscriber")) {
proxy_challenge("", "1");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
setflag(1);
if (!t_relay()) {
sl_reply_error();
};
}
All,
I'm trying to find a decent client to use with SER. The server is all set
up and clients can make/receive calls, but there are a few options I would
like to have. I need clients for at least Mac and Windows, preferably open
source and relatively cheap. I've tried SJPhone, Xlite, Windows Messenger,
and Mirial. None of them will pull down contacts that were set up on
SERWEB when I register with my SER server. I wouldn't mind having a video
option, but it's not required at this point.
Anyone have any luck either with the clients I listed above, or use a
client that would work?
Thanks in advance,
Jeff
Having searched the groups I have come up with the following in ser.cfg
to forward calls from SER to Asterisk voicemail on timeout.
The system should work as follows. E.g dial 8003. Ring phone at 8003 for
15 seconds then go to voicemail (at asterisk).
Phenomena:
1. When the failure_route is exited though I can see some traffic
hitting asterisk, the original phone at 8003 continues to ring.
2. If I press Deny on the phone at 8003 TWICE then the call goes to
voicemail
3. If 8003 is on the offhook, call automatically goes to voicemail
Points 2 and 3 are pretty much what I want.
But in point 1, what am I doing wrong that doesn't cause the
t_on_failure to stop ringing the destination phone.
I include the relevant part of my ser.cfg below
............................
log("\nMARKER VOICEMAIL ATTEMPT STARTS HERE\n");
t_on_failure("1");#send to voicemail now
log("\nMARKER VOICEMAIL ATTEMPT STOPS HERE\n");
............................
............................
failure_route[1] {
log("\n MARKER IN FAILURE ROUTE START");
if(t_check_status("408")){
log("\nMARKER We have hit second status 408\n");
};
revert_uri();
rewritehostport("telth3.dyndns.org:5061");
append_branch();
log("\n MARKER IN FAILURE ROUTE AFTER APPEND BRANCH\n");
t_relay_to_udp("telth3.dyndns.org","5061");
log("\n MARKER IN FAILURE ROUTE END");
break;
}
~
Muhammad Nasim
TelAppliant Ltd
Tel: 020 7740 3492
Int: +44 20 7740 3492
Main: 0845 004 4040
Fax: 0845 004 4041
www.telappliant.com
TelAppliant is the UK's provider of IP telephony solutions for small and
medium-sized businesses
_____
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution or any action taken
or omitted to be taken in reliance on it is prohibited and may be
unlawful.
Andrei,
Thanks for your help, we upgraded the RPM to 0.8.12 and the subst_uri
works like a chrarm!
-Mark
-----Original Message-----
From: Mark Wehberg [mailto:mark.wehberg@clearviewcatv.net]
Sent: Monday, June 28, 2004 1:25 PM
To: 'Andrei Pelinescu-Onciul'
Cc: 'serusers(a)lists.iptel.org'
Subject: RE: [Serusers] Replacing URI
Andrei,
I need to check if we are running the RPM, /root/ser-0.8.11-0.i386.rpm,
or if we compiled the source code. The source code is 0.8.12 and the
textops.c is > 1.28.
When I try to start ser, it is complaining about the module not being
loaded. And I have the module loaded, b/c I am using the replace
function....
Will let you know.
Thanks again.
-Mark
-----Original Message-----
From: Andrei Pelinescu-Onciul
[mailto:pelinescu-onciul@fokus.fraunhofer.de]
Sent: Monday, June 28, 2004 3:37 AM
To: Mark Wehberg
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Replacing URI
On Jun 27, 2004 at 21:38, Mark Wehberg <mark.wehberg(a)clearviewcatv.net>
wrote:
> Andrei,
>
> Thanks for your response.
>
> I tried to use subst_uri and the function was not found even though I
> loaded text tops. Which version of SER was this introduced in?
It should be in ser 0.8.12. It was introduced before 0.8.12 was
released.
What's your modules/textops/textops.c version?
If it's > 1.28 then it should be in.
Andrei
Hello!
Has anybody a dns (bind9) configuration with wildcards on Debian? I would like to migrate a nameserver from redhat 7.3
to debian, but I get the followin error:
patrolsrv:~# host -t any 1.2.2.6.3.voip.hbone.hu
1.2.2.6.3.voip.hbone.hu does not exist at localhost (Authoritative answer)
The NAPTR recods look like this:
*.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\\1@10.0.0.1!" .
*.0.2.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\\1@10.0.0.2!" .
Some other queries result correct answers:
patrolsrv:~# host -t any 1.1.1.6.3.voip.hbone.hu
1.1.1.6.3.voip.hbone.hu NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\\1@10.0.0.1!" .
patrolsrv:~# host -t any 1.0.2.6.3.voip.hbone.hu
1.0.2.6.3.voip.hbone.hu NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\\1@10.0.0.2!" .
The nameserver works good on rendhat. Is there a known bug in the bind9 on Debian? Or is something missing in the
configuration?
Thanks,
Miklos Tirpak
Application Agent, iptel's highly programmable B2BUA for
use in service provider networks, is a commercial item and is not downloadable on a free basis.
Andy
At 03:30 PM 6/30/2004, Gala, Dipen wrote:
>Has anyone installed or used B2BUA with ser. Pls share with me how to start and from where can I download the AA, and do I have to code in python in order to get it working the way I want???
>
>Dipen K Gala
>Fidelity Investments System Company - Telecom
>Phone: (617) 563-2729
>Email: Dipen.Gala(a)FMR.com
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Andy Blen
iptel.org Services