Hello richard,
the refer to contains sip:205@publicnatipaddress;method?INVITE and the router sends directly to public_nat_ip_adress. I want to avoid it trying to send the SIP packet to my SIP server but the destination of INVITE should be exactly the same specifiied in the refer to.
From the message sent by Juha it seems at the moment this is not supported by Cisco..
Bye, Raffaele.
Richard wrote:
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