<div>List,</div>
<div>&nbsp;</div>
<div>I tried asking this on IRC but email seemed easier to explain everything:</div>
<div>I'm trying to setup Freeswitch to pass traffic strictly from SIP to SIP.</div>
<div>&nbsp;</div>
<div>I want to allow traffic only from static IP's that I define and block all others. When a call comes in from an IP that is allowed, the call should process and be sent out to one of our Asterisk servers that has PSTN connectivity. I guess my question is... How do I do this?
</div>
<div>&nbsp;</div>
<div>Here is what I have so far. From what I understand, it should pretty much be saying: IF IP == <a href="http://70.159.49.36">70.159.49.36</a> AND dst == 13523985807 then call <a href="mailto:3523985807@66.118.164.51">
3523985807@66.118.164.51</a>. </div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;skynet&quot; continue=&quot;true&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;network_addr&quot; expression=&quot;<a href="http://70.159.49.36">70.159.49.36</a>&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;13523985807&quot;&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;<a href="mailto:exosip/3523985807@66.118.164.51&quot;/">exosip/3523985807@66.118.164.51&quot;/</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;
</div>
<div>&nbsp;</div>
<div>Am I even half way correct in my XML?&nbsp;I get 404 not found as shown below with this setup.</div>
<div>&nbsp;</div>
<div>&nbsp; 0.000000 <a href="http://70.159.49.36">70.159.49.36</a> -&gt; <a href="http://70.159.49.41">70.159.49.41</a> SIP/SDP Request: INVITE <a href="mailto:sip:13523985807@70.159.49.41">sip:13523985807@70.159.49.41</a>, with session description
<br>&nbsp; 0.001979 <a href="http://70.159.49.41">70.159.49.41</a> -&gt; <a href="http://70.159.49.36">70.159.49.36</a> SIP Status: 100 Trying<br>&nbsp;10.001208 <a href="http://70.159.49.41">70.159.49.41</a> -&gt; <a href="http://70.159.49.36">
70.159.49.36</a> SIP Status: 404 Not Found<br>&nbsp;10.001783 <a href="http://70.159.49.36">70.159.49.36</a> -&gt; <a href="http://70.159.49.41">70.159.49.41</a> SIP Request: ACK <a href="mailto:sip:13523985807@70.159.49.41">sip:13523985807@70.159.49.41
</a></div>
<div>&nbsp;</div>
<div>If it's not obvious enough, I'm a super newbie.</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>&nbsp;</div>
<div>bp</div>