Hi,
I'm setting up multiple OpenSER proxies in different locations to server a
SIP domain. The proxies use a shared location database so they always know
where to send requests to the client when an incoming call hits either one.
The clients have the outbound proxy set to whichever one is closest to them.
The problem is that because the clients are NAT they do not receive the
request if the proxy IP that sends it is not the same as the one they have
set as the outbound proxy. The NAT will reject the request because it does
not arrive from the same IP that the connection was established to.
How can I make OpenSER relay requests to the "home proxy" of the user so
that this can then forward it to the client? I have added an "ob_proxy"
column to the subscriber table and tried using avp_db_load to get this value
for use in a t_relay() but I'm getting errors in OpenSER.
With the following config:
modparam("avpops","avp_url","mysql://user:pass@localhost/openser")
modparam("avpops", "avp_table", "dummy")
modparam("avpops","db_scheme",
"scheme1:username_col=username;value_col=ob_proxy;table=subscriber")
avp_db_load("$to","$avp(s:ob_proxy)/subscriber");
I'm getting errors in Openser log:
/usr/local/sbin/openser[15470]: ERROR:mysql:db_mysql_submit_query: driver
error: Unknown column 'value' in 'field list'
/usr/local/sbin/openser[15470]: ERROR:mysql:db_mysql_query: error while
submitting query
/usr/local/sbin/openser[15470]: ERROR:avpops:ops_dbload_avps: db_load failed
Does anyone know how to fix this or is there a better way of doing it?
Hi,
I have installed OpenSER, openser-1.3.1-notls from:
http://openser.org/pub/openser/1.3.1/src/ on Fedora Core 8.
I have followed the steps given in:
http://www.openser.org/dokuwiki/doku.php/install:openser-from-svn
For the make command, I used: make install include_modules="mysql"
I have completed all the steps successfully. However, I am not able to
create database as said in step 7. To check that MySQL is working on my
system, I used the command: /etc/init.d/mysqld start
It says: Starting MySQL : [OK]
To check openser is running: I used the command, /etc/init.d/openser start
I get on command line: Starting openser: [OK]
However, when i try to create database: /usr/local/sbin/openserdbctl
create
I get the error as:
database engine 'mysql' loaded
INFO: test server charset
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.socket' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.socket' (2)
Usage: egrep [OPTION]... PATTERN [FILE]...
Try `egrep --help' for more information.
/usr/local/lib/openser/openserctl/openserdbctl.mysql: line 112: [: =: unary
operator expected
INFO: creating database openser ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.socket' (2)
ERROR: Creating core database and grant privileges failed!
I checked the file mysql.socket in /var/lib/mysql, there is only an empty
file with this name.
As seen in forums, I saw that many people have this file in /tmp/ folder.
However, I dont have this file there also!
I am unable to create the database and therefore I cannot register the
client using X-lite or SJPhone.
Kindly help me out with this. I am badly stuck with this problem since 3
days and have been looking in forums a lot. I am not getting any clue of how
to proceed further. Please help me out if anybody has any clue.
I look forward to this mailing list as my only help. I need to proceed
further as I have lot of things ot be done in this project and my deadline
is very near.
Looking forward to your co-operation.
Thanks in advance.
Megha
Hi,
thanks for the reply.
I haven't found an expires paramater of usrloc module, maybe you mean the expires of registrar module:
modparam("registrar", "max_expires", 3600)
If it is so, I have tried with the same value for presence and registrar
modparam("presence", "max_expires", 3600)
and with presence expires greater than the registrar expires
modparam("presence", "max_expires", 4000)
I have repeted the test and I have seen that the error messages occur when I deregister and reregister the subscribed client, but I think that the error could be related to the fact that the subscriber (Eyebeam) refuses the first NOTIFY (why?) sended by openser for the first REGISTER from the subscribed.
In the attached file you can see the syslog with debug level = 9
**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message inerror.
**********************************************************************
Hi,
I am new with openser. I was able to configure openser with wesip that
both will run. When trying to make a call between two softphone I get
"SIP/2.0 481 Call Leg/Transaction Does Not Exist". Both caller and
callee are registered.
In addition I see that after creating the db I don't have a user
openser with read-write permmissions.
> openserctl acl show openser
Non-existent user 'openser'. Still proceeding? [Y|N]
I have used "openserdbctl create" to create the db.
And i got no error message when creating it.
WeSIP get the message with the openser IP and not with the callee IP.
Could it be the reason for the 481 reply?
Thanks in advance,
Shie
Hi all,
can I with SER add following in 302 response?
1) add a parameter in Contact header that a UA will read and copy it to
the new INVITE and how would I do it in ser config.
2) or add a new header field with in 302 that a UA will read and copy it
to the new INVITE
The first should be possible as RFC3261 in 20.10 shows in example but
I'm wondering if SER can do it too.
Thank you,
Lada
hi all,
i came to know about this list today and i thought to send problem.
if anybody know the solution or have any idea please do let me know.
actually i am authenticating a user using openser and opendiameters
NASREQ application as
the client and server.at present the openser is sending the all needed
avp's to
opendiameter client.i can see all the avp code and avp data on the
client side. my
problem is that the on the diameter server side the avp,s are not
transferred by the
client. the client is giving something like
(6372|1698151312) Acceptor peer failed establishing state [3003], closing
i am confused about it.before i sent the avp's from openser side there
was no such problem.
seeking help
regards
Hi, http://www.nabble.com/file/p16047318/WeSIP-debug WeSIP-debug
I an trying to make a call between 2 softphones. If I try to make the call
directly there is no problem but when trying to use openser with wesip as
the server I get:
SIP/2.0 481 Call Leg/Transaction Does Not Exist
I have tried to check it with the debug but I can not find the problem.
OpenSER replace the To header uri with the correct uri:
rewrite_uri: rewriting Request-URI with 'sip:shine_sip2@192.168.2.101:5070'
Attached are the OpenSER and WeSIP debug output.
I will just add that the call is from shine_sip(192.168.2.102) to
shine_sip2(192.168.2.101)
and if I check openser for online user I see that both users are online:
dell110l:/home/mil# openserctl ul show
Domain:: aliases table=512 records=0 max_slot=0
Domain:: location table=512 records=3 max_slot=1
AOR:: shine_sip2
Contact:: sip:shine_sip2@192.168.2.101:5070 Q=0.9
Expires:: 445
Callid::
1205472816-140-HOME-7C77A26D29(a)192.168.2.101
Cseq:: 97
User-agent:: NCH Swift Sound Express Talk 3.06
State:: CS_NEW
Flags:: 0
Cflag:: 0
Socket:: udp:192.168.2.100:5060
Methods:: 4294967295
AOR:: shine_sip
Contact:: sip:shine_sip@10.108.3.84:5070 Q=0.9
Expires:: 455
Callid:: 1205473792-3532-BSB093-31(a)192.168.2.102
Cseq:: 63
User-agent:: NCH Swift Sound Express Talk 3.06
State:: CS_NEW
Flags:: 0
Cflag:: 0
Socket:: udp:192.168.2.100:5060
Methods:: 4294967295
Contact:: sip:shine_sip@10.108.3.84:5061 Q=0.9
Expires:: 1204
Callid:: 1205473792-3532-BSB093-31(a)192.168.2.102
Cseq:: 64
User-agent:: NCH Swift Sound Express Talk 3.06
State:: CS_NEW
Flags:: 0
Cflag:: 0
Socket:: udp:192.168.2.100:5060
Methods:: 4294967295
Please advice.
Thanks,
Shine http://www.nabble.com/file/p16047318/OpenSER-debug OpenSER-debug
--
View this message in context: http://www.nabble.com/SIP-2.0-481-Call-Leg-Transaction-Does-Not-Exist-tp160…
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.