Hi Matt,
I don't totally understand to why you need to run two RTPproxy on one same
opensips servers with one listening on Public IP and the other one also
listening on the same public IP but bridged with LAN IP.!! ?
rtpproxy1 started with '-l 12.157.5.6'
rtpproxy2 (bridge mode) star
Please ignore last message , just needed to do like this
$(si)
--- On Tue, 6/12/11, Nauman Sulaiman wrote:
> From: Nauman Sulaiman
> Subject: Re: [OpenSIPS-Users] REGISTER destination issue
> To: nauman762-h...@yahoo.co.uk, "OpenSIPS users mailling list"
>
> Date: Tuesday, 6 December, 2011,
Just to button up this issue, I have it running now. I figured out to use
postgres, the module is called db_postgres, but the DBENGINE is called PGSQL.
Basically, all of the references in the configs need to be literally
"postgres", not "pgsql" or "postgresql".
Thanks,
Jerry
From: users-bou
Unfortunately when we get the 401 the $si value gives the source address of the
REGISTER request not the of the 401 response.
How dow we get the ip address of the 401 response?
--- On Tue, 6/12/11, Nauman Sulaiman wrote:
> From: Nauman Sulaiman
> Subject: Re: [OpenSIPS-Users] REGISTER destina
Could anyone please help in this problem?
I really appreciate all your help.
Regards
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Can-t-connect-to-local-MySQL-server-through-socket-var-lib-mysql-mysql-sock-tp7056051p7068391.html
Sent from the OpenSIPS
We have been running opensip for quite sometime now, and we are doing CDRS
by flatstore module and then migrating it to a database server.
Everything works fine, the problem is that when we try to check our CDRs to
our provider's there's a big discrepancy on connected calls. Almost at
40,000 calls
I am trying to improve my script:
Now I would like that if avp_check fails, Opensips simply rewrite host and
port and keep ruri as recived.
I wrote the following but seems it's wrong
if (avp_db_load("$fu/username","$avp(Linea-LW)"))
{
xlog("L_DBG",
"A
Hi Bogdan, thank you for your reply and your time.
I did as you sayd and it worked in part.
I had to modify this statement *if ($rU=~"^sip:0[0-9]{11}@") * with *if
($rU=~"^0[0-9]+")*
I don't really understood why. I really thought that regex "
*~"^sip:0[0-9]{11}@* " was correct.
Anyway, thank
Thanks, Bogdan. Which of these should it be?
modparam("usrloc", "db_url",
"postgres://opensips:opensipsrw@localhost/opensips")
modparam("usrloc", "db_url",
"postgresql://opensips:opensipsrw@localhost/opensips")
modparam("usrloc", "db_url",
"pgsql://opensips:opensipsrw@localhost/o
Here's a patch that will prevent registrations moving between servers.
Please test it and report back.
Regards,
Ovidiu Sas
--
VoIP Embedded, Inc.
http://www.voipembedded.com
On Mon, Dec 5, 2011 at 11:46 AM, Nauman Sulaiman
wrote:
> Hi
>
> The link below details an issue Chris Martineau reporte
Hi Razvan,
I just did a fresh download from
http://opensips.org/pub/opensips/latest/src/. I did apply the patch
successfully and I still have the problem of CDR not being recorded after
restart. Here is the syslog pasted after opensips was being shut down:
Dec 6 20:20:13 dev /usr/local/sbin/opens
Hello Jerry,
If you want to use postgres with opensips, you need to change all the
db_url parameters in opensips config file; what db backend to be used,
is defined via the prefix of the url:
modparam("usrloc", "db_url",
"mysql://opensips:opensipsrw@localhost/opensips")
versus:
modpa
Hi ,
Just make a shell (or other scripting language) to read the statistics
from opensips (via opensipsctl for example) and push them to another
machine via whatever protocol is needed.
Regards,
Bogdan
On 12/04/2011 08:07 PM, M.Abdulaziz wrote:
Hello All,
I want to know the number of acti
Hi Jock,
Could you post logs in debug 6 for the query that should failover ?
Thanks and regards,
Bogdan
On 12/05/2011 06:38 PM, Jock McKechnie wrote:
Greetings;
I was wondering if someone could point me in the right direction
regarding use of virtual_db in a failover mode. I'm unable to get i
Hi Spandy,
Your script is a bit wrong, and the "if" for "avp_check" does not do
anything (there is no "then" or "else" branch),. Better try:
if (avp_db_load("$fu/username","$avp(Linea-LW)"))
{
xlog("L_DBG",
"AVP_DB_LOAD Invocato!!\n");
Hi Remco,
Try something like that:
$var(x) = $rU ; # make a backup of original DID (username part of RURI)
alias_db_lookup() ; # alias the DID to the main account
lookup("location"); # see where the main account is registered from
$rU = $var(x) ; # when sending call to asterisk
Hi Matt,
If you need to change network on each NAT, then you will definitely need
2 instances of rtpproxies (of course, if the call requires the RTP to
traverse all 3 networks.
For chaining multiple RTPproxyes, try to :
1) set the "f" flag
2) set the "r" flag
See http://www.opensips.org/html
Hi Jerry,
You just have to get yourself a lot of patience and type the password -
opensipsctl will run many times the psql command in order to create
database, tables, users, keys, indexes. And each time, psql will ask for
passwd. Unfortunately, for using psql there is no passwd caching in
op
Hello All,
Anyone know why I get prompted for the postgres user password endlessly when
executing the command "./opensipsdbctl create"? If I look in the database, I
can see it is creating a lot of tables, but the script never ends because I am
continually prompted for "Password for user postgr
Hi,
many thanks, we'll give that a try
--- On Tue, 6/12/11, Vlad Paiu wrote:
> From: Vlad Paiu
> Subject: Re: [OpenSIPS-Users] REGISTER destination issue
> To: users@lists.opensips.org
> Date: Tuesday, 6 December, 2011, 15:29
> Hi,
>
> Just a suggestion, you could use caching.
>
> When you
I'm trying to handle NAT in 2 different places - far-end between UAC and
Opensips, and between Opensips and Asterisk cluster behind. I was able to get
them going separately, but have been some audio problems when I try to put them
together using only 1 rtpproxy (is this possible?). Anyway is it
Hi,
Just a suggestion, you could use caching.
When you receive a 401 response, you could save in localcache, for the
key register_$tu the value $si, with a short expiry.
When you receive a new Register request, check whether you have
register_$tu in cache. If you do, then route the Register to
Hi
We are using Opensips as proxy, when Opensips sends a REGISTER message it
resolves the domain of the RURI however if the registrar has a bank of servers
this could result in the 2nd REGISTER message(with auth details) being sent to
a different server. Some registrars don't seem to keep auth
Hi Razvan,
I am not able to patch. I get the following:
patching file dlg_db_handler.c
Hunk #1 FAILED at 789.
Hunk #2 FAILED at 796.
2 out of 2 hunks FAILED -- saving rejects to file dlg_db_handler.c.rej.
This is what I see in dlg_db_handler.c.rej:
--- dlg_db_handler.c(revision 8586)
+++ dlg_d
Hi, Jayesh!
Something is really weird there. I've attached attached a new patch done
against a fresh copy. Can you please try this one?
Thanks and regards!
--
Răzvan Crainea
OpenSIPS Developer
On 12/06/2011 01:52 PM, Jayesh Nambiar wrote:
Hi Razvan,
Here are the logs with Dumping var name:
No one has idea?
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Siptraces-not-shown-on-OpenSIPS-CP-tp7052741p7066578.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
___
Users mailing list
Alex, just to be sure, Can I add more than one mysql's table at the time??
I tried to put also "address" tabel into local's file but seems it 's not
working.
Can you just confirm that?
Regards
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Add-Menu-to-OpenS
Hi Razvan,
Here are the logs with Dumping var name:
Dec 6 17:24:13 dev /usr/local/sbin/opensips[1958]:
DBG:dialog:dialog_update_db: inserting new dialog 0x7fa29f2d0708
Dec 6 17:24:13 dev /usr/local/sbin/opensips[1958]: DBG:dialog:write_pair:
Dumping var name: value: <#026>
Dec 6 17:24:13 dev /
Hi, Jayesh!
Yes, I will need extra debugging to see what's happening. Can you
send[1] the log in full debugging, taken after OpenSIPS is restarted?
[1] pastebin.com
Regards,
--
Răzvan Crainea
OpenSIPS Developer
On 12/06/2011 08:13 AM, Jayesh Nambiar wrote:
Hi Razvan,
The dialogs are defin
Hi Adrian,
Thanks for your reply. Unfortunately, changing the Asterisk side is not an
option as some PBX'es are not under my control and others are embedded
devices and such. So I'm looking for a solution on the OpenSIPS side...
Thanks,
Remco.
On Tue, Dec 6, 2011 at 2:04 AM, Adrian Serafini wrot
Hi Vlad:
Thanks for your answer, if use current open sips LT mode, you are right,
because we del the fd from epoll every time once we get a trigger, but it is
not efficient to move in and move out fd every time, so if I want to use ET
mode and keep the tcp read socket in epoll, how about this ca
31 matches
Mail list logo