<div dir="ltr"><div>Hi</div><div><br></div>According to this:<div><br></div><div><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables">https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables</a><br><br>It is read only.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 January 2015 at 16:22, CDR <span dir="ltr"><<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:large">I checked<br><a href="https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information</a><br><br></div><div class="gmail_default" style="font-size:large">But I cannot find a way to insert CALLERID(ani2), which I can read, but when I try to set it for a new call, I get a runtime error.<br></div><div class="gmail_default" style="font-size:large">This information, known as isup-oli comes embedded in the From header,like this<br><sip:<a href="tel:9087311878" value="+19087311878" target="_blank">9087311878</a>@64.45.157.104:5060;isup-oli=62>;tag=sansay1724414rdb124<br></div><div class="gmail_default" style="font-size:large">and it can be read by using<br></div><div class="gmail_default" style="font-size:large">Set(var=${CALLERID(ani2)}<br></div><div class="gmail_default" style="font-size:large">But how do we add that information to the outbound INVITE?  This is critical in the toll-free industry and call-from-jail industries.<br></div><div class="gmail_default" style="font-size:large">Thanks for your help.<br><br></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre>Ishfaq Malik 
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: <a href="mailto:ish@pack-net.co.uk" target="_blank">ish@pack-net.co.uk</a>
w: <a href="http://www.pack-net.co.uk" target="_blank">http://www.pack-net.co.uk</a>

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street 
Manchester, M1 2JW
COMPANY REG NO. 04920552
</pre></div></div>
</div>