We are trying to get inbound DID's working on our SER box.  Outbound is working perfectly as we are doing pre-paid. 
 
I ran this command
[root@voip1 ~]# serctl alias add 6049094251 sip:5002@216.x.xxx.xx
domain unknown: use usernames with domain or set default domain in SIP_DOMAIN
[root@voip1 ~]#
 
I get the same result if I put our domain in place of the IP address. We had someone else set this box up for us and I am having problems reaching them. 
 
5002 is is the username of my test ATA logged into the system I can make outgoing calls to the PSTN
 
What am I doing wrong?? I have been reading Archives allday trying to grasp this. The DID provider is directing that DID at the IP of this SER box
 
Eric Haskins
Lead Software Developer
eric@v1010.com