Browser-Phone icon indicating copy to clipboard operation
Browser-Phone copied to clipboard

No route to destination

Open prathibhacdac opened this issue 2 years ago • 7 comments

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)

prathibhacdac avatar Jan 27 '23 09:01 prathibhacdac

Error occurs in a fresh installation of asterisk-18.9-certified version.

prathibhacdac avatar Jan 27 '23 11:01 prathibhacdac

What does ‘pjsip show endpoints’ show

InnovateAsterisk avatar Jan 27 '23 11:01 InnovateAsterisk

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

prathibhacdac avatar Jan 27 '23 11:01 prathibhacdac

User1 is not registered (has no contact), so your calls cannot be routed to the endpoint

InnovateAsterisk avatar Jan 27 '23 11:01 InnovateAsterisk

User1 is registered. Screenshot (37)

prathibhacdac avatar Jan 27 '23 11:01 prathibhacdac

User2 is also registered. Screenshot (38)

prathibhacdac avatar Jan 27 '23 11:01 prathibhacdac

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.

InnovateAsterisk avatar Jan 27 '23 12:01 InnovateAsterisk