pjsip Module laden für Dialplan

IpTelpert

Neuer User
Mitglied seit
26 Mai 2011
Beiträge
79
Punkte für Reaktionen
0
Punkte
6
Hallo,
gibt es irgendwo eine Übersicht welche Module ich laden muss damit bestimmte Funktionen wieder da sind, bzw. ob die Funktionen jetzt anderes heissen.

Mit func_channel.so habe ich z.B. CHANNEL(channeltype) im Dialplan wieder funktionsfähig

[Aug 22 23:01:22] ERROR[8681][C-00000001]: pbx_functions.c:608 ast_func_read: Function CHANNEL not registered
[Aug 22 23:01:23] WARNING[8681][C-00000001]: channel.c:5692 set_format: Unable to find a codec translation path: (gsm) -> (alaw)
[Aug 22 23:01:23] WARNING[8681][C-00000001]: file.c:1262 ast_streamfile: Unable to open beep (format (alaw)): Function not implemented
 
Gute Frage. Ich wüsste keine Übersicht. Aber Du kannst Dir selbst eine Übersicht bauen, indem Du den Quellcode mittels regulärem Ausdruck durchsuchst (RegEx): ast_custom_function.+\{\n\s+\.name = ".+",
 
Gute Frage. Ich wüsste keine Übersicht. Aber Du kannst Dir selbst eine Übersicht bauen, indem Du den Quellcode mittels regulärem Ausdruck durchsuchst (RegEx): ast_custom_function.+\{\n\s+\.name = ".+",
Danke für die Info.
Aber es kann doch wirklich nicht sein das eine einfache Funktion wie CHANNEL einfach mal eben bei der Migration von SIP zu PJSIP nicht mehr funktioniert und man dann noch erforschen muss in welchen Modul das, wenn überhaupt, noch vorhanden ist.
Oder bin ich da einfach zu naiv.
Gruss
 
Ob ein Modul geladen ist, hängt davon ab, ob es
  1. gebaut wurde (siehe make menuselect, ob eine Abhängigkeit fehlt)
  2. installiert wurde (siehe make menuselect, ob es ausgeschaltet ist)
  3. laden darf (siehe die Konfigurationsdatei modules.conf)
Den aktuellen Stand sieht Du auf dem Command-Line-Interface (CLI) über module show like <Dateiname>.

Aber um Deine Frage zu beantworten, warum eine Umstellung vom Channel-Driver chan_sip auf chan_pjsip solche Unterschiede erzeugt, muss auch ich passen. Wenn Du eine Standard-Installation hast, dann lädt jenes Modul für die Dialplan-Function CHANNEL ganz automatisch. Daher würde ich das anders angehen: Poste bitte mal Deine modules.conf. Wenn Du darin autoload=yes nicht hast, dann steht es implizit auf dem Default autoload=no. In dem Fall müsstest Du jedes Modul, dass nicht durch ein anderes Modul geladen wird, explizit laden.
 
Moinsen


Oder andersrum, wenn du...
Code:
[modules]
autoload=yes
...machst, dann kannste mit...
Code:
; PJSIP Disabling
noload => res_pjsip.so
noload => res_pjsip_pubsub.so
noload => res_pjsip_session.so
noload => chan_pjsip.so
noload => res_pjsip_exten_state.so
noload => res_pjsip_log_forwarder.so
noload => res_pjsip_xpidf_body_generator.so
noload => res_pjsip_notify.so
noload => res_pjsip_mwi_body_generator.so
noload => res_pjsip_transport_websocket.so
noload => res_pjsip_pidf_eyebeam_body_supplement.so
noload => res_pjsip_pidf_digium_body_supplement.so
noload => res_pjsip_dtmf_info.so
noload => res_pjsip_dlg_options.so
noload => res_pjsip_rfc3326.so
noload => res_pjsip_send_to_voicemail.so
...explizit deaktivieren, was du nicht möchtest.
 
autoload = yes geht gar nicht

root@hXXX:~# /etc/init.d/asterisk start
[....] Starting asterisk (via systemctl): asterisk.serviceJob for asterisk.service failed because a timeout was exceeded.
See "systemctl status asterisk.service" and "journalctl -xe" for details.
failed!

Das ist wohl das Problem bei autoload =yes und /etc/init.d/asterisk start das Asterisk nicht startet
1630253156] libunbound[25546:0] error: libunbound/libworker.c at 395 could not pthread_create(&ctx->bg_tid, NULL, libworker_dobg, w): Res


Mit autoload = no und noload = chan_sip.so habe ich wohl fast alles mit PJSIP am Laufen, im Dialplan geht aber einiges immer noch nicht.
 
autoload = yes geht gar nicht
Dann ist bei Deiner Installation was schief. Starte biete Digium Asterisk direkt ohne sein Service-Skript, also z.B.
sudo asterisk -c
oder direkt wenn mit Debugging-Symbolen übersetzt (siehe make menuselect → Compiler → DONT_OPTIMIZE):
sudo gdb /etc/sbin/asterisk -ex 'run -cg'
Sollte Asterisk crashen, baue es mit aktivierten BETTER_BACKTRACES neu. Letzteres findest Du ebenfalls in make menuselect. Also
make clean menuselect
und so weiter …
 
Da ist nicht nur alles schief, das ist alles schräg.
Ich habe auf dem neuen Rechner nochmal ein purge gemacht und dann über #apt-get install asterisk gemacht.

Ich kann nicht erkennen das ich bei apt-get install irgendwas wesentlich "vergessen" hätte oder wie finde ich das Pakez wo Funktionen wie CUT drin sind?

NEU
Asterisk 16.2.1~dfsg-1+deb10u2 built by nobody @ buildd.debian.org on a unknown running Linux on 2020-08-26 22:53:40 UTC
66 custom functions installed.


PRODUKTIV
Asterisk 16.2.1~dfsg-1+deb10u2 built by nobody @ buildd.debian.org on a unknown running Linux on 2020-08-26 22:53:40 UTC
182 custom functions installed.
 
Lade Dir bitte den Quellcode von Asterisk – über APT – und schaue, ob die neusten Security-Patches drin sind (Datei-Endung: 16.diff, z.B. AST-2021-006). Soweit ich das verstehe, sind die nicht drin. Warum auch immer. Weil Asterisk eine Server-Anwendung ist, Deine Installation öffentlich aus dem Internet erreichbar sein dürfte, solltest Du immer die neusten Security-Updates an Bord haben. Daher solltest Du Dir Asterisk selbst zusammenbauen. Mein Tipp: Erst mit dem neusten Asterisk 16 anfangen, also aktuell Asterisk 16.20. Wenn alles klappt, gleich auf das neuste Asterisk 18 wechseln, also aktuell Asterisk 18.6.
Wie finde ich das Paket wo Funktionen wie CUT drin sind
ls -al /usr/lib/asterisk/modules/func_cut.so
Diese Shared-Library ist im Paket asterisk-modules, welches beim Paket asterisk immer mitinstalliert wird. Folglich kann das nicht die Ursache sein. Solche Dinge findest Du über packages.debian.org → Durchsuchen des Inhalts von Paketen.
… custom functions installed.
Wo genau siehst Du diese Meldung?
 
Hallo,
beider Rechner sollten bzgl. Asterisk "identisch" sein:

Connected to Asterisk 16.2.1~dfsg-1+deb10u2 currently running on
Connected to Asterisk 16.2.1~dfsg-1+deb10u2 currently running on


Produktivrechner
CLI> core show functions
.
CUT CUT(varname,char-delim,range-spec) Slices and dices strings, based upon a named delimiter.
.
.182 custom functions installed.


Testrechner
# ls -lah /usr/lib/asterisk/modules/ | grep cut
-rwxr-xr-x 1 root root 268K Sep 4 18:31 func_cut.so

CLI> core show functions

KEINE Funktion CUT gefunden, und auch nur 62 Funktionen, der Produktivrechner hat 182 St.
Auch ein # aptitude reinstall asterisk-modules
hat nichts geholfen.



Als ich Asterisk 18 auf dem Testrechner per Hand installiert habe war es nicht besser

Kann es an dem anderen Provider liegen, es ist ja nur ein vServer, debian ist bei beiden aber gleich.?

Produktiv ist
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster


Testrechner
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Gruss
 
Wenn die Datei vorhanden ist, dann ist der Paket-Manager schonmal außen vor. Die Frage ist, ob diese Shared-Library von Asterisk geladen wird, vom System ladbar ist (Prozessor-Architektur?). Starte Asterisk doch bitte mal direkt mit dem Parameter -cvvvvvddddd. Dann siehst Du gleich am Anfang, wieviele Module werden und ob das Modul überhaupt geladen wird.
 
Hallo,

Hier ein Auzug aus dem Start von Asterisk mit # asterisk -cvvvvvddddd

z.B. STRREPLACE wird geladen CUT taugt nicht auf, dabei sind beide bei menueselect angekreuzt.

Gruss und Danke


Auszug aus dem Start wo ich denke was relevant sein könnte

.
.
.
== Registered application 'GotoIfTime'
== Registered application 'ImportVar'
== Registered application 'Hangup'
.
.
.
.
.
.
Loading manager.
== Manager registered action Ping
== Manager registered action Events
== Manager registered action Logoff
== Manager registered action Login
== Manager registered action Challenge
== Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
.
.
.
Loading res_pjsip_header_funcs.so.
== Registered custom function 'PJSIP_HEADER'
== Registered custom function 'PJSIP_HEADERS'
== res_pjsip_header_funcs.so => (PJSIP Header Functions)
.
.
.
Loading func_strings.so.
== Registered custom function 'REPLACE'
== Registered custom function 'STRREPLACE'
== Registered custom function 'LISTFILTER'
.
.
Sep 6 14:50:34] ERROR[1182]: taskprocessor.c:1031 __start_taskprocessor: Unable to start taskprocessor listener for taskprocessor stasis/m:devicestate:all-00000063
[Sep 6 14:50:34] ERROR[1182]: taskprocessor.c:1031 __start_taskprocessor: Unable to start taskprocessor listener for taskprocessor stasis/m:channel:all-00000064
[Sep 6 14:50:34] ERROR[1182]: taskprocessor.c:274 default_listener_shutdown: pthread_join(): Resource temporarily unavailable

.
[Sep 6 14:39:55] WARNING[1111]: loader.c:2393 load_modules: Some non-required modules failed to load.
[Sep 6 14:39:55] ERROR[1111]: loader.c:2508 load_modules: res_pjsip_publish_asterisk declined to load.
Asterisk Ready

[Sep 6 14:50:34] ERROR[1182]: loader.c:2508 load_modules: res_pjsip_publish_asterisk declined to load.
[Sep 6 14:50:34] ERROR[1182]: loader.c:2508 load_modules: app_queue declined to load.
 
Was für Log-Einträge bekommst Du, wenn Du autoload=yes in der Konfigurationsdatei modules.conf setzt?
 
Hallo,
bei
autoload=yes
kommt Asterisk gar nicht zum laufen.
Gruss und Danke
Code:
Loading pbx_realtime.so.
[Sep  6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'res_monitor' has been loaded but may be removed in a future release. Its replacement is 'app_mixmonitor'.
[Sep 6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'chan_sip' has been loaded but may be removed in a future release.
[Sep 6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'res_adsi' has been loaded but may be removed in a future release.
[Sep 6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'app_adsiprog' has been loaded but may be removed in a future release.
[Sep 6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'app_url' has been loaded but may be removed in a future release.
[Sep 6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'app_nbscat' has been loaded but may be removed in a future release.
[Sep 6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'app_getcpeid' has been loaded but may be removed in a future release.
[Sep 6 22:22:28] WARNING[4861]: loader.c:2487 load_modules: Module 'app_ices' has been loaded but may be removed in a future release.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'func_periodic_hook.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Error loading module 'res_format_attr_amr.so': /usr/lib/asterisk/modules/res_format_attr_amr.so: undefined symbol: ast_format_amrwb
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'app_macro.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' was not compiled with the same compile-time options as this version of Asterisk.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' will not be initialized as it may cause instability.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Module 'res_stasis_test.so' could not be loaded.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: res_pjsip_publish_asterisk declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: chan_iax2 declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: chan_alsa declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: chan_motif declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: res_pjsip_sdp_rtp declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: res_pjsip_transport_websocket declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: app_confbridge declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: Declined modules which depend on app_confbridge: app_page
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: res_mwi_devstate declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cdr_csv declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cel_tds declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cdr_pgsql declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cdr_radius declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cdr_sqlite3_custom declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cel_sqlite3_custom declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cel_radius declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: cdr_tds declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: res_security_log declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: pbx_spool declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: res_prometheus declined to load.
[Sep 6 22:22:28] ERROR[4861]: loader.c:2508 load_modules: *** Failed to load module pbx_realtime.so
[Sep 6 22:22:28] ERROR[4861]: asterisk.c:3938 check_init: Module initialization failed.  ASTERISK EXITING!
[Edit Novize: Log in Code-Tags gefasst]
 
Zuletzt bearbeitet von einem Moderator:
load_modules: Error loading module 'res_format_attr_amr.so': /usr/lib/asterisk/modules/res_format_attr_amr.so: undefined symbol: ast_format_amrwb
Jene Fehlermeldung bedeutet, dass Du eine Mischung aus Debian und Original hast. Mach bitte
sudo apt remove asterisk asterisk-modules
sudo apt autoremove

Dann gehst Du über
sudo ls -al /usr/lib/asterisk/modules/
ob noch irgendwelche Asterisk-Module vorhanden sind.

Dort müssen erstmal wieder alle Module weg, alle. Aber vermutlich hast Du bei all der Probierei noch weitere Software-Packages von Asterisk über apt als „manuell installiert“ markiert. Jene Packages zu finden, wird ein heilloses Gesuche. Kannst Du stattdessen bitte das komplette System neu aufsetzen und nicht aus dem Repository sondern das neuste original Asterisk 16 – erstmal nicht 18 – installieren?
Bei autoload=yes kommt Asterisk gar nicht zum laufen.
Und das hat zu Laufen. Daher müssen wir uns um zuerst um diesen Fehler und nicht um mögliche Folgefehler kümmern. Du könntest einfach das blockierende Modul
sudo rm /usr/lib/asterisk/modules/pbx_realtime.so
löschen. Aber das ist nicht der Sinn der Sache. Wir wollen Asterisk nicht mutwillig starten, sondern Deine Installation sauber bekommen.
 
Danke für die Hilfe, ich fahre jetzt zwei Wochen weg. Versuche es danach noch mal. Wollte eigentlich nur neuen vServer aktiv machen und gut ist. Dachte nicht das es solche Probleme gibt. Kann alles mit dem Asterisk machen, ist ja nicht produktiv.
 
Dachte nicht das es solche Probleme gibt.
Du hattest Asterisk sowohl über den Package-Manager als auch manuell aus dem Quell-Code installiert. Und vorher jeweils nicht vollständig deinstalliert. Das geht nicht. Wenn man Asterisk aus dem Quellcode installiert, müsste man den Package-Manager anweisen, dass es manuell installiert wurde – damit dieser nie versehentlich Digium Asterisk automatisch installiert. Leider enthalten die Anleitungen dies oft nicht. Daher müssen wir jetzt „aufräumen“.

Die Frage ist, was davor geschah, also warum Du überhaupt von Package-Manager auf Selbst-Installation gewechselt bist. Vielleicht kannst Du das über Deine ~/.bash_history noch nachvollziehen. Vielleicht hatte das etwas als Ursache, was Digium Asterisk besser machen könnte und dann Allen zu Gute kommt.
 
Alles noch mal neu gemacht und mit #apt installiert und in modules.conf autload = no und schon kein Ärger mehr.
Telefonieren intern und outbound mit PJSIP geht. Jetzt muss ich nur noch inbound testen.
Mir fehlt noch eine Quelle wo ich nachlesen kann wie ich bei outbound die CallerID setzten kann. Geht in der alten Asterisk Version.
einfach SET(CALLERID(name) und CALLERID(number) oder anonymous gesetzt alles OK (natürlich nur erlaubte eingetragene Nummer bei SIPGATE)


Das habe ich bei der neuen auch noch gestestet:
exten => 777,n,SipAddHeader(P-Preferred-Identity: <sip:[email protected]>)
exten => 777,n,Set(PJSIP_HEADER(add,P-Preferred-Identity=<sip:[email protected]>)
Geht aber nicht, kommt am Ziel immer nur anon an.
Habt ihr noch eine Idee oder soll ich das in der SIPGATE Gruppe nachfragen?

Gruss
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.