ich versuche mich gerade an Asterisk und arbeite jetzt mal das Asterisk Buch durch, aber irgendwie funktioniert das bei mir nicht so wirklich.
Bin das Buch http://www.das-asterisk-buch.de/2.1/ Schritt für Schritt durch gegangen allerdings habe ich bei Punkt 4 schon Warnungen und Fehler.
extensions.conf
Code: Alles auswählen
[default]
exten => 1001,1,Answer()
exten => 1001,2,Playback(hello-world)
exten => 1001,3,Hangup()
exten => 2000,1,Dial(SIP/2000)
Code: Alles auswählen
[general]
port=5060
bindaddr=0.0.0.0
disallow=all
allow=alaw
[2000]
type=friend
secret=1234
host=dynamic
Code: Alles auswählen
== Using SIP RTP CoS mark 5
[Oct 5 16:01:47] WARNING[1048]: chan_sip.c:9331 process_sdp_a_audio: Got Siren7 offer at 40000 bps, but only 32000 bps supported; ignoring.
-- Executing [1001@default:1] Answer("SIP/2000-00000002", "") in new stack
-- Executing [1001@default:2] Playback("SIP/2000-00000002", "hello-world") in new stack
-- <SIP/2000-00000002> Playing 'hello-world.gsm' (language 'en')
-- Executing [1001@default:3] Hangup("SIP/2000-00000002", "") in new stack
== Spawn extension (default, 1001, 3) exited non-zero on 'SIP/2000-00000002'
Wie bekomme ich diese Warnung weg?
Und warum funktioniert das HangUP nich? Die Verbindung bleibt leider bestehen?
Und Hello-World höre ich auch nicht?
Wenn ich es umgekehrt mach (Von der Console auf die Nebenstelle anrufen) geht auch nichts
Code: Alles auswählen
sip*CLI> console dial 2000
[Oct 5 16:06:42] WARNING[1126]: chan_oss.c:486 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Oct 5 16:06:42] NOTICE[1126]: console_video.c:133 console_video_start: voice only, console video support not present
-- Executing [2000@default:1] Dial("Console/dsp", "SIP/2000") in new stack
== Using SIP RTP CoS mark 5
-- Called 2000
-- SIP/2000-00000003 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Auto fallthrough, channel 'Console/dsp' status is 'CONGESTION'
[Oct 5 16:07:14] WARNING[1127]: chan_oss.c:486 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
Bitte helft mir langsam bin ich glaube ich zu Blöd für Asterisk.
Gruß
[EDIT]
Okay ich bin wirklich ein Idiot. War ein Fehler am Telefon. SOmit gelöst.
[/EDIT]