I have a dial peer configured in this way:
dial-peer voice 5 voip
application session
destination-pattern 2[0,1,5].
session protocol sipv2
session target sip-server
and when I debug on the router the dial-peer is correcly matched.
However the gateway doesn't send the INVITE to the sip server but
directy to the "nat_public_ipaddress
What's the refer-to look like? If there is a match, then cisco uses the
refer-to field uri. It doesn't replace the domain in seesion target.
Richard