[Freeswitch-users] FreeSWITCH and Opensips

Michael Collins msc at freeswitch.org
Tue Apr 17 00:52:08 MSD 2012


On Mon, Apr 16, 2012 at 8:36 AM, azza miled <azza.miled at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120416/39d50cf1/attachment.html 


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