<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello there!<br>
<br>
First of all, I would like to apologize if I'm making some question
that was already been answered on some place else.<br>
On such a case, can you please direct me to a good source of
information ?<br>
<br>
We intend to start using Asterisk on our backend and we will certainly
need to make some implementation in order to integrate it with our
legacy backend servers.<br>
The first and main issue we will face is to intercept call setup
(mostly for SIP calls, but for incoming/outgoing calls from PSTN too),
so we can accept the call considering autentication/autorization rules,
facilities availability, and other limitations.<br>
<br>
The better option is to customize Asterisk without change it's internal
code, creating a module or using another interface or API.<br>
Is that possible ?<br>
<br>
Which is the better choice when talking about call setup interception ?<br>
For example: 1- We will need to request autentication and validate it
on our legacy backend, so we need to intercept SIP/REGISTER; 2- On the
same way, any outgoing INVITE will need to be handled in order to
validate if the user have autorization to call another internal number,
or enough credit to establish outgoing calls.<br>
<br>
Can you guys, please, give me a lead on that ?<br>
<br>
Thanks and best regards,<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Language" content="pt-br">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; ">
<title>TQI - Technology and Quality on Information</title>
<table style="border-width: 0pt; border-collapse: collapse;"
 id="AutoNumber1" border="1" bordercolor="#111111" cellpadding="0"
 cellspacing="0" height="151" width="46%">
  <tbody>
    <tr>
      <td style="border-style: none; border-width: medium;" height="17"
 width="96%"> <sub><u>At.,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; </u></sub></td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="32"
 width="16%"> <img src="cid:part1.06030608.02010504@tqi.com.br"
 border="0" height="23" width="150">&nbsp; </td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="12"
 width="100%"><b><font face="Verdana" size="1">Technology and Quality
on Information</font></b></td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="13"
 width="100%"><font face="Verdana" size="1">Mauro S&eacute;rgio Ferreira Brasil</font></td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="14"
 width="100%"> <font face="Verdana" size="1">Coordenador de Projetos e
Analista de Sistemas</font></td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="14"
 width="100%"><font color="#0000ff" face="Wingdings" size="2">+</font><font
 face="Courier New" size="2"> </font> <font style="font-size: 9pt;"
 face="Courier New"> <a href="mailto:@tqi.com.br">mauro.brasil@tqi.com.br</a></font></td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="14"
 width="100%"><font color="#0000ff" face="Wingdings" size="2">:</font><font
 face="Courier New" size="2"> </font>
      <font style="font-size: 9pt;" face="Courier New"> <a
 href="http://www.tqi.com.br">www.tqi.com.br</a></font></td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="14"
 width="100%"><font color="#0000ff"><font face="Wingdings" size="2">(</font><font
 face="Courier New" size="2"> + 55 </font>
      <font style="font-size: 9pt;" face="Courier New">(34)3291-1700</font></font></td>
    </tr>
    <tr>
      <td style="border-style: none; border-width: medium;" height="14"
 width="100%"><font color="#0000ff"><font face="Wingdings" size="2">(</font><font
 face="Courier New" size="2"> + 55 </font>
      <font style="font-size: 9pt;" face="Courier New">(34)9971-2572</font></font></td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>