[asterisk-dev] Proposed removal of deprecated modules in Asterisk 13 (cdr_sqlite, chan_gtalk, chan_jingle, res_jabber, chan_h323, app_readfile, app_dahdibarge, app_setcallerid, app_saycountpl)

Walter Doekes walter+asterisk-dev at osso.nl
Tue Jul 1 06:28:08 CDT 2014


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





More information about the asterisk-dev mailing list