Index: channel.c =================================================================== --- channel.c (revision 24668) +++ channel.c (working copy) @@ -3039,6 +3039,9 @@ /* Copy the music class */ ast_copy_string(original->musicclass, clone->musicclass, sizeof(original->musicclass)); + /* Copy the accountcode */ + ast_copy_string(original->accountcode, clone->accountcode, sizeof(original->accountcode)); + ast_log(LOG_DEBUG, "Putting channel %s in %d/%d formats\n", original->name, wformat, rformat); /* Okay. Last thing is to let the channel driver know about all this mess, so he