Initial configuration of Asterisk. Problems with registratio

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Initial configuration of Asterisk. Problems with registratio

Postby siv002 » Thu Dec 10, 2015 3:17 am

Hello.

Installed Asterisk. Configured in accordance with Article https://wiki.asterisk.org/wiki/display/AST/Hello+World. The examples files are not installed.

After starting Asterisk I can see that the port is listening on port 5060. But softphone can't register on the server. It writes, "Unknown error". The firewall is disabled. In the server console, there is no diagnosis of softphone connected to the server.

What is the reason? In the configuration, or something else?

Server configuration:
asterisk.conf

extensions.conf
Code: Select all
[globals]

[general]
autofallthrough=yes

[default]

[custom-1]
exten => _.,1,Verbose(Extension ${EXTEN})
exten => _.,n,Hangup()


modules.conf
Code: Select all
[modules]
autoload=yes


sip.conf
Code: Select all
[general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
transport=udp,tcp

[6001]
type=friend
context=custom-1
host-dynamic
secret=1


Configuration Softphone:
Code: Select all
Софтфон: X-Lite
User ID: 6001
Domain: 192.168.3.185
Password: 1
Reister with domain and receive calls. Send outbound via domain.
Transport: UDP
Audio codecs: SPEEX Wideband, G711 ulaw, OPUS, G711 alaw, G.722


All writed logs:
Code: Select all
[Dec 10 11:56:05] Asterisk 13.5.0 built by root @ priem-21-2.uslu.local on a x86_64

running Linux on 2015-12-10 06:37:27 UTC
[Dec 10 11:56:05] NOTICE[466] cdr.c: CDR simple logging enabled.
[Dec 10 11:56:05] NOTICE[466] loader.c: 225 modules will be loaded.
[Dec 10 11:56:06] WARNING[466] res_phoneprov.c: Unable to find a valid server address or

name.
[Dec 10 11:56:06] ERROR[466] ari/config.c: No configured users for ARI
[Dec 10 11:56:06] NOTICE[466] chan_skinny.c: Configuring skinny from skinny.conf
[Dec 10 11:56:06] NOTICE[466] confbridge/conf_config_parser.c: Adding default_menu menu to

app_confbridge
[Dec 10 11:56:06] NOTICE[466] cel_custom.c: No mappings found in cel_custom.conf. Not

logging CEL to custom CSVs.
[Dec 10 11:56:06] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 12 of

extensions.conf
[Dec 10 11:56:06] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 13 of

extensions.conf
[Dec 10 12:04:35] Asterisk 13.5.0 built by root @ priem-21-2.uslu.local on a x86_64 running

Linux on 2015-12-10 06:37:27 UTC
[Dec 10 12:04:35] NOTICE[466] cdr.c: CDR simple logging enabled.
[Dec 10 12:04:35] NOTICE[466] loader.c: 225 modules will be loaded.
[Dec 10 12:04:36] WARNING[466] res_phoneprov.c: Unable to find a valid server address or

name.
[Dec 10 12:04:36] ERROR[466] ari/config.c: No configured users for ARI
[Dec 10 12:04:36] NOTICE[466] chan_skinny.c: Configuring skinny from skinny.conf
[Dec 10 12:04:37] NOTICE[466] confbridge/conf_config_parser.c: Adding default_menu menu to

app_confbridge
[Dec 10 12:04:37] NOTICE[466] cel_custom.c: No mappings found in cel_custom.conf. Not

logging CEL to custom CSVs.
[Dec 10 12:04:37] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 12 of

extensions.conf
[Dec 10 12:04:37] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 13 of

extensions.conf
[Dec 10 12:05:43] Asterisk 13.5.0 built by root @ priem-21-2.uslu.local on a x86_64 running

Linux on 2015-12-10 06:37:27 UTC
[Dec 10 12:05:44] NOTICE[466] cdr.c: CDR simple logging enabled.
[Dec 10 12:05:44] NOTICE[466] loader.c: 225 modules will be loaded.
[Dec 10 12:05:44] WARNING[466] res_phoneprov.c: Unable to find a valid server address or

name.
[Dec 10 12:05:44] ERROR[466] ari/config.c: No configured users for ARI
[Dec 10 12:05:44] NOTICE[466] chan_skinny.c: Configuring skinny from skinny.conf
[Dec 10 12:05:45] NOTICE[466] confbridge/conf_config_parser.c: Adding default_menu menu to

app_confbridge
[Dec 10 12:05:45] NOTICE[466] cel_custom.c: No mappings found in cel_custom.conf. Not

logging CEL to custom CSVs.
[Dec 10 12:05:45] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 12 of

extensions.conf
[Dec 10 12:05:45] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 13 of

extensions.conf
[Dec 10 12:11:54] Asterisk 13.5.0 built by root @ priem-21-2.uslu.local on a x86_64 running

Linux on 2015-12-10 06:37:27 UTC
[Dec 10 12:11:55] NOTICE[466] cdr.c: CDR simple logging enabled.
[Dec 10 12:11:55] NOTICE[466] loader.c: 225 modules will be loaded.
[Dec 10 12:11:55] WARNING[466] res_phoneprov.c: Unable to find a valid server address or

name.
[Dec 10 12:11:55] ERROR[466] ari/config.c: No configured users for ARI
[Dec 10 12:11:55] NOTICE[466] chan_skinny.c: Configuring skinny from skinny.conf
[Dec 10 12:11:56] NOTICE[466] confbridge/conf_config_parser.c: Adding default_menu menu to

app_confbridge
[Dec 10 12:11:56] NOTICE[466] cel_custom.c: No mappings found in cel_custom.conf. Not

logging CEL to custom CSVs.
[Dec 10 12:11:56] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 12 of

extensions.conf
[Dec 10 12:11:56] WARNING[466] pbx_config.c: The use of '_.' for an extension is strongly

discouraged and can have unexpected behavior.  Please use '_X.' instead at line 13 of

extensions.conf


Sincerely.
Igor Stepanenko.
siv002
Newsterisk
 
Posts: 3
Joined: Tue Nov 03, 2015 4:38 am

Re: Initial configuration of Asterisk. Problems with registratio

Postby _alx_ » Thu Dec 10, 2015 8:47 am

The host variable is wrong, you have typed host-dynamic. It should be host=dynamic.
_alx_
Oldsterisk
 
Posts: 57
Joined: Fri Oct 16, 2015 1:48 am


Return to Asterisk Support

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest