Hi,
gefühlt hat niemand etwas an unserer Notfallanlage mit asterisk etwas geändert. Heute bei einem der regelmässigen tests funktionieren aber weder eingehende noch ausgehende Anrufe (irgendjemand muss was geändert haben, weil es nicht mehr funktioniert, ich weiss nur nicht wer oder was).
Eingehend kommt:
chan_sip.c:25399 handle_request_invite: Call from 'sipgate User ID' (IP:5060) to extension '49vorwahlRufnummer' rejected because extension not found in context 'incoming'.
Ausgehend kommt:
chan_sip.c:25399 handle_request_invite: Call from '44' (Telefon_IP:5060) to extension 'Handynummer' rejected because extension not found in context 'default'.
Es läuft asterisk-core-11.6.1-1 unter CentOS 6.
Die Configs:
extensions.conf
sip.conf
Wie man eventuell schon rauslesen kann hab ich so gut wie keine Ahnung von dem Thema und wäre daher für jede Hilfe dankbar.
VG
Sebastian
gefühlt hat niemand etwas an unserer Notfallanlage mit asterisk etwas geändert. Heute bei einem der regelmässigen tests funktionieren aber weder eingehende noch ausgehende Anrufe (irgendjemand muss was geändert haben, weil es nicht mehr funktioniert, ich weiss nur nicht wer oder was).
Eingehend kommt:
chan_sip.c:25399 handle_request_invite: Call from 'sipgate User ID' (IP:5060) to extension '49vorwahlRufnummer' rejected because extension not found in context 'incoming'.
Ausgehend kommt:
chan_sip.c:25399 handle_request_invite: Call from '44' (Telefon_IP:5060) to extension 'Handynummer' rejected because extension not found in context 'default'.
Es läuft asterisk-core-11.6.1-1 unter CentOS 6.
Die Configs:
extensions.conf
Code:
[general]
static=yes
writeprotect=no
[incoming]
exten => _XX,1,Dial(SIP/${EXTEN},55,TtrWw)
; anrufe intern
exten => SIPGATEUSERID,1,Dial(SIP/10&SIP/12&SIP/13&SIP/15&SIP/16&SIP/17&SIP/18&SIP/41&SIP/42&SIP/43&SIP/44&SIP/45&SIP/46&SIP/47&SIP/60&SIP/61&SIP/62&SIP/64&SIP/65&SIP/75)
exten => SIPGATEUSERID,n,Hangup()
[outgoing]
; anrufe nach extern
exten => _X.,1,Set(CALLERID(num)=SIPGATEUSERID)
exten => _X.,2,Dial(SIP/SIPGATEUSERID/${EXTEN},30,trg)
exten => _X.,3,Hangup
sip.conf
Code:
[general]
context=default
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=yes
tcpbindaddr=0.0.0.0
srvlookup=yes
engine=asterisk
externrefresh=60
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
qualify=no
; sipgate
register => SIPGATEUSERID:[email protected]/SIPGATEUSERID
[SIPGATEUSERID]
type=peer
host=sipconnect.sipgate.de
outboundproxy=sipconnect.sipgate.de
port=5060
username=SIPGATEUSERID
fromuser=SIPGATEUSERID
fromdomain=sipconnect.sipgate.de
secret=SIPGATEPASS
dtmfmode=rfc2833
insecure=port,invite
canreinvite=no
registertimeout=600
disallow=all
allow=alaw
allow=ulaw
context=incoming
[office-phones](!)
type=friend
context=default
secret=xxxxxxxx
host=dynamic
nat=no
qualify=yes
canreinvite=no
callgroup=1
pickupgroup=1
dtmfmode=auto
disallow=all
allow=g722
[44](office-phones)
callerid="Test Phone" <44>
username=44
secret=test123
Wie man eventuell schon rauslesen kann hab ich so gut wie keine Ahnung von dem Thema und wäre daher für jede Hilfe dankbar.
VG
Sebastian