Hi,
thanks for the reply bogdan. Even i knew that proxy is only doing signalling here, but I
did not face this problem when I sent the calls directly to the pstn gateway. Again when I
used the sip proxy, the problem came in again.
The problem is not consistent but once in a while it arrives and stays for some time and
its very irritating as two different rtp streams are connected on the same port..
Have you ever heard of such problem in VoIP scenario as I googled a lot at this problem
but with no luck. What could be the cause..
The 6010 port is OK as the RTP starts from port 6000 in AudioCodes Mediant 2000 media
gateway.
thanks again,
jayesh
Bogdan-Andrei Iancu <bogdan(a)voice-system.ro> wrote:
Hi Jayesh,
your script does not handle media at all (you do not use any rtp relay
as rtpproxy or mediaproxy). So, it has nothing to do with the SIP proxy.
one interesting fact is that the GW is complaining of port 6010 for
media...which is quite unusual for media....
try monitoring the ports at net level to see how's sending data there.
regards,
bogdan
Jayesh Nambiar wrote:
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]
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.
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.