Re: [OpenSIPS-Users] [opensips-cp] wrong opensips_fifo name

2015-01-23 Thread Bogdan-Andrei Iancu

That's great news !

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 23.01.2015 18:11, Markus Klaus Schäffauer wrote:

Hi Bogdan-Andrei,

I changed all the entries I found, as you recomended, and now the
fifo-file seems to be ok!

At least, the error message is not showing up anymore.

Thank you very much!

Regards,
Markus

Am 23.01.2015 um 16:00 schrieb Bogdan-Andrei Iancu:

grep -nrH opensips_proxy_fifo opensips-cp/config/



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] First Public Meeting this year

2015-01-23 Thread Răzvan Crainea

Hello all,

The first public meeting of this year is scheduled on Wednesday, 
28.01.2015, at 17:00 EET[1].
The topic is Organize OpenSIPS Resources - during this meeting we 
would like you to help us design a simple and unified method to access 
our project's resources.


[1] 
http://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenSIPS+Public+Meetingiso=20150128T17p1=49ah=1

[2] http://www.opensips.org/Community/IRCmeeting20150128

Talk to you all on Wednesday!

Best regards,

--
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips with Private IP

2015-01-23 Thread Ovidiu Sas
You don't need to do 1 to 1 NAT.  Simply do a port forward on 5060 and
that's enough.

Regards,
Ovidiu Sas

On Thu, Jan 22, 2015 at 7:41 PM, bluerain frank21...@yahoo.com wrote:
 Ok!  Thank you very much, so currently I have:

 listen=udp:99.99.99.1:5060

 where my NIC card is actually 99.99.99.1

 So now I can change my NIC card to 192.168.1.100 and then put in opensip
 config file as:

 listen=udp:192.168.1.100:5060 as 99.99.99.1:5060

 And that I simply do 1 to 1 nat on the firewall to map 99.99.99.1 to
 192.168.1.100

 And that the SIP message it generate on the opensip (e.g. the
 record_route/Via header/blah) will all be 99.99.99.1 instead of
 192.168.1.100?




 --
 View this message in context: 
 http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-with-Private-IP-tp7595038p7595041.html
 Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] problem getting db_text to work

2015-01-23 Thread P Perazim
Been running opensips for several years using
mysql. Very simple config. No problems.

Now I need to make it even simpler and use db_text
so I can deinstall mysql.

Problem is that after looking at the docs and
examples for db_text I am having no joy getting
this to work. Seems as though the docs may be out
of date now. I tried using an opensips.cfg sample
from the dbtext docs but it produced many errors.

So, to start: Is the db_text mode still supported?
Where are the most current docs and examples?

The first thing that errors is that I cannot seem
to set the location of the db_text files. Using 
db_default_url=text:///etc/opensips/dbtext, the
syslog shows: INFO:db_text:dbt_init using database
at: /etc/opensips  -  NOT the location that is set
with db_default_url=text:///etc/opensips/dbtext
 Thi8s location exists and two files called
location and subscriber are there setup as docs
indicate.

Any ideas?

Thanks in advance,

Perazim


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] [opensips-cp] wrong opensips_fifo name

2015-01-23 Thread Markus Klaus Schäffauer
Hello,

in the control panel of opensips I get the following error message:


Array ( [0] = Cannot connect to OpenSIPS Server via Management
Interface (/tmp/opensips_proxy_fifo) )


This ist very strange, because I indicated in the
/usr/local/opensips/etc/opensips/opensips.cfg to use the following file:

/tmp/opensips_fifo

So I have no idea why it is missing an /tmp/opensips_proxy_fifo - if I
never declared to use any file of that name.

What might be wrong? I looked in any config-file in the
/var/www/opensips/ directory and in the /usr/local/opensips/ but found
no other mention of the proxy-filename in cuestion.

So I tried to put an file named /tmp/opensips_proxy_fifo and changed
(temporarily) the config to that file-name. The result was that the
control panel freezed when going to the dialog-menu. So I put everything
back to the /tmp/opensips_fifo and it worked again, but I also get the
same error message as before.

I also changed the owner of that proxy-file to www-data:www-data and I
changed the permissions to rw for everybody, but the error still continues.

What can I do to avoid that message?

I would appreciate to get some hints!

Thank you!

Regards,
Markus


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] ACK never leaves opensips

2015-01-23 Thread Bogdan-Andrei Iancu

Hello Stefano,

It looks like an ACK to a 200 OK reply (as it has Route headers). Such 
ACK is routed based on Route hdr + RURI. So, in script, this ACK should 
hit loose_route() and a t_relay().


To double check that, do a script_trace() - see 
http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42


put in the very begingin of your script:
if (is_method(ACK))
script_trace(1,RU=$ru , DU=$du, ack);

And see what is going on.

PS: be sure the ACK is not looping on lo interface.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 22.01.2015 23:58, Stefano Pisani wrote:
I have a strange issue with an ACK that never leaves Opensips. It 
disappears.

This is the ACK message incoming dumped with ngrep

U publicIP1:32769 - publicIPOpenSIPS:5172
ACK sip:s@publicIP2:6050 SIP/2.0.
Via: SIP/2.0/UDP 192.168.4.53:32769;branch=z9hG4bK-nt6kbhw2yq7b;rport.
Route: 
sip:publicIPOpenSIPS:5172;lr;ftag=dwlhrdursy;vsf=.

From: 103 sip:103@publicIPOpenSIPS:5172;tag=dwlhrdursy.
To: sip:5002362@publicIPOpenSIPS:5172;user=phone;tag=as24f5fc71.
Call-ID: 313432313936303531313339303433-apx44rudybcq.
CSeq: 1 ACK.
Max-Forwards: 70.
User-Agent: snom710/8.7.5.13.
Contact: sip:103@192.168.4.53:32769;line=a7hcmd7s;reg-id=1.
Content-Length: 0.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] problem getting db_text to work

2015-01-23 Thread Bogdan-Andrei Iancu

Hi Perazim,

The db_text is supported and actively maintained.

1) Could you point to the docs you found as outdated, so we can review 
and update ?


2) the message is correct. The last folder in the path you provide is 
actually the DB name :


text:///path/to/dbtext/database
   so path is /etc/opensips and the name of DB is dbtext

3) what seems to be the part not working ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 23.01.2015 12:41, P Perazim wrote:

Been running opensips for several years using
mysql. Very simple config. No problems.

Now I need to make it even simpler and use db_text
so I can deinstall mysql.

Problem is that after looking at the docs and
examples for db_text I am having no joy getting
this to work. Seems as though the docs may be out
of date now. I tried using an opensips.cfg sample
from the dbtext docs but it produced many errors.

So, to start: Is the db_text mode still supported?
Where are the most current docs and examples?

The first thing that errors is that I cannot seem
to set the location of the db_text files. Using
db_default_url=text:///etc/opensips/dbtext, the
syslog shows: INFO:db_text:dbt_init using database
at: /etc/opensips  -  NOT the location that is set
with db_default_url=text:///etc/opensips/dbtext
  Thi8s location exists and two files called
location and subscriber are there setup as docs
indicate.

Any ideas?

Thanks in advance,

Perazim


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] [opensips-cp] wrong opensips_fifo name

2015-01-23 Thread Bogdan-Andrei Iancu

Hi Markus,

Do :
grep -nrH opensips_proxy_fifo opensips-cp/config/

to see where the /tmp/opensips_proxy_fifo file is configured and change 
it to /tmp/opensips_fifo


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 23.01.2015 13:27, Markus Klaus Schäffauer wrote:

Hello,

in the control panel of opensips I get the following error message:


Array ( [0] = Cannot connect to OpenSIPS Server via Management
Interface (/tmp/opensips_proxy_fifo) )


This ist very strange, because I indicated in the
/usr/local/opensips/etc/opensips/opensips.cfg to use the following file:

/tmp/opensips_fifo

So I have no idea why it is missing an /tmp/opensips_proxy_fifo - if I
never declared to use any file of that name.

What might be wrong? I looked in any config-file in the
/var/www/opensips/ directory and in the /usr/local/opensips/ but found
no other mention of the proxy-filename in cuestion.

So I tried to put an file named /tmp/opensips_proxy_fifo and changed
(temporarily) the config to that file-name. The result was that the
control panel freezed when going to the dialog-menu. So I put everything
back to the /tmp/opensips_fifo and it worked again, but I also get the
same error message as before.

I also changed the owner of that proxy-file to www-data:www-data and I
changed the permissions to rw for everybody, but the error still continues.

What can I do to avoid that message?

I would appreciate to get some hints!

Thank you!

Regards,
Markus


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users