Name

SetAccount() — Sets the account code in the Call Detail Record

Synopsis

    SetAccount(account)

Sets the account code in the Call Detail Record, for billing purposes.

Always returns 0.

    ; set the account code to 4321 before dialing the boss
    exten => 123,1,SetAccount(4321)
    exten => 123,2,Dial(${BOSS})

Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.