<div>List,</div>
<div> </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> </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> </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> </div>
<div> <extension name="skynet" continue="true"><br> <condition field="network_addr" expression="<a href="http://70.159.49.36">70.159.49.36</a>"/><br> <condition field="destination_number" expression="13523985807">
<br> <action application="bridge" data="<a href="mailto:exosip/3523985807@66.118.164.51"/">exosip/3523985807@66.118.164.51"/</a>><br> </condition><br> </extension>
</div>
<div> </div>
<div>Am I even half way correct in my XML? I get 404 not found as shown below with this setup.</div>
<div> </div>
<div> 0.000000 <a href="http://70.159.49.36">70.159.49.36</a> -> <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> 0.001979 <a href="http://70.159.49.41">70.159.49.41</a> -> <a href="http://70.159.49.36">70.159.49.36</a> SIP Status: 100 Trying<br> 10.001208 <a href="http://70.159.49.41">70.159.49.41</a> -> <a href="http://70.159.49.36">
70.159.49.36</a> SIP Status: 404 Not Found<br> 10.001783 <a href="http://70.159.49.36">70.159.49.36</a> -> <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> </div>
<div>If it's not obvious enough, I'm a super newbie.</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>bp</div>