[OpenSIPS-Users] dlg_validate_dialog Error, help

spady spady77 at gmail.com
Thu Oct 11 10:35:01 CEST 2012


Hi Vlad, thanks for reply.
I am trying to follow your hint but I get this error when I start Opensips:

*Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t: <has_totag>
not found
Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t: found
<has_totag>(0) in module uri
[/usr/local/opensips_proxy/lib/opensips/modules/]
Oct 11 10:29:45 opensips opensips: CRITICAL:core:yyerror: parse error in
config file
/usr/local/opensips_proxy/etc/opensips/opensips_residential_2012-6-11_14:13:47.CFG,
line 532, column 17-18: Command cannot be used in the block#012
Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t: <loose_route>
not found
Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t: found
<loose_route>(0) in module rr
[/usr/local/opensips_proxy/lib/opensips/modules/]
Oct 11 10:29:45 opensips opensips: CRITICAL:core:yyerror: parse error in
config file
/usr/local/opensips_proxy/etc/opensips/opensips_residential_2012-6-11_14:13:47.CFG,
line 533, column 21-22: Command cannot be used in the block#012
Oct 11 10:29:45 opensips opensips: DBG:core:pv_lookup_spec_name: found in
extra list [DLG_status]
Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t:
<validate_dialog> not found
Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t: found
<validate_dialog>(0) in module dialog
[/usr/local/opensips_proxy/lib/opensips/modules/]
Oct 11 10:29:45 opensips opensips: CRITICAL:core:yyerror: parse error in
config file
/usr/local/opensips_proxy/etc/opensips/opensips_residential_2012-6-11_14:13:47.CFG,
line 535, column 34-35: Command cannot be used in the block#012
Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t:
<fix_route_dialog> not found
Oct 11 10:29:45 opensips opensips: DBG:core:find_cmd_export_t: found
<fix_route_dialog>(0) in module dialog
[/usr/local/opensips_proxy/lib/opensips/modules/]
Oct 11 10:29:45 opensips opensips: CRITICAL:core:yyerror: parse error in
config file
/usr/local/opensips_proxy/etc/opensips/opensips_residential_2012-6-11_14:13:47.CFG,
line 536, column 34-35: Command cannot be used in the block#012                                               
*


Here is the code:


branch_route[2] {	
	if (is_method("INVITE") && is_audio_on_hold()){
		if (has_totag()) {
        loose_route();
        if ($DLG_status!=NULL)
            if (!validate_dialog())
                fix_route_dialog();
                   }
 	         set_dlg_flag("7");
 	  } else {
 	  	       if (is_method("INVITE")){
 	  	     	reset_dlg_flag("7");
 	          }
 	        } 
	 	if (is_dlg_flag_set("7") && (status=="200")){
 	        replace_body("a=sendrecv.","a=inactive");
	      }   
	    xlog("new branch at $ru\n");
     }   



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/dlg-validate-dialog-Error-help-tp7582200p7582206.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list