Hello
So, in my system everthing IS working fine.
My question is rather how to avoid Error and Warning messages when dialing an unreachable extension. Unreachable because it is unplugged, asleep or turned off (e.g. soft clients).
Now of course asterisk has all the right to throw errors and warnings, my question is can I avoid this?
For example:
in extensions.conf
exten => 200,1,NoOp(call to Joe)
same => n,Dial(PJSIP/joe1 & PJSIP/joe4)
same => n,Hangup
when dialing 200, and logged in (asterisk -rvvvv), one gets
ERROR: chan_pjsip.c: request: Failed to create outgoing session to endpoint ‘joe4’
WARNING: app_dial.c: dial_exec_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
ERROR: res_pjsip.c: ast_sip_create_dialog_uac: Endpoint ‘joe4’: Could not create dialog to invalid URI ‘buddyboy’. Is endpoint registered and reachable?
I guess, is there a better way to only call endpoint IF it is reachable?
Or, should i just not worry about it?