<div>Hello </div><div><br></div><div>I put calls in my java script (mod_java)</div><div><br></div><div>Script doing this:</div><div>1) It parks first call (legA) and store it uuid (execute("park")</div><div>2) When second call (legB) arrived it intercept first call with previously saved uuid (execute("intercept")</div>
<div><br></div><div><div><div>My dialplan is</div></div><div><br></div><div><extension name="test"></div><div> <condition field="destination_number" expression="^000111$"></div>
<div> <action application="answer"/></div><div> <action application="sleep" data="500"/></div><div> <action application="java" data="DTMFTest"/></div>
<div> <action application="log" data="INFO AFTER JAVA!!! channel=${channel_name}"/></div><div> <action application="playback" data="conference/conf-goodbye.wav"/></div>
<div> </condition></div><div></extension></div><div><br></div><div>Firs thing is : when legA hangups then legB listen "goodbye" so extension continues execution. When legB hangups legA listen nothing and session just breaks.</div>
<div>Where the mistake is ?</div><div><br></div><div>The global question is how to process DTMF codes during the bridged session (DTMF hook in script is not working)?</div></div><div>And how to then break this bridge and re-use this sessions with another arrived calls?</div>
<div><br></div>