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

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


Bugs item #2630111, was opened at 2009-02-23 15:22
Message generated for change (Comment added) made by miconda
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: Daniel-Constantin Mierla (miconda)
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



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

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-02-23 16:18

Message:
Indeed, flags in the source code are just for REQUEST_ROUTE. Will fix.
Thanks.

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

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