Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Nabeel
Hi Bogdan, Thanks, but I had no intentions of using a SIP message without a body; all I'm trying to do is make a normal call with OpenSIPS. Please explain why I'm getting a SIP message without a body and how do I fix it? On 14 Aug 2015 11:12, Bogdan-Andrei Iancu bog...@opensips.org wrote: Hi

[OpenSIPS-Users] Plan for releasing OpenSIPS 2.1.1

2015-08-14 Thread Bogdan-Andrei Iancu
Hi all, Following a large set of bug fixes, we will release the first minor version of branch 2.1 (the 2.1.1 version) on Wednesday 19th of August 2015. If there are issues (other than the ones already reported on GITHUB tracker), please let us know. Thanks and regards, -- Bogdan-Andrei

Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Bogdan-Andrei Iancu
Hi, ACK request or 180 ringing reply are part of a call and they do not have a body. It depends on your scripting to see when the rtpproxy are called (for what sip message). You may use the script_trace() function : http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42 to

Re: [OpenSIPS-Users] OpenSIPS Control Panel 6.1

2015-08-14 Thread Bill Shirley
Sorry Alex; I didn't mean to rile you. Remember I DID say I was grateful for all the work that has gone into free software development. That includes OpenSIPS CP. There are a few places where assumptions are made about the PHP configuration: 1) not all shops allow the shortcut ? to turn PHP

[OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Nabeel
Hi, I am getting this error when making some calls: ERROR:rtpproxy:force_rtp_proxy: Unable to parse body I think this may be related to 'rtpproxy_offer' and 'rtpproxy_answer' in the config file but I don't know how to fix it. I am using the default OpenSIPS config.

Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Nabeel
Should I make the same change to rtpproxy_offer? if (is_method(INVITE)) { if (isflagset(NAT)) { rtpproxy_offer(ro); } On 14 Aug 2015 13:09, Bogdan-Andrei Iancu bog...@opensips.org wrote: I seeyou have a onreply_route[handle_nat] in

[OpenSIPS-Users] dns srv lookups happening during relay

2015-08-14 Thread Tito Cumpen
Group, I am using : version: opensips 2.2-dev (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll,

Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Bogdan-Andrei Iancu
yes, you should. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 14.08.2015 18:06, Nabeel wrote: Should I make the same change to rtpproxy_offer? if (is_method(INVITE)) { if (isflagset(NAT)) {

[OpenSIPS-Users] Dispatcher Order SQL DB - version 1.11.5

2015-08-14 Thread Federico Edorna
Hello Guys, I'm using dispatcher module with postgres database. The ds_select_dst function in the script file is used like this: ds_select_dst($(var(ds_set){s.int}),8); that is, using 8 algorithm (first entry in set is chosen) because I need to use always the same destination in the set while it

Re: [OpenSIPS-Users] dns srv lookups happening during relay

2015-08-14 Thread Tito Cumpen
I enabled debug level 6 and I am noticing this : DBG:core:mk_proxy: doing DNS lookup... Aug 14 20:42:09 cloud-server-06 /sbin/opensips[22814]: DBG:core:sip_resolvehost: no port, no proto - do NAPTR lookup! Here it claims that this request is lacking a port and and a proto on this branch I am

Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Nabeel
The 'ringing' stage of a call is when the error occurs. Why should 180 Ringing lead to an error? On 14 Aug 2015 12:47, Bogdan-Andrei Iancu bog...@opensips.org wrote: Hi, ACK request or 180 ringing reply are part of a call and they do not have a body. It depends on your scripting to see

Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Bogdan-Andrei Iancu
I seeyou have a onreply_route[handle_nat] in your script, doing: if ( isflagset(NAT) ) rtpproxy_answer(ro); Change that to : if ( isflagset(NAT) has_body(application/sdp) ) rtpproxy_answer(ro); Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Nabeel
I am using the default OpenSIPS script with NAT support. I did not change any rtpproxy functions in the script. The default OpenSIPS script is causing this error message. Do I need to change the default 'rtpproxy_offer' or 'rtpproxy_answer' in the script to fix this? On 14 Aug 2015 12:47,

[OpenSIPS-Users] What rtpproxy version should i be using

2015-08-14 Thread Trevor Steyn
Hi Opensips Users, I am running opensips 2.1 and am having some issues with rtpproxy I have tried both 1.2.1 and 2.0.0 with different results. Keep in mind i am using rtpproxy in bridge mode and using the re-packetization feauture also both IP's in the bridge are on the same physical interface

Re: [OpenSIPS-Users] Duplicate entries in syslog

2015-08-14 Thread Bogdan-Andrei Iancu
Hi Aqs, I suspect something wrong with your syslog daemon setting. To be sure, set log_stderror=yes in your script and opensips will log to the console, without syslog. Check that and see if you still get double messages. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Managing Concurrent Calls

2015-08-14 Thread Bogdan-Andrei Iancu
Hi Terrance, Not sure how the thread started, but if you want to do limit or to count the concurrent calls, you need to use the dialog module with the call profiles support. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 14.08.2015 00:07,

Re: [OpenSIPS-Users] ERROR:rtpproxy:force_rtp_proxy: Unable to parse body

2015-08-14 Thread Bogdan-Andrei Iancu
Hi Nabeel, You may get this error when calling the rtpproxy functions for a SIP message without a body. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 14.08.2015 09:58, Nabeel wrote: Hi, I am getting this error when making some calls:

Re: [OpenSIPS-Users] What rtpproxy version should i be using

2015-08-14 Thread Peter Lemenkov
Hello All! I'd say stay with 1.2.1 if unsure / if something goes wrong with 2.x.x Btw are you using rtpproxy from EPEL repository or you compiled it by yourself? 2015-08-14 15:53 GMT+03:00 Trevor Steyn tre...@webon.co.za: Hi Opensips Users, I am running opensips 2.1 and am having some issues