[Freeswitch-users] Context vs. profile?

Michael Collins msc at freeswitch.org
Mon Dec 14 09:57:58 PST 2009


On Mon, Dec 14, 2009 at 9:12 AM, Fred-145 <codecomplete at free.fr> wrote:

>
> Thanks Anthony for the tip.
>
> Would you say this is a correct representation of things?
>
> "Contexts are a set of extensions in conf/dialplan/ (eg. default, public,
> etc.)
>
> Extensions are configured through files in conf/directory/. Each extension
> maps to a context (<variable name="user_context" value="default"/>).
>

It would be more correct to say that "users are configured in
conf/directory"


>
> Profiles refer to contexts in a dialplan (eg. ).
> Profiles are groups of settings used by different parts of the network, eg.
>

A better way to say this would be that a "SIP profile defines a SIP *User
Agent*." (If you don't know what a SIP user agent is that's okay - just know
that a profile listens for connections on a particular IP + Port and also
sends outbound traffic via the same IP/port.)
A SIP profile routes unauth'd incoming calls to a pre-defined dialplan and
context. Users who have auth'd to the SIP profile have a little more control
- the user_context can be defined at the user level in the directory.
(Normally a user will just use the "default" context but it needn't be that
way - you could have a context for two different entities, e.g. two
different businesses running on the same FS server.)

Are you typing up something for posterity's sake? If so let me know. I'll be
happy to proof-read the finished product and offer suggestions.
-MC


Internal (private LAN), External (Internet-accessible, public LAN), etc.
> Each profile has a unique IP + port number. "
> --
> View this message in context:
> http://old.nabble.com/Context-vs.-profile--tp26778101p26779926.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> 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/20091214/c7a3fff1/attachment-0002.html 


More information about the FreeSWITCH-users mailing list