[Users] multiple rtp onsame port
Jayesh Nambiar
voip_freak at yahoo.co.in
Tue Feb 21 14:55:43 CET 2006
Hi all,I am facing a strange problem while using openser. I am running openser 1.0.0 and while calling, multiple call gets connected on the same port. I am using Audiocodes media gatewaywhich sends calls to Openser and openser then t_relays the call to pstn gateway. When there are simultaneously 8-10 calls going on, there are more than 1 call getting connected on the same port.It is like a cross connection in which you can hear a other phone ring.I get the following log on the Audiocodes gateway:2d:5h:1m:54s Multiple RTP detected on Port 6010. Switch to Destination Stream IP: 0xd8a8a262, Source Port: 34784. Left Stream IP: 0xd8a8a262, Source Port: 34846 [File:TCPIPHal.cpp Line:1181] [CID:0]2d:5h:1m:54s Multiple RTP detected on Port 6010. Active Stream IP: 0xd8a8a262, Source Port: 34784. Rejected Stream IP: 0xd8a8a262, Source Port: 34846 [Code:7003 File:TCPIPHal.cpp Line:1237] [CID:0]
s() My openser conf file is as shown:
debug=3
fork=yes
log_stderror=no
dns=no
rev_dns=no
listen=202.XX.61.XX
port=5060
children=4
fifo="/tmp/openser_fifo"
fifo_db_url="mysql://openser:openserrw@localhost/openser"
# ------------------ module loading ----------------------------------
loadmodule "/usr/local/lib/openser/modules/mysql.so"
loadmodule "/usr/local/lib/openser/modules/sl.so"
loadmodule "/usr/local/lib/openser/modules/tm.so"
loadmodule "/usr/local/lib/openser/modules/rr.so"
loadmodule "/usr/local/lib/openser/modules/maxfwd.so"
loadmodule "/usr/local/lib/openser/modules/permissions.so"
loadmodule "/usr/local/lib/openser/modules/acc.so"
loadmodule "/usr/local/lib/openser/modules/avpops.so"
# ----------------- setting module-specific parameters ---------------
modparam("rr", "enable_full_lr", 1)
modparam("permissions|acc", "db_url", "mysql://openser:openserrw@localhost/openser")
modparam("permissions", "db_mode", 1)
modparam("permissions", "trusted_table", "trusted")
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1)
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 3)
modparam("acc", "report_ack", 0)
modparam("acc", "db_extra", "src= $si")
# ------------------------- request routing logic -------------------
route{
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
};
if (msg:len >= 2048 ) {
sl_send_reply("513", "Message too big");
exit;
};
setflag(1);
if (method!="REGISTER") {
record_route();
};
if (loose_route()) {
route(1);
return;
};
if(uri!=myself) {
route(1);
}
if (uri==myself) {
if(method=="INVITE" && allow_trusted()) {
strip(2);
prefix("36130");
rewritehost("216.XXX.162.XXX");
route(1);
return;
} else if(!allow_trusted()) {
sl_send_reply("403", "Forbidden");
};
};
if (method=="CANCEL") {
route(1);
return;
};
}
route[1] {
if(!t_relay()) {
sl_reply_error();
};
}
Can someone please try and help me on this.
thanks in advance,
jayesh...
---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060221/44b03df3/attachment.htm>
More information about the sr-users
mailing list