Hi,<br><br>I&#39;ve configured a new Asterisk 1.6.1 box to replace an old Bristuffed 1.2 Asterisk.<br>Since then, it happens that forwarded calls are not presented the way they used to be.<br><br>It seems that now, some endpoints are displaying the original caller id (that&#39;s what I&#39;m trying to achive), while some are displaying the redirecting number :<br>
so if A calls B, B forwards to C<br>depending on where C is located, C will either display that the call is coming from A or from B.<br>(in this case, A, B and C are phones, each connected to a different PBX)<br><br>So I dived into <a href="http://voip-info.org">voip-info.org</a> and reached the following conclusion :<br>
If everything is correctly configured, the last PBX (the one to which phone C is connected) should receive an incoming call with the following properties set to<br>CALLERID(num) set to A&#39;s number<br>CALLERID(ANI) set to B&#39;s number<br>
CALLERID(RDNIS) not set<br><br>An acceptable alternative would be:<br>CALLERID(num) set to B&#39;s number<br>
CALLERID(ANI) set to B&#39;s number<br>
CALLERID(RDNIS) set to A&#39;s number<br><br><br>I&#39;ve got a lot of questions.<br><br>0. Is my understanding (see above) correct ?<br><br>1. In general, is the ability to send and receive RDNIS a feature telcos bundle with BRI access or is this feature an option or dedicated to PRI ?<br>
<br>2. Is the setting of RDNIS a task for Dial application or this configurable from within the dialplan ?<br>This comes from this extract from <a href="http://www.voip-info.org/wiki/view/RDNIS">http://www.voip-info.org/wiki/view/RDNIS</a> :<br>
&quot;Asterisk only supports RGN, and at that, it&#39;s wrongly placed in the
channel&#39;s Caller*ID information. The RGN can be set or retrieved using
the <a title="Asterisk func callerid" href="http://www.voip-info.org/wiki/view/Asterisk+func+callerid">CALLERID</a>(rdnis)
function, such as Set(CALLERID(rdnis)=5551212). The Dial application
also sets the RGN to the current extension, unless called within a
macro, in which case the contents of ${MACRO_EXTEN} are used instead.
This overwrites anything else set within the dialplan, which may not be
what a dialplan author would expect. Although <a title="IAX2" href="http://www.voip-info.org/wiki/view/IAX2">IAX2</a>
supports RGN in IE 27 (actually misnamed RDNIS), it does not appear to
be properly passed to a peer when placing outgoing calls.
&quot;<br><br>3. Is there options in chan_dahdi.conf (or elsewhere) that trigger on or off this RDNIS capability ?<br><br>Cheers<br>