Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created ?
What is exactly the <uri> format ?
What is the solution for creating alias ?
Thanks in advance,
George
Hello,
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created ?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
Is there a way to add/edit/view aliases from serweb?
Patti
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created ?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
Yes, the tab showing your account information also shows registered aliases.
Below you will find add new contact form which will add a new alias.
Jan.
On 16-05 10:35, Patti McCreary wrote:
Is there a way to add/edit/view aliases from serweb?
Patti
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created ?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
-- Patti McCreary Web/DB Engineer SIPPhone.com patti@sipphone.com 858-587-6700 Ext 291
Gotcha, didn't realize "contact" was an "alias". Noticed that my phone, configured with the username@domainname.com didn't register with my proxy (show as online) until a created an alias. Is this normal, or am I not seeing what I think I'm seeing?
Thanks, Patti
Yes, the tab showing your account information also shows registered aliases.
Below you will find add new contact form which will add a new alias.
Jan.
On 16-05 10:35, Patti McCreary wrote:
Is there a way to add/edit/view aliases from serweb?
Patti
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created ?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
-- Patti McCreary Web/DB Engineer SIPPhone.com patti@sipphone.com 858-587-6700 Ext 291
Sorry, you are right. It adds a contact into the location table and not alias, I was wrong.
Looks like it is not possible to create an alias in serweb, Karel ?
Jan.
On 16-05 11:14, Patti McCreary wrote:
Gotcha, didn't realize "contact" was an "alias". Noticed that my phone, configured with the username@domainname.com didn't register with my proxy (show as online) until a created an alias. Is this normal, or am I not seeing what I think I'm seeing?
Thanks, Patti
Yes, the tab showing your account information also shows registered aliases.
Below you will find add new contact form which will add a new alias.
Jan.
On 16-05 10:35, Patti McCreary wrote:
Is there a way to add/edit/view aliases from serweb?
Patti
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created ?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
-- Patti McCreary Web/DB Engineer SIPPhone.com patti@sipphone.com 858-587-6700 Ext 291
-- Patti McCreary Web/DB Engineer SIPPhone.com patti@sipphone.com 858-587-6700 Ext 291
Hello, when new user confirm registration, new numeric alias is created. There is no another way to add or edit aliases from serweb.
Karel
Jan Janak wrote:
Sorry, you are right. It adds a contact into the location table and not alias, I was wrong.
Looks like it is not possible to create an alias in serweb, Karel ?
Jan.
On 16-05 11:14, Patti McCreary wrote:
Gotcha, didn't realize "contact" was an "alias". Noticed that my phone, configured with the username@domainname.com didn't register with my proxy (show as online) until a created an alias. Is this normal, or am I not seeing what I think I'm seeing?
Thanks, Patti
Yes, the tab showing your account information also shows registered aliases.
Below you will find add new contact form which will add a new alias.
Jan.
On 16-05 10:35, Patti McCreary wrote:
Is there a way to add/edit/view aliases from serweb?
Patti
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been created ?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
-- Patti McCreary Web/DB Engineer SIPPhone.com patti@sipphone.com 858-587-6700 Ext 291
-- Patti McCreary Web/DB Engineer SIPPhone.com patti@sipphone.com 858-587-6700 Ext 291
Jan,
As I 'm not so familiar with all the details, could you please explain me further:
In which script you mean ?
How can I start using that table ? Do I have to configure or create it ?
Where can I find the sc utility ? I 'm running 0.8.10 (install from .tar) and is not found in the /usr/local/sbin/ folder, where the rest ser executables files are.
George
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Friday, 16 May, 2003 19:24 To: George KAPELIOS Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Alias assignment problem
Hello,
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been
created
?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
On 16-05 19:36, George KAPELIOS wrote:
Jan,
As I 'm not so familiar with all the details, could you please explain me further:
In which script you mean ?
The configuration script of the server.
How can I start using that table ? Do I have to configure or create it ?
It is created in the database by default. You just need to put lookup("aliases") command in your script. Otherwise it makes no sense to create the aliases because the wouldn't be used anyway.
Where can I find the sc utility ? I 'm running 0.8.10 (install from .tar) and is not found in the /usr/local/sbin/ folder, where the rest ser executables files are.
Sorry, it is called serctl in the distribution.
Jan.
George
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Friday, 16 May, 2003 19:24 To: George KAPELIOS Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Alias assignment problem
Hello,
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been
created
?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
Jan,
Looking in the Admin's Guide, I found the following script:
Example 5. Configuration of Use of Aliases
if (!uri==myself) { # request not for our domain... route(1); # go somewhere else, where outbound requests are processed break; }; # the request is for our domain -- process registrations first if (method=="REGISTER") { route(3); break; };
# look now, if there is an alias in the "aliases" table; don't care # about return value: whether there is some or not, move ahead then lookup("aliases");
# there may be aliases which translate to other domain and for which # local processing is not appropriate; check again, if after the # alias translation, the request is still for us if (!uri==myself) { route(1); break; };
# continue with processing for our domain... ...
I have attached it (as it is) in the ser.cfg file, but when I'm trying to run the ser I' m getting ERROR: bad config file.
What I' am doing wrong ?
George
-----Original Message----- From: 'Jan Janak' [mailto:jan@iptel.org] Sent: Friday, 16 May, 2003 19:43 To: George KAPELIOS Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Alias assignment problem
On 16-05 19:36, George KAPELIOS wrote:
Jan,
As I 'm not so familiar with all the details, could you please explain me further:
In which script you mean ?
The configuration script of the server.
How can I start using that table ? Do I have to configure or create it
?
It is created in the database by default. You just need to put lookup("aliases") command in your script. Otherwise it makes no sense to create the aliases because the wouldn't be used anyway.
Where can I find the sc utility ? I 'm running 0.8.10 (install from .tar) and is not found in the /usr/local/sbin/ folder, where the rest ser executables files are.
Sorry, it is called serctl in the distribution.
Jan.
George
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Friday, 16 May, 2003 19:24 To: George KAPELIOS Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Alias assignment problem
Hello,
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been
created
?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.
Hello,
did you attach the whole example ? You just need to put lookup("aliases") in the script, not the rest of the example.
Jan.
On 16-05 20:10, George KAPELIOS wrote:
Jan,
Looking in the Admin's Guide, I found the following script:
Example 5. Configuration of Use of Aliases
if (!uri==myself) { # request not for our domain... route(1); # go somewhere else, where outbound requests are processed break; }; # the request is for our domain -- process registrations first if (method=="REGISTER") { route(3); break; };
# look now, if there is an alias in the "aliases" table; don't care # about return value: whether there is some or not, move ahead then lookup("aliases");
# there may be aliases which translate to other domain and for which # local processing is not appropriate; check again, if after the # alias translation, the request is still for us if (!uri==myself) { route(1); break; };
# continue with processing for our domain... ...
I have attached it (as it is) in the ser.cfg file, but when I'm trying to run the ser I' m getting ERROR: bad config file.
What I' am doing wrong ?
George
-----Original Message----- From: 'Jan Janak' [mailto:jan@iptel.org] Sent: Friday, 16 May, 2003 19:43 To: George KAPELIOS Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Alias assignment problem
On 16-05 19:36, George KAPELIOS wrote:
Jan,
As I 'm not so familiar with all the details, could you please explain me further:
In which script you mean ?
The configuration script of the server.
How can I start using that table ? Do I have to configure or create it
?
It is created in the database by default. You just need to put lookup("aliases") command in your script. Otherwise it makes no sense to create the aliases because the wouldn't be used anyway.
Where can I find the sc utility ? I 'm running 0.8.10 (install from .tar) and is not found in the /usr/local/sbin/ folder, where the rest ser executables files are.
Sorry, it is called serctl in the distribution.
Jan.
George
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Friday, 16 May, 2003 19:24 To: George KAPELIOS Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Alias assignment problem
Hello,
you must have lookup("aliases") somewhere in your script.
On 16-05 19:18, George KAPELIOS wrote:
Trying to create alias, I am getting the following message:
"400 Table 'aliases' Not Found"
Could any can help ? Why the above mentioned table has not been
created
?
Probably because you are not using it.
What is exactly the <uri> format ?
sip:username@domain.com
What is the solution for creating alias ?
Use sc utility, i.e. sc alias add my_alias sip:my_username@mydomain.com
Jan.