I have configured at my doorbell doorbird SIP access. And I also have an endpoint “doorbird” in my PJSIP.conf
But now the doorbird endpoint can not be called any more, because it does not register or doesn’t create a contact any more. This worked already but it seem to be gone corrupt somehow.
SIP is enabled at the doorbird.
here ist my pjsip.conf for the doorbird. username and passwort are 100% correct
[endpoint_basic](!)
type=endpoint ; endpoint (phone/rpi/pc...)
context=internal ; uses the dial plan defined in extensions.conf
disallow=all ; disabling all audio codecs
allow=ulaw ; except the ULAW codec
allow=alaw ; and the ALAW codec
language=de
[authentication](!)
type=auth ; type of section: authentication
auth_type=userpass ; password authentication
[aor_template](!)
type=aor ; find out where the endpoint can be contacted
max_contacts=1
; Definitions of user accounts associated with equipment
[doorbird](endpoint_basic)
auth=doorbird
aors=doorbird
callerid="Doorbird" <6001> ; to have the name of the caller displayed
[doorbird](authentication)
password=doorbird
username=doorbird
[doorbird](aor_template)
pjsip show endpoints
asterisk-PBX*CLI> pjsip show endpoints
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: doorbird/6001 Unavailable 0 of inf
InAuth: doorbird/doorbird
Aor: doorbird 1
Endpoint: notebook/6003 Unavailable 0 of inf
InAuth: notebook/notebook
Aor: notebook 1
Endpoint: speedport/**71 Not in use 0 of inf
OutAuth: speedport/nutzer-1@speedport.ip
Aor: speedport 0
Contact: speedport/sip:192.168.2.1:5060 45977b638f NonQual nan
Identify: speedport/speedport
Match: 192.168.2.1/32
Endpoint: webrtc_client Not in use 0 of inf
OutAuth: webrtc_client/webrtc_client
InAuth: webrtc_client/webrtc_client
Aor: webrtc_client 5
Contact: webrtc_client/sip:webrtc_client@dynamic c8cb8ced14 NonQual nan
Identify: webrtc_client/webrtc_client
Match: 192.168.2.0/32
Endpoint: zoiper/6002 Not in use 0 of inf
InAuth: zoiper/zoiper
Aor: zoiper 1
Contact: zoiper/sip:zoiper@192.168.2.151:46637;tran 41dbd232b6 NonQual nan
Objects found:5
pjsip show contacts
asterisk-PBX*CLI> pjsip show contacts
Contact: <Aor/ContactUri..............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================
Contact: speedport/sip:192.168.2.1:5060 45977b638f NonQual nan
Contact: webrtc_client/sip:webrtc_client@dynamic c8cb8ced14 NonQual nan
Contact: zoiper/sip:zoiper@192.168.2.151:46637;transpor 41dbd232b6 NonQual nan
Objects found: 3
asterisk-PBX*CLI>
this is the output of asterisk-cli when I try to call the doorbird
-- Executing [6001@internal:1] NoOp("PJSIP/zoiper-00000009", "Call Doorbird") in new stack
-- Executing [6001@internal:2] Dial("PJSIP/zoiper-00000009", "PJSIP/doorbird,20") in new stack
[Sep 10 18:24:33] ERROR[1748]: res_pjsip.c:993 ast_sip_create_dialog_uac: Endpoint 'doorbird': Could not create dialog to invalid URI 'doorbird'. Is endpoint registered and reachable?
[Sep 10 18:24:33] ERROR[1748]: chan_pjsip.c:2708 request: Failed to create outgoing session to endpoint 'doorbird'
[Sep 10 18:24:33] NOTICE[1995][C-00000007]: app_dial.c:2720 dial_exec_full: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [6001@internal:3] NoOp("PJSIP/zoiper-00000009", "Status: 3") in new stack
-- Executing [6001@internal:4] Hangup("PJSIP/zoiper-00000009", "") in new stack
== Spawn extension (internal, 6001, 4) exited non-zero on 'PJSIP/zoiper-00000009'
why does the doorbird not register or create a contact automatically any more. It did that before