Anthony Minessale-2 wrote:
I am quite suprised by how much difficulty people seem to have with this concept.
I am talking about the concept of user@domain.com. The point is not to insult you it's to find out what the difficult to understand thing is so we can fix it. The error message has been tweaked many times to try and explain the problem to the user, do you have any suggestions? What year are we talking about btw, the apple I which is not even the first computer was released in 1976 so were you really doing telephony stuff in the 40's ? Anyway, you should back up your config and upgrade to the latest SVN trunk with fresh install and try again. I can see by those error messages you have a much older revision of the default config. Just try the fresh vanilla install install, you should be able to register any 2 phones at an extension of 1001 and 1002 with password 1234, use the ip of your server as the domain. On Sat, Sep 27, 2008 at 4:48 AM, henkoegema <pabx_freeswitch@telenet.be>wrote:
Anthony Minessale-2 wrote:
Doesn't the long winded error message even give you a hint?
Yes, it did. But I couldn't find the right place and syntax
Anthony Minessale-2 wrote:
I am quite suprised by how much difficulty people seem to have with this concept.
May be that's because I am one (or two) generations older than you are. :handshake: When I started working, I still had to wait for 30 years before the first (home) computer came in the marked. We were still working with analogue PBX's, and after a few years we started with the first SPC (Stored Program Control) PBX. What we now call digital PBX. I'm still in the process of learning XML, Perl and Python. I'm doing all this because I think FS is a wonderful piece of engineering.
Anthony Minessale-2 wrote:
SIP and FS are both domain based. Just like email, IM and most other internet protocols.
If you are pointing a sip client at FS, you need to specify the same domain in your sip phone that you have FS configured to be in charge of. It's like if you wanted to go to our website you must point your browser at freeswitch.org or you will not get there. The IP that leads to freeswitch.org may lead to 200 websites and the domain name is the only realy way to tell where you want to go. If you just tell the sip client the address of FS and FS is set to manage a specific IP or domain name it will not be able to find the user.
Thanks for your explanation. =)
Anthony Minessale-2 wrote:
like the error says, edit your directory and make sure the user and
domain
in your directory config and the user and domain in your sip client match, that's all that's to it.
What I did is following (may be it's useful to other people ?)
1. in the file ..../conf/directory/default.xml I changed the line: <domain name="$${domain}"> to <domain name="xxxx.ftpaccess.cc">
2. in each remote extension I added (see bold lines)
<include> <user id="2010" mailbox="2010"> <domain name="xxxx.ftpaccess.cc"> <params> param name="password" value="2010"/> param name="vm-password" value="2010"/> </params> <variables> <variable name="accountcode" value="2010"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Terje"/> <variable name="effective_caller_id_number" value="2010"/> </variables> </domain> </user> </include>
I now have three remote extensions:
Two extensions are registered in the profile internal: freeswitch@ubuntu> sofia status profile internal Registrations:
================================================================================================= Call-ID 1f491145-b7274a7c@193.173.175.2xx User 2011@xxxx.ftpaccess.cc Contact 2011 <sip:2011@193.173.175.2xx:5090> <-----------FXS line Agent Linksys/SPA3000-3.1.18(GW) Status Registered(UDP)(unknown) EXP(2008-09-27 12:31:56)
Call-ID a694c000-2ff772fd@193.173.175.2xx User 2012@xxxx.ftpaccess.cc Contact 2012 <sip:2012@193.173.175.2xx:5091> <-------------FXO line Agent Linksys/SPA3000-3.1.18(GW) Status Registered(UDP)(unknown) EXP(2008-09-27 13:11:25)
and one extension is registered in the profile doublenat: freeswitch@ubuntu> sofia status profile doublenat Registrations:
================================================================================================= Call-ID 1554239560@192_168_0_197 User 2010@xxxx.ftpaccess.cc Contact Terje <sip:2010@79.160.18.xx:5090> Agent TARGA IP FON 1020 Status Registered(UDP)(unknown) EXP(2008-09-27 11:30:20)
=================================================================================================
I assume(??) the reason that they are in different profiles is that ext. 2010 is behind a remote nat and 2011 and 2012 are not.
I have come so far now that my three remote extensions are registered with my FS server.
The only outstanding issue is that if I call each of them I get:
2010 (2011, 2012) is not available. Record your message at the tone....... :working:
Henk
-- View this message in context: http://www.nabble.com/Registering-remote-extensions.-tp19655521p19701306.htm... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400