Hello!<div><br></div><div>Some day, I'll probably laugh at asking this question, but today I can't figure it out.</div><div><br></div><div>I've written a Lua script that listens for a call, then dials a phone number to a second person. It plays a message, then prompts the second person to hit pound to connect. If the second person hits pound, then it bridges the two calls together.</div>
<div><br></div><div>All that works great, but I can't figure out how to get the session for the second person to wait until that person answers.</div><div><br></div><div>I'm using FreeSWITCH 1.0.4, and although there is a <i>getState</i> function documented in the wiki, it doesn't seem to exist for me.</div>
<div><br></div><div>Any help would be appreciated!</div><div><br></div><div><br></div><div>Mike van Lammeren</div><div><br></div>