On 01-07-14 09:25, Olle E. Johansson wrote:
- SetMusicOnHold
- WaitMusicOnHold
What are the replacements for the musiconhold functions?
SetMusicOnHold:
"""Use Set(CHANNEL(musicclass)=...) instead !!!"""
==>
SetMusicOnHold(myclass) ==
Set(CHANNEL(musicclass)=myclass)
WaitMusicOnHold:
"""Use MusicOnHold instead !!!"""
==>
WaitMusicOnHold(1234) ==
MusicOnHold(${CHANNEL(musicclass)},1234)
in chan_sip:
- "username" (=defaultuser)
Username actually has multiple functions, which is why I separated one of them
to defaultuser. username should remain the authentication username or be
replaced
by authuser=
I'd rather see it removed now (and possibly reused later) than have an
altered meaning right now.
At the moment username==defaultuser. There is no separation. At least
not when I look in 1.8.x.
(And it's stored in the peer->username field.)
- SIPCHANINFO
Why remove SIPCHANINFO?
"""SIPCHANINFO() is deprecated. Please transition to using CHANNEL()"""
func_channel:
} else if (!chan->tech || !chan->tech->func_channel_read ||
chan->tech->func_channel_read(chan, function, data, buf, len)) {
ast_log(LOG_WARNING, "Unknown or unavailable item requested:
'%s'\n", data);
ret = -1;
}
==> sip_acf_channel_read() in dialplan_functions.c
Cheers,
Walter
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev