[OpenSIPS-Devel] [OpenSIPS/opensips] efda8e: fix inline functions to comply with gnu11

2015-08-21 Thread Razvan Crainea
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: efda8e1290aa519497be75b85052639fa7f0c684
  
https://github.com/OpenSIPS/opensips/commit/efda8e1290aa519497be75b85052639fa7f0c684
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M Makefile.defs
M context.h
M daemonize.h
M db/db_insertq.h
M dprint.h
M mem/meminfo.h
M modules/benchmark/benchmark.h
M modules/cachedb_redis/cachedb_redis_utils.h
M modules/compression/compression_helpers.h
M modules/dialog/dlg_hash.h
M modules/dispatcher/ds_fixups.h
M modules/seas/ha.h
M modules/seas/statistics.h
M modules/tm/t_funcs.h
M parser/parse_to.h
M resolve.h
M socket_info.h
M ut.h

  Log Message:
  ---
  fix inline functions to comply with gnu11

The new gcc 5.1 version uses by default gnu11 standard, which behaves a bit
differently with inline functions (more details here:
https://gcc.gnu.org/gcc-5/porting_to.html)

Closes #555

(cherry picked from commit 35ae88587cdd0ad74b22dbd2299c0ed3b346e821)


  Commit: 239c4a0632fb3bebb7a110f53a61eaee96d36f2b
  
https://github.com/OpenSIPS/opensips/commit/239c4a0632fb3bebb7a110f53a61eaee96d36f2b
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M context.c
M context.h
M core_stats.c
M daemonize.c
M daemonize.h
M db/db_insertq.c
M db/db_insertq.h
M dprint.c
M dprint.h
M forward.c
M io_wait.h
M mem/mem.c
M mem/meminfo.h
M modules/alias_db/alookup.c
M modules/benchmark/benchmark.h
M modules/dialog/dlg_hash.c
M modules/dialog/dlg_hash.h
M modules/dispatcher/ds_fixups.c
M modules/dispatcher/ds_fixups.h
M modules/mangler/contact_ops.h
M modules/proto_tls/proto_tls.c
M modules/proto_ws/proto_ws.c
M modules/proto_ws/ws.c
M modules/seas/event_dispatcher.c
M modules/seas/ha.c
M modules/seas/ha.h
M modules/seas/statistics.c
M modules/seas/statistics.h
M modules/sms/sms_funcs.c
M modules/sms/sms_report.c
M modules/tm/t_funcs.c
M modules/tm/t_funcs.h
M msg_translator.c
M net/net_tcp.c
M net/net_tcp_proc.c
M net/net_udp.c
M parser/parse_to.c
M parser/parse_to.h
M pt.h
M reactor_defs.h
M resolve.c
M resolve.h
M socket_info.c
M socket_info.h
M sr_module.c
M sr_module_deps.c
M sr_module_deps.h
M statistics.c
M ut.c
M ut.h

  Log Message:
  ---
  gcc 5.1 warnings fix

re-arranged code to comply with gnu11

(cherry picked from commit 9da7c53a27b1048fc3244934238fccb0933bad26)


  Commit: 4be80fa72e9fbddc79cdb4ffdfb938c643c4193c
  
https://github.com/OpenSIPS/opensips/commit/4be80fa72e9fbddc79cdb4ffdfb938c643c4193c
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M ip_addr.h

  Log Message:
  ---
  ip_addr: fix unused variable warning


Compare: 
https://github.com/OpenSIPS/opensips/compare/9ac540c93e29...4be80fa72e9f___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 84917e: fix backport errors

2015-08-21 Thread Razvan Crainea
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 84917e9c235a76d7ed19a3a758ddf95beb1afc79
  
https://github.com/OpenSIPS/opensips/commit/84917e9c235a76d7ed19a3a758ddf95beb1afc79
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M modules/proto_ws/ws.c

  Log Message:
  ---
  fix backport errors


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


[OpenSIPS-Devel] [OpenSIPS/opensips] d6f1b0: Proper handling of 0 ret code from SSL_read

2015-08-21 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d6f1b01280d083fe2e5f55875c64d8d248bcbad3
  
https://github.com/OpenSIPS/opensips/commit/d6f1b01280d083fe2e5f55875c64d8d248bcbad3
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M tls/tls_server.c

  Log Message:
  ---
  Proper handling of 0 ret code from SSL_read


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


Re: [OpenSIPS-Devel] [opensips] Compilation error on RH6 (#606)

2015-08-21 Thread Bogdan Andrei IANCU
@arovetto , thanks for your investigation and report . We will fix this asap.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/606#issuecomment-133480508___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] error in infinite loop io_watch_del: BUG - trying to del fd 34 with flags 2 1 (#591)

2015-08-21 Thread rgupta0110
Hi Bogdan,

I have uploaded the tcpdump traces for the issue along with core, binaries and 
similar log files

http://www88.zippyshare.com/v/kgfvUJ9b/file.html

Opensips IP - 10.205.235.5 (port 5060)
CallManager - 10.205.235.5 (Port 5059)
endpoint - 10.205.203.130


Thanks
Rahul Gupta

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/591#issuecomment-133458933___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2d64c2: update copyright files

2015-08-21 Thread Razvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2d64c2c4abfecb7f7aa9bdf66055d70db9657147
  
https://github.com/OpenSIPS/opensips/commit/2d64c2c4abfecb7f7aa9bdf66055d70db9657147
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M COPYING
M modules/identity/identity.c
M modules/identity/identity.h
M modules/proto_tls/proto_tls.c
M modules/proto_tls/tls_config.c
M modules/proto_tls/tls_config.h
M modules/proto_tls/tls_domain.c
M modules/proto_tls/tls_domain.h
M modules/proto_tls/tls_params.c
M modules/proto_tls/tls_params.h
M modules/proto_tls/tls_select.c
M modules/proto_tls/tls_select.h
M modules/proto_tls/tls_server.c
M modules/proto_tls/tls_server.h
M packaging/debian/copyright

  Log Message:
  ---
  update copyright files
(cherry picked from commit eda0ae2088d64a69028d67c6907cb39f0b998049)


  Commit: 9073e5b0cf1156f39ec8d5340e3de7ae98094b7b
  
https://github.com/OpenSIPS/opensips/commit/9073e5b0cf1156f39ec8d5340e3de7ae98094b7b
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M Makefile
M packaging/debian/changelog
M packaging/debian/control
M packaging/debian/rules

  Log Message:
  ---
  debian: Makefile skip tests
(cherry picked from commit 446e44c3aff6f8e82d29620ef33caadb202a37d9)

Conflicts:
packaging/debian/changelog


Compare: 
https://github.com/OpenSIPS/opensips/compare/4bb9e46ad71d...9073e5b0cf11___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d13c84: add packaging/ copyrights

2015-08-21 Thread Razvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d13c844701ee507a4f9378765824b747a98169fe
  
https://github.com/OpenSIPS/opensips/commit/d13c844701ee507a4f9378765824b747a98169fe
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-22 (Sat, 22 Aug 2015)

  Changed paths:
M Makefile
M packaging/debian/copyright

  Log Message:
  ---
  add packaging/ copyrights
(cherry picked from commit cbfbed00dd9be7f0287decfdbc9f1a3b2fed0337)


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


[OpenSIPS-Devel] [OpenSIPS/opensips]

2015-08-21 Thread razvancrainea
  Branch: refs/tags/2.1.1
  Home:   https://github.com/OpenSIPS/opensips
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips]

2015-08-21 Thread razvancrainea
  Branch: refs/tags/2.1.1
  Home:   https://github.com/OpenSIPS/opensips
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Compilation error on RH6 (#606)

2015-08-21 Thread Răzvan Crainea
I just compiled on Centos 6.5 and RH 6.4 and I don't see that error.
Can you please send me the make version and the exact output of your command?

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/606#issuecomment-133572637___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] d0d02b: xcap_client: fix missing include

2015-08-21 Thread Razvan Crainea
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d0d02b34c4cc5f220a30fa32aa3cf8bfcbf3269a
  
https://github.com/OpenSIPS/opensips/commit/d0d02b34c4cc5f220a30fa32aa3cf8bfcbf3269a
  Author: Razvan Crainea raz...@opensips.org
  Date:   2015-08-21 (Fri, 21 Aug 2015)

  Changed paths:
M modules/xcap_client/xcap_client.c

  Log Message:
  ---
  xcap_client: fix missing include


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


[OpenSIPS-Devel] [opensips] Compilation error on RH6 (#606)

2015-08-21 Thread arovetto
I've seen that since version 2.1 of Opensips there is a blocking compilation 
error on RH6.
The error launching make is the following:

/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo modules/() modules/{ modules/eval 
modules/`/usr/bin/modulecmd modules/bash modules/`}| grep db_mysql '
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo modules/() modules/{ modules/eval 
modules/`/usr/bin/modulecmd modules/bash modules/`}| grep db_postgres '
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo modules/() modules/{ modules/eval 
modules/`/usr/bin/modulecmd modules/bash modules/`}| grep db_oracle '
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo modules/() modules/{ modules/eval 
modules/`/usr/bin/modulecmd modules/bash modules/`}| grep db_berkeley '
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo modules/() modules/{ modules/eval 
modules/`/usr/bin/modulecmd modules/bash modules/`}| grep db_text '
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo modules/() modules/{ modules/eval 
modules/`/usr/bin/modulecmd modules/bash modules/`}| grep _radius '

I've investigated the isssue and I discovered that is caused by the command 
module that was introduced by RedHat since version 6.

The code causing the conflict is the follow in Makefile: 
102 ifneq ($(module),)
103 modules:=$(addprefix modules/, $(module))
104 endif

On RH6, instead of expanding that variable, it executes the module command.

A simple workaround is to launch, instead of make, the following:
make module=

It will be appreciated if you would fix the issue

Thank you

Alessandro Rovetto

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/606___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] WebRtc and opensips

2015-08-21 Thread Герман Чичикин
 Hi, Razvan, thanks for the fast response .

ngep shows:

#
U 192.168.10.62:5060 - 192.168.10.82:5060
  INVITE sip:11@192.168.10.82:5060 SIP/2.0..Record-Route: sip:192.168.10
  .62;r2=on;lr..Record-Route: sip:192.168.10.62:8091;transport=ws;r2=on;lr
  ..Via: SIP/2.0/UDP 192.168.10.62:5060;branch=z9hG4bKa9a4.7d75f496.0;i=2..Vi
  a: SIP/2.0/WS fvnm7l6n6841.invalid;received=192.168.10.36;branch=z9hG4bK775
  6386..Max-Forwards: 68..To: sip: 11@192.168.10.62 ..From: 22 sip
  : 22@192.168.10.62 ;tag=pisvn8sql7..Call-ID: 48akg6r345bbtdiofjcg..CSeq:
   3313 INVITE..X-Can-Renegotiate: false..Contact: sip: p06q144b@192.168.10.3
  6:4110;transport=ws;ob..Content-Type: application/sdp..Session-Expires: 90
  ..Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER..Supported: tim
  er,ice,replaces,outbound..User-Agent: JsSIP 0.7.4..Content-Length: 1096
  v=0..o=mozilla...THIS_IS_SDPARTA-40.0.2 4294967295 0 IN IP4 0.0.0.0..s=-..t
  =0 0..a=msid-semantic:WMS *..m=audio 5 RTP/AVP 109 9 0 8..c=IN IP4 192.
  168.10.62..a=end-of-candidates..a=msid:{c2d03933-6c9c-4078-9eeb-b8ac29caea1
  6} {38e37d34-8ac9-4b3f-bdaf-228eeb111dd2}..a=rtpmap:109 opus/48000/2..a=rtp
  map:9 G722/8000/1..a=rtpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=ssrc:12013
  51425 cname:{ab765227-cdd6-4ce5-aed8-fb7840d18020}..a=sendrecv..a=rtcp:5000
  1..a=rtcp-mux..m=video 50020 RTP/AVP 120 126 97..c=IN IP4 192.168.10.62..a=
  end-of-candidates..a=fmtp:120 max-fs=12288;max-fr=60..a=fmtp:126 profile-le
  vel-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1..a=fmtp:97 pro
  file-level-id=42e01f;level-asymmetry-allowed=1.   
#
U 192.168.10.82:5060 - 192.168.10.62:5060
  SIP/2.0 100 Trying..Via: SIP/2.0/UDP 192.168.10.62:5060;branch=z9hG4bKa9a4.
  7d75f496.0;i=2..Via: SIP/2.0/WS fvnm7l6n6841.invalid;received=192.168.10.36
  ;branch=z9hG4bK7756386..Record-Route: sip:192.168.10.62;r2=on;lr..Record-
  Route: sip:192.168.10.62:8091;transport=ws;r2=on;lr..From: 22 sip:
   22@192.168.10.62 ;tag=pisvn8sql7..To: sip: 11@192.168.10.62 
..Call-
  ID: 48akg6r345bbtdiofjcg..CSeq: 3313 INVITE..Allow: INVITE, OPTIONS, ACK, B
  YE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE..Server: SIPPER for PhonerLite..C
  ontent-Length: 0  
#
U 192.168.10.82:5060 - 192.168.10.62:5060
  SIP/2.0 180 Ringing..Via: SIP/2.0/UDP 192.168.10.62:5060;branch=z9hG4bKa9a4
  .7d75f496.0;i=2..Via: SIP/2.0/WS fvnm7l6n6841.invalid;received=192.168.10.3
  6;branch=z9hG4bK7756386..Record-Route: sip:192.168.10.62;r2=on;lr..Record
  -Route: sip:192.168.10.62:8091;transport=ws;r2=on;lr..From: 22 sip
  : 22@192.168.10.62 ;tag=pisvn8sql7..To: sip: 11@192.168.10.62 
;tag=8
  062fe20a945e51183b7e539fe35f40c..Call-ID: 48akg6r345bbtdiofjcg..CSeq: 3313
  INVITE..Contact: sip:11@192.168.10.82:5060..Allow: INVITE, OPTIONS, A
  CK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE..Server: SIPPER for PhonerLi
  te..Content-Length: 0 
#
U 192.168.10.82:5060 - 192.168.10.62:5060
  SIP/2.0 200 OK..Via: SIP/2.0/UDP 192.168.10.62:5060;branch=z9hG4bKa9a4.7d75
  f496.0;i=2..Via: SIP/2.0/WS fvnm7l6n6841.invalid;received=192.168.10.36;bra
  nch=z9hG4bK7756386..Record-Route: sip:192.168.10.62;r2=on;lr..Record-Rout
  e: sip:192.168.10.62:8091;transport=ws;r2=on;lr..From: 22 sip:
   22@192.168.10.62 ;tag=pisvn8sql7..To: sip: 11@192.168.10.62 
;tag=8062fe
  20a945e51183b7e539fe35f40c..Call-ID: 48akg6r345bbtdiofjcg..CSeq: 3313 INVIT
  E..Contact: sip:11@192.168.10.82:5060..Content-Type: application/sdp.
  .Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE..S
  ession-Expires: 90;refresher=uac..Supported: replaces, timer, from-change..
  Server: SIPPER for PhonerLite..Content-Length:   289v=0..o=- 1976025328
   1 IN IP4 192.168.10.82..s=SIPPER for PhonerLite..c=IN IP4 192.168.10.82..t
  =0 0..m=audio 5062 RTP/AVP 107 8 0 9..a=rtpmap:107 opus/48000..a=rtpmap:9 G
  722/8000..a=rtpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=rtcp-mux..a=ssrc:19
  05944947..a=sendrecv..m=video 0 RTP/AVP 120.. 
#
U 192.168.10.62:5060 - 192.168.10.82:5060
  ACK sip:11@192.168.10.82:5060 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.62:5
  060;branch=z9hG4bKa9a4.7d75f496.2;i=2..Via: SIP/2.0/WS fvnm7l6n6841.invalid
  ;received=192.168.10.36;branch=z9hG4bK8369992..Max-Forwards: 68..To: sip:1
   1@192.168.10.62 ;tag=8062fe20a945e51183b7e539fe35f40c..From: 22 
  sip: 22@192.168.10.62 ;tag=pisvn8sql7..Call-ID: 48akg6r345bbtdiofjcg..CS
  eq: 3313 ACK..Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER..Su
  pported: outbound..User-Agent: JsSIP 0.7.4..Content-Length: 0 
#
U 192.168.10.62:5060 - 192.168.10.82:5060
  BYE sip:11@192.168.10.82:5060 SIP/2.0..Via: SIP/2.0/UDP 192.168.10.62:5
  060;branch=z9hG4bK79a4.0ef211d.0;i=2..Via: SIP/2.0/WS fvnm7l6n6841.invalid;