I have now adjusted the files, however the problem still remains. It’s not the phone, because I have the same problem from the smartphone. Attached the complete conf.
Asterist should only respond to incoming calls on extension 624 and route them to the IVR. Outgoing calls are not planned.
extensions.conf
[incoming]
exten => 624,1,NoOp(You are in IVR now)
same => n,Answer
same => n,Playback(test1)
same => n,Background(test2)
same => n,Goto(default,624,1)
exten => 1,1,NoOp(Pressed 1)
same => n,Playback(test3)
same => n,Goto(default,624,1)
exten => 2,1,NoOp(Pressed 2)
same => n,Playback(test4)
same => n,Goto(default,624,1)
exten => 3,1,NoOp(Pressed 3)
same => n,Playback(test5)
same => n,Goto(default,624,1)
exten = i,1,NoOp(unknown key)
same => n,Playback(test6)
same => n,Goto(default,624,1)
[default]
include => hints
include => lokal
include => incoming
pjsip.conf
;--
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Non mapped elements start
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[general]
allowoverlap = no
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Non mapped elements end
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--;
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0:5060
local_net = 192.168.0.0/255.255.255.0
[reg_192.168.0.2]
type = registration
retry_interval = 60
max_retries = 10
contact_user = 624
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_192.168.0.2
client_uri = sip:Asterisk@192.168.0.2
server_uri = sip:192.168.0.2
[auth_reg_192.168.0.2]
type = auth
username = Asterisk
password = password
[624]
type = aor
contact = sip:Asterisk@192.168.0.2
[624]
type = identify
endpoint = 624
match = 192.168.0.2
[624]
type = auth
username = Asterisk
password = password
[624]
type = endpoint
dtmf_mode = auto
disallow = all
allow = !all,g722,alaw,ulaw
trust_id_inbound = no
send_rpid = yes
from_user = Asterisk
from_domain = 192.168.0.2
language = de
allow_subscribe = yes
subscribe_context = default_1
auth = 624
outbound_auth = 624
aors = 624
[acl]
type = acl
permit = 192.168.0.0/255.255.255.0
;deny = 0.0.0.0/0.0.0.0
[624_in]
type = aor
contact = sip:192.168.0.2
[624_in]
type = identify
endpoint = 624
match = 192.168.0.2
[624_in]
type = endpoint
context = incoming
dtmf_mode = auto
disallow = all
allow = !all,g722,alaw,ulaw
trust_id_inbound = no
send_rpid = yes
from_domain = 192.168.0.2
language = de
allow_subscribe = yes
subscribe_context = default_2
aors = 624_in