<div>Thanks, </div>
<div>&nbsp;</div>
<div>Yea, I have that setup. I've been working with Asterisk for a while... I'm sure I have it setup right. </div>
<div>The ethereal trace on the previous email shows the 404 coming from the .41 address (.36 is the asterisk server sending the call). That is the Freeswitch address... so freeswitch is unable to find the route.</div>
<div>&nbsp;</div>
<div>Just for fun, I tried calling some other ones that are in the dialplan and they fail too. I tried 888, which should direct me to the FS conference room, but it also gave me the 404 error. For FS to give the 404 error, it seems to tell me that it is working... it just can't find the destination. I have IPtables turned off for testing but no difference.
</div>
<div>&nbsp;</div>
<div>Any other thoughts?</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>bp<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/30/06, <b class="gmail_sendername">Vikram Rangnekar</b> &lt;<a href="mailto:vr@udel.edu">vr@udel.edu</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi William,<br><br>Turn on sip debugging on your Asterisk server. Maybe the 404 is what<br>Asterisk is sending back to your Freeswitch. You probably need to
<br>configure a SIP channel in Asterisk to allow for calls from the<br>freeswitch to come in on.<br><br>eg<br><br>[freeswitch]<br>type=peer<br>context=freeswitch-in<br>insecure=very<br>host=&lt;freeswitchIP&gt;<br><br>Regards,
<br><br>On 8/30/06, William Piper &lt;<a href="mailto:william.piper@gmail.com">william.piper@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; List,<br>&gt;<br>&gt; I tried asking this on IRC but email seemed easier to explain everything:
<br>&gt; I'm trying to setup Freeswitch to pass traffic strictly from SIP to SIP.<br>&gt;<br>&gt; I want to allow traffic only from static IP's that I define and block all<br>&gt; others. When a call comes in from an IP that is allowed, the call should
<br>&gt; process and be sent out to one of our Asterisk servers that has PSTN<br>&gt; connectivity. I guess my question is... How do I do this?<br>&gt;<br>&gt; Here is what I have so far. From what I understand, it should pretty much be
<br>&gt; saying: IF IP == <a href="http://70.159.49.36">70.159.49.36</a> AND dst == 13523985807 then call<br>&gt; <a href="mailto:3523985807@66.118.164.51">3523985807@66.118.164.51</a>.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;skynet&quot; continue=&quot;true&quot;&gt;
<br>&gt;&nbsp;&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>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;13523985807&quot;&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot;<br>&gt; data=&quot;<a href="mailto:exosip/3523985807@66.118.164.51">exosip/3523985807@66.118.164.51</a>&quot;/&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;
<br>&gt;<br>&gt; Am I even half way correct in my XML? I get 404 not found as shown below<br>&gt; with this setup.<br>&gt;<br>&gt;&nbsp;&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<br>&gt; <a href="mailto:sip:13523985807@70.159.49.41">sip:13523985807@70.159.49.41</a>, with session description<br>&gt;&nbsp;&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>&gt;&nbsp;&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>&gt;&nbsp;&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<br>&gt; <a href="mailto:sip:13523985807@70.159.49.41">sip:13523985807@70.159.49.41</a><br>&gt;
<br>&gt; If it's not obvious enough, I'm a super newbie.<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; bp<br>&gt; _______________________________________________<br>&gt; Freeswitch-users mailing list<br>&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">
Freeswitch-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">
http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br>&gt;<br><br><br>--<br>Vikram Rangnekar<br><br>_______________________________________________
<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<br></blockquote></div><br>