[Freeswitch-users] trunk without authentication

Vitalii Colosov vetali100 at gmail.com
Sun Mar 13 20:20:15 MSK 2011


Steven, according to Borin's message she is talking exactly about outgoing
gateway (sip_profiles/external/carrier.xml).

And not about user's directory.

Outgoing gateway can also work as incoming gateway, if you send your calls
to it.

Just want to make things clear.

Vitalie


2011/3/13 Borin <katerin.borin at gmail.com>

> Hi guys
> thanks a lot
>
> I added
>   <list name="carrier" default="deny">
>     <node type="allow" cidr="carrier.ip/32"/>
>     </list>
> to the acl.conf.xml
>
> then    <param name="apply-inbound-acl" value="carrier"/>  in
> sip_profiles/external/carrier.xml
> <include>
>   <gateway name="carrier">
>
>     <param name="username" value="anything"/>
>     <param name="password" value="anything"/>
>     <param name="auth-calls" value="false"/>
>     <param name="apply-inbound-acl" value="carrier"/>
>
>     <param name="register" value="false"/>
> </gateway>
> </include>
>
> Works now
>
>
> On Sat, Mar 12, 2011 at 10:48 PM, Steven Ayre <steveayre at gmail.com> wrote:
>
>> That's for an outgoing gateway.
>>
>> Look at the cidr parameter of the user directory - it lets you
>> authenticate a user based on IP rather than password.
>>
>> http://wiki.freeswitch.org/wiki/Acl#Users
>>
>> -Steve
>>
>>
>>
>> On 12 March 2011 20:39, Borin <katerin.borin at gmail.com> wrote:
>>
>>> Hello FS users,
>>> Is it possible in FS to allow all calls from a particular IP address
>>> without authentication? like in asterisk with insecure port, invite.
>>> I tried to add a new carrier in
>>> /usr/local/freeswitch/conf/sip_profiles/external/new-carrier.xml
>>> <include>
>>>   <gateway name="new-carrier">
>>>     <param name="username" value="anything"/>
>>>     <param name="password" value="anything"/>
>>>     <param name="realm" value="carrier.ip.address"/>
>>>     <param name="register" value="false"/>
>>>     <param name="caller-id-in-from" value="true"/>
>>>   </gateway>
>>> </include>
>>>
>>> But after restart it stil sends 407 Proxy Authentication Required to the
>>> carrier. Is there any way to trust the carrier IP?
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110313/6adc3123/attachment.html 


More information about the FreeSWITCH-users mailing list