summaryrefslogtreecommitdiffstats
path: root/route.c
diff options
context:
space:
mode:
authorSuper User2008-05-18 09:23:10 +0200
committerSuper User2008-05-18 09:23:10 +0200
commit95a9a7f135a2413b5b07d16bfee93f62660a203b (patch)
treed17925b762f6c6dd710d64b3b44335d63c29a762 /route.c
parentsome minor fixes (diff)
downloadlcr-95a9a7f135a2413b5b07d16bfee93f62660a203b.tar.gz
lcr-95a9a7f135a2413b5b07d16bfee93f62660a203b.tar.xz
lcr-95a9a7f135a2413b5b07d16bfee93f62660a203b.zip
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
Diffstat (limited to 'route.c')
-rw-r--r--route.c7
1 files changed, 5 insertions, 2 deletions
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>", "Name of remote application to make call to."},
+ { PARAM_CONTEXT,
+ "exten", PARAM_TYPE_STRING,
+ "exten=<extension>", "Give context parameter to the remote application."},
{ PARAM_EXTEN,
"exten", PARAM_TYPE_STRING,
- "exten=<extension>", "Give exten parameter to the remote application."},
+ "exten=<extension>", "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,