diff options
author | Jonathan Rose <jrose@digium.com> | 2013-07-04 18:46:56 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2013-07-04 18:46:56 +0000 |
commit | 93ed5ef0ffdffc342ef2e0670b9cf51686027401 (patch) | |
tree | 71e36bba6f8e575ed9aa542f4183f33cb816fce2 /include/asterisk/channel.h | |
parent | fb03bf9b39ad1f8b8bb50077cc54457edd8d6d9a (diff) |
res_parking: Replace Parker snapshots with ParkerDialString
This process also involved a large amount of rework regarding how to redial
the Parker when a channel leaves a parking lot due to timeout. An attended
transfer channel variable has been added to attended transfers to extensions
that will eventually park (but haven't at the time of transfer) as well.
This resolves one of the two BUGBUG comments remaining in res_parking.
(issues ASTERISK-21877)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2638/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index d61494141..2e7468418 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -4375,5 +4375,13 @@ int ast_channel_forward_endpoint(struct ast_channel *chan, struct ast_endpoint * */ const char *ast_channel_oldest_linkedid(const char *a, const char *b); +/*! + * \brief Removes the trailing identifiers from a channel name string + * \since 12.0.0 + * + * \param channel_name string that you wish to turn into a dial string. + * This string will be edited in place. + */ +void ast_channel_name_to_dial_string(char *channel_name); #endif /* _ASTERISK_CHANNEL_H */ |