Thanks to all, I&#39;ll try it!<br><br><br><div class="gmail_quote">On Thu, Feb 26, 2009 at 12:25 PM, Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">











<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Based on this page - <a href="http://blog.herbertm.ca/2007/09/03/extracting-dids-from-the-sip-header" target="_blank">http://blog.herbertm.ca/2007/09/03/extracting-dids-from-the-sip-header</a></span></font></p>


<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">You could put this in your dialplan </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<pre><code><font size="2" face="Courier New"><span style="font-size: 10pt;">[ext-did-custom]</span></font></code></pre><pre><code><font size="2" face="Courier New"><span style="font-size: 10pt;">exten =&gt; s,1,Set(ASSERT=&quot;${SIP_HEADER(Call-ID)}&quot;)</span></font></code></pre>


<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">exten =&gt; s,2,AGI(xxx.pl,${ASSERT})</span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">

<hr size="2" width="100%" align="center">

</span></font></div>

<p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>equis software<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, February 26, 2009
7:37 AM<br>
<b><span style="font-weight: bold;">To:</span></b> Asterisk
 Users Mailing List - Non-Commercial Discussion<br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] Getting
SIP field P-Asserted-Identity from EAGI</span></font></p>

</div><div><div></div><div class="Wj3C7c">

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hi, using EAGI variables like </span></font></p>

<pre><font size="2" face="Courier New"><span style="font-size: 10pt;">agi_request<br>
agi_channel<br>
agi_language<br>
agi_type<br>
agi_uniqueid<br>
agi_callerid<br>
agi_dnid<br>
agi_rdnis<br>
agi_context<br>
agi_extension<br>
agi_priority<br>
agi_enhanced<br>
agi_accountcode<br>
<br>
</span></font></pre>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">  I get a lot of data about a call, but I need to obtain
P-Asserted-Identity value from a SIP call. Are tehe any eagi variable to get
that? Or have you any solution??<br>
<br>
<br>
Thanks!!!</span></font></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>