Hi all,
I made those commands, no errors reported:
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-20-current.tar.gz
tar xf asterisk-20-current.tar.gz
cd asterisk-20.4.0/
./configure
make -j 4
sudo make install
sudo make samples
Then I start asterisk foreground with
sudo /usr/bin/asterisk -f
Where I get
XSLT support not found. XML documentation may be incomplete.
PBX UUID: 93fc3bc1-d139-43fd-93be-d80d9e5f9ce3
[Sep 24 18:00:46] NOTICE[29805]: loader.c:2405 load_modules: 319 modules will be loaded.
[Sep 24 18:00:46] NOTICE[29805]: res_config_ldap.c:1832 parse_config: No directory user found, anonymous binding as default.
[Sep 24 18:00:46] ERROR[29805]: res_config_ldap.c:1858 parse_config: No directory URL or host found.
[Sep 24 18:00:46] ERROR[29805]: res_config_ldap.c:1720 load_module: Cannot load LDAP RealTime driver.
[Sep 24 18:00:46] NOTICE[29805]: cdr.c:4568 cdr_toggle_runtime_options: CDR simple logging enabled.
[Sep 24 18:00:46] NOTICE[29805]: indications.c:1100 load_indications: Default country for indication tones: us
[Sep 24 18:00:46] NOTICE[29805]: indications.c:424 ast_set_indication_country: Setting default indication country to 'us'
[Sep 24 18:00:46] WARNING[29805]: res_phoneprov.c:1249 get_defaults: Unable to find a valid server address or name.
[Sep 24 18:00:46] NOTICE[29805]: res_smdi.c:1424 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Sep 24 18:00:46] ERROR[29805]: ari/config.c:312 process_config: No configured users for ARI
[Sep 24 18:00:46] NOTICE[29805]: confbridge/conf_config_parser.c:2386 verify_default_profiles: Adding default_menu menu to app_confbridge
[Sep 24 18:00:46] NOTICE[29805]: cel_custom.c:92 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Sep 24 18:00:46] WARNING[29805]: pbx.c:8797 ast_context_verify_includes: Context 'local' tries to include nonexistent context 'iaxtel700'
[Sep 24 18:00:46] WARNING[29805]: loader.c:2409 load_modules: Some non-required modules failed to load.
[Sep 24 18:00:46] WARNING[29805]: loader.c:2503 load_modules: Module 'res_adsi' has been loaded but may be removed in a future release.
[Sep 24 18:00:46] WARNING[29805]: loader.c:2503 load_modules: Module 'app_adsiprog' has been loaded but may be removed in a future release.
[Sep 24 18:00:46] WARNING[29805]: loader.c:2503 load_modules: Module 'app_getcpeid' has been loaded but may be removed in a future release.
[Sep 24 18:00:46] ERROR[29805]: loader.c:2524 load_modules: cel_sqlite3_custom declined to load.
[Sep 24 18:00:46] ERROR[29805]: loader.c:2524 load_modules: cdr_sqlite3_custom declined to load.
Asterisk Ready.
But my problem is there is no asterisk process listening on 5060 port:
[mihamina@arch-00 asterisk-20.4.0]$ sudo ss -taupen | grep asterisk
udp UNCONN 0 0 0.0.0.0:4520 0.0.0.0:* users:(("asterisk",pid=29805,fd=15)) ino:54470 sk:1001 cgroup:/user.slice/user-1000.slice/session-2.scope <->
udp UNCONN 0 0 0.0.0.0:4569 0.0.0.0:* users:(("asterisk",pid=29805,fd=12)) ino:54465 sk:1002 cgroup:/user.slice/user-1000.slice/session-2.scope <->
udp UNCONN 0 0 0.0.0.0:5000 0.0.0.0:* users:(("asterisk",pid=29805,fd=14)) ino:54468 sk:1003 cgroup:/user.slice/user-1000.slice/session-2.scope <->
udp UNCONN 0 0 0.0.0.0:44486 0.0.0.0:* users:(("asterisk",pid=29805,fd=8)) ino:52005 sk:1004 cgroup:/user.slice/user-1000.slice/session-2.scope <->
udp UNCONN 0 0 [::]:41242 [::]:* users:(("asterisk",pid=29805,fd=9)) ino:52006 sk:1005 cgroup:/user.slice/user-1000.slice/session-2.scope v6only:1 <->
Is there something I missed, such as loading a module (if it was an asterisk 18, I should have loaded chan_sip
, but it is an asterisk 20 here)?
What shoud I do to have asterisk process listening on 5060?
Thank you!