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

Jeff Pyle jpyle at fidelityvoice.com
Tue Mar 1 15:50:04 CET 2011


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 "group" concept.  I used the
following mysql command to take my trusted data and move it to the address
table in group 1:

  insert into address (grp,ip,context_info) select 1,src_ip,tag from
trusted;

Season that to taste and it should do the trick for you.


- Jeff  

On 3/1/11 9:44 AM, "Andrew O. Zhukov" <gnugk at telegroup.com.ua> wrote:

>May me someone show the less painful way how to
>change this function set to a modern set?
>Just without manuals digging :)
>
># [root at 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
>loadmodule?
>Mar  1 16:37:17 [6661] CRITICAL:core:yyerror: parse error in config
>file, line 350, column 27-28: unknown command <allow_trusted>, missing
>loadmodule?
>Mar  1 16:37:17 [6661] CRITICAL:core:yyerror: parse error in config
>file, line 448, column 18-19: unknown command <force_rtp_proxy>, missing
>loadmodule?
>Mar  1 16:37:17 [6661] CRITICAL:core:yyerror: parse error in config
>file, line 552, column 25-26: unknown command <t_release>, missing
>loadmodule?
>Mar  1 16:37:17 [6661] CRITICAL:core:yyerror: parse error in config
>file, line 558, column 25-26: unknown command <t_release>, missing
>loadmodule?
>Mar  1 16:37:17 [6661] CRITICAL:core:yyerror: parse error in config
>file, line 627, column 36-37: unknown command <force_rtp_proxy>, missing
>loadmodule?
>Mar  1 16:37:17 [6661] ERROR:core:main: bad config file (6 errors)
>
>Thanks in advance.
>
>Andrew.
>
>
>
>
>
>_______________________________________________
>Users mailing list
>Users at lists.opensips.org
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list