From 95a9a7f135a2413b5b07d16bfee93f62660a203b Mon Sep 17 00:00:00 2001 From: Super User Date: Sun, 18 May 2008 09:23:10 +0200 Subject: work on chan_lcr modified: action.cpp modified: apppbx.cpp modified: bchannel.c modified: chan_lcr.c modified: mISDN.cpp modified: message.h modified: route.c modified: route.h --- route.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'route.c') diff --git a/route.c b/route.c index f4dcd26..8f1e3bb 100644 --- a/route.c +++ b/route.c @@ -231,9 +231,12 @@ struct param_defs param_defs[] = { { PARAM_APPLICATION, "application",PARAM_TYPE_STRING, "application=", "Name of remote application to make call to."}, + { PARAM_CONTEXT, + "exten", PARAM_TYPE_STRING, + "exten=", "Give context parameter to the remote application."}, { PARAM_EXTEN, "exten", PARAM_TYPE_STRING, - "exten=", "Give exten parameter to the remote application."}, + "exten=", "Give exten parameter to the remote application. (overrides dialed number)"}, { 0, NULL, 0, NULL, NULL} }; @@ -252,7 +255,7 @@ struct action_defs action_defs[] = { "Same as 'extern'"}, { ACTION_REMOTE, "remote", &EndpointAppPBX::action_init_remote, &EndpointAppPBX::action_dialing_remote, &EndpointAppPBX::action_hangup_call, - PARAM_CONNECT | PARAM_APPLICATION | PARAM_EXTEN | PARAM_TIMEOUT, + PARAM_CONNECT | PARAM_APPLICATION | PARAM_CONTEXT | PARAM_EXTEN | PARAM_TIMEOUT, "Call is routed to Remote application, like Asterisk."}, { ACTION_VBOX_RECORD, "vbox-record",&EndpointAppPBX::action_init_call, &EndpointAppPBX::action_dialing_vbox_record, &EndpointAppPBX::action_hangup_call, -- cgit v1.2.3-55-g7522