diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-20 04:34:51 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-20 04:34:51 +0000 |
commit | e0ebc65f742994df12c4e60e85868bd9a66175e0 (patch) | |
tree | 9b1ca6fdee332174efc875182d4fe89cb55b6e2f /res/res_features.c | |
parent | 40a6ddcf9441cec7ac54b0e6455754aa418dd4ec (diff) |
move ADSI functionality into ast_ namespace
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43309 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_features.c')
-rw-r--r-- | res/res_features.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/res_features.c b/res/res_features.c index 48f93d873..48e493e09 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -265,10 +265,10 @@ static int adsi_announce_park(struct ast_channel *chan, char *parkingexten) snprintf(tmp, sizeof(tmp), "Parked on %s", parkingexten); message[0] = tmp; - res = adsi_load_session(chan, NULL, 0, 1); + res = ast_adsi_load_session(chan, NULL, 0, 1); if (res == -1) return res; - return adsi_print(chan, message, justify, 1); + return ast_adsi_print(chan, message, justify, 1); } /*! \brief Notify metermaids that we've changed an extension */ @@ -407,9 +407,9 @@ int ast_park_call(struct ast_channel *chan, struct ast_channel *peer, int timeou S_OR(pu->chan->cid.cid_name, "<unknown>") ); - if (peer && adsipark && adsi_available(peer)) { + if (peer && adsipark && ast_adsi_available(peer)) { adsi_announce_park(peer, pu->parkingexten); /* Only supports parking numbers */ - adsi_unload_session(peer); + ast_adsi_unload_session(peer); } con = ast_context_find(parking_con); |