<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Forte;
        panose-1:3 6 9 2 4 5 2 7 2 3;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1078283859;
        mso-list-template-ids:1563069060;}
@list l0:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1471678503;
        mso-list-template-ids:-898348942;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'>Hi, <o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><br>
We are a telcom company in Noida developing CTI applications.<br>
We are using Asterisk-1.4.and have configured manager.conf file and connection
with the AMI is successfull using username and password. We want to monitor/fetch
SIP packets from TCP port. Please let us know how to take SIP data from tcp
port. <br>
<br>
Our scenario: <br>
<br>
We are developing CTI applications where we need SIP data from PBX such as
SourceIP,Username,Destination IP,TAG,VIA,Contact,CALL-ID,C-Sequence etc for
each of the SIP packets such as REGISTER,BYE,INVITE,ACK,SUBSCRIBE,NOTIFY etc. <br>
<br>
e.g Wrieshark displays SIP packets for activities going on SIP port in the
below mentioned format: <br>
<br>
</span><span style='font-size:12.0pt;font-family:"Courier New"'>&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;o&nbsp;SIP&nbsp;Packet&nbsp;as&nbsp;displayed&nbsp;on&nbsp;wireshark*******************&nbsp;
</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
<br>
<br>
SIP/2.0 200 OK <br>
Via: SIP/2.0/UDP 192.168.3.35:5060;branch=z9hG4bK10e203f8;rport=5060 <br>
Contact: &lt;sip:1000000@192.168.3.15:45118&gt; <br>
To: &lt;sip:1000@192.168.3.15:45118&gt;;tag=1f0f342c <br>
From: &quot;Unknown&quot;&lt;sip:Unknown@192.168.3.35&gt;;tag=as4a585648 <br>
Call-ID: 38670a55c46d1235YzY2YWQxZTM0ODk4NTRhZDI5MjY3YjMyYjE4OTlhZjc. <br>
CSeq: 102 NOTIFY <br>
User-Agent: X-Lite release 1003l stamp 30942 <br>
Content-Length: 0 <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
After receiving these SIP Packets from Asterisk,we can parse that data
according to our requirements. <br>
Is there any text/data file or database where asterisk stores all the
information in above format? <br>
If we need to fetch this data at realtime from the port than how can we do
that?<span style='color:#1F497D'><o:p></o:p></span></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<br>
<span style='color:#1F497D'>For this we are trying Kamailio as Asterisk
frontend.Plz tell us about the installation process and how to make kamailio as
asterisk&#8217;s fromtend<o:p></o:p></span></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
Request for an early reply!!! <br>
Regards</span><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-family:Forte;color:#548DD4'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:Forte;color:#548DD4'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:Forte;color:#548DD4'>Vibhor Singhal<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:Forte;color:#548DD4'>Software
Engineer<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:Forte;color:#548DD4'>Mob :
+919891380819<o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:Forte;
color:#548DD4'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:Forte;
color:#548DD4'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal align=center style='text-align:center'><b><span
style='font-size:12.0pt;font-family:Forte'>&quot;</span></b><b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span><span
style='color:black'>If you fail to plan,you plan to fail</span></b><b><span
style='font-size:12.0pt;font-family:"Arial","sans-serif"'>&quot;<o:p></o:p></span></b></p>

<p class=MsoNormal align=center style='text-align:center'><b><span
style='font-size:14.0pt;font-family:Forte;color:black'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal align=center style='text-align:center'><b><span
style='font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#CC0000'>Coral
Telecom Limited</span></b><span style='font-size:8.0pt;color:black'>&nbsp;</span><span
style='font-size:8.0pt;font-family:"Tahoma","sans-serif";color:black'>E2,
Sector 63, Noida -&nbsp;201301, UP,&nbsp;India. F: +91-120-4035888&nbsp; E: <a
href="mailto:corporate@coraltele.com" title="mailto:corporate@coraltele.com">corporate@coraltele.com
<span style='text-decoration:none'><br>
</span></a><a href="http://www.coraltele.com/index.asp"
title="http://www.coraltele.com/index.asp">www.coraltele.com</a></span><span
style='font-size:8.0pt'><o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>