Help me inbound outbound calls asterisk

Hi can someone put me a working configuration for, I need a sip.conf and extension.conf.I connect with xlite to my asterisk and i should compose the9 to make outbound calls.But the problem is i call myself when i make an outbound call lol.And i don t know how to configure to receive inbound calls from outside.Should i dial the official number or the sipid to see if it works.
And sorry i m a big newbee.

Dun really get what u mean.

u want to make outing call from xlite? Such that:

XLITE call to a GSM/PSTN ?

What digium cards are u holding. u need to give more details