Hi,<br><br>I think this have been talked over several times but I couldn'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'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 "you successfully sent a fax" and outgoing channel to get fax content) :<br>
<br>context mylocal {<br> _2X. => {<br> NoOp(Calling ${EXTEN:1} from ${CALLERID(num)} using ${CHANNEL});<br> NoOp(Peer is ${BRIDGEPEER});<br> Dial(Local/${EXTEN:1},,U(connect2fax,${EXTEN},${UNIQUEID},${BRIDGEPEER}));<br>
Hangup();<br> };<br>};<br><br><br>Any idea ?<br><br>Cheers<br>