How to setup Chan_Sip

s_pjsip/pjsip_distributor.c:649 log_fareiled_request: Request ‘REGISTER’ from ‘sip:root@192.168.1.2’ failed for ‘192.168.1.10:5060’ (callid: 76f22edfa6c8d491c31909a7c0b639af@192.168.1.10) - Failed to authenticate

There is a wiki page[1] which includes configuring chan_sip. If you are having further problems then you’ll need to be more specific on what you are trying to do, what you have tried, and what has happened.

[1] https://wiki.asterisk.org/wiki/display/AST/Hello+World