[Freeswitch-users] acl deny - help

Dave R. Kompel drk at drkngs.net
Sun Jun 3 04:47:10 MSD 2012


There is really no such thing on FS to "authenticate by IP" you can just allow calls w/o FS requesting the sender to authtnticate. The "domains" access list used in the example "internal" profile, is where it allows registrations from (authenticated).   
   
If you want to associate an IP address with a user, in your directory system, you would have to set your SIP profile to not authorize invites, and do it yourself in the dialplan.   
   
You could lookup the IP address if the call is not "${SIP_Authorized}" and if you found it in a database do a "set_user" and then transfer to the normal context, and if not, do a "respond 407/401" to make the far end authenticate.   
   
--Dave
      _____  

  From: Sherif Omran [mailto:sherifomran2000 at yahoo.com]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Sat, 02 Jun 2012 17:23:41 -0700
Subject: Re: [Freeswitch-users] acl deny - help

  
    
   Yes but to authenticate the IP?
It does not use the acl.conf.xml file where my authentication exists

Do you have an idea?


--- On Sun, 6/3/12, Brian Foster <bdfoster at endigotech.com> wrote:
  
From: Brian Foster <bdfoster at endigotech.com>
Subject: Re: [Freeswitch-users] acl deny - help
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Date: Sunday, June 3, 2012, 3:12 AM

  
  

that's not an error message. Just means they have to authenticate.  

Brian Foster
Endigo Computer LLC  

Sent from a mobile device.  
On Jun 2, 2012 8:00 PM, "Sherif Omran" <sherifomran2000 at yahoo.com> wrote:
    
    
   Hello guys,

I am trying to place a call and it says that 

2012-06-02 23:51:22.074382 [WARNING] sofia.c:7563 IP xx.xx.xx.xx Rejected by acl "domains"

Any body know how to list the acl or edit it? 

I am using vbilling which make use of xmlcurl and database

regards,
Sherif





_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

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


-----Inline Attachment Follows-----

  
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

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/20120602/66d30454/attachment-0001.html 


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