[OpenSIPS-Users] Dialogs not ending on failed reinvites

2011-03-16 Thread Brett Nemeroff
Hello List, I've got an issue where I'm logging calls with the acc module with the CDR flag. To do this, I've got some lines in my main route body, something like this: if (is_method("INVITE")) { setflag(1); setflag(4); } Where flag 1 is acc's db_flag, and flag 4 is cdr_flag. This is t

Re: [OpenSIPS-Users] Asynchronous DB queries in OpenSIPS 1.x

2011-03-16 Thread Dave Singer
Vlad, Would it be possible extend DB_VITRUAL kind of a combination of your two options and Brett's suggestion. I'm just guessing how things might work and possibilities. So for what it is worth... Since it is a middle layer, it could either use the async capabilities of the native driver or put it

Re: [OpenSIPS-Users] when engage_media_proxy() doesn't

2011-03-16 Thread Jeff Pyle
I took a stab at the non-automagic method with use_media_proxy()/end_media_session(). So far I've got just a first attempt using them, but it works well enough to get to get the media stream through the relay. What would cause engage_media_relay() to silently fail, but use_media_proxy() to work?

[OpenSIPS-Users] Trouble accepting an ACK to 200-OK with a bad rUri

2011-03-16 Thread Shawn Smith
I'm looking for suggestions on how to create a server-side workaround for an issue I'm getting in the field where the ALG logic in certain customer routers is putting bad data into the contact of a 200-OK message causing the resulting ACK back to the server to have the wrong rURI on it. Here i

Re: [OpenSIPS-Users] Asynchronous DB queries in OpenSIPS 1.x

2011-03-16 Thread Brett Nemeroff
On Wed, Mar 16, 2011 at 12:18 PM, Vlad Paiu wrote: > Hello all, > > Problem : > 1) Extend the OpenSIPS DB core. Add extra core processes that would only > handle queries that return no results. > For example : The accounting module need to insert an entry in the DB. > The module calls the in

[OpenSIPS-Users] Asynchronous DB queries in OpenSIPS 1.x

2011-03-16 Thread Vlad Paiu
Hello all, Problem : In the current 1.6.x OpenSIPS design, database queries are one of the main performance issues. Running DB queries is blocking, and in case the DB back-end is not answering as fast as expected, for reasons like high load, table locks etc, the SIP processing children of

Re: [OpenSIPS-Users] rtpproxy makeann

2011-03-16 Thread Flavio Goncalves
Hi Chris, I have tried in the last week. Use a normal wav file as the input (8khz, I have used one generated by the Asterisk record function). The output will be a file with .0, .8 and if you have the libgsm installed before compiling .3 for GSM. Specify the name of the file in the rtpproxy_stream

Re: [OpenSIPS-Users] Wrong Direction of RTPProxy media

2011-03-16 Thread Razvan Crainea
Hello Kamil, You can specify more than one socket for the "rtpproxy_sock" parameter. You can find some examples at http://www.opensips.org/html/docs/modules/1.6.x/nathelper.html#id250330. Regards, Razvan On 03/16/2011 01:06 PM, Kamil Nigmatullin wrote: Thanks Bogdan. After some digging w

Re: [OpenSIPS-Users] t_relay behavior with 477 send failed

2011-03-16 Thread Amit Sharma
I tried the fix from the 1.6 branch. The issue I still face is that now t_relay returns with a value of 1 even when the relaying has failed. How do you figure out if t_relay has failed (!t_relay()) does not work in this case? Does a return value 1 also signify an error? -Amit On Tue, Mar 15, 201

Re: [OpenSIPS-Users] Wrong Direction of RTPProxy media

2011-03-16 Thread Kamil Nigmatullin
Thanks Bogdan. After some digging we found that there is the problem with our softswitch that sends incorrect command to the second leg (sendonly), so this is not OpenSIPS. The second issue that traffic goes to origin IP than to mediagateway solved using r flag in force_rtp_proxy Now I perform a

[OpenSIPS-Users] rtpproxy makeann

2011-03-16 Thread Chris Martineau
Hi, Anyone have more information on how to use this like what is the input file format? Need to create gsm playback files but can find very limited information on this. Assume I need to talk to sippy in order to enable this. Does this just create raw gsm files without headers? Any inf