If you want the theory of relays, try Atkinson's
"Telephony" (long out of
print, but many libraries have copies still).
This is an excellent set of books (normally stated to be 2 volumes, there
is a suplement to cover some 'new' exchanges, which is even harder to
find), they were the books that finally got me to understand the
telephone system when simpler books had failed (mainly because the latter
had missed out all the good stuff).
Volume 1 covers the subscriber sets (the telephones themselves) and
manual swtichboards, Volume 2 covers automatic exchanges. The latter is
the one you really want, although you probably should read them both.
They do turn up second-hand from time to time (I've even found them in
charity shops!), but they are not that common.
-tony