Hi Everyone,
I just added a second domain to my openser box and screwed things up somehow.
Maybe someone can help figure out what's going on.
I'm using the new onsip config (unmodified except IPs & replacing
breaks w/returns).
I'm using mediaproxy for NAT. Everything worked properly prior to
adding the new domain.
I did add the new domain to the domain table, and have loaded the
domain module with modparams as follows.
modparam("domain", "db_url", "mysql://openser:mypass@myhost/openser")
modparam("domain", "db_mode", 1)
modparam("domain", "domain_table", "domain")
modparam("domain", "domain_col", "domain")
Existing domain: sip1.mydomain.com
New domain: sip1.mydomain.com
user1: X-Lite (behind NAT)
private-IP (192.168.x.x)
Registers using domain sip1.mydomain.com
user2: Linksys PAP2-NA
public-IP (same subnet as Utsarcom)
Registers using domain sip1.mydomain.com
user3: Utstarcom iAN-02EX
public-IP (63.225.x.x)
Registers using domain sip2.mydomain.com
Here is what happens now...
- All users can register fine.
- user1 & user2 can only receives calls from user3 (can't call others
or pstn , 407 Proxy Auth Required)
- user3 is the only one who can call others (calls to user1,user2, &
pstn are fine)
It's probably just something simple I missed, but I can't seem to
figure it out. As always, thanks for your assistance.
- Daryl
Hello ,
I would like to use domain name of SER instead of IP adress during
indetification
I set dns=yes,rev_dns=yes and alias="sip.siptest" in ser.cfg but
something strange has happened. Sip Client nr1(it's number 204) sends "
INVITE sip:203@sip.siptest " to SER and SER sends "INVITE
sip:203@192.168.1.204" to sip client nr2 (it's number 203). It looks
very suspicious because SER should send " INVITE sip:204@sip.siptest "
to client nr 2. It results in trouble when you try to phone from one
client to another but reject the call on one client. One is disconnected
and second one waits for a call .
Could you advice something ???
Pozdrawiam / Best Regards
Dariusz Grabias
SIEMENS Sp. z o.o.
Com SDC S&E C 5
ul. Strzegomska 52A, 53-311 Wroclaw, Poland
tel +48 71 79 92 695
mobile: +48 xxx xxx xxx
mailto:dariusz.grabias@siemens.com
Hi All
I was wondering if any thought (effort) has been given to trying to
combine multiple rtp streams that are going to the same destination to
save on IP overhead from the many small packets. I guess this would be
a use case for RTPProxy (or mediaproxy) or it could be implemented as an
application infront of rtpproxy. I know a number of vendors of hardware
gateways (quintum/mediatrix) do this, and report massive savings (50% if
memory serves) of bandwidth. I doubt very much that they use an open
standard, which means that integrating with these devices is
impractical. To me it seems that this would be a very useful ability,
especially when you are sending all your calls to a single remote
gateway. The remote gatway would have to have similar software to
de-multiplex the traffic on the other side, but if you had control of
both ends of an expensive link, this would be very useful.
Noel
Hi all,
I will appreciate your kind help.
I am unable to stop ser and tried the followings:
1. service ser stop. [It failed but ser restart wroks]
2. killall ser. [ser: no process killed]
Can anybody please help?
Thanks
Dhiman
Dear all,
We want to use multiple mediaproxy by using dispatcher. We set SIP_DOMIAN = mydomain.com, set up two user: A(a)mydomain.com & B(a)mydomain.com. They both register successfully. When user A & B dials for each other, the functions of is_from_local and is_destination_local both return False, so the dispatcher only return "warning: no proxy available for call: mydomain.com -> *.*.*.*"
In mysql, the domain table is empty, too. How come?
Thanks in advance.
My ser config is as follow:
debug=9
fork=no
log_stderror=yes
check_via=no
dns=no
rev_dns=no
listen=218.97.252.38
listen=127.0.0.1
alias=sensates.com
alias=218.97.252.38
port=5060
children=4
fifo="/tmp/ser_fifo"
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/uri.so"
loadmodule "/usr/local/lib/ser/modules/domain.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/mediaproxy.so"
modparam("usrloc", "db_mode", 1)
modparam("registrar", "use_domain", 1)
modparam("auth_db", "calculate_ha1", 2)
modparam("auth_db|domain|uri_db|usrloc","db_url","mysql://ser:heslo@localhost/ser")
modparam("domain", "db_mode", 1)
modparam("auth_db", "password_column", "password")
modparam("rr", "enable_full_lr", 1)
modparam("registrar", "nat_flag", 6)
modparam("mediaproxy", "natping_interval", 5)
modparam("mediaproxy", "mediaproxy_socket", "/var/run/proxydispatcher.sock")
modparam("mediaproxy","sip_asymmetrics","/usr/local/etc/ser/sip-asymmetric-clients")
modparam("mediaproxy","rtp_asymmetrics","/usr/local/etc/ser/rtp-asymmetric-clients")
.............................
Best regards,
Hi all
I want to use nathelper for nat transversal. But when i make a call, i
have this error:
0(11117) ERROR: force_rtp_proxy2: no available proxies
0(11117) ERROR: force_rtp_proxy2: no available proxies
0(11117) ERROR: force_rtp_proxy2: no available proxies
0(11117) ERROR: unforce_rtp_proxy: no available proxies
0(11117) ERROR: force_rtp_proxy2: no available proxies
0(11117) ERROR: unforce_rtp_proxy: no available proxies
0(11117) ERROR: force_rtp_proxy2: no available proxies
0(11117) ERROR: unforce_rtp_proxy: no available proxies
0(11117) ERROR: unforce_rtp_proxy: no available proxies
0(11117) ERROR: unforce_rtp_proxy: no available proxies
0(11117) ERROR: unforce_rtp_proxy: no available proxies
0(11117) ERROR: unforce_rtp_proxy: no available proxies
What's matter? does i install a rtp proxy in a host?
best regards!
Serge
Hi all
Thanks for your help. I make a test in local (one xlite
client calls another one, both in the same LAN than the openser) and
everything goes well. But when i install openser in a machine with a
public IP to make call between 2 clients in 2 differents LANs, i
can't make a call. I don't know why? it is a client or an openser
configuration problem?
Can you help me?
best regards!
Hi,
In our ser.cfg following is mentioned for announcement
----
if(!t_write_req("/tmp/am_fifo","announcement")) {
t_reply("500","error contacting sems");
-----
we are using fifo for communicating between ser and sems.
ser and sems are running on the same server (Fedora)
When we start sems, the default announcement file mentioned
in sems.conf (default_announce=default_en.wav) is not played.
Also there is no error in /var/log/messages wrt announcement plug in
What could be the problem ?
How does sems decides which sound recorder to play ?
The ll /tmp/am_fifo shows following
prw-r--r-- 1 root root 0 Nov 14 09:48 /tmp/am_fifo
Regards,
Rajesh
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin(a)wipro.com immediately
and destroy all copies of this message and any attachments.
Hi,
My carrier sent the information below, as installs?
following prefix 45264 # and the numeration plan
below:
45264# CC + AC + NNNNNNNN
I try :
if (uri=~"^sip:00[0-9].*@.*") {
if (is_user_in("From", "ld")) {
sl_send_reply("403", "Payment required");
break;
};
setflag(1);
prefix("45264#")
rewritehostport("ip-server:5060");
if (!t_relay()) {
sl_reply_error();
};
break;
};
Thanks