<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SIP Inspection and dynamic port opening after re-invite in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043187#M438601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Logs show the ASA denying the packets, endpoints/ports correspond to SIP SDP for the reinvite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Cisco Technical Support iPad App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 21:14:30 GMT</pubDate>
    <dc:creator>ahmed.jama</dc:creator>
    <dc:date>2012-09-06T21:14:30Z</dc:date>
    <item>
      <title>SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043183#M438590</link>
      <description>&lt;P&gt;Platform: ASA 8.3(2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SIP devices along with SipTrunk and media endpoints. I am having issues with the ASA not dynamically opening (sip inspect enabled) UDP ports for RTP after a SIP re-invite causes the media endpoints to change within SDP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initial SIP invite setups properly with ports dynamically opened between the media endpoints in the ASA&lt;/P&gt;&lt;P&gt;Re-inivite from the SIP device causes the media endpoints to change within the SDP&lt;/P&gt;&lt;P&gt;ASA blocks ports associated to the new media endpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can resolve this by allowing the ports in the ACL, but suprised this is not working as re-invites to change media endpoints is to be expected in SIP conversation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 23:50:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043183#M438590</guid>
      <dc:creator>ahmed.jama</dc:creator>
      <dc:date>2019-03-11T23:50:52Z</dc:date>
    </item>
    <item>
      <title>SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043184#M438591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ahmed, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like the ASA is doing it's job regarding the SIP inspection..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said is also failing as there are re-invites that will come from a diferent media endpoints, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean that would be expected as the ASA already open and mantain on it's stateful table a particular SIP connection between 2 endpoints, if the endpoints change then of course they will be blocked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I understood this properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 16:33:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043184#M438591</guid>
      <dc:creator>Julio Carvajal</dc:creator>
      <dc:date>2012-09-06T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043185#M438594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update. The initial invite in the SIP call is correctly setup by a SIP proxy and SIP trunk using a media device and a SIP Trunk. The SIP end points (sip proxy and sip trunk) stay the same for the entire duration of the call, a reinvite occurs to change the media end points in the SDP in order to establish T38 between a new media end point and the SIP trunk (Same SIP call). Since the ASA already had ports opened for this SIP call, isn't it just a case of updating ip addresses/ports for the new end points as this is to be expected in a SIP call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahmed,&lt;/P&gt;&lt;P&gt;Sent from Cisco Technical Support iPad App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 20:07:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043185#M438594</guid>
      <dc:creator>ahmed.jama</dc:creator>
      <dc:date>2012-09-06T20:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043186#M438596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is definetly expected for the ports but I am not sure about the IP addresses, I mean the ASA will notice that there is no Connection between those 2 hosts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the logs say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 20:41:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043186#M438596</guid>
      <dc:creator>Julio Carvajal</dc:creator>
      <dc:date>2012-09-06T20:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043187#M438601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Logs show the ASA denying the packets, endpoints/ports correspond to SIP SDP for the reinvite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Cisco Technical Support iPad App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 21:14:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043187#M438601</guid>
      <dc:creator>ahmed.jama</dc:creator>
      <dc:date>2012-09-06T21:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043188#M438602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is the connection being innitiated (&lt;STRONG&gt;Inside or outside&lt;/STRONG&gt;)????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What the ASA is going to do with the SIP protocol is follow the signaling exchange of information so the data chanel can be open dynamically with no problem ( Open the required ports for the endpoints over the communication) that is why the endpoints do not need to change,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 21:25:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043188#M438602</guid>
      <dc:creator>Julio Carvajal</dc:creator>
      <dc:date>2012-09-06T21:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043189#M438603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Outside. I have allowed SIP from the SipTrunk to my SIP device. &lt;/P&gt;&lt;P&gt;Per the SIP RFC this should work as this normal SIP behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"During the session, either Alice or Bob may decide to change the&lt;/P&gt;&lt;P&gt;   characteristics of the media session.  This is accomplished by&lt;/P&gt;&lt;P&gt;   sending a re-INVITE containing a new media description.  This re-&lt;/P&gt;&lt;P&gt;   INVITE references the existing dialog so that the other party knows&lt;/P&gt;&lt;P&gt;   that it is to modify an existing session instead of establishing a&lt;/P&gt;&lt;P&gt;   new session.  The other party sends a 200 (OK) to accept the change.&lt;/P&gt;&lt;P&gt;   The requestor responds to the 200 (OK) with an ACK.  If the other&lt;/P&gt;&lt;P&gt;   party does not accept the change, he sends an error response such as&lt;/P&gt;&lt;P&gt;   488 (Not Acceptable Here), which also receives an ACK.  However, the&lt;/P&gt;&lt;P&gt;   failure of the re-INVITE does not cause the existing call to fail -&lt;/P&gt;&lt;P&gt;   the session continues using the previously negotiated&lt;/P&gt;&lt;P&gt;   characteristics"&lt;/P&gt;&lt;P&gt;http://www.ietf.org/rfc/rfc3261.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Cisco Technical Support iPad App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 21:33:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043189#M438603</guid>
      <dc:creator>ahmed.jama</dc:creator>
      <dc:date>2012-09-06T21:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043190#M438604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good, we are getting closer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I see the NAT and the ACL configuration to make this work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 22:01:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043190#M438604</guid>
      <dc:creator>Julio Carvajal</dc:creator>
      <dc:date>2012-09-06T22:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043191#M438605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the script you can use to reproduce this. Points worth mentioning.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Initial invite sets up the media between SIP Trunk and a media device ( 10.1.2.150) in the inside network, SIP signalling will be with 10.1.2.100. At this poit RTP flows freely between the SIP Trunk and the media device.&lt;/LI&gt;&lt;LI&gt;If the call is fax, a re-invite will occur and this will cause the IP address to change in the SDP. The new media endpoint becomes 10.1.2.151 (This device is SIP and Media (T38) capable).&lt;/LI&gt;&lt;LI&gt;For every SIP call we establish 10.1.2.150 will be used for media, we do not want to change this behaviour.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="line-height: 0px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; ASA 8.3 (2)&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;conf t&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;interface Ethernet0/0&lt;/P&gt;&lt;P&gt;nameif Inside_Voice&lt;/P&gt;&lt;P&gt;security-level 100&lt;/P&gt;&lt;P&gt;ip address 10.1.2.11 255.255.255.0 standby 10.1.2.12&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;interface Ethernet0/1&lt;/P&gt;&lt;P&gt;nameif Outside_SIP_Trunk&lt;/P&gt;&lt;P&gt;security-level 0&lt;/P&gt;&lt;P&gt;ip address 10.1.60.254 255.255.255.0 standby 10.1.60.253&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;object-group network SIP_trunks&lt;/P&gt;&lt;P&gt;network-object 1.2.3.0 255.255.255.0&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;object-group service SIP_service&lt;/P&gt;&lt;P&gt;service-object tcp destination eq sip&lt;/P&gt;&lt;P&gt;service-object udp destination eq sip&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;object-group network SIP_inside_servers&lt;/P&gt;&lt;P&gt;network-object host 10.1.2.100&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-list Outside_SIP_in extended permit object-group SIP_service object-group SIP_trunks object-group SIP_inside_servers&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-group Outside_SIP_in in interface Outside_SIP_Trunk&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;route Outside_SIP_Trunk 0.0.0.0 0.0.0.0 10.1.60.1&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map inspection_default&lt;/P&gt;&lt;P&gt;match default-inspection-traffic&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map global_policy&lt;/P&gt;&lt;P&gt;class inspection_default&lt;/P&gt;&lt;P&gt;inspect dns preset_dns_map&lt;/P&gt;&lt;P&gt;inspect ftp&lt;/P&gt;&lt;P&gt;inspect h323 h225&lt;/P&gt;&lt;P&gt;inspect h323 ras&lt;/P&gt;&lt;P&gt;inspect ip-options&lt;/P&gt;&lt;P&gt;inspect netbios&lt;/P&gt;&lt;P&gt;inspect rsh&lt;/P&gt;&lt;P&gt;inspect rtsp&lt;/P&gt;&lt;P&gt;inspect skinny&lt;/P&gt;&lt;P&gt;inspect esmtp&lt;/P&gt;&lt;P&gt;inspect sqlnet&lt;/P&gt;&lt;P&gt;inspect sunrpc&lt;/P&gt;&lt;P&gt;inspect tftp&lt;/P&gt;&lt;P&gt;inspect sip&lt;/P&gt;&lt;P&gt;inspect xdmcp&lt;/P&gt;&lt;P&gt;inspect icmp&lt;/P&gt;&lt;P&gt;inspect icmp error&lt;/P&gt;&lt;P&gt;lass class-default&lt;/P&gt;&lt;P&gt;set connection decrement-ttl&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;service-policy global_policy global&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 11:26:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043191#M438605</guid>
      <dc:creator>ahmed.jama</dc:creator>
      <dc:date>2012-09-09T11:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043192#M438606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just FYI, I opened a TAC case and this was failing because of the T38 payload in the SDP of the re-invite. As of now T38 is not supported in ASA codes. Our work around was to allow the relevant ports in ACL so that media traffic was not dropped.&lt;/P&gt;&lt;P&gt;&lt;A href="http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&amp;amp;bugId=CSCtr86607"&gt;http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&amp;amp;bugId=CSCtr86607&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 13:58:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043192#M438606</guid>
      <dc:creator>ahmed.jama</dc:creator>
      <dc:date>2012-11-13T13:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: SIP Inspection and dynamic port opening after re-invite</title>
      <link>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043193#M438607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great, thanks for the resolution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do mark the question as answered so future users can learn from your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kudos to you &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 19:55:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sip-inspection-and-dynamic-port-opening-after-re-invite/m-p/2043193#M438607</guid>
      <dc:creator>Julio Carvajal</dc:creator>
      <dc:date>2012-11-13T19:55:49Z</dc:date>
    </item>
  </channel>
</rss>

