Hallo Zusammen
mein Asterisk kann sich nicht beim Provider anmelden. Ich kan daher auch keine abgehende oder ankommende Gespräche führen. Wen ich in die CLI schaue kommen folgende Fehlermeldungen: kann mir aber jemand helfen wieso das so ist? Danke
asterisk*CLI> reload
[Aug 18 20:35:06] WARNING[2250]: chan_sip.c:23353 set_insecure_flags: Unknown insecure mode 'very' on line 16
[Aug 18 20:35:06] WARNING[2250]: frame.c:1253 ast_parse_allow_disallow: Cannot allow unknown format 'gms'
[Aug 18 20:35:06] WARNING[2250]: chan_sip.c:24110 build_peer: Codec configuration errors found in line 23 : allow = gms
[Aug 18 20:35:06] WARNING[2250]: acl.c:393 ast_get_ip_or_srv: Unable to lookup 'free2.voipgateway.org'
[Aug 18 20:35:06] WARNING[2250]: chan_sip.c:23353 set_insecure_flags: Unknown insecure mode 'very' on line 31
[Aug 18 20:35:06] WARNING[2250]: acl.c:393 ast_get_ip_or_srv: Unable to lookup 'sip.backbone.ch'
[Aug 18 20:35:06] NOTICE[2222]: chan_skinny.c:7066 config_load: Configuring skinny from skinny.conf
[Aug 18 20:35:06] NOTICE[2222]: app_queue.c:5654 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:122 pbx_load_module: Starting AEL load process.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:135 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:138 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:145 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:150 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:153 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:07] WARNING[2250]: acl.c:393 ast_get_ip_or_srv: Unable to lookup 'free2.voipgateway.org'
[Aug 18 20:35:07] ERROR[2250]: chan_sip.c:13088 register_verify: Peer '41325129159' is trying to register, but not configured as host=dynamic
[Aug 18 20:35:07] NOTICE[2250]: chan_sip.c:21645 handle_request_register: Registration from '<sip:[email protected]>' failed for '127.0.0.1' - Peer is not supposed to register
[Aug 18 20:35:07] WARNING[2250]: chan_sip.c:18164 handle_response_register: Forbidden - wrong password on authentication for REGISTER for '41325129159' to 'free2.voipgateway.org'
asterisk*CLI>
in der sip.conf steht folgendes drin:
und in der extensions.conf
mein Asterisk kann sich nicht beim Provider anmelden. Ich kan daher auch keine abgehende oder ankommende Gespräche führen. Wen ich in die CLI schaue kommen folgende Fehlermeldungen: kann mir aber jemand helfen wieso das so ist? Danke
asterisk*CLI> reload
[Aug 18 20:35:06] WARNING[2250]: chan_sip.c:23353 set_insecure_flags: Unknown insecure mode 'very' on line 16
[Aug 18 20:35:06] WARNING[2250]: frame.c:1253 ast_parse_allow_disallow: Cannot allow unknown format 'gms'
[Aug 18 20:35:06] WARNING[2250]: chan_sip.c:24110 build_peer: Codec configuration errors found in line 23 : allow = gms
[Aug 18 20:35:06] WARNING[2250]: acl.c:393 ast_get_ip_or_srv: Unable to lookup 'free2.voipgateway.org'
[Aug 18 20:35:06] WARNING[2250]: chan_sip.c:23353 set_insecure_flags: Unknown insecure mode 'very' on line 31
[Aug 18 20:35:06] WARNING[2250]: acl.c:393 ast_get_ip_or_srv: Unable to lookup 'sip.backbone.ch'
[Aug 18 20:35:06] NOTICE[2222]: chan_skinny.c:7066 config_load: Configuring skinny from skinny.conf
[Aug 18 20:35:06] NOTICE[2222]: app_queue.c:5654 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:122 pbx_load_module: Starting AEL load process.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:135 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:138 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:145 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:150 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:06] NOTICE[2222]: pbx_ael.c:153 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Aug 18 20:35:07] WARNING[2250]: acl.c:393 ast_get_ip_or_srv: Unable to lookup 'free2.voipgateway.org'
[Aug 18 20:35:07] ERROR[2250]: chan_sip.c:13088 register_verify: Peer '41325129159' is trying to register, but not configured as host=dynamic
[Aug 18 20:35:07] NOTICE[2250]: chan_sip.c:21645 handle_request_register: Registration from '<sip:[email protected]>' failed for '127.0.0.1' - Peer is not supposed to register
[Aug 18 20:35:07] WARNING[2250]: chan_sip.c:18164 handle_response_register: Forbidden - wrong password on authentication for REGISTER for '41325129159' to 'free2.voipgateway.org'
asterisk*CLI>
in der sip.conf steht folgendes drin:
Code:
[general]
context=default
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
; --------------------------------------------------------------------
;
register => meine numer9:mein [email protected]/meine numer
[sipcall]
type=peer
username=meine numer
secret=mein passwort
host=free2.voipgateway.org
insecure=very
canreinvite=no
canredirect=no
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gms
allow=slinear
[meine numer]
type=peer
fromdomain=sip.backbone.ch
fromuser=meine numer
host=sip.backbone.ch
insecure=very
nat=yes
qualify=yes
secret=mein password
context=from-pstn
type=friend
; --------------------------------------------------------------------
;
; hier kommen die Anmeldekontexte für die SIP Endgeraete 2000-2002
;
[1001]
callerid=Phone 1 <1001>
host=dynamic
domain=192.168.1.5
user=2000
secret=1234
type=peer
mailbox=1001
nat=yes
canreinvite=no
[2002]
callerid=Phone 3 <2002>
host=dynamic
domain=192.168.1.5
user=2002
secret=1234
type=peer
mailbox=2002
nat=yes
canreinvite=no
und in der extensions.conf
Code:
[internal]
exten => 1001,1,Dial(SIP/1001)
exten => 2002,1,Dial(SIP/2002)
exten => 611,1,Echo()
[incoming]
exten => 41325129159,1,Dial(SIP/1001)
exten => sipcall,1,Dial(SIP/1001)