re gistration and calls through different user agent
Hello, I have recently installed freeswitch on Opensuse 10.3. I have a question about the sofia agents which are already present in the default installation: I have 2 snom phones (each with a user1001 and user1002), I configured one such that it registered on the default port 5060 (so on the user agent internal) and the other one on the port 5080 (on the external user agent). The aim was to see what happen. 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? Thanks, Carole -- View this message in context: http://www.nabble.com/registration-and-calls-through-different-user-agent-tp... Sent from the Freeswitch-users mailing list archive at Nabble.com.
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?
participants (2)
-
Brian West
-
Carole O.