[Kamailio-Users] Incoming T38 Public IP

Iñaki Baz Castillo ibc at aliax.net
Fri Mar 13 12:35:42 CET 2009


2009/3/13 michel freiha <michofr at gmail.com>:
> Hi Inaki,
>
> I'm getting the below error when using t_relay(); in
> onreply_route[7]....Maybe i need to you something else?
>
> Mar 13 13:11:03 [27785] DBG:core:find_cmd_export_t: <t_relay> not found
> Mar 13 13:11:03 [27785] DBG:core:find_cmd_export_t: found <t_relay>(0) in
> module tm [/usr/local/lib/opensips/modules/]
> Mar 13 13:11:03 [27785] CRITICAL:core:yyerror: parse error in config file,
> line 728, column 9-10: Command cannot be used in the block
                                                     ^^^^^
                                   The error IS clearle explained, isn't?

Please check the doc about t_relay():

  http://www.kamailio.org/docs/modules/devel/tm.html#id2506628

  "This function can be used from REQUEST_ROUTE, FAILURE_ROUTE."


You can't use t_relay in on_replyroute (in fact you don't need it at
all, t_relay is used to send *requests*).

Again, please read the documentation and tutorials instead of trying
anything with no reason.

Regards.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>




More information about the sr-users mailing list