Hi,<br><br>I think this have been talked over several times but I couldn&#39;t find any answer.<br>Sorry for asking.<br><br>I want from dialplan, to transfer a callee to a context-extension-priority that would play a given fax file to callee (callee is supposed to be a fax number).<br>
<br>I can get caller&#39;s channel id (with built-in CHANNEL variable).<br>I found BRIDGEPEER but its value remains unset (see bellow) even inside connect2fax routine (in which I would like to re-direct both channels : incoming channel to let caller hear &quot;you successfully sent a fax&quot; and outgoing channel to get fax content) :<br>
<br>context mylocal {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _2X. =&gt; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NoOp(Calling ${EXTEN:1} from ${CALLERID(num)} using ${CHANNEL});<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NoOp(Peer is ${BRIDGEPEER});<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dial(Local/${EXTEN:1},,U(connect2fax,${EXTEN},${UNIQUEID},${BRIDGEPEER}));<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hangup();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>};<br><br><br>Any idea ?<br><br>Cheers<br>