Re: [OpenSIPS-Users] No Timeout socket information in Create/Update session Request

2015-11-18 Thread Hamid Hashmi
NO SUCCESS. Hamid R. HashmiSoftware Engineer - VoIPVopium A/S Date: Wed, 18 Nov 2015 16:55:13 +0200 From: goup2...@gmail.com To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] No Timeout socket information in Create/Update session Request HI. Try to use different port for

Re: [OpenSIPS-Users] Sip proxy source ip question

2015-11-18 Thread Jarrod Baumann
You may want to look into using 3xx redirect responses to the UAC from OpenSIPS if the PBX requires the actual source IP address to be the UAC. > On Nov 18, 2015, at 9:52 AM, Travis Manson-Drake > wrote: > > Hello all, > > Is there any way I can have Opensips use the

Re: [OpenSIPS-Users] No Timeout socket information in Create/Update session Request

2015-11-18 Thread Dragomir Haralambiev
Start RTPproxy: /bin/rtpproxy -p /var/run/rtpproxy.pid -u rtpproxy -l x.y.z.w -s udp: 127.0.0.1:2 -F -P -n tcp:127.0.0.1:22233 -T 60 -W 120 -d DBUG LOG_LOCAL1 -L 65535 insert in OpenSips script follow lines: modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:2") modparam("rtpproxy",

[OpenSIPS-Users] Sip proxy source ip question

2015-11-18 Thread Travis Manson-Drake
Hello all, Is there any way I can have Opensips use the source IP of a UAC rather than the source IP of itself when sending request's to the applicable end points? I currently have something set up to where the there is a phone outside of my network, it sends its request to the opensips proxy,

Re: [OpenSIPS-Users] Opensips 1.11 permission module problem

2015-11-18 Thread Bogdan-Andrei Iancu
Do you see this problem from the first restart? or it happens in time, after couple of restart ? If it happens in time, youshould consider adding the memory debugging support. See: http://www.opensips.org/Documentation/TroubleShooting-OutOfMem BTW, be sure and use the latest GIT version of

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Dragomir Haralambiev
Here results with new git pull: make all ... Compiling lex.yy.c lex.yy.c: In function ‘yy_get_next_buffer’: lex.yy.c:3602: warning: old-style function definition lex.yy.c: In function ‘yy_get_previous_state’: lex.yy.c:3734: warning: old-style function definition Compiling cfg.tab.c Linking

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Dragomir Haralambiev
Here is result: [root@sbc opensips_head]# EX_FLAGS=-B NICER=0 make lex.yy.c Generating lexer flex --never-interactive cfg.lex flex: unknown flag '-'. For usage, try flex --help 2015-11-18 12:42 GMT+02:00 Răzvan Crainea : > Hi, Dragomir! > > Can you try to run the

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Dragomir Haralambiev
Here is error: lex.yy.c:3734: warning: old-style function definition Compiling cfg.tab.c gcc -g -m32 -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Răzvan Crainea
From your previous output, I noticed you are using the DBG_F_MALLOC, which is obsoleted. Can you use DBG_QM_MALLOC instead? BR Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/18/2015 01:39 PM, Dragomir Haralambiev wrote: Here results with new git pull: make all ...

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Dragomir Haralambiev
Hello, flex version 2.5.4 not support --never-interactive. I try to run [root@sbc opensips_head]# NICER=0 make install Generating lexer flex --never-interactive cfg.lex flex: unknown flag '-'. For usage, try flex --help Best regards, Dragomir 2015-11-18 12:13 GMT+02:00 Răzvan Crainea

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Răzvan Crainea
I've just pushed a fix on the master branch. Can you run a test? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/18/2015 01:16 PM, Dragomir Haralambiev wrote: Here is error: lex.yy.c:3734: warning: old-style function definition Compiling cfg.tab.c gcc -g -m32

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Răzvan Crainea
Hi, Dragomir! Can you try to run the following command: LEX_FLAGS=-B NICER=0 make lex.yy.c If that succeeds, run: LEX_FLAGS=-B NICER=0 make install Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/18/2015 12:31 PM, Dragomir Haralambiev wrote: Hello, flex

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Răzvan Crainea
You missed a letter from the command I sent you. It's "LEX_FLAGS", not "EX_FLAGS". Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/18/2015 12:46 PM, Dragomir Haralambiev wrote: Here is result: [root@sbc opensips_head]# EX_FLAGS=-B NICER=0 make lex.yy.c Generating lexer flex

Re: [OpenSIPS-Users] Opensips 1.11 permission module problem

2015-11-18 Thread Bogdan-Andrei Iancu
Hi Denis, Do you see any errors in logs when the reload fails ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 18.11.2015 07:29, dpa wrote: Hello Richard It is about 1 – 1,5 week. No, I do not use subnets, only IP address. “There was a

Re: [OpenSIPS-Users] Opensips 1.11 permission module problem

2015-11-18 Thread Bogdan-Andrei Iancu
How many records do you have in the address table ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 18.11.2015 12:14, dpa wrote: Hello Bogdan, Yes, I see errors “Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]:

Re: [OpenSIPS-Users] Opensips 1.11 permission module problem

2015-11-18 Thread dpa
2314 From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Wednesday, November 18, 2015 1:17 PM To: dpa; 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Opensips 1.11 permission module problem How many records do you have in the address table ? Regards,

[OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Dragomir Haralambiev
Hello, I try to "make install" of latest git version from Opensips 2.2. Here is results: [root@sbc opensips_head]# make install Generating lexer flex: unknown flag '-'. For usage, try flex --help Regards, Dragomir ___ Users mailing list

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Bogdan-Andrei Iancu
Hi Dragomir, Could you check if your flex version does support the "--never-interactive" flag ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 18.11.2015 10:16, Dragomir Haralambiev wrote: Hello, I try to "make install" of latest git

Re: [OpenSIPS-Users] Opensips 2.2 compile problem

2015-11-18 Thread Răzvan Crainea
Hi Dragomir! Also, can you try to run "NICER=0 make install" and post the output on pastebin. PS: I really doubt the flag is missing, since it was added back in 1994 :). BR Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/18/2015 12:02 PM, Bogdan-Andrei Iancu wrote: Hi

Re: [OpenSIPS-Users] Drouting stripping and adding prefix

2015-11-18 Thread Bogdan-Andrei Iancu
Hi John, Simply redefine the gateway multiple times, same IP, but different ID, strip and prefix Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.11.2015 08:34, John Nash wrote: I am using Drouting module and quite happy with it. I have

Re: [OpenSIPS-Users] Opensips 1.11 permission module problem

2015-11-18 Thread dpa
Hello Bogdan, Yes, I see errors “Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: WARNING:core:fm_malloc: Not enough free memory, will attempt defragmentation Oct 28 15:55:45 opensips-main /usr/local/opensips1.11/sbin/opensips[7715]: ERROR:core:db_allocate_rows:

Re: [OpenSIPS-Users] How to make OpenSIPS despise (ignore) the domain of UAC during the registration?

2015-11-18 Thread Bogdan-Andrei Iancu
Hi Rodrigo, What you consider as "domain" is in fact the authentication realm - it has nothing to do with the SIP domain used in the SIP signaling. What you need to do? is to be sure the same realm was used when generating the HA1 and when challenging UACs for auth (see the realm param of

Re: [OpenSIPS-Users] Opensips 2.2 CRASH

2015-11-18 Thread Bogdan-Andrei Iancu
Dragomir, It looks like you hit some memory corruption (the stack ends in the memory manager). Could you please compile in the memory debugging support - see here http://www.opensips.org/Documentation/TroubleShooting-OutOfMem ; and redo the test. Regards, Bogdan-Andrei Iancu OpenSIPS

Re: [OpenSIPS-Users] CRASH 2.2

2015-11-18 Thread Răzvan Crainea
Anything written in the logs? Any ERROR, WARNING, CRITICAL messages? Also, are you using the latest 2.2 version? Thanks, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/07/2015 03:03 PM, Dragomir Haralambiev wrote: Hello developers, Opensips 2.2 crash when try to run

Re: [OpenSIPS-Users] remove_hf doesn't seem to work in route[b2b_reply]

2015-11-18 Thread Bogdan-Andrei Iancu
Louis, Please open a feature request on the opensips GITHUB tracker and probably it will be an easy one to do directly in the C code. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 17.11.2015 22:35, Louis Rochon wrote: Bogdan, Thank you

Re: [OpenSIPS-Users] Opensips 1.11 permission module problem

2015-11-18 Thread dpa
32M From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Wednesday, November 18, 2015 5:24 PM To: dpa; 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Opensips 1.11 permission module problem How much pkg memory have you configured in your opensips ? Regards,

Re: [OpenSIPS-Users] Opensips 1.11 permission module problem

2015-11-18 Thread Bogdan-Andrei Iancu
How much pkg memory have you configured in your opensips ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 18.11.2015 12:24, dpa wrote: 2314 *From:*Bogdan-Andrei Iancu [mailto:bog...@opensips.org] *Sent:* Wednesday, November 18, 2015 1:17 PM

[OpenSIPS-Users] No Timeout socket information in Create/Update session Request

2015-11-18 Thread Hamid Hashmi
According to RTPproxy wiki Create/Update session request needs following arguments. U[opts] call_id remote_ip remote_port from_tag [to_tag] [notify_socket notify_tag]but opensips v2.1.1 rtpproxy module not sending any socket information in Create/Update session request.received command

Re: [OpenSIPS-Users] No Timeout socket information in Create/Update session Request

2015-11-18 Thread Dragomir Haralambiev
HI. Try to use different port for rtpproxy_sock and rtpp_notify_socket like this modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:2") modparam("rtpproxy", "rtpp_notify_socket", "tcp:127.0.0.1:22233 ") На 18.11.2015 г. 4:44 PM "Hamid Hashmi"

Re: [OpenSIPS-Users] Strange multiple replicated registers

2015-11-18 Thread Bogdan-Andrei Iancu
Hi Julian, There are 2 REGISTERs because of authentication - first is without credentials, the second has credentials (as a reaction of the auth challenge from the first REGISTER) In the second trace, the additional REGISTERs from master to slave are SIP transmissions (the t_replicate()

Re: [OpenSIPS-Users] No Timeout socket information in Create/Update session Request

2015-11-18 Thread Hamid Hashmi
Started RTPproxy like /usr/local/bin/rtpproxy -p /var/run/rtpproxy.pid -u root -F -s udp:127.0.0.1:2 -A 192.168.26.181/X.X.X.X -m 1 -M 10040 -n tcp:127.0.0.1:22333 -i 15 -T 15 -W 45 -2 -d DBUG LOG_LOCAL5 -b and opensops.cfg is like RTP Proxy loadmodule "rtpproxy.so"