Discussion:
Asterisk auf Eis64
(zu alt für eine Antwort)
Ulrich Hupe
2021-12-09 15:23:33 UTC
Permalink
Hallo,
Ich habe mich seit etlichen Jahren mal wieder mit Asterisk beschäftigt.
Dazu habe ich die neue Version 18.8.0 compliliert und zu einem einfachen
eisfair Paket zusammengebunden.

Bei der Übernahme der alten konfigurationen funktioniert SIP nicht, IAX
schon.
Obwohl die sip.conf in ext/asterisk vorhanden ist scheinen die Module zu
fehlen. Auch die cli Befehle kennt er nicht mehr.
Wenn ich pjsip konfiguriere geht es.
Ich vermute, daß in den neueren Version schon alles auf pjsip projekt
umgestellt wurde.

Weiß jemand mehr dazu?

Gruß, Ulrich
Holger Bruenjes
2021-12-10 14:01:06 UTC
Permalink
Hallo Ulrich
Post by Ulrich Hupe
Bei der Übernahme der alten konfigurationen funktioniert SIP nicht, IAX
schon.
Obwohl die sip.conf in ext/asterisk vorhanden ist scheinen die Module zu
fehlen. Auch die cli Befehle kennt er nicht mehr.
Wenn ich pjsip konfiguriere geht es.
Ich vermute, daß in den neueren Version schon alles auf pjsip projekt
umgestellt wurde.
Weiß jemand mehr dazu?
hast du es mit

--with-pjproject-bundled=yes

uebersetzt?

Holger
Ulrich Hupe
2021-12-10 14:27:51 UTC
Permalink
Post by Holger Bruenjes
hast du es mit
--with-pjproject-bundled=yes
uebersetzt?
nein, das scheint so zu gehen. pjsip läuft ja


Eis64*CLI> pjproject show buildopts
PJPROJECT compile time config currently running against:
PJ_CC_NAME/VER_(1,2,3) : gcc-10.3.0
PJ_DEBUG : 0
PJ_ENABLE_EXTRA_CHECK : 1
PJ_EXCEPTION_USE_WIN32_SEH: 0
PJ_FUNCTIONS_ARE_INLINED : 0
PJ_HAS_EVENT_OBJ : 1
PJ_HAS_EXCEPTION_NAMES : 1
PJ_HAS_FLOATING_POINT : 1
PJ_HAS_HIGH_RES_TIMER : 1
PJ_HAS_INT64 : 1
PJ_HAS_IPV6 : 1
PJ_HAS_PENTIUM : 0
PJ_HAS_POOL_ALT_API : 0
PJ_HAS_SEMAPHORE : 1
PJ_HAS_TCP : 1
PJ_HAS_THREADS : 1
PJ_IOQUEUE_HAS_SAFE_UNREG : 1
PJ_IOQUEUE_MAX_HANDLES : 5000
PJ_IS_(BIG/LITTLE)_ENDIAN : little-endian
PJ_LOG_MAX_LEVEL : 6
PJ_LOG_MAX_SIZE : 4000
PJ_LOG_USE_STACK_BUFFER : 1
PJ_LOG_USE_STACK_BUFFER : 1
PJ_MAX_EXCEPTION_ID : 16
PJ_MAX_HOSTNAME : 256
PJ_M_NAME : x86_64
PJ_OS_HAS_CHECK_STACK : 0
PJ_OS_NAME : x86_64-unknown-linux-gnu
PJ_POOL_DEBUG : 0
PJ_TIMESTAMP_USE_RDTSC: : 0
PJ_VERSION : 2.10
ioqueue type : epoll
Eis64*CLI>

Connected to Asterisk 18.8.0 currently running on Eis64 (pid = 17400)
Eis64*CLI> module show

res_pjproject.so PJPROJECT Log and Utility Support
4 Running core
res_pjsip.so Basic SIP resource
46 Running core
res_pjsip_acl.so PJSIP ACL Resource
0 Running core
res_pjsip_authenticator_digest.so PJSIP authentication resource
0 Running core
res_pjsip_caller_id.so PJSIP Caller ID Support
1 Running core
res_pjsip_config_wizard.so PJSIP Config Wizard
1 Running core
res_pjsip_dialog_info_body_generator.so PJSIP Extension State Dialog
Info+XML Pr 0 Running core
res_pjsip_diversion.so PJSIP Add Diversion Header Support
1 Running core
res_pjsip_dlg_options.so SIP OPTIONS in dialog handler
0 Running core
res_pjsip_dtmf_info.so PJSIP DTMF INFO Support
0 Running core
res_pjsip_empty_info.so PJSIP Empty INFO Support
0 Running core
res_pjsip_endpoint_identifier_anonymous.so PJSIP Anonymous endpoint
identifier 0 Running core
res_pjsip_endpoint_identifier_ip.so PJSIP IP endpoint identifier
0 Running core
res_pjsip_endpoint_identifier_user.so PJSIP username endpoint identifier
0 Running core
res_pjsip_exten_state.so PJSIP Extension State Notifications
0 Running core
res_pjsip_header_funcs.so PJSIP Header Functions
0 Running core
res_pjsip_history.so PJSIP History
0 Running extended
res_pjsip_logger.so PJSIP Packet Logger
0 Running core
res_pjsip_messaging.so PJSIP Messaging Support
0 Running core
res_pjsip_mwi.so PJSIP MWI resource
0 Running core
res_pjsip_mwi_body_generator.so PJSIP MWI resource
0 Running core
res_pjsip_nat.so PJSIP NAT Support
0 Running core
res_pjsip_notify.so CLI/AMI PJSIP NOTIFY Support
0 Running core
res_pjsip_one_touch_record_info.so PJSIP INFO One Touch Recording
Support 0 Running core
res_pjsip_outbound_authenticator_digest.so PJSIP authentication resource
0 Running core
res_pjsip_outbound_publish.so PJSIP Outbound Publish Support
2 Running core
res_pjsip_outbound_registration.so PJSIP Outbound Registration Support
0 Running core
res_pjsip_path.so PJSIP Path Header Support
0 Running core
res_pjsip_phoneprov_provider.so PJSIP Phoneprov Provider
0 Running extended
res_pjsip_pidf_body_generator.so PJSIP Extension State PIDF Provider
0 Running core
res_pjsip_pidf_digium_body_supplement.so PJSIP PIDF Sangoma presence
supplement 0 Running core
res_pjsip_pidf_eyebeam_body_supplement.so PJSIP PIDF Eyebeam supplement
0 Running core
res_pjsip_publish_asterisk.so PJSIP Asterisk Event PUBLISH Support
0 Running core
res_pjsip_pubsub.so PJSIP event resource
12 Running core
res_pjsip_refer.so PJSIP Blind and Attended Transfer Suppor
1 Running core
res_pjsip_registrar.so PJSIP Registrar Support
0 Running core
res_pjsip_rfc3326.so PJSIP RFC3326 Support
0 Running core
res_pjsip_sdp_rtp.so PJSIP SDP RTP/AVP stream handler
0 Running core
res_pjsip_send_to_voicemail.so PJSIP REFER Send to Voicemail Support
0 Running core
res_pjsip_session.so PJSIP Session resource
17 Running core
res_pjsip_sips_contact.so UAC SIPS Contact support
0 Running core
res_pjsip_t38.so PJSIP T.38 UDPTL Support
0 Running core
res_pjsip_transport_websocket.so PJSIP WebSocket Transport Support
0 Running core
res_pjsip_xpidf_body_generator.so PJSIP Extension State PIDF Provider
0 Running core

Nur die Konfiguration hat sich geändert in den conf`s

Ulrich
Ulrich Hupe
2021-12-14 11:22:50 UTC
Permalink
Gut, ich hab's jetzt durch.
Die chan_sip wird standardmäßig nicht mehr geladen (outdated), könnte
aber genutzt werden. via cli:module load etc. PJSIP ist Standard.

Dadurch, daß pjsip ein fremdes Projekt ist, ist der Syntax nun derart
komplex, daß ich schon Tage brauchte um das wieder zum Laufen zu
bekommen. Man fängt da quasi wieder von vorn an. Was auf Anhieb lief,
war daher iax.
So habe ich es bis heute noch nicht geschafft den echotest über SIP
anzusprechen :-(
Die Einbindung der Konfigurationsvariablen in eine Eisfair Menuestruktur
ist daher eine Herkulesaufgabe. Das kann man auch direkt in den conf's
erledigen.
Wer mehr Pbx braucht, könnte auch die ISO laden und in einer extra
virtuellen Umgebung getrennt vom Eisfair betreiben.

Genug davon!
Ulrich

Loading...