I deleted gw trunk profil sip_profiles.

I have add in acl.conf.xml my domain:

<list name="domains" default="deny">
      <!-- domain= is special it scans the domain from the directory to build the ACL -->
      <node type="allow" domain="xxx.xxx.xxx.xxxx/29" />
      <node type="allow" domain="$${domain}"/>
      <!-- use cidr= if you wish to allow ip ranges to this domains acl. -->
      <!-- <node type="allow" cidr="192.168.0.0/24"/> -->
    </list>


For xxx.xxx.xxx.xxx I tried to put ip and network but the error was always the same:

2011-11-07 15:18:57.966016 [CONSOLE] switch_core.c:1164 Created ip list domains default (deny)
2011-11-07 15:18:57.966047 [WARNING] switch_core.c:1193 Cannot locate domain xxx.xxx.xxx.xxx/29


P.s.: also add in public folder for dialplan.

Please help me out!

BR,
Miha



On 11/7/2011 12:23 PM, Miha Zoubek wrote:
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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org