Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] overloaded 'CoreSession_execute'


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
damon at technicate.com
Guest





PostPosted: Mon Oct 20, 2008 4:55 pm    Post subject: [Freeswitch-users] overloaded 'CoreSession_execute' Reply with quote

Hello All,
I created a lua app that "bridges" calls based on numbers entered. The
following was my direction with the code:


digits = session:playAndGetDigits(1, 10, 10, 5000, "#", "dialno.wav",
"ivr-imsorry.wav", "\\d+")
freeswitch.consoleLog("info", "Got dtmf: ".. digits .."\n");
cmd = "sofia/gateway/broadvox/1" .. digits .. "@broadvox";
freeswitch.consoleLog("info", "Command: ".. cmd .."\n");
session.execute("bridge", cmd)

What Im getting is the following:

2008-10-20 21:30:52 [WARNING] switch_core_file.c:111
switch_core_perform_file_open() Sample rate doesn't match
2008-10-20 21:30:52 [NOTICE] switch_resample.c:78
switch_resample_create() Activate Resampler 22050->8000 0.362812
2008-10-20 21:31:04 [INFO] switch_cpp.cpp:1084 console_log() Got dtmf:
6193413506
2008-10-20 21:31:04 [INFO] switch_cpp.cpp:1084 console_log() Command:
sofia/gateway/broadvox/16193413506@broadvox
2008-10-20 21:31:04 [ERR] mod_lua.cpp:177 lua_parse_and_execute() No
matching function for overloaded 'CoreSession_execute'
stack traceback:
[C]: in function 'execute'
/usr/local/freeswitch/scripts/ivr.lua:5: in main chunk
2008-10-20 21:31:04 [NOTICE] switch_core_state_machine.c:160
switch_core_standard_on_execute() Hangup sofia/external/19166018190
[CS_EXECUTE] [NORMAL_CLEARING]
2008-10-20 21:31:04 [NOTICE] switch_core_session.c:833
switch_core_session_thread() Session 97 (sofia/external/19166018190) Ended

Is there an issue with lua bridging to an external number?

Thanks!
Damon




_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services