Hello,
I use ser-0.9.3 .
I wish to send calls to offline or unavailable users
to
SEMS .
Private Network:---------SER----------internet
users agents Mediaproxy
SEMS
I tried to add something like this in ser.cfg without
success !
Thanks for help
Harry
modparam("tm", "fr_inv_timer", 25)
.......................................................
# Check ACL for voicemail
if (is_user_in("Request-URI", "voicemail")) {
setflag(5);
};
# User unavailable
#if (method=="INVITE" && isflagset(5)) {
# t_on_failure("1");
# route(1);
# break;
#};
lookup("aliases");
if (!lookup("location")) {
route(6);
} else if (!lookup("location")) {
sl_send_reply("404", "User Not
Found");
break;
};
.......................................................
route[1] {
###########################
# Default Message Handler #
###########################
t_on_reply("1");
# send it out now; use stateful forwarding as
it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
route[6] {
##########################
# voicemail Handler #
##########################
# forward to voicemail now
rewritehost("192.168.0.2");
}
onreply_route[1] {
##########################
# Statefull Handler #
##########################
if (client_nat_test("1")) {
setflag(4);
};
if (isflagset(4) && status=~"(180) || (183) ||
2[0-9][0-9]") {
if(search("^Content-Type: .*$")) {
use_media_proxy();
};
};
}
failure_route[1] {
##########################
# Voicemail Handler #
##########################
revert_uri();
rewritehost("192.168.0.2");
}
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
Hello.
I'm having problems with pa module.
I try to SUBSCRIBE to a user's presence and I get a 400 response to this
subscribe. Ser logs show:
12(10693) handle_subscription() entered
12(10693) parse_headers: flags=1581064
12(10693) parse_hfs(): Error while parsing headers
12(10693) handle_subscription(): Error while parsing message header
12(10693) handle_subscription about to send_reply and return -2
I'm using Ser 9.3 and Windows Messenger 4.7 for testing.
My ser.cfg file looks like this:
[...]
loadmodule "/usr/local/lib/ser/modules/pa.so"
[...]
modparam("usrloc", "use_domain", 1)
modparam("registrar", "use_domain", 1)
[...]
route {
[...]
if (method=="SUBSCRIBE") {
if (!t_newtran()) {
log(1, "newtran error\n");
sl_reply_error();
};
handle_subscription("registrar");
break;
};
[...]
I can post the whole file or the SIP logs if you need them.
Does anyone know why it doesn't work?
Isn't Windows Messenger compatible with pa module?
Lots of thanks.
Hello,
When I try to record a message for a offline i get :
Jul 11 10:38:09 serveur1 postfix/smtpd[4097]: warning:
Illegal address syntax from
serveur1.home.net[192.168.0.1] in MAIL command:
voicemail(a)80.119.7.29
I setup email.template in sems.conf !
Harry
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
hello,
When users are busy or offline voicemail module send
to smtp server bad command.
Why voicemail(a)80.119.10.19 not voicemail(a)nxs.yi.org
according to voicemail.template in sems.cfg ?
warning: Illegal address syntax from
19.10.119-80.rev.gaoland.net[80.119.10.19] in MAIL
command: voicemail(a)80.119.10.19
SER support t_on_failure not t_on_negative unlike
OPENSER
what'are the differences ?
For people who read my posts I solve forward to
voicemail when busy (t_check_status) and offline
However I need help with tm timer an t_on_failure
Harry
Harry
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
Dear List,
I can register my ATA'S (Some are NATted and some ara Port Forwarded) to SER (on Public IP) and i use MySQL auth/acc together with Mediaproxy. All users can talk to others, and call them , receive calls from others no problem. But most of the time, they seem unregistered and this happens suddenly, i'm sure that Internet Connection is fine with SER Server and also clients are connected through Cable Modem or ADSL Connection.
I unplug or unpower some ATA's, wait a bit like 30 minutes, the devices becomes cold or what's happening else, they can register and works perfect... But when i connect them for hours, they unregister themselves, i do not know what happens... I've tried both Zyxel P2002's with several firmwares, Zyxel P2000Ws, Cisco ATA186's and some LinkSYS Pap2-NA's but all same... Is there any chance to be something wrong in SER settings or Operating System ?
Thanks,
Ozan
Hello list.
I detected a strange behavior with my SER. I downloaded the last
stable version from the CVS. And it seems to work ok. But for a particular
endpoint the register proccess seems to be corrupted. This is what i have.
(please check the PORT for the register)
U 200.113.154.25:12196 -> 10.0.0.35:5060
REGISTER sip:sipproxy.mydomain.com SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:12196
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 200.113.154.25:12196;branch=z9hG4bK-e4d3ecd4;rport=12196.
U 200.113.154.25:12196 -> 10.0.0.35:5060
REGISTER sip:sipproxy.mydomain.com SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:12196
SIP/2.0 200 OK.
domain: 'location'
aor : '5555847110'
~~~Contact(0x42326db8)~~~
domain : 'location'
aor : '5555847110'
Contact : 'sip:5555847110@200.113.154.25:121962196'
Expires : 528
q :
Call-ID : '1016393a-5c1cbaeb(a)200.113.154.25'
CSeq : 45
User-Agent: 'Linksys/PAP2-3.1.3(LS)'
received : ''
State : CS_NEW
Flags : 0
next : (nil)
prev : (nil)
~~~/Contact~~~~
Then i try to make an invite to the endpoint from the 10.0.0119:
U 10.0.0.119:5060 -> 10.0.0.35:5060
INVITE sip:5555847110@sipproxy.mydomain.com SIP/2.0.
U 10.0.0.35:5060 -> 10.0.0.119:5060
SIP/2.0 100 trying -- your call is important to us.
U 10.0.0.35:5060 -> 200.113.154.25:65236
INVITE sip:5555847110@200.113.154.25:121962196 SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:65236
INVITE sip:5555847110@200.113.154.25:121962196 SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:65236
INVITE sip:5555847110@200.113.154.25:121962196 SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:65236
INVITE sip:5555847110@200.113.154.25:121962196 SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:65236
INVITE sip:5555847110@200.113.154.25:121962196 SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:65236
INVITE sip:5555847110@200.113.154.25:121962196 SIP/2.0.
U 10.0.0.35:5060 -> 200.113.154.25:65236
INVITE sip:5555847110@200.113.154.25:121962196 SIP/2.0.
Is this a bug?
Or maybe a problem with my configuration.
I hope that someone could help me.
Thanks.
Ricardo Martinez.-
hi
2 questions :
1. how can i got the "From" line, the "To" line and the "Body" of a SIP
message "MESSAGE".
i want to got them in ser.cfg
how can i do that please?
2. i tried to go to the iptel forum (http://www.iptel.org/phpBB/index.php)
but i didn't find how can i post a message...
thanks for the help
ps: the most important question is the first
M.
Hello Steve,
You need to configure the parameters of your radius client too: the key, the
auth server and port, etc. You need to modify the
/usr/local/etc/radiusclient-ng/radiusclient.conf in order to to this. And
of course, you need a Radius SERVER.
Good luck
Ricardo Martinez.-
> -----Mensaje original-----
> De: Steve Blair [mailto:blairs@isc.upenn.edu]
> Enviado el: Sábado, 09 de Julio de 2005 8:42
> Para: 'serusers(a)lists.iptel.org'
> Asunto: [Serusers] radius authentication with 0.9.3 stable
>
>
>
> Does anyone have a pointer to a how-to guide for setting up
> radius authentication with SER 0.9.3 stable? I am running on
> RH ES 4 with the latest radiusclient-ng installed and I've
> compiled in the radius related modules. I've added site specific
> modparam statements such as those in modules/auth_radius/readme
> but I'm stuck on what is left.
>
> Thanks, Steve
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
Yes.. the README file is a good start, but i have some tips ('cause at the
beggining i had some problems with mediaproxy too).
The mediaproxy package has a "boot" directory, inside you can found a
"mediaproxy.other" file. That file can help you to start mediaproxy.
Another thing, i'm guess you're using phyton?. I had some problem and
memory leak with python2.3, so i upgraded to python2.4 and now is working
without any problem.
Good luck.
Ricardo Martinez.-
> -----Mensaje original-----
> De: Greger V. Teigre [mailto:greger@teigre.com]
> Enviado el: Domingo, 10 de Julio de 2005 4:43
> Para: Abdul Lateef; serusers(a)lists.iptel.org
> Asunto: Re: [Serusers] mediaproxy.sock
>
>
> Abdul,
> Mediaproxy has a very well written README file.
> g-)
>
> Abdul Lateef wrote:
> > Hello
> >
> > I did the following commond to check mediaproxy is
> > running or not. But i think it is not running. How i
> > can make it run, i means uing whcich commond.
> >
> > [root@localhost root]# netstat -nlp | grep proxy
> > [root@localhost root]# netstat -nlp|grep proxy
> > [root@localhost root]#
> >
> >
> > Thank You
> >
> > Yours,
> > Abdul Lateef
> > Computer Programmer
> > HATIF COM
> > Mob: +974 - 5405022
> > Tel: +974 - 4883068
> > ICQ: 276994704
> > YM!: abdul_zu
> > Fax: +974 - 4883063
> > Doha Qatar
> > http://www.hatif.com
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
Hello,
I'm using postgres for authentication and accounting since a few days and
it's working perfect. But I'm wondering why I have to load the mysql.so -
Module, too. If not (commented), I get the following error:
0(0) Maxfwd module- initializing
0(0) PG[238] db_init entry
0(0) PG[193] str2valp got int 2
0(0) PG[274] db_close entry textops - initializing
0(0) bind_dbmod: Module mysql does not export db_use_table function
0(0) ERROR: uridb_db_bind: unable to bind to the database module
0(0) ERROR: uri_db:mod_init(): No database module found
0(0) init_mod(): Error while initializing module uri_db
ERROR: error while initializing modules
This error also appears, if I don't have installed/running a mysql server.
It seems very strange... because all the data is saved correctly in my
postgresql-database. Why do I need the mysql-module then?
OK, one additional information. To specify my database I use the following
command:
modparam("acc", "db_url",
"postgres://admin:password@localhost:5432/AAA")
If I use "sql://" instead of "postgres://" there appears the same error like
above.
Any ideas?
Thanks!
Sebastian