Hello.
Installed Asterisk. Configured in accordance with Article 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][globals]
[general]
autofallthrough=yes
[default]
[custom-1]
exten => _.,1,Verbose(Extension ${EXTEN})
exten => _.,n,Hangup()[/code]
modules.conf
[modules]
autoload=yes
sip.conf
[code][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[/code]
Configuration Softphone:
Софтфон: 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][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[/code]
Sincerely.
Igor Stepanenko.