Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] newbie questions


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





PostPosted: Sat Aug 29, 2009 8:53 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

hi, totally new to freeswitch, but not to asterisk. just installed it, made samples but do not have 1000-1019 as extensions. so i thought i create:
<include>
  <user id="1000" mailbox="1000">
    <params>
      <param name="password" value="1234"/>
      <param name="vm-password" value="1000"/>
    </params>
    <variables>
      <variable name="accountcode" value="1000"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension 1000"/>
      <variable name="effective_caller_id_number" value="1000"/>
    </variables>
  </user>
</include>
 and save it as 1000.xml in the internal-sip folder. cli tells me now:
2009-08-29 09:43:55.858101 [WARNING] sofia_reg.c:1771 Can't find user [1000@192.168.1.4 (1000@192.168.1.4)]
You must define a domain called '192.168.1.4' in your directory and add a user with the id="1000" attribute
and you must configure your device to use the proper domain in it's authentication credentials.

what do i have to do now to get it
a) internally running
b) talk to an external cllient?


thx
Back to top
brian at freeswitch.org
Guest





PostPosted: Sat Aug 29, 2009 10:21 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

they don't go in sip_profiles... its in conf/directory/default/ and
they are all there already. Maybe your configs were not properly
installed?

/b

On Aug 29, 2009, at 8:46 AM, tom wrote:

Quote:

what do i have to do now to get it
a) internally running
b) talk to an external cllient?


_______________________________________________
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
tomabroad at gmail.com
Guest





PostPosted: Sat Aug 29, 2009 10:24 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

yes u are right, i was mistaken. everything in there by default...still the same domain error msg. what am i supposed to do?
tjx
Back to top
brian at freeswitch.org
Guest





PostPosted: Sat Aug 29, 2009 10:27 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

Are you on the latest configs? This message is unlikely in the
default configs. Please double check that you have the internal.xml
from the default install it forces the register domain to match the IP
so you won't get this error.

/b

On Aug 29, 2009, at 10:19 AM, tom wrote:

Quote:
yes u are right, i was mistaken. everything in there by
default...still the same domain error msg. what am i supposed to do?
tjx

_______________________________________________
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


_______________________________________________
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
tomabroad at gmail.com
Guest





PostPosted: Sat Aug 29, 2009 10:32 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

mh, a search for "domain=" doesnt brin anything up ininternal.xml... im total new to this...sorry
do i ahev to add this?

//yes im using the 1.0.4 tar




On Sat, Aug 29, 2009 at 11:22 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Are you on the latest configs?  This message is unlikely in the
default configs.  Please double check that you have the internal.xml
from the default install it forces the register domain to match the IP
so you won't get this error.

/b


On Aug 29, 2009, at 10:19 AM, tom wrote:

Quote:
yes u are right, i was mistaken. everything in there by
default...still the same domain error msg. what am i supposed to do?
tjx




Quote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
brian at freeswitch.org
Guest





PostPosted: Sat Aug 29, 2009 10:38 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

If you don't have these

<!--all inbound reg will look in this domain for the users -->
<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}"/>


Then you need to wipe your conf dir and make samples again please.


/b


On Aug 29, 2009, at 10:28 AM, tom wrote:
Quote:

mh, a search for "domain=" doesnt brin anything up ininternal.xml... im total new to this...sorry
do i ahev to add this?

//yes im using the 1.0.4 tar




On Sat, Aug 29, 2009 at 11:22 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Are you on the latest configs? This message is unlikely in the
default configs. Please double check that you have the internal.xml
from the default install it forces the register domain to match the IP
so you won't get this error.

/b


On Aug 29, 2009, at 10:19 AM, tom wrote:

Quote:
yes u are right, i was mistaken. everything in there by
default...still the same domain error msg. what am i supposed to do?
tjx




Quote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
tomabroad at gmail.com
Guest





PostPosted: Sat Aug 29, 2009 10:45 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

ok, what u sent is fine, i have that. do i have to do somethign in that section:?
  <domains>
    <!-- indicator to parse the directory for domains with parse="true" to get gateways-->
    <domain name="$${domain}" parse="true"/>
    <!-- indicator to parse the directory for domains with parse="true" to get gateways and alias every domain to this profile -->
    <!--<domain name="all" alias="true" parse="true"/>-->
    <domain name="all" alias="true" parse="false"/>
  </domains>


?thx


On Sat, Aug 29, 2009 at 11:33 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
If you don't have these

    <!--all inbound reg will look in this domain for the users -->                                                                                              
    <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}"/>    


Then you need to wipe your conf dir and make samples again please.


/b



On Aug 29, 2009, at 10:28 AM, tom wrote:

Quote:

mh, a search for "domain=" doesnt brin anything up ininternal.xml... im total new to this...sorry
do i ahev to add this?

//yes im using the 1.0.4 tar




On Sat, Aug 29, 2009 at 11:22 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
Are you on the latest configs?  This message is unlikely in the
default configs.  Please double check that you have the internal.xml
from the default install it forces the register domain to match the IP
so you won't get this error.

/b


On Aug 29, 2009, at 10:19 AM, tom wrote:

Quote:
yes u are right, i was mistaken. everything in there by
default...still the same domain error msg. what am i supposed to do?
tjx




Quote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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







_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
msc at freeswitch.org
Guest





PostPosted: Sat Aug 29, 2009 11:01 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

Tom,


You should not have to do anything other than make samples. If you are having these kinds of problems then something went very wrong during the install. Try starting from scratch just to be sure. Also, what distro are you running?
-MC

Sent from my iPhone

On Aug 29, 2009, at 8:40 AM, tom <tomabroad@gmail.com (tomabroad@gmail.com)> wrote:



Quote:

ok, what u sent is fine, i have that. do i have to do somethign in that section:?
<domains>
<!-- indicator to parse the directory for domains with parse="true" to get gateways-->
<domain name="$${domain}" parse="true"/>
<!-- indicator to parse the directory for domains with parse="true" to get gateways and alias every domain to this profile -->
<!--<domain name="all" alias="true" parse="true"/>-->
<domain name="all" alias="true" parse="false"/>
</domains>


?thx


On Sat, Aug 29, 2009 at 11:33 AM, Brian West <[url=mailto:brian@freeswitch.org]brian@freeswitch.org (brian@freeswitch.org)[/url]> wrote:
Quote:
If you don't have these

<!--all inbound reg will look in this domain for the users -->
<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}"/>


Then you need to wipe your conf dir and make samples again please.


/b



On Aug 29, 2009, at 10:28 AM, tom wrote:

Quote:

mh, a search for "domain=" doesnt brin anything up ininternal.xml... im total new to this...sorry
do i ahev to add this?

//yes im using the 1.0.4 tar




On Sat, Aug 29, 2009 at 11:22 AM, Brian West <[url=mailto:brian@freeswitch.org]brian@freeswitch.org (brian@freeswitch.org)[/url]> wrote:
Quote:
Are you on the latest configs? This message is unlikely in the
default configs. Please double check that you have the internal.xml
from the default install it forces the register domain to match the IP
so you won't get this error.

/b


On Aug 29, 2009, at 10:19 AM, tom wrote:

Quote:
yes u are right, i was mistaken. everything in there by
default...still the same domain error msg. what am i supposed to do?
tjx




Quote:
_______________________________________________
FreeSWITCH-users mailing list
[url=mailto:FreeSWITCH-users@lists.freeswitch.org]FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
[url=mailto:FreeSWITCH-users@lists.freeswitch.org]FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_______________________________________________
FreeSWITCH-users mailing list
[url=mailto:FreeSWITCH-users@lists.freeswitch.org]FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org







_______________________________________________
FreeSWITCH-users mailing list
[url=mailto:FreeSWITCH-users@lists.freeswitch.org]FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
brian at freeswitch.org
Guest





PostPosted: Sat Aug 29, 2009 11:21 am    Post subject: [Freeswitch-users] newbie questions Reply with quote

No you shouldn't have to touch ANYTHING in the default configs at all
to get 1000 with password 1234 to register... I recommend you:

cd /usr/local/freeswitch
mv conf conf.old
then do make samples again.

/b

On Aug 29, 2009, at 10:40 AM, tom wrote:

Quote:

ok, what u sent is fine, i have that. do i have to do somethign in
that section:?
<domains>
<!-- indicator to parse the directory for domains with
parse="true" to get gateways-->
<domain name="$${domain}" parse="true"/>
<!-- indicator to parse the directory for domains with
parse="true" to get gateways and alias every domain to this profile
-->
<!--<domain name="all" alias="true" parse="true"/>-->
<domain name="all" alias="true" parse="false"/>
</domains>


?thx


_______________________________________________
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
tomabroad at gmail.com
Guest





PostPosted: Sat Aug 29, 2009 7:38 pm    Post subject: [Freeswitch-users] newbie questions Reply with quote

hi and thx for all ur help! i basically re-svned & installed it & internally is fine now. playtime Wink
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