Question about defining users

Hi,

I have setup an inbound number with voip.co.uk

I put a register statement in the general section of sip.conf

register => 57XXXX:XXXXXX@registrar.voip.co.uk/57XXXX

Inbound calls where almost working, so I added a context called [default] in extensions.conf

[default]
exten => 57XXXX,1,Answer()
exten => 57XXXX,n,Playback(goodbye)
exten => 57XXXX,n,Hangup()

Now inbound calls were working.

My question is, what is the minimum config I need in sip.conf to have calls coming in on this trunk drop into their own context?

For example

[whatgoeshere]
type=user
context=fromvoipdotcodotuk

what else is not optional?

Thanks,

Sean Browne
Cardiff IT Support Ltd
0800 011 2931
www.cardiffitsupport.com

I have never tried this so I can not give a definite answer but try with all options and remove line by line and see if it still works. In general anything that the general section of sip.conf covers you wont need there (such as dtmf=… etc).