09-07-2018 12:32 PM - edited 03-17-2019 01:26 PM
I have a cisco 2911 voice router set up for sip trunk to provider.
I am running this behind a nat device and trying to get sip profile to rewrite the private ip to the public ip.
I have set this up with applying the sip profile to my dial peer. The provider still says i am send the private ip address to them in the sdp header and the sip header
any help would be great.
voice class sip-profiles 100
request ANY sip-header Replaces modify "192.168.90.2" "216.5.81.21"
response ANY sip-header Replaces modify "192.168.90.2" "216.5.81.21"
request INVITE sip-header Remote-Party-ID modify "192.168.90.2" "216.5.81.21"
request INVITE sip-header Contact modify "192.168.90.2" "216.5.81.21"
request ANY sip-header Contact modify "192.168.90.2" "216.5.81.21"
request ANY sip-header Remote-Party-ID modify "192.168.90.2" "216.5.81.21"
response ANY sip-header Remote-Party-ID modify "192.168.90.2" "216.5.81.21"
response ANY sip-header Contact modify "192.168.90.2" "216.5.81.21"
request ANY sdp-header Connection-Info modify "192.168.90.2" "216.5.81.21"
request ANY sdp-header Session-Owner modify "192.168.90.2" "216.5.81.21"
response ANY sdp-header Connection-Info modify "192.168.90.2" "216.5.81.21"
response ANY sdp-header Session-Owner modify "192.168.90.2" "216.5.81.21"
response ANY sdp-header Audio-Connection-Info modify "192.168.90.2" "216.5.81.21"
response ANY sdp-header Audio-Attribute modify "sendonly" "sendrecv"
request ANY sdp-header Audio-Attribute modify "sendonly" "sendrecv"
request ANY sdp-header Audio-Media modify "192.168.90.2" "216.5.81.21"
request ANY sdp-header Audio-Connection-Info modify "192.168.90.2" "216.5.81.21"
09-07-2018 01:02 PM
09-07-2018 02:29 PM
Do you mean sip alg from my firewall or from my router?
Thanks
09-08-2018 10:49 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide