[asterisk-users] CHANNEL(accountcode) only stores 19 chars
johnkiniston at gmail.com
Mon Nov 14 10:07:06 CST 2016
Line 161 of include/asterisk/channel.h:#define AST_MAX_ACCOUNT_CODE 20
/*!< Max length of an account code */
That's where your limit is coming from, I see some other places where the
code doesn't use that definition ( chan_ooh323, cdr_sqlite, cdr_tds ,
res_config_sqlite) So as long as you are not using those functions you
should be able to change AST_MAX_ACCOUNT_CODE and recompile to increase the
length of your account code field.
On Fri, Nov 11, 2016 at 7:24 PM, Saint Michael <venefax at gmail.com> wrote:
> I cannot store more than 19 chars in CHANNEL(accountcode). I can
> certainly store more in the code, but my CDR table, which has an
> accountcode field varchar(256) only shows 19. There is a disconnect
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> Check out the new Asterisk community forum at: https://community.asterisk.
> New to Asterisk? Start here:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users