[OpenSIPS-Devel] [OpenSIPS/opensips] 24def0: Fix reporting if t_request() failed.

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 24def0dc6e435bbc4a1b26968a3e0b7389327fed
  
https://github.com/OpenSIPS/opensips/commit/24def0dc6e435bbc4a1b26968a3e0b7389327fed
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/pua/send_publish.c

  Log Message:
  ---
  Fix reporting if t_request() failed.

Capture and report futher if the t_request() failed to send out the PUBLISH 
request.

(cherry picked from commit 4791a506912d67f90dfe66e7292500046d59ef4a)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 4791a5: Fix reporting if t_request() failed.

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

  Changed paths:
M modules/pua/send_publish.c

  Log Message:
  ---
  Fix reporting if t_request() failed.

Capture and report futher if the t_request() failed to send out the PUBLISH 
request.


___
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-18 Thread Bogdan Andrei IANCU
Hi @dsandras , Hi @mqandeel - I found the problem and fixed it. The fixes are 
available not on GIT for all maintained versions.

Thank you a lot for your report and support !

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


[OpenSIPS-Devel] [OpenSIPS/opensips] b1ee3a: Fix handling of ASYNC MI commands

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b1ee3a579a292faa47b6bfb1e5051982882f0447
  
https://github.com/OpenSIPS/opensips/commit/b1ee3a579a292faa47b6bfb1e5051982882f0447
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/mi_json/http_fnc.c
M modules/mi_json/http_fnc.h
M modules/mi_json/mi_json.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Part of fixing #552.
Reported by Damien Sandras.

(cherry picked from commit 5244b54afe63bba02fe45f82b736c327672b221a)

Conflicts:
modules/mi_json/mi_json.c


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 2ff5bd: Fix handling of ASYNC MI commands

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2ff5bdf893b1dca6882e9d9f738e80b9892e0b78
  
https://github.com/OpenSIPS/opensips/commit/2ff5bdf893b1dca6882e9d9f738e80b9892e0b78
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/mi_json/http_fnc.c
M modules/mi_json/http_fnc.h
M modules/mi_json/mi_json.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Part of fixing #552.
Reported by Damien Sandras.

(cherry picked from commit 5244b54afe63bba02fe45f82b736c327672b221a)

Conflicts:
modules/mi_json/mi_json.c

(cherry picked from commit b1ee3a579a292faa47b6bfb1e5051982882f0447)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 5244b5: Fix handling of ASYNC MI commands

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

  Changed paths:
M modules/mi_json/http_fnc.c
M modules/mi_json/http_fnc.h
M modules/mi_json/mi_json.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Part of fixing #552.
Reported by Damien Sandras.


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 69e567: Fix handling of ASYNC MI commands

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 69e56712210aef733c8b9b22bd382bd4a27bda29
  
https://github.com/OpenSIPS/opensips/commit/69e56712210aef733c8b9b22bd382bd4a27bda29
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/mi_xmlrpc_ng/http_fnc.c
M modules/mi_xmlrpc_ng/http_fnc.h
M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Part of fixing #552.
Reported by @mqandeel .

Closes #552

(cherry picked from commit c08b03310b9d8001b346ff3ba5a45996b1a5dc45)

Conflicts:
modules/mi_xmlrpc_ng/http_fnc.h
modules/mi_xmlrpc_ng/mi_xmlrpc_http.c

(cherry picked from commit c8c8410d8a97288af40edbabed7b5360dec968fb)


___
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-18 Thread Bogdan Andrei IANCU
Closed #552 via 69e56712210aef733c8b9b22bd382bd4a27bda29.

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


[OpenSIPS-Devel] [opensips] makefile: detect target architecture using the compiler (#603)

2015-08-18 Thread Saúl Ibarra Corretgé
Fixes producing a 32bit build in a 64bit system.

Original patch by Andrei Pelinescu-Onciul:
https://github.com/kamailio/kamailio/commit/c46e79709216c4975abc83869fbce9fa696eac74
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * makefile: detect target architecture using the compiler

-- File Changes --

M Makefile.defs (92)

-- Patch Links --

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

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


Re: [OpenSIPS-Devel] [opensips] makefile: detect target architecture using the compiler (#603)

2015-08-18 Thread Saúl Ibarra Corretgé
/cc @bogdan-iancu 

If you're fine with the change let me know to what branches you want me to 
apply it.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/603#issuecomment-132199170___
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-18 Thread Damien Sandrs
Hi Bogdan,
I see the changes are only done in mi_xmlrpc_ng code files. Does that
mean that the equivalent bug in mi_json is still present or does
mi_json use the same code ?
Thanks,
Le mardi 18 août 2015 à 03:47 -0700, Bogdan Andrei IANCU a écrit :
 Hi @dsandras , Hi @mqandeel - I found the problem and fixed it. The
 fixes are available not on GIT for all maintained versions.
 Thank you a lot for your report and support !
 —
 Reply to this email directly or view it on GitHub.
-- 
Damien Sandras dsand...@seconix.com

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/552#issuecomment-132299628___
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-18 Thread Bogdan Andrei IANCU
@dsandras , both modules were fixed. There is a set of commits for each module. 
Regards, Bogdan

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 2b3a3e: Fix handling of ASYNC MI commands

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

  Changed paths:
M modules/mi_http/http_fnc.c
M modules/mi_http/http_fnc.h
M modules/mi_http/mi_http.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Similar to report #552.


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 725573: Fix handling of ASYNC MI commands

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 725573b6e9033c4c451fb304ddf28e9089e8
  
https://github.com/OpenSIPS/opensips/commit/725573b6e9033c4c451fb304ddf28e9089e8
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/mi_http/http_fnc.c
M modules/mi_http/http_fnc.h
M modules/mi_http/mi_http.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Similar to report #552.

(cherry picked from commit 2b3a3ea9588854be5d7b64d4c04b48f6907a91ba)

Conflicts:
modules/mi_http/mi_http.c

(cherry picked from commit 98435049c104151afa01864a8453957d9463ee51)


___
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-18 Thread Damien Sandrs
Oh great!
Thanks for the clarification!
Le mardi 18 août 2015 à 12:30 -0700, Bogdan Andrei IANCU a écrit :
 @dsandras , both modules were fixed. There is a set of commits for
 each module. Regards, Bogdan
 —
 Reply to this email directly or view it on GitHub.
-- 
Damien Sandras dsand...@seconix.com

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


[OpenSIPS-Devel] [OpenSIPS/opensips] 984350: Fix handling of ASYNC MI commands

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 98435049c104151afa01864a8453957d9463ee51
  
https://github.com/OpenSIPS/opensips/commit/98435049c104151afa01864a8453957d9463ee51
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/mi_http/http_fnc.c
M modules/mi_http/http_fnc.h
M modules/mi_http/mi_http.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Similar to report #552.

(cherry picked from commit 2b3a3ea9588854be5d7b64d4c04b48f6907a91ba)

Conflicts:
modules/mi_http/mi_http.c


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


[OpenSIPS-Devel] [OpenSIPS/opensips] a3c256: Fix reporting if t_request() failed.

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a3c256953b618f8dd2332afa3f8080195414efe1
  
https://github.com/OpenSIPS/opensips/commit/a3c256953b618f8dd2332afa3f8080195414efe1
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/pua/send_publish.c

  Log Message:
  ---
  Fix reporting if t_request() failed.

Capture and report futher if the t_request() failed to send out the PUBLISH 
request.

(cherry picked from commit 4791a506912d67f90dfe66e7292500046d59ef4a)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] b9cb15: fix usrloc contact label mask; in get_ucontact_fro...

2015-08-18 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b9cb15f26ae6f54ccbf4abf8aa96b9e0dee06a35
  
https://github.com/OpenSIPS/opensips/commit/b9cb15f26ae6f54ccbf4abf8aa96b9e0dee06a35
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/usrloc/dlist.c
M modules/usrloc/dlist.h

  Log Message:
  ---
  fix usrloc contact label mask; in get_ucontact_from_id check if contact not 
found


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


[OpenSIPS-Devel] [OpenSIPS/opensips] c08b03: Fix handling of ASYNC MI commands

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

  Changed paths:
M modules/mi_xmlrpc_ng/http_fnc.c
M modules/mi_xmlrpc_ng/http_fnc.h
M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c

  Log Message:
  ---
  Fix handling of ASYNC MI commands

Part of fixing #552.
Reported by @mqandeel .

Closes #552


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


[OpenSIPS-Devel] [OpenSIPS/opensips] 78da6d: fix usrloc clabel mask bug

2015-08-18 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 78da6d3558466101d1ae987c04616183baea1ea2
  
https://github.com/OpenSIPS/opensips/commit/78da6d3558466101d1ae987c04616183baea1ea2
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/usrloc/dlist.h

  Log Message:
  ---
  fix usrloc clabel mask bug


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


[OpenSIPS-Devel] [OpenSIPS/opensips] f01fe3: Fix restoring/freeing the path_vec in failure rout...

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f01fe377c48a79bbba9032f10c9a94605b7c3913
  
https://github.com/OpenSIPS/opensips/commit/f01fe377c48a79bbba9032f10c9a94605b7c3913
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/tm/t_msgbuilder.h

  Log Message:
  ---
  Fix restoring/freeing the path_vec in failure route.

The path_vec (array holding the PATH string) was not properly pushed into the 
faked requests before calling the failure route. This was generating a mixture 
of shm/pkg memory when the faked request had to be freed.
This crash was trigger only if PATH support was used and requests were looked 
up with PATH header.

Reported by @AVFedorov and @petekelly.
Closes #484

Many thanks to @AVFedorov for his details information and to @petekelly for 
support in investigating and testing.

(cherry picked from commit cc033520ea5ab59fafd6ca7d52cc88fdad8574ef)


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


[OpenSIPS-Devel] [OpenSIPS/opensips] cc0335: Fix restoring/freeing the path_vec in failure rout...

2015-08-18 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cc033520ea5ab59fafd6ca7d52cc88fdad8574ef
  
https://github.com/OpenSIPS/opensips/commit/cc033520ea5ab59fafd6ca7d52cc88fdad8574ef
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-08-18 (Tue, 18 Aug 2015)

  Changed paths:
M modules/tm/t_msgbuilder.h

  Log Message:
  ---
  Fix restoring/freeing the path_vec in failure route.

The path_vec (array holding the PATH string) was not properly pushed into the 
faked requests before calling the failure route. This was generating a mixture 
of shm/pkg memory when the faked request had to be freed.
This crash was trigger only if PATH support was used and requests were looked 
up with PATH header.

Reported by @AVFedorov and @petekelly.
Closes #484

Many thanks to @AVFedorov for his details information and to @petekelly for 
support in investigating and testing.


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


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

2015-08-18 Thread Bogdan Andrei IANCU
Closed #484 via f01fe377c48a79bbba9032f10c9a94605b7c3913.

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


[OpenSIPS-Devel] MI_XML_RPC formatting

2015-08-18 Thread Ionel Cerghit
Hello,

For the Management Interface (MI), the XMLRPC backend is one of the most
used one due to its spreading and flexibility. Nevertheless, the XMLRPC
implementation in OpenSIPS did not take full advantage of the XML power
when comes to syntax.

In OpenSIPS 2.2 (devel version) , the mi_xmlrpc_ng module (the XMLRPC
backend for MI) does proper XML formatting according to the protocol
standards. The MI content is split (nodes and attributes) and encapsulated
in XML tags. Instead of the long and monolithic string response, now the
module provides a proper exploded XML tree; that means the result no longer
requires the client to do any custom parsing (beside simple XML parsing, of
course).

This improvement dramatically simplifies any OpenSIPS integration via the
XMLRPC backend.

Thank you,
Ionel Cerghit
OpenSIPS junior developer
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2015-08-18 Thread Bogdan Andrei IANCU
@AVFedorov and @petekelly  many thanks for the information and support you 
provided in regards to this bug.
It was tricky to reproduce and fix as this crash was trigger only if PATH 
support was used and requests were looked up with PATH header.

This fix will be part of the tomorrow minor release OpenSIPS 2.1.1 .

Thanks and regards,
Bogdan

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