[Freeswitch-users] Setting Up an Sip Trunk without Authentication

Michael Collins msc at freeswitch.org
Thu Jun 16 22:15:30 MSD 2011


Dave,

If you are simply handling incoming calls then you will need to do two
things:

Add Velocity's IP addr to the domains section of acl.conf.xml
Add an extension to the public context (conf/dialplan/public.xml)

Allowing a call into FS via an ACL will send it into the "public" context;
from there you need to transfer it to the default context or just send it
straight to your Lua script.

Also, I don't believe you need to use a "bridge" app based on the
description you gave. Bridge is used to create a new outbound call leg (B
leg) and connect it to the inbound call leg (A leg). If you just are
handling a call with an IVR then there is no B leg needed, thus no need to
bridge.

Welcome to FreeSWITCH, btw! :) I can highly recommend the FS book (the
"bridge" book, ironically) as it discusses some of these basic concepts that
will make your FS experience a whole lot more pleasant.

-MC

On Thu, Jun 16, 2011 at 8:54 AM, Dave <dave at clancysystems.com> wrote:

>  Hi,
>
> I am new to FreeSWITCH and need to set up FreeSWITCH to receive calls
> through a Velocity Networks SIP trunk. They say I should not authenticate
> with Username and Password. Rather, I connect directly to the their IP
> address.
>
> I put
>
> <extension name="velocity">
>       <condition field="destination_number" expression="^2064001950$">
>         <action application="bridge" data="sofia/external/$
> {destination_number}@their_ip_address"/>
>         <action application="lua" data="cme_ivr.lua channel_name"/>
>      </condition>
> </extension>
>
> in the default.xml under Dialplan
>
> When I Dial the DID from a Phone (not one connected to the FreeSWITCH
> server) I get the "SIP auth challenge (INVITE) on sofia profile 'internal'
> for [myphone at theirIP] from their IP, but nothing more.
>
> What I hope to do is take the incoming call from 2064001950 and route it to
> the Lua IVR script above.
>
> I Appreciate any help you may offer.
>
> Dave Goodwin
>
>
>
>
>
> _______________________________________________
> 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/20110616/913a2591/attachment.html 


More information about the FreeSWITCH-users mailing list