[OpenSIPS-Users] FW: Asynchronous operation for REST queries

2016-09-07 Thread Ramachandran, Agalya (Contractor)
Hi team, Any clue on this below topic would be a great. Am stuck with this 10 sec delay and couldn't move further. If I could be able to find the root cause and resolve this , then only I can implement REST API calls as async. Because this 10 sec delay is a huge time. Please help me on this.

Re: [OpenSIPS-Users] 2.2 crash with async, db_virtual and unixodbc

2016-09-07 Thread Răzvan Crainea
Hi, Jeff! Indeed, db_virtual makes perfect sense for what you need. However, we don't support unixodb in async mode, but I will look into this to see if the library supportsit. Regarding REST, does MSSQL support it, or you're thinking of writing a REST server that converts queries to SQL?

[OpenSIPS-Users] Question regarding append_branch

2016-09-07 Thread Ramachandran, Agalya (Contractor)
Hi team, When append_branch() is called, it takes care of the forking process. When we say it is used to fork the call, append_branch() takes care of sending the request out to that branch and as well maintaining the dialog and transaction information for that call leg or it is used only to

Re: [OpenSIPS-Users] mulitple instance for different rules

2016-09-07 Thread Newlin, Ben
Docker runs on the physical server. You can use it to run multiple different instances of any application. It uses objects called containers to run the applications in separate namespaces so they are not aware of each other and will not conflict for resources. Running 2 instances of OpenSIPS

Re: [OpenSIPS-Users] mulitple instance for different rules

2016-09-07 Thread ‪H Yavari‬ ‪
Hi, I want to have physical server. running 2 instances is ok? From: "Newlin, Ben" To: ‪H Yavari‬ ‪‬ ; OpenSIPS users mailling list Sent: Wednesday, 7 September 2016, 16:13:19 Subject: Re: [OpenSIPS-Users]

Re: [OpenSIPS-Users] What does mean "a=inactive"?

2016-09-07 Thread Benjamin Cropley
I would start by looking at a trace. Is it A changing the SDP attribute? or is OpenSIPS doing it? Inactive obviously means "Keep the session live, but dont send me any audio, and I won't send you any audio". I've seen that happen once, when both end points couldnt establish a codec.. due to

Re: [OpenSIPS-Users] mulitple instance for different rules

2016-09-07 Thread Newlin, Ben
I would recommend using Docker for this to ensure the 2 instances of OpenSIPS are isolated from each other. We are running OpenSIPS in Docker with multiple containers on a single machine with great success. It also makes local testing very simple, especially with a SIPp container as well.

[OpenSIPS-Users] mulitple instance for different rules

2016-09-07 Thread ‪H Yavari‬ ‪
Hi to all, I want to run 2 instances of OpenSIPS on same machine and use each of them for some tasks. for example one instance for load balancing and other for registration and routing. I want use this arch for flexible expansion. Is it good idea? It makes more load on the same node? If

Re: [OpenSIPS-Users] 2.2 crash with async, db_virtual and unixodbc

2016-09-07 Thread Jeff Pyle
Hi Răzvan , Ok. I found this on the 2.2 release info page: 2.27 DB_VIRTUAL module added async raw query support I thought I might be able to wrap db_virtual around unixodbc and get it to work. Apparently not! Or, at least not yet. My application is to attempt to replace an aging

Re: [OpenSIPS-Users] PRACK, 404 not here

2016-09-07 Thread Miha
Hi Razvan will take a look and let you know. I tried with match_dialog() but then got some loop. tnx miha On 07/09/2016 10:12, Răzvan Crainea wrote: Hi, Miha! It looks like loose_route() fails - did you try to look into the logs and see if it indicates something? Is the SBC_1 IP

Re: [OpenSIPS-Users] Location records and ACKs with Topology hiding Module

2016-09-07 Thread Răzvan Crainea
Hi, Adrian! Make sure you are calling the fix_nated_contact()[1] function on the 200OK reply. [1] http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html#id293994 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 09/07/2016 10:54 AM, Adrian Fretwell

Re: [OpenSIPS-Users] 2.2 crash with async, db_virtual and unixodbc

2016-09-07 Thread Răzvan Crainea
Hi, Jeff! Unfortunately async operations are only supported by the MySQL backend, therefore it won't work with unixodbc or other backends. Now it crashes because of a mishandling in the db_virtual module. We are working on a fix for the crash, but even after the fix, you will still be unable

[OpenSIPS-Users] PRACK, 404 not here

2016-09-07 Thread Miha
Hi i have one issue and do not know how to solve it... Initial invite: U SBC_2:5060 -> SBC_1:5060 INVITE sip:7422@SBC_1:5060;user=phone SIP/2.0. Via: SIP/2.0/UDP SBC_2:5060;branch=z9hG4bK57fa.67ccbb16.0. From: ;tag=*1875283502*. To: