I set up an asterisk server under 192.168.2.34
it has the following config files:
sip.conf
[general]
language=de
bindport = 5060
bindaddr = 0.0.0.0
type=friend
context=eingehend
externrefresh=30
nat=force_rport,comedia
srvlookup=yes
transport=udp
localnet=192.168.2.34/255.255.255.0
;directmedia=no
[8001]
host=dynamic
username=VTO2000A
type=friend
secret=qwertz
context=ausgehend
disallow=all
allow=ulaw
allow=h264
[videodoorgateway]
context=eingehend
type=friend
insecure=invite
nat=force_rport,comedia instead
username=621
fromuser=621
fromdomain=fritz.box
secret=AnyPassword
host=192.168.2.34
dtmfmode=rfc2833
disallow=all
allow=ulaw
;allow=h264
extensions.conf
[general]
static=yes
writeprotect=no
[ausgehend]
exten => _9901,1,Set(CALLERID(num)=9901)
exten => _9901,n,Dial(Local/alle@tfe-zuhause,50,w)
[tfe-zuhause]
exten => alle,1,Ringing()
exten => alle,n,Dial(SIP/9901@videodoorgateway,50,w)
[default]
include => ausgehend
include
When I press the button on the VTO I get:
[Feb 16 18:47:45] NOTICE[5538][C-00000001]: chan_sip.c:26273 handle_request_invite: Call from '621' (192.168.2.34:5060) to extension '9901' rejected because extension not found in context 'eingehend'.
[Feb 16 18:47:45] ERROR[5506]: cdr_csv.c:315 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : No such file or directory
[Feb 16 18:47:45] ERROR[5506]: cdr_csv.c:315 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : No such file or directory
Furthermore I can not register my MicroSIP client:
[Feb 16 18:48:55] NOTICE[5538]: chan_sip.c:28499 handle_request_register: Registration from '<sip:621@fritz.box>' failed for '192.168.2.142:53189' - Wrong password
Does anyone can help me?