Am 02.09.2015 um 07:11 schrieb Fred Schulz <lte@lte-net.de>:Do you have edited the acl.conf.xml in autload_configs to allow the Asterisk server?2015-09-02 00:06:28.877729 [DEBUG] sofia.c:9001 IP 192.168.1.202 Rejected by acl "domains". Falling back to Digest auth.??_________________________________________________________________________Von: freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> im Auftrag von Markus Bönke <mbodbg@gmx.net>
Gesendet: Mittwoch, 2. September 2015 00:25
An: FreeSWITCH Users Help
Betreff: [!!Mass Mail][Freeswitch-users] Connecting Freeswitch and Asterisk with outgoingregistrationHello,I’ve connected freeswitch with an asterisk server via sip trunk with the following configuration in my test environment:Freeswitch side:<param name="username" value="MyCustomSipTrunk1"/><param name="password" value="easy123"/><param name="extension" value="trunk"/><param name="register" value="true"/></gateway>Asterisk side:sip.conf[MyCustomSipTrunk1]type=peercallerid="MyCustomSipTrunk1" <MyCustomSipTrunk1>host=dynamicnat=nousername=MyCustomSipTrunk1fromdomain=sip.testprovider.comdirectmedia=nodisallow=allallow=gsmallow=ulawallow=alawsecret=easy123context=kamailioextensions.conf[kamailio]exten => _X.,1,Dial(SIP/${EXTEN}@MyCustomSipTrunk1,60,tr)If I send a call from asterisk to freeswitch, I can see the following in the log:2015-09-02 00:06:28.877729 [DEBUG] sofia.c:9001 IP 192.168.1.202 Rejected by acl "domains". Falling back to Digest auth.2015-09-02 00:06:28.877729 [WARNING] sofia_reg.c:2827 Can't find user [MyCustomSipTrunk1@sip.testprovider.com] from 192.168.1.202You must define a domain called 'sip.testprovider.com' in your directory and add a user with the id="MyCustomSipTrunk1" attributeand you must configure your device to use the proper domain in it's authentication credentials.If I create the user in the directory for the domain, it works - but why do I need to create this user however the gateway is already already registered and authenticated with the asterisk server?ThanksMarkus
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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