[Freeswitch-users] re gistration and calls through different user agent

Brian West brian at freeswitch.org
Thu Dec 4 06:23:45 PST 2008


Well this isn't how the default config is to be used.  The external  
profile is for talking to things outside your organization like  
gateways and service providers.  Phones shouldn't be registering to  
them unless you bond the internal and external profiles together.


In the internal profile you have:

     <!-- used to share presence info across sofia profiles -->
     <!-- Name of the db to use for this profile -->
     <!--<param name="dbname" value="share_presence"/>-->
     <!--<param name="presence-hosts" value="$${domain}"/>-->
     <!-- ************************************************* -->


Then on external you have these settings:

     <!-- Name of the db to use for this profile -->
     <!--<param name="dbname" value="share_presence"/>-->
     <!--<param name="presence-hosts" value="$${domain}"/>-->
     <!--<param name="force-register-domain" value="$${domain}"/>-->
     <!--all inbound reg will stored in the db using this domain -->
     <!--<param name="force-register-db-domain" value="$${domain}"/>-->
     <!-- ************************************************* -->


The settings will allow you to bind two profiles together and make  
them act as one.   That would be what you want I suspect.

/b

On Dec 4, 2008, at 2:28 AM, Carole O. wrote:

> Since both were able to register I guess that the directory
> /directory/default/ is used by both sofia agent else user1002 should  
> not be
> able to register, isn't? I am confused here because I would have  
> said that
> the directory /directory/default/ was just for the users that  
> register on
> internal...
>
> I had a second problem: if user1001 tries to call user1002 it did  
> not work
> (but the opposite is ok). Has this something to do with the dialplan?





More information about the FreeSWITCH-users mailing list