Last time I looked there some taxi companies have
0800 numbers
The other option is, of course, not getting so drunk you can't make a phone call, making sure you have some way to call for a taxi if needed etc. You know, just the basic idea of taking some responsibility for yourself.