Hi all,<br><br>I want to pass the incoming SIP callerid in Dial application:<br><br>Asterisk 1.2.13<br><br>sip.conf:<br><br>register =&gt; user:pass@provider/ext<br><br>extensions.conf:<br><br>exten =&gt; ext,1,Dial(SIP/phone1&amp;SIP/phone2)
<br><br>on phone&#39;s display I see the &#39;ext&#39; number, not the incoming SIP callerid as can be seen on incoming calls when I register the phone directly to provider.<br><br>I tried to add &#39;o&#39; option to Dial but same results.
<br><br>The closest thing (and perhaps not the smartest) I could do:<br><br>exten =&gt; ext,1,Set(CALLERID(name)=${SIPURI})<br>exten =&gt; ext,2,Dial(SIP/phone1&amp;SIP/phone2)<br><br>If that matters, phone1 and phone2 are Grandstream HTs with callerid-capable cordless phones connected to FXS ports.
<br><br>How can I get the calling number (and perhaps a hint to distinguish the SIP account for incoming call) to be displayed on those phones?<br><br>Thank you in advance!<br><br>Best wishes,<br>Cristian<br>