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:
SIP_DOMAIN=my.domain.com
export SIP_DOMAIN
OR to put it into the command as:
serctl alias add 6049094251(a)my.domain.com sip:5002@216.X.XXX.XX
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.
Hope that helps.
N.
On Thu, 27 Oct 2005 17:00:32 -0400, Eric Haskins wrote
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(a)v1010.com