[Freeswitch-users] MANDATORY_IE_MISSING and NORMAL_TEMPORARY_FAILURE using javascript in dialplan.

2009-04-06 Thread mszlazak
On Windows XP/SP3 with FS trunk 12653M I get these errors using javascript in 
my dialplan:
?
[MANDATORY_IE_MISSING] (see pastebin below)

and/or with [CS_EXCHANGE_MEDIA] I get [NORMAL_TEMPORARY_FAILURE]? (not shown 
this time in pastebin)

Here is the test javascript file:

session.answer();
session.setVariable("choice", "demo");

If I remove session.answer() in the above test script then there is no problem 
but that doesn't always work with another scripts.

Here is the related section of the dialplan. You dial into ext.  and the 
problem happens at . The variable "choice" is 
set to "demo" to get here.

? ??? ??? 
? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? ? ??? ??? 
??? 
? ??? ??? ??? 
? ??? ??? 
? ??? 
? ??? 
??? ??? ??? 
??? ??? ??? 
? ??? ??? 
? ??? ??? ??? ??? ??? ??? 
?? ??? ??? ??? 
? ??? ??? 
? ??? 
? ??? 
? ??? ??? 
? ??? ??? 
?? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
?? ??? ??? ??? 
??? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
? ??? ??? 
? ??? 

? ??? 
? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
? ??? ??? ??? 
? ??? ??? 
? ??? 

I enabled SIP/Sofia tracing and "pastebinned" part of the output here:

?http://pastebin.freeswitch.org/8321

Thanks.


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] MANDATORY_IE_MISSING and NORMAL_TEMPORARY_FAILURE using javascript in dialplan.

2009-04-06 Thread mszlazak

I svn'd to today's latest trunk to see if the problem remained. However,
things seemed to have turned worse. The error messages I had before don't
occur but I still can't bridge to my other application with choice=demo.

I tried the application by dialing straight into it with the following dial
plan. This has worked in FS 1.0.1 through 1.0.3 but fails to make any
connection in the current svn trunk.

NOTE ON UNRELATED ERROR: I don't use Lua but there was an error in compiling
LUA on Windows with 2008 Express so I get a error loading mod_lua.dll today.

Simple dialpan that worked before:

 












SIP TRACE:

http://pastebin.freeswitch.org/8336


-- 
View this message in context: 
http://www.nabble.com/MANDATORY_IE_MISSING-and-NORMAL_TEMPORARY_FAILURE-using-javascript-in-dialplan.-tp22912880p22918984.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] MANDATORY_IE_MISSING and NORMAL_TEMPORARY_FAILURE using javascript in dialplan.

2009-04-06 Thread Michael Jerris

On Apr 6, 2009, at 6:42 PM, mszlazak wrote:

>
> NOTE ON UNRELATED ERROR: I don't use Lua but there was an error in  
> compiling
> LUA on Windows with 2008 Express so I get a error loading  
> mod_lua.dll today.

This is fixed in svn a bit earlier today.

Mike


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org