[Freeswitch-users] Re gistering remote extensions.
henkoegema
pabx_freeswitch at telenet.be
Sat Sep 27 05:48:37 EDT 2008
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 at ubuntu> sofia status profile internal
Registrations:
=================================================================================================
Call-ID 1f491145-b7274a7c at 193.173.175.2xx
User 2011 at xxxx.ftpaccess.cc
Contact 2011 <sip:2011 at 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 at 193.173.175.2xx
User 2012 at xxxx.ftpaccess.cc
Contact 2012 <sip:2012 at 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 at ubuntu> sofia status profile doublenat
Registrations:
=================================================================================================
Call-ID 1554239560 at 192_168_0_197
User 2010 at xxxx.ftpaccess.cc
Contact Terje <sip:2010 at 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.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
More information about the Freeswitch-users
mailing list