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

 

    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})

 

See Also

SetAMAFlags( ), SetCDRUserField( ), AppendCDRUserField( )