<div dir="ltr">In dialplan, how can I access the channel variables of an outbound call leg?<div><br></div><div>e.g. </div><div><br></div><div><div> <extension name="Local_Extension"></div><div> <condition field="destination_number" expression="^(10[0-9][0-9])$"> </div><div> <action application="set" data="hangup_after_bridge=true"/> </div><div> <action application="set" data="continue_on_fail=false"/></div><div> <action application="log" data="INFO: read_codec=${read_codec}"/> </div><div> <action application="bridge" data="user/$1@${domain}"/> </div><div> </condition> </div><div> </extension> </div><div><br></div><div><br></div><div>In the example above, read_codec of call leg A will be logged</div><div>Now I want to print the read_codec/write_codec of outbound call leg in this dialplan. How can I achieve it?</div><div><br></div><div><br></div>-- <br><div class="gmail_signature">regards,<br>akhil</div>
</div></div>