Hey again
Iv just got a weird problem.. When I connect my ip phone to the
voicemail gateway.. it works Perfect. I get the voicemail message and
everything.. Tho..
When I try to call via the other gateway (my regualar ser).. I get to
the voicemail.. it picks up the phone.. tho No voice back..
anybody had this problem before?
- Atle
Hello,
Has anybody done this? Do you have any pointers on this or maybe even a
howto.
Thanks
--
--
Anton Yurchenko<phila(a)dg.net.ua>
Digital Generation
i am loading module permissons.so
created two files permissions.allow and permissions.deny in sme folder where
my ser.cfg is....
/usr/local/etc/ser
i have set
modparam("permissions", "allow_file",
"/usr/local/etc/ser/permissions.allow")
modparam("permissions", "deny_file", "/usr/local/etc/ser/permissions.deny")
also...
permissions.allow
# SIP Express Router permissions module config file
#
# Syntax:
# from_list [EXCEPT from_list] : to_list [EXCEPT to_list]
#
# from_list and to_list are comma separated expressions
# Expressions are treated as case insensitive POSIX Extended Regular
Expressions.
# Keyword ALL matches any expression.
#
# Examples:
# ALL : "^sip:361[0-9]*@abc.com$" EXCEPT "^sip:361[0-9]*3@abc.com$",
"^sip:361[0-9]*4@abc.com$"
#
# "^sip:3677[0-9]*@abc.com$" : "^sip:361[0-9]*@abc.com$"
#
# ALL : ALL
permissions.deny
All : All
but it shud stop all my calls...its not doing that....any help
_________________________________________________________________
Games, MMS cards, ringtones. Operator logos, picture messages & more.
http://server1.msn.co.in/sp03/mobilesms/ Jazz up your mobile!
Sorry, I thought I did a "reply-all" but I didn't.
To provide a little more info:
To handle voice mail in the user doesn't answer the phone case, using a
falure_route timeout is not the best way to go. You have no control over
the time delay before the voice mail answers, on a per call/number
basis.
To overcome this problem, we append_branch a fork to the voice mail box
(asterisk modified), right away. The asterisk looks up in a database how
long to wait before answering. This works great, except for when the
user is busy.
In the case of the user busy, it still waits the delay time, before
answering.
Having the routing script be notified of a failure, if one fork fails,
and allowing the script to decide if it should let the rest proceed, or
cancel them and start new ones, would solve this problem.
Should the UAC of the user be busy, and only on a busy response, you
could then abort the other fork (the one waiting to answer), and place a
new INVITE to the vm box, to tell it to answer right away.
--Dave
-----Original Message-----
From: David R. Kompel [mailto:drk@drkngs.net]
Sent: Friday, January 30, 2004 1:50 AM
To: 'Jiri Kuthan'
Subject: RE: [Serusers] failure route and ERROR: t_should_relay: status
rewriteby UAS: stored: 408, received: 487
Not the idea of giving you N-1, but the ability if any one fails, to
decide if you want to let the others go, or cancel them, and start new
ones.
Example:
...
if(is_user_in("VM"))
append_branch();
rewritehostport("<your voice mail server that waits to
answer>");
t_on_failure("x");
};
...
failure_route[x]{
if(status =~ "^486") {
if(t_other_forks() > 0) {
t_cancle_all_forks();
};
prefix("special digits to tell vm server busy");
append_branch();
t_relay();
};
};
In other words, always pass script to failure_route, and let it decide
if the other forks should be continued, or allow it to abort them and
try something else.
In the case of voice mail, w/ delayed answer, if the user was busy, they
could get the VM instantly, not waiting for the time out, and in the
case of some vm systems, could play the user busy greeting, rather then
the user away greeting.
--Dave
-----Original Message-----
From: Jiri Kuthan [mailto:jiri@iptel.org]
Sent: Thursday, January 29, 2004 12:59 PM
To: David R. Kompel; serusers(a)lists.iptel.org
Subject: RE: [Serusers] failure route and ERROR: t_should_relay: status
rewriteby UAS: stored: 408, received: 487
At 08:04 PM 1/29/2004, David R. Kompel wrote:
>I'm glad this issue was brought up when it was, cause I was just about
>to post on it :) I am using the same trick for voice mail. The problem
>is, if the user is busy, there is no way to detect it, since
>t_on_failure doesn't call the failure_route[x], if only one of the
forks
>in the dset gets an error from the UAS.
>
>It would be nice to see a way that the failure_route could get called
if
>any fork gets an error, and had a way to test for other existing forks,
>and cancel them, and then re-direct the call.
I am not sure if there is a benefit in forking to N destinations and
giving
on N-1 of them if one fails... what is the use case? (I naively thought
you
fork in parallel to try as many destinations as you wish and fall back
to
other alternative such as voicemail only if none of these original
destinations
succeded.)
-jiri
is there any problem with the file permissions
it is
-rw-r--r-- 1 root root 489 Feb 2 18:52 permissions.allow
-rw-r--r-- 1 root root 10 Feb 2 19:22 permissions.deny
-rw-r--r-- 1 root root 3734 Feb 2 19:09 ser.cfg
-rw-r--r-- 1 root root 3190 Feb 2 18:28 ser.cfg.sample
_________________________________________________________________
Easiest Money Transfer to India. http://go.msnserver.com/IN/41490.asp Send
Money To 6000 Indian Towns.
I've been playing with ser for about a week and we're planning on using it in both memory and runtime constrained embedded environments. To characterize it in newbie-ish, both the IPAQ and big system applications, as low as a relative handful of simultaneous calls in some comparatively remote hardware to hundreds and thousands of simultaneous calls in similarly architectured machines in more central locations on hardware that is less cost sensitive and more spare memory and cycles.
I started looking at this seriously a couple days ago and really could use some pointers.
thanks
Greg
May l ask for your help with the CVS.
When I goto the CVS it indicates that the file rtpproxy.c is ver 1.4 and is 2 weeks old.
Pls tell me how to get yesterdays commit.
If it is not a bother, I would appreciate it if you could email it to me.
Thanks
Dinesh
-----Original Message-----
From: "Andres"<andres(a)telesip.net>
Snt: 01-Feb-04 11:20:05 AM
To: "Maxim Sobolev"<sobomax(a)portaone.com>
Cc: "serusers(a)lists.iptel.org"<serusers(a)lists.iptel.org>
Subject: Re: [Serusers] New versions of RTP proxy/nathelper commited
Maxim Sobolev wrote:
> Yes, indeed, there was a problem with force_rtp_proxy(). I've just
> committed a fix (1.38). The problem was that you were trying to use
> results of one call to ip_addr2a() after another call to that
> function. Since ip_addr2a() returns pointer to a static internal
> buffer, it was leading to incorrect results.
>
> -Maxim
>
>
Thank you Maxim! It is working properly now with today's nathelper
version on CVS.
--
Andres
Network Admin
http://www.telesip.net
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serus??ers
Hello,
I have problem with natping_interval.. it is not pinging at all and
look like it just doesnot aware that I have something registered
I use lates table release: 0.8.12
I added some more debugging in nathelper.c to timer function:
DBG("DEBUG: nathelper buff != NULL\n");
cp = buf;
while (1) {
memcpy(&(c.len), cp, sizeof(c.len));
if (c.len == 0) {
LOG(L_ERR, "ERROR: nathelper::c.len == 0\n");
break;
}
and can see that it break from the loop with c.len = 0. but when i
look at location table in mysql there is few devices registered.
probably something with ul_get_all_ucontact from usrloc..
please advise
here is config:
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/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/auth_mssql.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/exec.so"
modparam("nathelper", "natping_interval", 10)
modparam("registrar", "nat_flag", 6)
# modparam("nathelper", "ping_nated_only", 1) # Ping only clients behind NAT
modparam("auth_db", "db_url","sql://ser:XXX@localhost/ser")
modparam ("usrloc", "db_mode", 1)
modparam("usrloc", "use_domain", 0)
modparam("usrloc", "db_url", "sql://ser:XXX@localhost/ser")
modparam("rr", "enable_full_lr", 1)
force_rport();
fix_nated_contact();
setflag(6); # Mark as natted all clients
if (!(method=="REGISTER")) record_route(); # 1=loose routing
# loose-route processing
if (loose_route()) {
log(1, "LOOSE ROUTE\n");
t_relay();
break;
};
if(!uri==myself) {
log(1, "URI!=myself");
t_relay();
break;
};
if (method=="REGISTER") {
log(1, "REGISTER REQUEST RECEIVED\n");
if (!mssql_authorize("209.227.183.21", "subscriber")) {
log(1, "AUTH FAILED, REQUESTED\n");
www_challenge("", "1");
break;
};
log(1, "AUTH OK, REGISTER\n");
save("location");
break;
};
.....
--
Best regards,
Vitali
Hello,
I'm new in SER, after installed ser 0.8.12 cvs versions, I try to add alias
to a user, but I met a problem.
After I type:
serctl alias add 8040 sip:jeytest@voip.orzar.net
It' shows:
sip:jeytest@voip.orzar.net
400 Table 'aliases' not found in memory, use save("aliases") or
lookup("aliases") in the configuration script first
I'm sure I have lookup("aliases"); in my /etc/ser/ser.cfg file, and I did
edit serctl script FOREVER_REL=1073741823 to FOREVER_REL=1003741823 follow
by http://lists.iptel.org/pipermail/serusers/2004-January/004949.html .
Thanks,
Jey