[Asterisk-Users] How to set features.conf to change thehangup key.
Bogdan Moldovan
bogdan.moldovan at modulo.ro
Sat Dec 31 09:22:45 MST 2005
Indeed, this is 1.2.1
But do the following:
Go to the source tree, do a
vi res/res_features.c
Search for a :
struct ast_call_feature builtin_features[]
And you should see the builtin features:
In 1.2.1 I have:
#define FEATURES_COUNT (sizeof(builtin_features) /
sizeof(builtin_features[0]))
struct ast_call_feature builtin_features[] =
{
{ AST_FEATURE_REDIRECT, "Blind Transfer", "blindxfer", "#", "#",
builtin_blindtransfer, AST_FEATURE_FLAG_NEEDSDTMF },
{ AST_FEATURE_REDIRECT, "Attended Transfer", "atxfer", "", "",
builtin_atxfer, AST_FEATURE_FLAG_NEEDSDTMF },
{ AST_FEATURE_AUTOMON, "One Touch Monitor", "automon", "", "",
builtin_automonitor, AST_FEATURE_FLAG_NEEDSDTMF },
{ AST_FEATURE_DISCONNECT, "Disconnect Call", "disconnect", "*", "*",
builtin_disconnect, AST_FEATURE_FLAG_NEEDSDTMF },
};
In case you do not have this, good changes are that, in case you need badly
this feature, you will upgrade or tweak the sources...
Bogdan
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Obelix
Sent: Saturday, December 31, 2005 6:07 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] How to set features.conf to change thehangup
key.
Quoting Bogdan Moldovan <bogdan.moldovan at modulo.ro>:
Does this option work with Asterisk 1.07? I tried it and it didn't work
> In features.conf
>
> [featuremap]
> automon => *1 ; One Touch Record
> atxfer => *2
> disconnect => *97 ; this is just an example
>
> Bogdan
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Obelix
> Sent: Saturday, December 31, 2005 4:52 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] How to set features.conf to change the hangup
key.
>
>
>
> I want to modify features.conf to set a different key to hang up call.
> Rather than the usual * key. I gather it involves some application map
> settings etc.
>
> Does anyone have a clue? I have read the docs but can hardly find any
> examples.
>
> Regards
>
> Obelix
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list