[Asterisk-Users] SetAccount missing?
Michiel van Baak
michiel at vanbaak.info
Fri Dec 30 03:52:59 MST 2005
On 00:26, Fri 30 Dec 05, Robert La Ferla wrote:
> 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)
This is not correct.
The accountcode is something for the cdr, that's why it has
to be:
Set(CDR(ACCOUNTCODE)=something)
I'm using this in my dialplan since I had the same trouble
as the OP
Good luck.
--
Michiel van Baak
http://michiel.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D
"Why is it drug addicts and computer afficionados are both called users?"
More information about the asterisk-users
mailing list