[Kamailio-Devel] [ openser-Bugs-2630111 ] dlg_get doesn't work from (onreply|branch|failure)_route

SourceForge.net noreply at sourceforge.net
Mon Feb 23 14:23:18 CET 2009


Bugs item #2630111, was opened at 2009-02-23 14:22
Message generated for change (Settings changed) made by axlh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2630111&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: modules
>Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
Assigned to: Nobody/Anonymous (nobody)
Summary: dlg_get doesn't work from (onreply|branch|failure)_route

Initial Comment:
dlg_get doesn't work from onreply_route nor branch_route not failure_route. According to the documentation, it should.

onreply_route[20] {
  dlg_get("$ci", "$ft", "$tt");
  xlog("L_INFO", "[$cs $rm] <$si:$sp> Dialog: $dlg(h_id) . $dlg(h_entry)\n");
}

branch_route[20] {
  dlg_get("$ci", "$ft", "$tt");
  xlog("L_INFO", "[$cs $rm] <$si:$sp> Dialog: $dlg(h_id) . $dlg(h_entry)\n");
}

failure_route[25] {
  dlg_get("$ci", "$ft", "$tt");
  xlog("L_INFO", "[$cs $rm] <$si:$sp> Dialog: $dlg(h_id) . $dlg(h_entry)\n");



Feb 23 14:19:58 [13061] DBG:core:find_cmd_export_t: <dlg_get> not found
Feb 23 14:19:58 [13061] DBG:core:find_cmd_export_t: found <dlg_get>(3) in module dialog [/usr/lib/kamailio/modules/]
Feb 23 14:19:58 [13061] CRITICAL:core:yyerror: parse error in config file, line 622, column 20-21: Command cannot be used in the block


Feb 23 14:19:58 [13061] DBG:core:find_cmd_export_t: <dlg_get> not found
Feb 23 14:19:58 [13061] DBG:core:find_cmd_export_t: found <dlg_get>(3) in module dialog [/usr/lib/kamailio/modules/]
Feb 23 14:19:58 [13061] CRITICAL:core:yyerror: parse error in config file, line 848, column 20-21: Command cannot be used in the block


Feb 23 14:19:58 [13061] DBG:core:find_cmd_export_t: <dlg_get> not found
Feb 23 14:19:58 [13061] DBG:core:find_cmd_export_t: found <dlg_get>(3) in module dialog [/usr/lib/kamailio/modules/]
Feb 23 14:19:58 [13061] CRITICAL:core:yyerror: parse error in config file, line 877, column 20-21: Command cannot be used in the block



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2630111&group_id=139143



More information about the Devel mailing list