Thanks for this post I've been struggling with this issue of the global outbound-proxy command for ages. I've applied "voice-class sip outbound-proxy ipv4:" to my voicemail DP and it has kept the call local even when "session target ipv4:" existed an...
I concur as I have this exact same issue with Telstra in Australia.The registration with the gateway shows as "no" and inbound range is no longer available despite outgoing calls work due to adding all the extra "voice-class sip" commands in the outb...