Re: [OpenSIPS-Users] 1.9.0 lb_count_call issue

2013-02-11 Thread Liviu Chircu
Hello, The issue has been solved. Please feel free to test it out. Regards, Liviu Chircu OpenSIPS Dev http://www.opensips-solutions.com On 02/10/2013 02:27 AM, Seth Schultz wrote: I have opened a ticket. https://sourceforge.net/tracker/?func=detailaid=3603973group_id=232389atid=1086410

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Saúl Ibarra Corretgé
Hi Bogdan and team, On Feb 9, 2013, at 7:40 PM, Bogdan-Andrei Iancu wrote: Hi all, According the the release policy (http://www.opensips.org/Development/Development), I would like to call for a brainstorming, ideas, discussion, etc regarding what should be the roadmap for OpenSIPS 1.10

Re: [OpenSIPS-Users] Dbtext and avp_db_query()

2013-02-11 Thread Bogdan-Andrei Iancu
Hi Michael, What about my idea for the future : quote Maybe the best think to do in the future is to make avp_db_load to take an optional prefix to use when loading the AVP, so same AVP from DB (like inbound-CCL ) would be loaded as caller_inbound-CCL or callee_inbound-CCL . /quote Would

Re: [OpenSIPS-Users] local_route and relayed messages

2013-02-11 Thread Bogdan-Andrei Iancu
Hi Brett, Not understanding you - in local route there is no such like received message - messages in local route are internally generated, so they cannot be received :). $mb will show you the SIP message opensips wants to send out. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and

Re: [OpenSIPS-Users] JSON Bug, empty strings

2013-02-11 Thread Bogdan-Andrei Iancu
Hi Brett, Empty string is not a valid json stringmaybe {}. Check the grammar on http://www.json.org/ and a validator on http://jsonlint.com/ Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02/10/2013 07:39 PM, Brett Nemeroff wrote: Hey

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Bogdan-Andrei Iancu
Hi Brett, At some point we had on TODO list a function to do math ops with floats (stored as strings), but we have not felt a real demand for that - we can add it on the todo list. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02/10/2013

Re: [OpenSIPS-Users] OpenSips in other directory

2013-02-11 Thread Dragomir Haralambiev
Thanks 2013/2/11 Muhammad Shahzad shaherya...@gmail.com: Just export PREFIX variable to your desired location, e.g. export PREFIX='/tmp/opensips'; make all -j4 Thank you. On Mon, Feb 11, 2013 at 3:04 PM, Dragomir Haralambiev goup2...@gmail.com wrote: Hello, By default OpenSips is

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Saúl Ibarra Corretgé
On Feb 11, 2013, at 12:38 PM, Saúl Ibarra Corretgé wrote: Hi Bogdan and team, On Feb 9, 2013, at 7:40 PM, Bogdan-Andrei Iancu wrote: Hi all, According the the release policy (http://www.opensips.org/Development/Development), I would like to call for a brainstorming, ideas,

Re: [OpenSIPS-Users] local_route and relayed messages

2013-02-11 Thread Brett Nemeroff
Bogdan, So I'm dumping $mb at the top of my route block and in a local_route. That should give me both legs of a call, right? I am suspicious that my local_route isn't doing anything.. I have an xlog in my local_route and I never see output from it. Do I need to do something special to get a

Re: [OpenSIPS-Users] local_route and relayed messages

2013-02-11 Thread Bogdan-Andrei Iancu
Brett, I guess you are aware that local route is triggered only when opensips acts as UAC (locally generated requests, not proxied). So for a call, such route will be triggered only when dialog module tries to terminate the call from the middle - see the B flag for create_dialog() . Maybe you

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Brett Nemeroff
Bogdan, I haven't really pushed floating point capability much because I've depended on external systems like mysql to do that math. However, with the popularity of NoSQL systems, I think this may become more important. It is to me at least :) Thanks for considering it :) -Brett On Mon, Feb

Re: [OpenSIPS-Users] local_route and relayed messages

2013-02-11 Thread Brett Nemeroff
Bogdan, I'm basically trying to xlog the entire SIP message. Of course, I'd like to do something a little more sophisticated with it, but trying to proof of concept it first. I'm close with $mb, but I'm missing the relayed messages. Thanks, Brett On Mon, Feb 11, 2013 at 10:19 AM, Bogdan-Andrei

Re: [OpenSIPS-Users] local_route and relayed messages

2013-02-11 Thread Bogdan-Andrei Iancu
As per IRC discussion, the actual problem here is the mis-usage of the local route for a different purpose than intended. Brett, what you are trying to do is to capture the buffer of outbound request which are forwarded by opensips. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and

Re: [OpenSIPS-Users] 1.9.0 lb_count_call issue

2013-02-11 Thread Seth Schultz
Liviu, I will try and test this today. Thank you, Seth On 2/11/2013 6:17 AM, Liviu Chircu wrote: Hello, The issue has been solved. Please feel free to test it out. Regards, Liviu Chircu OpenSIPS Dev http://www.opensips-solutions.com On 02/10/2013 02:27 AM, Seth Schultz wrote: I have opened

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Bogdan-Andrei Iancu
He, he, it seems the for the same problems we got to the same solutions. For some prepaid scenarios, we also needed to do floating operation and we ended up pushing them at DB level - but I still agree that a nice solutions will be to be able to do such ops from script level - as you pointed

Re: [OpenSIPS-Users] Dbtext and avp_db_query()

2013-02-11 Thread Michael Renzmann
Hi Bogdan. What about my idea for the future : quote Maybe the best think to do in the future is to make avp_db_load to take an optional prefix to use when loading the AVP, so same AVP from DB (like inbound-CCL ) would be loaded as caller_inbound-CCL or callee_inbound-CCL . /quote

Re: [OpenSIPS-Users] 1.9.0 lb_count_call issue

2013-02-11 Thread Seth Schultz
I have confirmed this is now working. Thanks, Seth On 2/11/2013 6:17 AM, Liviu Chircu wrote: Hello, The issue has been solved. Please feel free to test it out. Regards, Liviu Chircu OpenSIPS Dev http://www.opensips-solutions.com On 02/10/2013 02:27 AM, Seth Schultz wrote: I have opened a

[OpenSIPS-Users] Why is OpenSipS sending a 407

2013-02-11 Thread Dovid Bender
Hi, Our set up is this: Client - OpenSipS - Custom BLF service (on port 5080). In the DP we have: if ( method == MESSAGE || method == NOTIFY || method == SUBSCRIBE || method == UNSUBSCRIBE ) { rewritehostport( 127.0.0.1:5080 );

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Bogdan-Andrei Iancu
Hi Daniel, Indeed, the ability to place REST query would be a useful feature when come to interacting with other parties - I will add it on the TODO list. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02/09/2013 10:41 PM, Daniel Goepp

Re: [OpenSIPS-Users] [RELEASES] Drafting OpenSIPS 1.10.0 TODO list

2013-02-11 Thread Bogdan-Andrei Iancu
Hi Michael, On 02/10/2013 10:42 AM, Michael Renzmann wrote: Hi Bogdan. 1. Though nothing that necessarily is bound to a new release: documentation improvements would be a big deal. Just the very first example that comes to mind here is an explanation of the meaning of the various flags in