<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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 name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {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;}
-->
</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 bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Is there more than one display IE in the original ISDN setup
message coming from the Telco?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Oscar
Patricio<br>
<b>Sent:</b> Thursday, July 26, 2007 5:01 AM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] Display IE<o:p></o:p></span></p>

</div>

</div>

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

<p class=MsoNormal>Hi!<br>
<br>
Thank you all for the info!<br>
<br>
But I think I haven't explained my scenario well enough. <br>
<br>
I am not relaying the calls to SIP.<br>
<br>
What happens is the following (the scenario is: a call started from an ISDN E1
PBX, through the asterisk, to the PSTN, and was answered by the remote party):<br>
<br>
1. A CONNECT comes from the PSTN containing a Display IE (which has info sent
by the telco that is used for billing purposes by the PBX) into span 1 of the
asterisk. (The telco is emulating an old billing procedure based on an impulse
count. This was commonly used in analog lines.)<br>
<br>
2. The asterisk relays the call to span 2 (which is connected to the PBX).<br>
<br>
3. The CONNECT that is sent from span 2 to the PBX does not have the Display
IE. The asterisk strips this IE from the CONNECT message.<br>
<br>
<br>
This is my problem. Is there a way that i can force the asterisk not to strip
the Display IE?<br>
<br>
Thanks and best regards to all,<br>
<br>
Óscar Patrício<br>
<br>
<br>
Anthony Francis wrote: <o:p></o:p></p>

<pre>Damon Estep wrote:<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Try putting a 1 second wait as step 1 in the dialplan, the SIP invite is probably being send before the display IE arrives. The display IE is used for CNAM delivery, and should not exceed 15 characters.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>It is very common to put a message in the display IE that indicates that the CNAM info will be sent in a subsequent Facility IE, and for that you must wait 1 second.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>If the ISDN setup actually contains information in the display IE, and that is not being captured as the CNAM (callerid(name)) you might need to capture he ISDN messaging to debug it, the telco can usually provide such a trace.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I would bet that the display IE contains a information following message, and what you really want is in the facility IE that follows. Very common, as is the Wait(1) workaround.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>-----Original Message-----<o:p></o:p></pre><pre>From: <a
href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [<a
href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Oscar Patricio<o:p></o:p></pre><pre>Sent: Wednesday, July 25, 2007 6:55 AM<o:p></o:p></pre><pre>To: <a
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><o:p></o:p></pre><pre>Subject: [asterisk-users] Display IE<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Hi!<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I have an Asterisk Box that has 2 E1 connections: one to the PSTN and<o:p></o:p></pre><pre>one to a PBX. It is acting as a telephony gateway. I have a problem: the<o:p></o:p></pre><pre>PSTN sends information in the Display IE (in setup, information ,<o:p></o:p></pre><pre>etc.messages) that the PBX needs por internal processing.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>The asterisk does not relay the ISDN frames coming from the PSTN. It<o:p></o:p></pre><pre>regenerates them, and when it does, it ommits the Display IE.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Is there a way that i can force the asterisk, not to ignore this IE in<o:p></o:p></pre><pre>the ISDN messages?<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>If anyone can shed some light on this issue, i would be very grateful.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Thanks in advance,<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Best regards,<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Óscar Patrício<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>--Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com">http://www.api-digital.com</a>--<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>asterisk-users mailing list<o:p></o:p></pre><pre>To UNSUBSCRIBE or update options visit:<o:p></o:p></pre><pre>   <a
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>--Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com">http://www.api-digital.com</a>--<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>asterisk-users mailing list<o:p></o:p></pre><pre>To UNSUBSCRIBE or update options visit:<o:p></o:p></pre><pre>   <a
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></pre><pre>  <o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>Or trace it yourself with:<o:p></o:p></pre><pre>pri intense debug span 1<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Make sure you change the 1 to whatever span these calls are coming across.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Anthony<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>--Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com">http://www.api-digital.com</a>--<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>asterisk-users mailing list<o:p></o:p></pre><pre>To UNSUBSCRIBE or update options visit:<o:p></o:p></pre><pre>   <a
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></pre><pre>  <o:p></o:p></pre>

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

</div>

</body>

</html>