Hi,
I have trouble with RTPPRoxy.
I downloaded a everything.GettingStarted.tar.gz package from Onsip,
hello-world.3.04.cfg and auth-mysql.3.05.cfg work but when i use
nat-rtpproxy.3.04.cfg i get following errors.
[root@localhost root]# /etc/init.d/rtpproxy start
[root@localhost root]# /etc/init.d/ser restart
Stopping ser: [FAILED]
Starting ser: [ OK ]
[root@localhost root]# serctl ul show
Dumping all contacts may take long: are you sure you want to proceed? [Y|N]
y
Error opening ser's FIFO /tmp/ser_fifo
Make sure you have line fifo=/tmp/ser_fifo in your config
[root@localhost root]#
By the way i don't see rtpproxy.sock under \var\run\
Questions:
If i use rtpptoxy, how we start it? i do "/etc/init.d/rtpproxy start" then
it doesn't show if that is started or not unless i run "ps -A"
Can we put SER into DMZ and do port forwarding OR SER must have Puplic IP?
If we can put SER on DMZ then what other ports need to be open beside 5060?
# ===============================================
debug=3
fork=yes
log_stderror=no
listen=x.x.x.x # put your server IP address here That is MY WAN IP.
port=5060
children=4
dns=no
rev_dns=no
fifo="/tmp/ser_fifo"
fifo_db_url="mysql://ser:heslo@localhost/ser"
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/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/uri_db.so"
loadmodule "/usr/local/lib/ser/modules/uri.so"
modparam("auth_db|uri_db|usrloc", "db_url", "mysql://ser:heslo@localhost/ser
")
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "password")
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
modparam("usrloc", "db_mode", 2)
modparam("registrar", "nat_flag", 6)
modparam("rr", "enable_full_lr", 1)
route {
# -----------------------------------------------------------------
# Sanity Check Section
# -----------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
break;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
break;
};
# -----------------------------------------------------------------
# Record Route Section
# -----------------------------------------------------------------
if (method!="REGISTER") {
record_route();
};
if (method=="BYE" || method=="CANCEL") {
unforce_rtp_proxy();
}
# -----------------------------------------------------------------
# Loose Route Section
# -----------------------------------------------------------------
if (loose_route()) {
if (has_totag() && (method=="INVITE" || method=="ACK")) {
if (nat_uac_test("19")) {
setflag(6);
force_rport();
fix_nated_contact();
};
force_rtp_proxy("l");
};
route(1);
break;
};
# -----------------------------------------------------------------
# Call Type Processing Section
# -----------------------------------------------------------------
if (uri!=myself) {
route(1);
break;
};
if (uri==myself) {
if (method=="CANCEL") {
route(3);
break;
} else if (method=="INVITE") {
route(3);
break;
} else if (method=="REGISTER") {
route(2);
break;
};
lookup("aliases");
if (uri!=myself) {
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
};
route(1);
}
route[1] {
# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------
t_on_reply("1");
if (!t_relay()) {
if (method=="INVITE" && isflagset(6)) {
unforce_rtp_proxy();
};
sl_reply_error();
};
}
route[2] {
# -----------------------------------------------------------------
# REGISTER Message Handler
# ----------------------------------------------------------------
if (!search("^Contact:\ +\*") && nat_uac_test("19")) {
setflag(6);
fix_nated_register();
force_rport();
};
sl_send_reply("100", "Trying");
if (!www_authorize("","subscriber")) {
www_challenge("","0");
break;
};
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
break;
};
consume_credentials();
if (!save("location")) {
sl_reply_error();
};
}
route[3] {
# -----------------------------------------------------------------
# CANCEL and INVITE Message Handler
# -----------------------------------------------------------------
if (nat_uac_test("19")) {
setflag(6);
}
lookup("aliases");
if (uri!=myself) {
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
if (isflagset(6)) {
force_rport();
fix_nated_contact();
force_rtp_proxy();
};
t_on_reply("1");
if (!t_relay()) {
if(isflagset(6)) {
unforce_rtp_proxy();
}
sl_reply_error();
};
}
onreply_route[1] {
if (isflagset(6) && status=~"(180)|(183)|2[0-9][0-9]") {
if (!search("^Content-Length:\ +0")) {
force_rtp_proxy();
};
};
if (nat_uac_test("1")) {
fix_nated_contact();
};
}
Thanks,
Ali G.
i'm not familiar w/ ser enough to make the following changes, but does anyone
know how to make ser update entries in table location that are present in the
cache only. I have 2 ser servers and i want to use 1 database.
Jack Wei
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
We are about to begin work on a 911 module specifically tailored to
interop with Intrado's 911 service.
I am curious if there is anyone out there that has either completed
such a module, or might have some code already written to which we
could collaborate on to get the finished product.
Thanks,
- Darren
Guys,
We're working with Tekelec to solve a problem we're experiencing with one
of their SIP gateway cards. (We're working with a group that hadn't
heard of SER before we talked to them, so this may or may not be correct.)
What happens is this:
1. Call originates from SIP PSTN GW (Tekelec unit)
2. SER routes call to UA
3. UA doesn't answer
4. Failure route happens and call is diverted to Asterisk
5. Asterisk gets the call but the SIP PSTN GW doesn't ACK the OKs and
hangs up.
The scenario works with a variety of UA hardware, so I didn't think
anything was wrong on our side, but they're saying that on the first
phase of the call the totag has one ID and then when Asterisk gets
involved there's a different totag ID. (This is confirmed w/packet
captures.) When the GW card gets the second totag it doesn't match a
transaction and it is ignored.
So, my question is... can (and should) we rewrite the totags back to the
original id? Can this be done w/textops? Is this a common problem?
Does this make sense?
Thanks for any help,
-Corey
*********************************************
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
Hi all
Is there a way to integrate sip authentication with Windows domain database
- to integrate function www_authorize with the Active Directory ?
If anyone know how to solve this problem - any suggestions are very welcome.
Best regards,
Jaroslaw Gawron
You can try to use record_route_preset, but be carefull!!!!!
Samuel.
Unclassified.
>>> Gustavo García <ggb(a)tid.es> 09/13/05 05:20PM >>>
Thank you for the information Bogdan.
Acording to the "openser core cookbook"
(http://openser.org/dokuwiki/doku.php?id=openser_core_cookbook):
"represents the address advertised in Via header and other destination lumps
(e.g RR header)"
May be you might want to change it.
Best regards.
G.
-----Mensaje original-----
De: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
Enviado el: martes, 13 de septiembre de 2005 17:13
Para: Gustavo García
CC: 'Klaus Darilion'; users(a)openser.org
Asunto: Re: [Users] how to modify record route header with
advertised_address ?
Hi Gustavo,
the RR header will be filled with IP address only on send time - the IP
of the outgoing interface will be sent all the time.
The "advertised_address" is not used in this case (as for via).
regards,
Bogdan
Gustavo García wrote:
>Thank you Klaus, I was already using that function, but I wanted to know
why
>doesn't work the advertised_address property with record route. Is a bug
in
>my script, a bug in openser or is this the expected working?
>
>G.
>
>-----Mensaje original-----
>De: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
>Enviado el: martes, 13 de septiembre de 2005 10:07
>Para: Gustavo García
>CC: users(a)openser.org
>Asunto: Re: [Users] how to modify record route header with
>advertised_address ?
>
>a workaround: http://openser.org/docs/modules/0.10.x/rr.html#AEN163
>
>regards
>klaus
>
>Gustavo García wrote:
>
>
>>Hi,
>>
>>
>>
>>I've configured an address with advertised_address.
>>
>>I can see that it's used in Via address but not in record route. What
>>could be the reason?
>>
>>
>>
>>Thanks a lot
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Users mailing list
>>Users(a)openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
>_______________________________________________
>Users mailing list
>Users(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
Can anyone explain to me why if I use fix_nated_sdp on symmetric nat'd ua's
they work but they don't work if I use force_rtp_proxy (one way audio). Yet
if I use force_rtp_proxy on cone nated ua's they work but don't work on
fix_nated_sdp?
Richard C. Thompson
Hi,
I see that 0.9.3 and 0.9.4 do not contain UAC module (src package neither), just
as I see last CVS snapshot have it. How can I add UAC module for 0.9.x server?
Is there some way?
thanks
pavol
Hello Alberto,
Translate please !
Harry
--- Alberto <alberto.ipt(a)telefonica.net> a écrit :
> Francés tenias que ser.
>
> ----- Original Message -----
> From: "harry gaillac" <gaillacharry(a)yahoo.fr>
> To: <serusers(a)lists.iptel.org>
> Sent: Tuesday, September 13, 2005 2:51 PM
> Subject: [Serusers] NEED HELP!!!
>
>
> > Hello ser users,
> >
> > You needn't to reply to my ser configuration
> problems.
> > I solve them myself .
> >
> > Kinds regards
> >
> > Harry
> >
> >
> >
> >
> >
> >
> >
>
___________________________________________________________________________
> > Appel audio GRATUIT partout dans le monde avec le
> nouveau Yahoo! Messenger
> > Téléchargez cette version sur
> http://fr.messenger.yahoo.com
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com