Re: [OpenSIPS-Devel] [opensips] Return value for missing AVPS. (e125726)

2015-12-10 Thread Stas Kobzar
Hi Bogdan, Does it mean that the returned value is string now? ```avp_val.s.s = ""``` I think we might have to do many changes in our script. What is the best way to check now if avp is set and not null? Thank you, Stas --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [opensips] OpenSIPS 2.1 crash when replicate_contacts_to enabled (#652)

2015-09-26 Thread Stas Kobzar
7c main.c compiled on 20:32:30 Sep 26 2015 with gcc 4.4.7 core "bt full": https://www.dropbox.com/s/zmtkepwzanyfmq4/core.txt?dl=0 OpenSIPS config file: https://www.dropbox.com/s/ut635s8s4d9axta/opensips.cfg.txt?dl=0 OpenSIPS log: https://www.dropbox.com/s/1ohh5f03sbvy3ej/opensips

[OpenSIPS-Devel] [opensips] Fixing bug in debian init script. (#631)

2015-09-09 Thread Stas Kobzar
You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/631 -- Commit Summary -- * Fixing bug in debian init script. -- File Changes -- M packaging/debian/opensips.init (2) -- Patch Links --

[OpenSIPS-Devel] OpenSIPS crash

2015-08-31 Thread Stas Kobzar
the problem is MI command ul_add. We use datagram MI to add/remove permanent user locations via web interface. Before we were using XML-rpc and we had similar problem. That's why we moved to datagram. Please, advice. Thank you! -- Stas Kobzar Developeur VoIP / VoIP Developer

Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng suppresses \r\n (#537)

2015-06-12 Thread Stas Kobzar
@ovidiusas it works. thank you. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/537#issuecomment-111529146___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng suppresses \r\n (#537)

2015-06-11 Thread Stas Kobzar
@ovidiusas sorry, still have issues. ``` # opensips -V version: opensips 1.11.5-notls (x86_64/linux) flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN

Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng bug with t_uac_dlg (#537)

2015-06-04 Thread Stas Kobzar
@bogdan-iancu Thank you, Bogdan. Also I tried to put many \n after Event header and seems like they are all trimmed. The same thing happens to my body of message-summary NOTIFY. --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] mi_xmlrpc_ng bug with t_uac_dlg (#537)

2015-06-04 Thread Stas Kobzar
@bogdan-iancu This problem here is not about the double Via. This issue is about a missing terminating character in the header Event after value check-sync Please, see the SIP packets in the description I got with ngrep. The first onw has a problem and another one does not. Could you

[OpenSIPS-Devel] [opensips] mi_xmlrpc_ng bug with t_uac_dlg (#537)

2015-06-01 Thread Stas Kobzar
Hello, I have a bug with mi_xmlrpc_ng module when using tm module MI function t_uac_dlg. I am using it to restart phones and manage MWI. Python script example to reproduce problem (I have the same problem with ruby xmlrpc client): ``` #!/usr/bin/env python import xmlrpclib opensips =

Re: [OpenSIPS-Devel] [opensips] Make sure httpd can recognize Content-Type headers with parameters. (#517)

2015-05-20 Thread Stas Kobzar
@bogdan-iancu Right! Thank you for explaining that in details. I have updated functions. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/517#issuecomment-103946920___ Devel mailing list

[OpenSIPS-Devel] [opensips] Make sure httpd can recognize Content-Type headers with parameters. (#517)

2015-05-19 Thread Stas Kobzar
With improved memory management patch from bogdan-iancu. You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/517 -- Commit Summary -- * httpd: Make sure httpd can recognize Content-Type headers with params. * Make sure httpd can

Re: [OpenSIPS-Devel] [opensips] httpd: Make sure httpd can recognize Content-Type headers with params. (#506)

2015-05-19 Thread Stas Kobzar
Hi Bogdan, Thank you. I have created a new pull request with the patch you have sent: https://github.com/OpenSIPS/opensips/pull/517 Please, delete this one. If it is ok, should I also do a cherry-pick for that commit to branches master and 2.1? Regards, Stas --- Reply to this email directly

Re: [OpenSIPS-Devel] [opensips] httpd: Make sure httpd can recognize Content-Type headers with params. (#506)

2015-05-19 Thread Stas Kobzar
I did the tests on my OpenSIPS server. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/506#issuecomment-103646584___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] httpd: Make sure httpd can recognize Content-Type headers with params. (#506)

2015-05-13 Thread Stas Kobzar
@bogdan-iancu Thanks for your comment, Bogdan. Can you give me a hint how can I fix this issues? Or may be there is an example in existing code? Thank you, Stas --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [opensips] httpd: Make sure httpd can recognize Content-Type headers with params. (#506)

2015-05-11 Thread Stas Kobzar
Cherry-pick from master branch to 1.11 You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/506 -- Commit Summary -- * httpd: Make sure httpd can recognize Content-Type headers with params. -- File Changes -- M

[OpenSIPS-Devel] [opensips] httpd: Make sure httpd can recognize Content-Type headers with params. (#411)

2015-02-12 Thread Stas Kobzar
Content-Type headers like text/xml; charset=utf-8 was not recognized. Some libs (like built-in ruby xmlrpc client) force these additional params. You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/411 -- Commit Summary -- * httpd: Make

Re: [OpenSIPS-Devel] [opensips] httpd: Make sure httpd can recognize Content-Type headers with params (#408)

2015-02-12 Thread Stas Kobzar
It is done. Please close this pull request and check #411 https://github.com/OpenSIPS/opensips/pull/411 Thank you --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/408#issuecomment-74120588___ Devel

[OpenSIPS-Devel] [opensips] opensipsctl is calling ds_relaod for dr instead of dr_reload (#150)

2013-12-14 Thread Stas Kobzar
You can merge this Pull Request by running: git pull https://github.com/staskobzar/opensips master Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/150 -- Commit Summary -- * opensipsctl is calling ds_relaod for dr instead of dr_reload

Re: [OpenSIPS-Devel] [opensips] opensipsctl is calling ds_relaod for dr instead of dr_reload (#150)

2013-12-14 Thread Stas Kobzar
Instead of reloading dynamic routes, script is trying to reload dispatcher gateways. Example command to reproduce problem: # opensipsctl dr addgw 1 10 192.168.1.11 0 0 main_gw Returns: 500 command 'ds_reload' not available --- Reply to this email directly or view it on GitHub: