diff options
author | Patrick McHardy <kaber@trash.net> | 2010-10-14 22:43:24 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-10-14 22:43:24 +0200 |
commit | fc63150b4dff38002b9aa979b19f3269ae465348 (patch) | |
tree | cbc57572875207fd0d48f8f33113c5b658004b3a /example | |
parent | 08815f4cc35379d287dae123b88d00a43da9aed7 (diff) |
Revert accidentally committed patch
This reverts commit d6d3253a5c5a9e1b51a9f957d8cec8a782db3745.
Diffstat (limited to 'example')
-rw-r--r-- | example/ss.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/example/ss.c b/example/ss.c index eac9391..f45e9f6 100644 --- a/example/ss.c +++ b/example/ss.c @@ -29,25 +29,18 @@ static void mnss_release_ind(struct dect_handle *dh, struct dect_ss_endpoint *ss static void dect_invoke_ss(struct dect_handle *dh, const struct dect_ipui *ipui) { struct dect_ss_endpoint *sse; - struct dect_ie_events_notification events_notification; + struct dect_ie_feature_activate feature_activate; struct dect_mnss_param param = { - .events_notification = &events_notification, + .feature_activate = &feature_activate, }; sse = dect_ss_endpoint_alloc(dh, ipui); if (sse == NULL) return; - events_notification.num = 2; - events_notification.events[0].type = DECT_EVENT_MISSED_CALL; - events_notification.events[0].subtype = DECT_EVENT_MISSED_CALL_VOICE; - events_notification.events[0].multiplicity = 10; + feature_activate.feature = DECT_FEATURE_INDICATION_OF_SUBSCRIBER_NUMBER; - events_notification.events[1].type = DECT_EVENT_MESSAGE_WAITING; - events_notification.events[1].subtype = DECT_EVENT_MESSAGE_WAITING_VOICE; - events_notification.events[1].multiplicity = 10; - - dect_mnss_facility_req(dh, sse, ¶m); + dect_mnss_setup_req(dh, sse, ¶m); } static struct dect_ss_ops ss_ops = { |