I just upgraded my system to the latest svn-trunk I previously made extensive use of the SetAccount() function, but now I'm getting the following error Dec 29 20:54:08 WARNING[4925]: pbx.c:1679 pbx_extension_helper: No application 'SetAccount' for extension (voipsubscriber-in, xxxxxxxxx, 100) Has this function been deprecated? If so, what method is used to replace its functionality. I have noticed a lot of deprecated features, variables, etc, and the wiki usually explains that the application / variable is deprecated and what to use in its replacement. The wiki entry for set account doesn't say anything http://www.voip-info.org/wiki-Asterisk+cmd+SetAccount Any Ideas, as you can see...its missing sip1*CLI> show application set Set SetAMAFlags SetCallerID SetCallerPres SetCDRUserField SetCIDName SetCIDNum SetGlobalVar SetGroup SetMusicOnHold SetRDNIS SetTransferCapability sip1*CLI> show application Set Regards, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051229/ef5f46cf/attachment.htm
William M. Sandiford wrote:> I just upgraded my system to the latest svn-trunk > > I previously made extensive use of the SetAccount() function, but now > I'm getting the following error > > Dec 29 20:54:08 WARNING[4925]: pbx.c:1679 pbx_extension_helper: No > application 'SetAccount' for extension (voipsubscriber-in, xxxxxxxxx, 100) > > Has this function been deprecated? If so, what method is used to > replace its functionality. I have noticed a lot of deprecated > features, variables, etc, and the wiki usually explains that the > application / variable is deprecated and what to use in its > replacement. The wiki entry for set account doesn't say anything > > http://www.voip-info.org/wiki-Asterisk+cmd+SetAccount > > Any Ideas, as you can see...its missing >Just a guess but did you try: Set(ACCOUNTCODE=xxx) ?
RTFM ns2*CLI> show application SetAccount ns2*CLI> -= Info about application 'SetAccount' =- [Synopsis] Set the CDR Account Code [Description] SetAccount([account]): This application will set the channel account code for billing purposes. SetAccount has been deprecated in favor of the Set(CDR(accountcode)=account). On 12/29/05, William M. Sandiford <wsandiford@durhamtelecom.com> wrote:> > I just upgraded my system to the latest svn-trunk > > I previously made extensive use of the SetAccount() function, but now I'm > getting the following error > > Dec 29 20:54:08 WARNING[4925]: pbx.c:1679 pbx_extension_helper: No > application 'SetAccount' for extension (voipsubscriber-in, xxxxxxxxx, 100) > > Has this function been deprecated? If so, what method is used to replace > its functionality. I have noticed a lot of deprecated features, variables, > etc, and the wiki usually explains that the application / variable is > deprecated and what to use in its replacement. The wiki entry for set > account doesn't say anything > > http://www.voip-info.org/wiki-Asterisk+cmd+SetAccount > > Any Ideas, as you can see...its missing > > sip1*CLI> show application set > Set SetAMAFlags SetCallerID > SetCallerPres SetCDRUserField SetCIDName > SetCIDNum SetGlobalVar SetGroup > SetMusicOnHold SetRDNIS SetTransferCapability > sip1*CLI> show application Set > > Regards, > Bill > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- --- Andrew Latham - AKA: LATHAMA (lay-th-ham-eh) lathama@lathama.com - lathama@yahoo.com - lathama@gmail.com If any of the above are down we have bigger problems than my email! ---