I&#39;ve configured my E1-R2 this way<br><br>exten =&gt; _6.,1,Set(CALLERID(number)=&quot;028987000&quot;)<br>exten =&gt; _6.,n,Dial(${TrunkPLDT}/${EXTEN:1},,tTo)<br>exten =&gt; _6.,n,Hangup<br><div> </div><br><div class="gmail_quote">
On Wed, Jun 3, 2009 at 10:38 PM, Demian Biscocho <span dir="ltr">&lt;<a href="mailto:demian@vnowinc.com">demian@vnowinc.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;">
I&#39;m having some problems assigning an ANI to an E1R2 trunk. <br><br><b>extensions.conf:</b><br><br>exten =&gt; _6.,1,Set(CALLERID(ANI)=&quot;028987000&quot;)<br>exten =&gt; _6.,n,Dial(${TrunkPLDT}/${EXTEN:1},,tTo)<br>
exten =&gt; _6.,n,Hangup<br clear="all">

<br><b>zapata.conf:</b><br><br>[channels]<br>usecallerid=yes<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>


echocancel=yes<br>echocancelwhenbridged=yes<br>callerid=028987000<br><br>;MFCR2 settings<br>signalling=mfcr2<br>mfcr2_variant=ph<br>;mfcr2_variant=itu<br>;mfcr2_advanced_protocol_file=/etc/asterisk/r2proto.conf<br>mfcr2_get_ani_first=no<br>


mfcr2_max_ani=12<br>mfcr2_max_dnis=18<br>mfcr2_category=national_subscriber<br><br>;debugging<br>mfcr2_logdir=span1<br>mfcr2_logging=all<br>mfcr2_call_files=no<br><br>; Span 1 going to PLDT<br>context=inbound<br>callerid=028987000<br>


group=0<br>channel =&gt; 1-15<br>channel =&gt; 17-31<br><br>Whenever I dial out, the ANI being sent is the ANI from the calling extension. Is there a way to mask all outgoing calls with a single ANI just like with a SIP trunk?<br>


<br>-- <br>Regards,<br><br>Demian A. Biscocho<br>CTO<br>vNOW Inc.<br>Unit 420 Suite 4/F Burgundy Empire Tower<br>ADB Avenue Ortigas Center Pasig City 1605<br>Web: <a href="http://www.vnowinc.com" target="_blank">http://www.vnowinc.com</a><br>


PH office: 63 27016872<br><br>Lead Developer<br>VicidialNOW open source project<br><a href="http://www.vicidialnow.org" target="_blank">http://www.vicidialnow.org</a><br><br>Linux User 121825 (<a href="http://counter.li.org" target="_blank">http://counter.li.org</a>)<br>


US mobile: 1 2062036815<br>PH mobile: 63 9172491537<br><br><br>
<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-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br><br clear="all"><br>-- <br>Carlos Andrés Tapasco Viera<br>
OpenGroup<br>Ingeniero Electrónico<br>Area de Telecomunicaciones<br>IP-PBX +57-24862030<br>Mobile 1 +57-3117650143<br>Mobile 2 +57-3012141132<br>Santiago de Cali<br>Valle del Cauca<br>Colombia<br>Sudamérica<br>