I did a brief armchair check of the patent dates related to v.34 and I think they should all be expired (from the dates on the ISO site) - so connecting at up to 33.600 bidirectionally on a robbed-bit-signalling DS0 line should be implementable in software legally ... I think Hylafax or a similar project has a library implementing these...