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:
diese meldungen bringt er bis das Log ziemlich gruss ist und dann schmiert er ab.
meine sip.conf
und meine extensions.conf
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
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]