Thanks a lot Michael.I am a real begginer in the SIP world and your response was very helpful. It worked :))) 
Thanks again.
2012/4/16 Michael Collins <msc@freeswitch.org>


On Mon, Apr 16, 2012 at 8:36 AM, azza miled <azza.miled@gmail.com> wrote:
Thanks for the response, but evec with these steps, I still have the error "call failed:proxy authentication required" when I dial the IVR extension from an opensips' phone. Do any one know, what shall I do??? 

Do you need SIP authentication between your FS box and your OpenSIPS box? I'm guessing not. If that's the case then I recommend opening up this file:

/usr/local/freeswitch/conf/autoload_configs/acl.conf.xml

Find the tag with this opening line:
<list name="domains" default="deny">

Add a new line in there like this:
<node type="allow" cidr="x.x.x.x/32"/>
where x.x.x.x is the IP address of your OpenSIPS server.

then go to fs_cli and issue this command: reloadacl

Lastly, you'll need to route the inbound calls from OpenSIPS through your 'public' dialplan context because that's where ACL-allowed inbound calls normally get processed. You can either create your IVRs in the public context or you can transfer the inbound call over to the default context (or whatever context you are using.)

-MC

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

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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