<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<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:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</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=ES-CO link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi everyoneIi’ve been looking
everywhere and I couldnīt find an answer.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Here is my problem:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Im using asterisk 1.6.1 in a Centos 4.2 box.
Im connected via SIP to a telco platform (Nokia Siemens Networks). I don’t
need to register to this platforms because my box is inside telco’s
datacenter.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I can call any numer with no problem but it
seems that asterisk is sending some extra information and its causing some
problems with the caller id.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>My platform send this sip message:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>INVITE sip:9912XXXXXXXXXX@XXX.XXX.XXX.XXX;user=phone
SIP/2.0<o:p></o:p></span></p>
<p class=MsoNormal>Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK7894e04e;rport<o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Max-Forwards: 70<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>From: "YYYYYY" <sip:YYYYY@XXX.XXX.XXX.XXX>;tag=as7b9b00dd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>To: <sip:9912 XXXXXXXXXX @XX.XX.XX.XX;user=phone><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Contact: <sip:anonymous@XXX.XXX.XXX.XXX><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Call-ID: 167ef6a71419b9722dba6f045fcbfc0e@XXX.XXX.XXX.XXX<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>CSeq: 102 INVITE<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>User-Agent: Asterisk<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Date: Wed, 13 May 2009 20:40:05 GMT<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Supported: replaces, timer<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Content-Type: application/sdp<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Content-Length: 246<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>v=0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>o=root 1355483439 1355483439 IN IP4 XXX.XXX.XXX.XXX<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>s=Asterisk PBX 1.6.1.0-rc3<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>c=IN IP4 XXX.XXX.XXX.XXX<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>t=0 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>m=audio 13152 RTP/AVP 18 101<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a=rtpmap:18 G729/8000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a=rtpmap:101 telephone-event/8000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a=fmtp:101 0-16<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a=ptime:20<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>a=sendrecv<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The important thing is this line:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>From: "YYYYYY" <sip:YYYYY@XXX.XXX.XXX.XXX>;tag=as7b9b00dd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>And they need this:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>From: <sip:YYYYY@XXX.XXX.XXX.XXX>;tag=as7b9b00dd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I’ve looked every possibility in
sip.conf, extensions.conf to remove the caller id but asterisk keeps sending
things like<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>From: “unknown” <sip:YYYYY@XXX.XXX.XXX.XXX>;tag=as7b9b00dd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>From: “””” <sip:YYYYY@XXX.XXX.XXX.XXX>;tag=as7b9b00dd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>From: “asterisk” <sip:YYYYY@XXX.XXX.XXX.XXX>;tag=as7b9b00dd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I think I can solve this in the chan_sip.c
but I don’t know exactly where<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>If you need more information I can provide.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thanks.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Saludos,</span><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Diego
Reinoso B.</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
Teamsourcing de Colombia Cia. Ltda.<br>
Tel. +57 1 6233185<br>
Cel. +57 3164739458</span><span style='font-size:10.0pt;font-family:"Century Gothic","sans-serif"'><br>
</span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a
href="mailto:diego.reinoso@teamsourcing.com.ec"
title="blocked::mailto:rgarciap@comcel.com.co"><span lang=ES-CO
style='color:blue'>diego.reinoso@teamsourcing.com.ec</span></a></span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>