[Asterisk-Users] Howto change ACCOUNTCODE in extensions.conf
Jeremy McNamara
jj at nufone.net
Tue Oct 5 15:19:54 MST 2004
Roger Schreiter wrote:
> Hi,
>
> I want to assign different accountcodes (for billing)
> according to the IP address and or the H.323 name
> (chan_oh323).
>
> I tried in extensions.conf something like
> setVar(ACCOUNTCODE=userid)
> but in cdr I find the accountcode set in oh323.conf.
>
> Howto change it in extensions.conf?
How about SetAccount ?
*CLI> show application SetAccount
-= Info about application 'SetAccount' =-
[Synopsis]:
Sets account code
[Description]:
SetAccount([account]): Set the channel account code for billing
purposes. Always returns 0.
show applications is your friend, use it.
Jeremy McNamara
More information about the asterisk-users
mailing list