Steven, according to Borin's message she is talking exactly about outgoing gateway (<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">sip_profiles/external/carrier.xml</span>).<div>
<br></div><div>And not about user's directory.<br><div><br></div><div>Outgoing gateway can also work as incoming gateway, if you send your calls to it.<div><br></div><div>Just want to make things clear.</div><div><br>
</div><div>Vitalie</div><div><br><br><div class="gmail_quote">2011/3/13 Borin <span dir="ltr"><<a href="mailto:katerin.borin@gmail.com">katerin.borin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi guys<br>thanks a lot<br><br>I added <br> <list name="carrier" default="deny"><br> <node type="allow" cidr="carrier.ip/32"/><br> </list><br>to the acl.conf.xml<br>
<br>then <param name="apply-inbound-acl" value="carrier"/> in sip_profiles/external/carrier.xml<br><include><br> <gateway name="carrier"><div class="im"><br> <param name="username" value="anything"/><br>
<param name="password" value="anything"/><br></div> <param name="auth-calls" value="false"/><br> <param name="apply-inbound-acl" value="carrier"/><div class="im">
<br>
<param name="register" value="false"/><br></div></gateway><br></include><br><br>Works now<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sat, Mar 12, 2011 at 10:48 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">That's for an outgoing gateway.<br><br>Look at the cidr parameter of the user directory - it lets you authenticate a user based on IP rather than password.<br>
<br><a href="http://wiki.freeswitch.org/wiki/Acl#Users" target="_blank">http://wiki.freeswitch.org/wiki/Acl#Users</a><br>
<br>-Steve<br><br><br><br><div class="gmail_quote"><div><div></div><div>On 12 March 2011 20:39, Borin <span dir="ltr"><<a href="mailto:katerin.borin@gmail.com" target="_blank">katerin.borin@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>
Hello FS users,<br>Is it possible in FS to allow all calls from a particular IP address without authentication? like in asterisk with insecure port, invite.<br>I tried to add a new carrier in /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml <br>
<include><br> <gateway name="new-carrier"><br> <param name="username" value="anything"/><br> <param name="password" value="anything"/><br> <param name="realm" value="carrier.ip.address"/><br>
<param name="register" value="false"/><br> <param name="caller-id-in-from" value="true"/><br> </gateway><br></include><br><br>But after restart it stil sends 407 Proxy Authentication Required to the carrier. Is there any way to trust the carrier IP?<br>
<br>
<br></div></div><div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>