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 => user:pass@provider/ext<br><br>extensions.conf:<br><br>exten => ext,1,Dial(SIP/phone1&SIP/phone2)
<br><br>on phone's display I see the 'ext' 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 'o' option to Dial but same results.
<br><br>The closest thing (and perhaps not the smartest) I could do:<br><br>exten => ext,1,Set(CALLERID(name)=${SIPURI})<br>exten => ext,2,Dial(SIP/phone1&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>