[Freeswitch-users] SIP trunk without password and username

Miha Zoubek miha at softnet.si
Mon Nov 7 14:23:37 MSK 2011


Hi @Avi,

now I am looking about this gw thing. This is trunk and we have only 
option without authentication (just ip).
Do I need to set up in sip_profiles gw? Or must I just allow it in ACL 
list and that with dialplan redirect to right phone number?

I have put this in acl.conf.xml

<list name="strict" default="allow">
<node type="allow" cidr="172.31.1.90/29"/>
</list>

and I get this after starting freeswitch, so I guess this is ok.

2011-11-07 11:39:30.062345 [NOTICE] switch_utils.c:248 Adding 
172.31.1.90/29(allow) [] to list strict
2011-11-07 11:39:30.062351 [NOTICE] switch_core.c:1233 Adding 
172.31.1.90/29 (allow) to list strict

Freeswitch log (why this ip is rejacted if i put it in ACL?):

2011-11-07 11:32:17.662016 [NOTICE] switch_loadable_module.c:254 Adding 
Application 'auth_function'
2011-11-07 11:32:30.738908 [DEBUG] sofia.c:7269 IP  172.31.1.90 Rejected 
by acl "domains". Falling back to Digest auth.

P.s.: I tried with some usr/pass but also get error with connection to gw.

Thank you for your help!

BR,
Miha


On 11/7/2011 11:42 AM, Avi Marcus wrote:
> You are trying to register to somewhere? Then just set whatever for 
> the username/pass, if the other side doesn't ask for authentication 
> then you'll never provide the username/pass.
> -Avi
>
>
> On Mon, Nov 7, 2011 at 10:47 AM, Miha Zoubek <miha at softnet.si 
> <mailto:miha at softnet.si>> wrote:
>
>     Hi,
>
>     we are having all trunks on SBC without usr/pass.
>     If i left param name and password empty I get  ERROR: username
>     param is REQUIRED! and also same if I delete this param usr/pass.
>
>     How can I configure GW sip trunk without password and username. I
>     would like to have only IP.
>
>     Thank you!
>     BR,
>     Miha
>
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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/20111107/b39998af/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list