Re: [OpenSIPS-Devel] [opensips] Opensips crash on CANCEL on unanswerd call. (2.1-rc2) (#484)

2015-08-05 Thread Bogdan Andrei IANCU
Hi @AVFedorov , @petekelly  - I'm taking over this issue.
If any of you could describe how to reproduce this crash (like what kind of 
call needs to be canceled, etc), it will be great to sort it out asap.

Thanks and regards,
Bogdan

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


Re: [OpenSIPS-Devel] [opensips] acc module - database types (#576)

2015-08-05 Thread Bogdan Andrei IANCU
Hi @ar45 , most probably because of historical reasons. May I ask what seems to 
be the problem in your case ?

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


Re: [OpenSIPS-Devel] [opensips] tcp read error on 1.11.5 (#551)

2015-08-05 Thread Bogdan Andrei IANCU
@seanchann , any way to reproduce the kind of errors you get ?

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


Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng & mi_json answer bug with pua_publish (#552)

2015-08-05 Thread Bogdan Andrei IANCU
@dsandras , the problem was narrowed down to mi_json module when handling ASYNC 
MI commands. I'm trying to reach @shimaore (the author of the module) to sort 
this out.
In the mean while, should I try a patch for make mi_json to run all MI commands 
in SYNC mode (to avoid the existing problem with ASYNC) ? Does it make sense ? 

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


Re: [OpenSIPS-Devel] [opensips] ds_select_dst may put "probing" destinations in the failover list (#564)

2015-08-05 Thread Bogdan Andrei IANCU
Hi @gergelypeli - that makes a lot of sense, we will look into a fast fix. 
Thank you, Bogdan

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


Re: [OpenSIPS-Devel] [opensips] Cryptic error messages when json.so is not loaded (#574)

2015-08-05 Thread Bogdan Andrei IANCU
@liviuchircu , that will happen when you try to use any Variable exported by a 
module (not provided by core) without loading that particular module. 
It is not particular to  json module only.

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


Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng & mi_json answer bug with pua_publish (#552)

2015-08-05 Thread Damien Sandrs
Hi Bogdan, following @mqandeel, xmlrpc-ng would suffer of the same bug.
>From my point of view, things could be done in SYNC mode... Thanks for having 
>a look !

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


Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng & mi_json answer bug with pua_publish (#552)

2015-08-05 Thread Bogdan Andrei IANCU
@dsandras, not so sure about @mqandeel report (if indeed related to this or 
something completely different) as the error you reported is 100% generated by 
mi_json:

Jun 11 15:55:45 golgoth05 opensips[31577]: 
ERROR:**mi_json**:mi_json_flush_data: Unexpected NULL mi handler!

and mi_json has nothing to do with mi_xmlrpc.

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


Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng & mi_json answer bug with pua_publish (#552)

2015-08-05 Thread Damien Sandrs
Indeed. But I am not sure if it is a bug in mi_json or in the sublayer shared 
by all mi modules actually.

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


Re: [OpenSIPS-Devel] [opensips] B2B + uac_auth - corrupted INVITE packet (#577)

2015-08-05 Thread Bogdan Andrei IANCU
@DMOsipov, this happens due a poor implementation of the b2b auth in 
combination with usage of local route (for b2b INVITEs). Unfortunately the fix 
is not trivial - to be honest, I do not even have a straight solution to this.
Nevertheless, I will try to come up with a something on this.

Regards,
Bogdan

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


[OpenSIPS-Devel] [opensips] crash issue in tcpconn_add_alias (2.1) (#589)

2015-08-05 Thread dbeskoek
During running a sipp-scenario against an opensips2.1  doing tls<->udp 
traversing we are able to easily crash this opensips within seconds. As soon as 
we disable tcp_accept_aliases the crashes are gone. We are heavily generating 
new tls-sessions (around 1000 per second), so we will reuse source-ports. Maybe 
this forces this segfault.

gdb(bt full):
#0  0x0059a2bf in tcpconn_add_alias (id=, port=5067,
port@entry=, proto=) at net/net_tcp.c:766
c = 0x7ff422570658
hash = 0
a = 
__FUNCTION__ = "tcpconn_add_alias"

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


[OpenSIPS-Devel] [opensips] Fix mi_xmlrpc_ng answer formatting, add version field in bin protocol, provide extended information for usrloc events (#590)

2015-08-05 Thread ionel-cerghit

You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/590

-- Commit Summary --

  * added extended usrloc events, provided extended information
  * Added version field in the header of bin protocol, to avoid compatibility 
problems
  * mi_xmlrpc_ng: fixed formatting and flushing problems in module

-- File Changes --

M bin_interface.c (72)
M bin_interface.h (26)
M cfg.lex (6)
M cfg.y (27)
M modules/dialog/dlg_replication.c (39)
M modules/dialog/dlg_replication.h (2)
M modules/mi_xmlrpc_ng/http_fnc.c (325)
M modules/mi_xmlrpc_ng/http_fnc.h (13)
M modules/ratelimit/ratelimit.h (2)
M modules/ratelimit/ratelimit_helper.c (17)
M modules/usrloc/ucontact.c (4)
M modules/usrloc/udomain.c (122)
M modules/usrloc/udomain.h (5)
M modules/usrloc/urecord.c (6)
M modules/usrloc/ureplication.c (16)
M modules/usrloc/ureplication.h (2)
M pt.c (1)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/590.patch
https://github.com/OpenSIPS/opensips/pull/590.diff

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 3dfc83: add rest_client specs for debian, fedora and rpms

2015-08-05 Thread Razvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3dfc83cb254f150d2e6dbbb49f48ec9927be3a3c
  
https://github.com/OpenSIPS/opensips/commit/3dfc83cb254f150d2e6dbbb49f48ec9927be3a3c
  Author: Razvan Crainea 
  Date:   2015-08-05 (Wed, 05 Aug 2015)

  Changed paths:
M packaging/debian/control
M packaging/fedora/opensips.spec
M packaging/rpm/opensips.spec.CentOS

  Log Message:
  ---
  add rest_client specs for debian, fedora and rpms

Closes #587


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


Re: [OpenSIPS-Devel] [opensips] Add packaging for rest_client (#587)

2015-08-05 Thread Răzvan Crainea
Closed #587 via 3dfc83cb254f150d2e6dbbb49f48ec9927be3a3c.

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


Re: [OpenSIPS-Devel] [opensips] crash issue in tcpconn_add_alias (2.1) (#589)

2015-08-05 Thread Bogdan Andrei IANCU
Hi @dbeskoek , are you using the latest 2.1 code from GIT ? 

can you recompile without optimization (see Makefile.defs, line 722, removing 
-O9) and check in the corefile the a variable ?

Regards, Bogdan

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


Re: [OpenSIPS-Devel] [opensips] crash issue in tcpconn_add_alias (2.1) (#589)

2015-08-05 Thread dbeskoek
Hi Bogdan, yes, latest 2.1code from GIT was used. requested output:

```
#0  0x0052247a in tcpconn_add_alias (id=1358, port=5063, proto=3) at 
net/net_tcp.c:766
c = 0x7f311a308470
hash = 938
a = 0x7f31115f35d8
__FUNCTION__ = "tcpconn_add_alias"
```

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 570d7d: emergency -- code review

2015-08-05 Thread root
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 570d7d749f2f0f03eb86bdd10425d08679dce625
  
https://github.com/OpenSIPS/opensips/commit/570d7d749f2f0f03eb86bdd10425d08679dce625
  Author: root 
  Date:   2015-08-05 (Wed, 05 Aug 2015)

  Changed paths:
M modules/emergency/emergency_methods.c
M modules/emergency/emergency_methods.h
M modules/emergency/hash.c
M modules/emergency/hash.h
M modules/emergency/http_emergency.c
M modules/emergency/http_emergency.h
M modules/emergency/model.h
M modules/emergency/notifier_emergency.c
M modules/emergency/notifier_emergency.h
M modules/emergency/post_curl.c
M modules/emergency/post_curl.h
M modules/emergency/report_emergency.c
M modules/emergency/report_emergency.h
M modules/emergency/sip_emergency.c
M modules/emergency/sip_emergency.h
M modules/emergency/subscriber_emergency.c
M modules/emergency/subscriber_emergency.h
M modules/emergency/xml_parser.c
M modules/emergency/xml_parser.h

  Log Message:
  ---
  emergency -- code review


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