Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-14 Thread Andrew O. Zhukov
Hi Andrew, In http://www.opensips.org/html/docs/modules/1.6.x nathelper.html#id293486 ? onreply_route[2] { ... if (has_sdp()) rtpproxy_offer(); ... } Why is the rtpproxy_offer() dead code ? if (has_sdp()) { ... } else { /* IF NO SDP */

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-08 Thread Bogdan-Andrei Iancu
Hi Andrew, In http://www.opensips.org/html/docs/modules/1.6.x/nathelper.html#id293486 ? onreply_route[2] { ... if (has_sdp()) rtpproxy_offer(); ... } Why is the rtpproxy_offer() dead code ? Regards. Bogdan Andrew O. Zhukov wrote: Thanks Bogdan for a clear answer. Small note

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-03 Thread Andrew O. Zhukov
Thanks Bogdan for a clear answer. Small note regarding Example 1.23. rtpproxy_offer usage: in the onreply_route[2] rtpproxy_offer(); will be newer called. Just a dead code. :) It was the reason of my algorithm misunderstanding. ___ Users mailing

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-02 Thread Ovidiu Sas
The parameters for rtpproxy_offer/answer are the same as the old parameters for force_rtp_proxy. The swap flag was no longer necessary and therefor removed. Regards, Ovidiu Sas On Wed, Mar 2, 2011 at 1:35 AM, Andrew O. Zhukov gn...@telegroup.com.ua wrote: On 03/01/2011 06:59 PM, Ovidiu Sas

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-02 Thread Bogdan-Andrei Iancu
Hi Andrew Andrew O. Zhukov wrote: Force_rtp_proxy() was replaced by rtpproxy_offer() (first step) and rtpproxy_answer() (second step). See: http://www.opensips.org/html/docs/modules/1.6.x/nathelper.html and Bogdan, As I understand. If I use the very old style stabile working config

[OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-01 Thread Andrew O. Zhukov
May me someone show the less painful way how to change this function set to a modern set? Just without manuals digging :) # [root@ipshka sbin]# openser -C Mar 1 16:37:17 [6661] CRITICAL:core:yyerror: parse error in config file, line 342, column 40-41: unknown command allow_trusted, missing

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-01 Thread Jeff Pyle
Andrew, I went through this very same migration yesterday. Look at the check_source_address() function: http://www.opensips.org/html/docs/modules/1.6.x/permissions.html#id293790 Your trusted table's data will migrate to the address table. Same data, different headers, with the addition of a

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-01 Thread Andrew O. Zhukov
insert into address (grp,ip,context_info) select 1,src_ip,tag from trusted; Thanks Jeff It's clear. What's wrong with force_rtp_proxy and t_release thanks in advance again. ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-01 Thread Bogdan-Andrei Iancu
Hi Andrew, Andrew O. Zhukov wrote: insert into address (grp,ip,context_info) select 1,src_ip,tag from trusted; Thanks Jeff It's clear. What's wrong with force_rtp_proxy Force_rtp_proxy() was replaced by rtpproxy_offer() (first step) and rtpproxy_answer() (second step). See:

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-01 Thread Andrew O. Zhukov
Force_rtp_proxy() was replaced by rtpproxy_offer() (first step) and rtpproxy_answer() (second step). See: http://www.opensips.org/html/docs/modules/1.6.x/nathelper.html and Bogdan, As I understand. If I use the very old style stabile working config with nat fags,

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-01 Thread Ovidiu Sas
The README file has a straight forward example: http://www.opensips.org/html/docs/modules/devel/nathelper.html#id293550 Let me know if that is not enough. Regards. Ovidiu Sas On Tue, Mar 1, 2011 at 11:54 AM, Andrew O. Zhukov gn...@telegroup.com.ua wrote: Force_rtp_proxy() was replaced by

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-01 Thread Andrew O. Zhukov
On 03/01/2011 06:59 PM, Ovidiu Sas wrote: The README file has a straight forward example: http://www.opensips.org/html/docs/modules/devel/nathelper.html#id293550 Let me know if that is not enough. It's not enough. openser use a pussle algorithm to inform rtp proxy when to start rtp proxy.