Hallo,
ich habe ein Problem und zwar habe ich Asterisk auf meinem Router installiert. Sonst habe ich nur noch chan_dongle als Modul zusätzlich installiert.
Meine modules.conf sieht so aus:
Jedoch bekomme ich beim starten folgendes Asterisk Log:
Telefonieren geht zwar aber den chan_dongle kann ich nicht nutzen. Also er registriert sich nicht. Auch nicht manuell mit
CLI>module load chan_dongle.so
CLI>module unload chan_dongle.so
CLI>module reload chan_dongle.so
Kann mir jemand bitte helfen, Es wäre echt nett.
Mein System: NAS mit OpenWRT Port drauf und Asterisk 1.8.10.0
ich habe ein Problem und zwar habe ich Asterisk auf meinem Router installiert. Sonst habe ich nur noch chan_dongle als Modul zusätzlich installiert.
Meine modules.conf sieht so aus:
Code:
;
; Asterisk configuration file
;
; Module Loader configuration file
;
[modules]
autoload=yes
;
; Any modules that need to be loaded before the Asterisk core has been
; initialized (just after the logger has been initialized) can be loaded
; using 'preload'. This will frequently be needed if you wish to map all
; module configuration files into Realtime storage, since the Realtime
; driver will need to be loaded before the modules using those configuration
; files are initialized.
;
; An example of loading ODBC support would be:
;preload => res_odbc.so
;preload => res_config_odbc.so
;
; Uncomment the following if you wish to use the Speech Recognition API
;preload => res_speech.so
;
; If you want Asterisk to fail if a module does not load, then use
; the "require" keyword. Asterisk will exit with a status code of 2
; if a required module does not load.
;
; require = chan_sip.so
; If you want you can combine with preload
; preload-require = res_odbc.so
;
; If you want, load the GTK console right away.
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
;
;
; Load one of: chan_oss, alsa, or console (portaudio).
; By default, load chan_oss only (automatically).
;
noload => chan_alsa.so
;noload => chan_oss.so
noload => chan_console.so
;
Jedoch bekomme ich beim starten folgendes Asterisk Log:
Code:
[Mar 25 13:13:46] WARNING[2437] db.c: Unable to open Asterisk database '/var/lib/asterisk/astdb': No such file or directory
[Mar 25 13:13:46] WARNING[2437] ccss.c: Could not find valid ccss.conf file. Using cc_max_requests default
[Mar 25 13:13:46] NOTICE[2437] loader.c: 20 modules will be loaded.
[Mar 25 13:13:46] WARNING[2437] loader.c: Error loading module 'chan_dongle.so': /usr/lib/asterisk/modules/chan_dongle.so: undefined symbol: ast_unregister_file_version
[Mar 25 13:13:46] WARNING[2437] loader.c: Module 'chan_dongle.so' did not register itself during load
[Mar 25 13:13:46] WARNING[2437] loader.c: Module 'chan_dongle.so' could not be loaded.
[Mar 25 13:13:46] WARNING[2437] chan_sip.c: No valid transports available, falling back to 'udp'.
[Mar 25 13:13:46] ERROR[2437] netsock2.c: getaddrinfo("OpenWrt", "(null)", ...): Name or service not known
[Mar 25 13:13:46] WARNING[2437] acl.c: Unable to lookup 'OpenWrt'
[Mar 25 13:13:46] NOTICE[2437] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
[Mar 25 13:13:46] WARNING[2437] chan_sip.c: Unknown insecure mode 'very' on line 16
[Mar 25 13:13:46] WARNING[2437] chan_sip.c: !!! PLEASE NOTE: Setting 'nat' for a peer/user that differs from the global setting can make
[Mar 25 13:13:46] WARNING[2437] chan_sip.c: !!! the name of that peer/user discoverable by an attacker. Replies for non-existent peers/users
[Mar 25 13:13:46] WARNING[2437] chan_sip.c: !!! will be sent to a different port than replies for an existing peer/user. If at all possible,
[Mar 25 13:13:46] WARNING[2437] chan_sip.c: !!! use the global 'nat' setting and do not set 'nat' per peer/user.
[Mar 25 13:13:46] WARNING[2437] chan_sip.c: !!! (config category='1450938' global force_rport='Yes' peer/user force_rport='No')
[Mar 25 13:13:46] WARNING[2437] db.c: Unable to open Asterisk database '/var/lib/asterisk/astdb': No such file or directory
Telefonieren geht zwar aber den chan_dongle kann ich nicht nutzen. Also er registriert sich nicht. Auch nicht manuell mit
CLI>module load chan_dongle.so
CLI>module unload chan_dongle.so
CLI>module reload chan_dongle.so
Kann mir jemand bitte helfen, Es wäre echt nett.
Mein System: NAS mit OpenWRT Port drauf und Asterisk 1.8.10.0