- 27 3月, 2007 3 次提交
-
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4775 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4774 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
The most important thing to check is you now must create a new session with a blank constructor: s = new Session(); then call s.originate() with all the former args that were documented to be for the constructor this will will return true or false to indicate if the call worked. See below this sample code demonstrates all of the changes: //////////////////////////////////////////////////////////////////////////////// function on_hangup(hup_session) { console_log("debug", "HANGUP!!!! name: " + hup_session.name + " cause: " + hup_session.cause + "\n"); //exit here would end the script so you could cleanup and just be done //exit(); } //set the on_hangup function to be called when this session is hungup session.setHangupHook(on_hangup); //allocate a new b_session var b_session = new Session(); //make a call with b_session. If this fails, all we will be able to access is the b_session.cause attr if (b_session.originate(session, "sofia/mydomain.com/888@conference.freeswitch.org")) { //Inform the scripting engine to automaticly hang this session up when the script ends b_session.setAutoHangup(true); //set the on_hangup function to be called when this session is hungup b_session.setHangupHook(on_hangup); //bridge session with b_session bridge(session, b_session); } else { console_log("debug", "Originate Failed.. cause: " + b_session.cause + "\n"); } //////////////////////////////////////////////////////////////////////////////// git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4773 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
- 26 3月, 2007 1 次提交
-
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4771 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
- 25 3月, 2007 2 次提交
-
-
由 Michael Jerris 提交于
refactor in mod_dialplan_xml. Factor out a function for the hint string generation/xml_locate so that we do not need to generate the xml hint string when using a static file. Dont add blank items from the caller profile to the hint string. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4766 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4765 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
- 24 3月, 2007 8 次提交
-
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4764 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4763 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
a more proper replacement for vasprintf. Lets see if we can actually do it this way (seems to work on msvc which is the only platform I have seen that does not have vasprintf available). git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4762 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4761 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4760 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4759 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
switch_config isn't used anymore. leaving the .c and .h file there for now, we may remove them in the future. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4758 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
add _COUNT memeber at the end of most enum defs (except for those with specific vals like the flags. These should be very handy for bounds checking later on. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4757 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
- 23 3月, 2007 11 次提交
-
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4756 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4755 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4754 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4753 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4751 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4750 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
add proper autoconf checks for mysql client and convert mod_cdr to automake makefile so that we can use AM_CONDITIONALS for the mysqlcdr build selection git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4749 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4748 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4747 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4746 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4745 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
- 22 3月, 2007 15 次提交
-
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4744 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4743 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4742 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4741 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4740 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4739 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4738 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4737 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4736 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4735 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4734 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4732 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4731 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Michael Jerris 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4730 d0543943-73ff-0310-b7d9-9358b9ac24b2
-
由 Anthony Minessale 提交于
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4727 d0543943-73ff-0310-b7d9-9358b9ac24b2
-