<DIV >
<DIV>Hi gyus,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I configure my openser to restrict the number of register with the same user using the function [max_contacts], and functioned perfectly.</DIV>
<DIV>&nbsp;</DIV>
<DIV># Allow no more than 1 contacts per AOR<BR>modparam("registrar", "max_contacts", 1)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Whenever that a user tries to register using the user that already register, the system return the following message: "Registration error:503 - Service Unavailable"</DIV>
<DIV>&nbsp;</DIV>
<DIV>I need to customize the message informing the user the reason of error, something as "user already registered" (softphone).</DIV>
<DIV>I effected some tests, but I did not have success. Something as:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if( t_check_status("503"))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply("503","User already registered!!!");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any sugestion ?</DIV>
<DIV>Regards</DIV></DIV>