I have a vm running with a Realtime setup of Asterisk.
As follows you see my two endpoints are successfully registered:
== Contact moritz/sip:firstname.lastname@example.org:40034;transport=UDP;rinstance=125d0264e5af958f has been deleted == Endpoint moritz is now Unreachable -- Added contact 'sip:email@example.com:40034;transport=UDP;rinstance=125d0264e5af958f' to AOR 'moritz' with expiration of 60 seconds == Endpoint moritz is now Reachable == Contact nobby/sip:firstname.lastname@example.org:56331;ob has been deleted == Endpoint nobby is now Unreachable -- Attempted to remove non-existent contact 'sip:email@example.com:56331;ob' from AOR 'nobby' by request == Endpoint nobby is now Reachable -- Added contact 'sip:firstname.lastname@example.org:56331;ob' to AOR 'nobby' with expiration of 300 seconds
I have added 2 extensions to the mysql extensions table:
1 from-internal 6001 1 Dial PJSIP/nobby 2 from-internal 6002 1 Dial PJSIP/moritz
Now when I try to dial 6001 from my endpoint moritz I get following errors and can not figure out why that happens and why the URI is not valid:
[Oct 21 08:38:45] ERROR: res_pjsip.c:3533 ast_sip_create_dialog_uac: Endpoint 'moritz': Could not create dialog to invalid URI 'moritz'. Is endpoint registered and reachable? [Oct 21 08:38:45] ERROR: chan_pjsip.c:2649 request: Failed to create outgoing session to endpoint 'moritz' [Oct 21 08:38:45] WARNING[C-00000001]: app_dial.c:2578 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) -- Auto fallthrough, channel 'PJSIP/nobby-00000000' status is 'CHANUNAVAIL'
Can you please help?
Thanks in advance