Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Re gistering remote extensions.


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
pabx_freeswitch at tel...
Guest





PostPosted: Sat Sep 27, 2008 4:49 am    Post subject: [Freeswitch-users] Re gistering remote extensions. Reply with quote

Anthony Minessale-2 wrote:
Quote:

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:
Quote:

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:
Quote:

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:
Quote:

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.html
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
Back to top
pabx_freeswitch at tel...
Guest





PostPosted: Sat Sep 27, 2008 10:33 am    Post subject: [Freeswitch-users] Re gistering remote extensions. Reply with quote

henkoegema wrote:
Quote:

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.......


Forget to include debug in previous message:

freeswitch@ubuntu> 2008-09-27 17:27:04 [NOTICE] switch_channel.c:534
switch_channel_set_name() New Channel sofia/internal/2000@192.168.2.11
[bd05f8ee-8ca8-11dd-b9c2-9d3c2758233a]
2008-09-27 17:27:04 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing
2000->2010@default
2008-09-27 17:27:04 [INFO] switch_ivr_async.c:1481
switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 1 execute_extension::dx XML
features
2008-09-27 17:27:04 [INFO] switch_ivr_async.c:1481
switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 2
record_session::/usr/local/freeswitch/recordings/2000.2008-09-27-17-27-04.wav
2008-09-27 17:27:04 [INFO] switch_ivr_async.c:1481
switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 3 execute_extension::cf XML
features
2008-09-27 17:27:04 [WARNING] switch_ivr_originate.c:578
switch_ivr_originate() No origination URL specified!
2008-09-27 17:27:04 [ERR] switch_ivr_originate.c:926 switch_ivr_originate()
Cannot create outgoing channel of type [user] cause:
[DESTINATION_OUT_OF_ORDER]
2008-09-27 17:27:04 [INFO] mod_dptools.c:1789 audio_bridge_function()
Originate Failed. Cause: DESTINATION_OUT_OF_ORDER
2008-09-27 17:27:04 [NOTICE] mod_dptools.c:601 answer_function() Channel
[sofia/internal/2000@192.168.2.11] has been answered

--
View this message in context: http://www.nabble.com/Registering-remote-extensions.-tp19655521p19703715.html
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
Back to top
pabx_freeswitch at tel...
Guest





PostPosted: Sat Sep 27, 2008 4:25 pm    Post subject: [Freeswitch-users] Re gistering remote extensions. Reply with quote

Anthony Minessale-2 wrote:
Quote:

Anthony Minessale-2 wrote:

Just try the fresh vanilla install install, ......


freeswitch@ubuntu> version
FreeSWITCH Version 1.0.trunk (9687) <------ Is this the latest one ??


Henk


--
View this message in context: http://www.nabble.com/Registering-remote-extensions.-tp19655521p19706532.html
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
Back to top
pabx_freeswitch at tel...
Guest





PostPosted: Sat Sep 27, 2008 5:03 pm    Post subject: [Freeswitch-users] Re gistering remote extensions. Reply with quote

Anthony Minessale-2 wrote:
Quote:

close enough,
more importantly let it install all the defaults again.

mv /usr/local/freeswitch /usr/local/freeswitch.bak

and make install again to get the latest defaults



Don't I have the latest defaults when I do:
1. rm -rf /usr/local/freeswitch
and
2. svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch



Henk


--
View this message in context: http://www.nabble.com/Registering-remote-extensions.-tp19655521p19706816.html
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services