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] 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
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:
what do i have to do now to get it a) internally running b) talk to an external cllient?
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
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:
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
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> wrote:
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:
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
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:
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> wrote: 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:
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
_______________________________________________ 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
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> wrote:
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:
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> wrote:
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:
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
_______________________________________________ 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
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> wrote:
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> wrote: 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:
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> wrote: 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:
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
_______________________________________________ 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
_______________________________________________ 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
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:
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
hi and thx for all ur help! i basically re-svned & installed it & internally is fine now. playtime ;-)
participants (3)
-
Brian West
-
Michael S Collins
-
tom