Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Inbound calls


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ronmccar at gmail.com
Guest





PostPosted: Mon Jan 26, 2009 3:14 pm    Post subject: [Freeswitch-users] Inbound calls Reply with quote

Hi,
If I allow the IPs in a ACL the context always ges changed, is their a way you can have inbound calls be auth'ed via a gateway and then sent to a context. Do I use the directory in that case and not treat it as a external gateway, it would be considered internal then?

Thanks!
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Jan 26, 2009 3:26 pm    Post subject: [Freeswitch-users] Inbound calls Reply with quote

Yes you would use the directory... you add a cidr= attr to the user in
the directory:

Say you add a user into "domain.com":

<user id="1000" cidr="1.2.3.4/32">
<params>
...
</params>
<variables>
...
</variables>
</user>

Then in acl.conf.xml you have something like this:

<list name="domains" default="deny">
<node type="allow" domain="domain.com"/>
</list>

the above entry would create an acl from all users in "domain.com"
that then you could use to apply to the sofia profile. You would set
the variable user_context on the user and thats what context that user
would go into.

On another note please don't hijack threads. Click new message and
input the address freeswitch-users@lists.freeswitch.org, if you click
reply to an existing message and change the subject and body you are
hijacking threads which is what you did on this post.

Thanks,
Brian



On Jan 26, 2009, at 1:58 PM, Ron McCarthy wrote:

Quote:
Hi,
If I allow the IPs in a ACL the context always ges changed, is their
a way you can have inbound calls be auth'ed via a gateway and then
sent to a context. Do I use the directory in that case and not treat
it as a external gateway, it would be considered internal then?

Thanks!


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services