<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="Open WebMail 2.20 20031014" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<font size="2"><b>The sip:5002@216.X.XXX.XX is right. What it's asking for is for you to either set the SIP_DOMAIN variable to your domain: 
<br />
<br /></b>SIP_DOMAIN=my.domain.com
<br />export SIP_DOMAIN<b>
<br />
<br />OR to put it into the command as:
<br />
<br /></b>serctl alias add 6049094251@my.domain.com sip:5002@216.X.XXX.XX<b>
<br />
<br />
<br />It's odd, but either way I do it, it doesn't actually PUT my domain name into the database (leaves that field blank), but the serctl command asks for it anyway. I haven't gone back to check the shellscript in the code to find out why it doesn't put the domain in there, as I use my own set of commands for user management anyway, so it's never been an issue. 
<br />
<br />Hope that helps. 
<br />
<br />N.
<br />
<br />On Thu, 27 Oct 2005 17:00:32 -0400, Eric Haskins wrote</b>
<br />&gt; <font size="2" face="Arial">We are trying to get inbound DID's working on our 
SER box.  Outbound is working perfectly as we are doing pre-paid.  
</font>

<br />&gt;  

<br />&gt; <font size="2" face="Arial">I ran this command </font>

<br />&gt; <font size="2" face="Arial">[root@voip1 ~]# serctl alias add 6049094251 
sip:5002@216.x.xxx.xx
<br />&gt; domain unknown: use usernames with domain or set 
default domain in SIP_DOMAIN
<br />&gt; [root@voip1 ~]#</font>

<br />&gt;  

<br />&gt; <font size="2" face="Arial">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.  </font>

<br />&gt;  

<br />&gt; <font size="2" face="Arial">5002 is is the username of my test ATA logged into 
the system I can make outgoing calls to the PSTN</font>

<br />&gt;  

<br />&gt; <font size="2" face="Arial">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</font>

<br />&gt;  

<br />&gt; <font size="2" face="Arial">Eric Haskins
<br />&gt; Lead Software Developer
<br />&gt; <a href="">eric@v1010.com</a></font>

<br />
<br />
<br />
</font>
</BODY>
</HTML>