<div dir="ltr">Hi Michael,<div><br><div>thanks for the response. I have tried this using javascript, but the digits are not collected.</div><div><br></div><div>A quick example is I sit in a loop until the mod presses the relevant key, on the keypress I clone the session of the user who is to enter the digits and have that execute an extension.</div><div><br></div><div>while (callConnected == true)</div><div>{</div><div> if(getDigits == true)</div><div> {</div><div><div> //set back to false to prevent this code block from being hit on the next loop</div><div> getDigits = false;</div></div><div> var _session = new session(uuid);<br></div><div> _session.execute("execute_extension", "collectdigits XML Testfeatures");<br></div><div> }<br></div><div>}</div><div><br></div><div><div><extension name="collectdigits "></div><div> <condition field="destination_number" expression="^collectdigits $"></div><div> <action application="flush_dtmf"/><br></div><div> <action application="play_and_get_digits" data="3 3 2 5000 # $${sound_prefix}/reception/EnterDigits.mp3 $${sound_prefix}//${audiobase}tryagain.mp3 myDigits" /></div><div> </condition><br></div><div> </extension></div></div><div><br></div><div><br></div><div>If I set the bind_digit_action to the session that will enter the digits, it works fine but the issue is I would like the other member of the conference to instigate the request for digits</div><div><br></div><div>_session.execute("bind_digit_action", "card_digits,6,exec:execute_extension,collectdigits XML Testfeatures,self,self");<br></div><div><br></div><div><br></div><div>thanks</div><div>Matt</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 February 2016 at 15:35, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">maybe if you entered a lua script and did those more advanced actions it could be done<div class="HOEnZb"><div class="h5"><span></span><br><br>On Monday, February 15, 2016, Matt Broad <<a href="mailto:matt@supportedbusiness.com" target="_blank">matt@supportedbusiness.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>is it possible to bind a digit action and set the target as another member of a conference?</div><div><br></div><div>I would like to be able to press a digit and have another member execute an extension where they enter some digits before returning back to the conference.</div><div><br></div><div>thanks</div><div>Matt</div></div>
</blockquote>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>