Asterisk Fehlermeldungen in Verbindung mi SipGate Fritz!BOX

schirmuli

Neuer User
Mitglied seit
19 Sep 2005
Beiträge
84
Punkte für Reaktionen
0
Punkte
6
Halo,

ich habe seit gestern meinen asterisk am laufen, es kann über einen sipgate account eingehend und ausgehend telefoniert werden.
Leider funktioniert das Telefonieren immer nur 1-2mal in jede richtung, danach wirft der asterisk folgende Fehler:
Code:
Oct  2 13:51:28 WARNING[9828]: Unable to open pseudo channel for timing...  Sound may be choppy.
Oct  2 13:51:28 WARNING[9828]: Found no files in '/usr/share/asterisk/mohmp3'
Oct  2 13:51:28 WARNING[9828]: unable to spawn mp3player
Oct  2 13:51:28 NOTICE[9828]: registered database handle 'mysql1' dsn->[MySQL-asterisk]
Oct  2 13:51:28 NOTICE[9828]: registered database handle 'mysql2' dsn->[MySQL-asterisk]
Oct  2 13:51:28 NOTICE[9828]: res_odbc loaded.
Oct  2 13:51:28 NOTICE[9828]: Registered Config Engine odbc
Oct  2 13:51:28 NOTICE[9828]: res_config_odbc loaded.
Oct  2 13:51:29 WARNING[9828]: Unable to open IAX timing interface: No such file or directory
Oct  2 13:51:29 WARNING[9828]: Unable to get our IP address, Skinny disabled
Oct  2 13:55:15 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:15 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:15 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:15 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:15 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:15 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:15 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:15 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:15 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:15 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:15 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:15 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:15 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:15 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:15 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:15 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:16 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:16 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:16 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:16 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:16 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:16 NOTICE[9828]: Unable to create local channel for call forward to 'Local/h@default'
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:16 NOTICE[9828]: Unable to create local channel for call forward to 'Local/h@default'
Oct  2 13:55:16 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:16 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:16 WARNING[9828]: Unable to allocate socket: Too many open files
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:16 NOTICE[9828]: Unable to create channel of type 'SIP'
Oct  2 13:55:16 WARNING[9828]: Alert pipe creation failed!
Oct  2 13:55:16 WARNING[9828]: Unable to allocate channel structure
Oct  2 13:55:16 NOTICE[9828]: Unable to create channel of type 'SIP'

diese meldungen bringt er bis das Log ziemlich gruss ist und dann schmiert er ab.

meine sip.conf
Code:
[general]

;externip=xxx.xxx.xxx.xxx ;nur externip oder exernhost verwenden
externhost=mein-server.ath.cx

port = 5060
bindaddr = 192.168.1.2
context = default
rvlookup = yes
disallow = all
allow = alaw
allow = ulaw
allow = gsm
language=de

register => xxxxxxx:[email protected]/xxxxxxx

[xxxxxxx]
type=friend
username=xxxxxxx
secret=774FVA
host=sipgate.de
fromuser=xxxxxxx
fromdomain=sipgate.de
nat=yes
insecure=very
canreinvite=no

[720300]
type=friend
username=720300
secret=geheim
host=dynamic

[1235] ; Notebook intern
type=friend
username=1235
secret=geheim
host=dynamic

und meine extensions.conf
Code:
[general]

static=yes

writeprotect=no

[default]

exten => 720300,1,Dial(SIP/720300,60)
exten => 720300,2,Hangup

exten => 1235,1,Dial(SIP/1235,60)
exten => 1235,2,Hangup



; ein von Sipgate

exten => xxxxxxx,1,Dial(SIP/720300,60)
exten => xxxxxxx,2,Hangup

; über Sipgate raus.

exten => _.,1,Dial(SIP/${EXTEN:0}@xxxxxxx,60,Ttr)
exten => _.,2,Hangup

Ich hoffe ihr könnt mir helfen, ich binn doch nur ein armer Anfänger ;-)

Ach ja, udp 5060 und 10000-20000 habe ich auf den asterisk geforwardet, und als Client hängt eine Fritz!Box mit der aktuellen .85er Firmware drann!!

Vielen Dank im Vorraus
Thilo
Code:
[code]
 
Re: Asterisk Fehlermeldungen in Verbindung mi SipGate Fritz!

schirmuli schrieb:
Ich hoffe ihr könnt mir helfen, ich binn doch nur ein armer Anfänger ;-)

Was hast du da alles installiert?

Du hast nirgendwelche Sachen installiert, die auf eine sql-Datenbank zugreifen wollen. Dann hast du vmtl. bristuff installiert ohne hfc-Karte im Rechner.

In der Moduls.conf schreibe mal eine Zeile rein:
noload => chan_skinny.so

Schreibe mal was die eingebaut hast (Fritz-, Hfc-Karten) und was du alles installiert hast.
 
Ich hab nur mit apt-get install aserisk die debian pakete installiert :roll:
hat sich aber erledigt, es lag an
exten => _.,1,Dial(SIP/${EXTEN:0}@xxxxxxx,60,Ttr)
exten => _.,2,Hangup #
nach dem _ ein X dan gings ;-)

Hab aber mittlerweile probleme mit 1und1..... Hab zwar alles befolgt was in den HowTo´s zu 1+1 steht aber leider bekomme ich immer die Meldung mein PW sei falsch (Forbidden...........)

Danke
Gruss
Thilo
 
Hallo Schirmuli,
zuerst würde ich die Zugangsdaten testen. Nichts frustriert mehr als stundenlange Versuche und man merkt dann dass die Zugangsdaten nicht stimmen.

Lege dazu in der Fritzbox eine Internetnummer an mit deiner Zugangstelephonnummer und dem Passwort. Wenn sich das auf der Fritzbox registriert sind Deine Zugangsdaten o.k.

Sollte Dein Asterisk sich immer noch nicht registrieren dann kann es daran liegen dass der Fritzboxport 5060 und Asterisk Port 5060 sich nicht vertragen.

Manfred
 
Kostenlos!

Statistik des Forums

Themen
248,518
Beiträge
2,293,354
Mitglieder
378,015
Neuestes Mitglied
Kikii