[Voiceglue] Catching disconnects

Doug Campbell voiceglue at campbellcastle.com
Mon Apr 12 19:07:10 UTC 2010


> I'm wondering if during my call I'm in one context, then in the catch 
> condition the engine discards that context and somehow brings forward a 
> representation of the javascript environment as if the call has only 
> just begun? I am at a loss to explain this otherwise.

Apologies if you've already thought of this, but are you being
careful about the scope in which your javascript objects are
being defined?  Section 5.1.2 in the VXML reference describes
them fairly clearly.

As I read the code, there is only a single javascript context
that gets created for the entire call, so I don't think that
voiceglue/openvxi are doing anything strange behind your back.

Of course, I've been wrong before.  :-)

Doug Campbell


More information about the Voiceglue mailing list