ARI: Remove the 'channel:' scheme from endpoint's channel list.
authorDavid M. Lee <dlee@digium.com>
Wed, 21 Aug 2013 16:09:09 +0000 (16:09 +0000)
committerDavid M. Lee <dlee@digium.com>
Wed, 21 Aug 2013 16:09:09 +0000 (16:09 +0000)
commita6da087716478b4a54defb17d56a9574548a8d2a
treee02fc0605557a9d0dd60eeb132d2672351b837fe
parentf5cca5e41e6ce5aec71ac906f1a0a7efff0d8061
ARI: Remove the 'channel:' scheme from endpoint's channel list.

For times when a reference in ARI might be ambiguous, the reference is
built as an URI (such as channel:1376341790.3).

An endpoint's channel list is not ambiguous, and in fact the field is
named 'channel_ids', but it had channel URI's instead of channel id's.
This patch changes the list to be the raw id instead of the URI.

(closes issue ASTERISK-22291)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/stasis_endpoints.c