Browser-Phone
Browser-Phone copied to clipboard
No route to destination
ERROR[283986]: res_pjsip.c:849 ast_sip_create_dialog_uac: Endpoint 'User1': Could not create dialog to invalid URI 'User1'. Is endpoint registered and reachable? [2023-01-27 14:44:25] ERROR[283986]: chan_pjsip.c:2657 request: Failed to create outgoing session to endpoint 'User1' [2023-01-27 14:44:25] WARNING[284307][C-00000014]: app_dial.c:2600 dial_exec_full: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination) No devices or endpoints to dial (technology/resource)
Error occurs in a fresh installation of asterisk-18.9-certified version.
What does ‘pjsip show endpoints’ show
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
Endpoint: User1/100 Not in use 0 of 1 InAuth: User1/User1 Aor: User1 1 Transport: wss_transport wss 0 0 0.0.0.0:5060
Endpoint: User2/200 Unavailable 0 of 1 InAuth: User2/User2 Aor: User2 1 Transport: wss_transport wss 0 0 0.0.0.0:5060
Endpoint: User3/300 Unavailable 0 of 1 InAuth: User3/User3 Aor: User3 1
Objects found: 3
User1 is not registered (has no contact), so your calls cannot be routed to the endpoint
User1 is registered.
User2 is also registered.
This may be what the font end says, but it’s not what asterisk thinks. The endpoint is only “reachable” is there is a contact. You don’t have any contact information for these endpoints. Check the way you have made the endpoints again.
Have another look at the cli, to check for errors. I would also consider qualifying the endpoint, so that it sends regular options messages.