[Freeswitch-users] How to get DISA working ?

henkoegema pabx_freeswitch at telenet.be
Thu Oct 16 09:59:00 EDT 2008


I'm trying to get DISA working.
I've done this:

<exten name="2222">
      <condition field="destination_number" expression="^2222$">
      <action application="javascript"
data="/usr/local/freeswitch/conf/disa/disa.js"/>
    </extension>      
      

The file disa.js is here:  http://wiki.freeswitch.org/wiki/Examples_disa.js

calling 2222  gives me busy tone:

freeswitch at ubuntu> 2008-10-16 15:54:29 [NOTICE] switch_channel.c:553
switch_channel_set_name() New Channel sofia/internal/2000 at 192.168.2.11
[f3d6e460-9b89-11dd-910f-55dc10d13151]
2008-10-16 15:54:29 [INFO] mod_dialplan_xml.c:232 dialplan_hunt() Processing
2000->2222 in context default
2008-10-16 15:54:29 [NOTICE] switch_ivr.c:1116 switch_ivr_session_transfer()
Transfer sofia/internal/2000 at 192.168.2.11 to enum[2222 at default]
2008-10-16 15:54:31 [INFO] switch_core_state_machine.c:114
switch_core_standard_on_routing() No Route, Aborting
2008-10-16 15:54:31 [NOTICE] switch_core_state_machine.c:115
switch_core_standard_on_routing() Hangup sofia/internal/2000 at 192.168.2.11
[CS_ROUTING] [NO_ROUTE_DESTINATION]
2008-10-16 15:54:31 [NOTICE] switch_core_session.c:833
switch_core_session_thread() Session 12 (sofia/internal/2000 at 192.168.2.11)
Ended
2008-10-16 15:54:31 [NOTICE] switch_core_session.c:835
switch_core_session_thread() Close Channel sofia/internal/2000 at 192.168.2.11
[CS_HANGUP]



And API call gives:

freeswitch at ubuntu> jsrun /usr/local/freeswitch/conf/disa/disa.js
2008-10-16 15:56:42 [ERR] disa.js:27 mod_spidermonkey()  TypeError:
session.ready is not a function
API CALL [jsrun(/usr/local/freeswitch/conf/disa/disa.js)] output:
OK


I'm I doing something wrong ?

Henk
-- 
View this message in context: http://www.nabble.com/How-to-get-DISA-working---tp20014227p20014227.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.




More information about the Freeswitch-users mailing list