Commit Graph

2614 Commits

Author SHA1 Message Date
Michael Jerris
db797b8130 match new prototype for switch_ivr_park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:12:20 +00:00
Michael Jerris
77347efd45 match new prototype for switch_ivr_menu_init
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:11:52 +00:00
Michael Jerris
276aa96ae4 add sqlite linking to dptools
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:11:08 +00:00
Anthony Minessale
a03f962174 add callbacks to park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 21:32:49 +00:00
Anthony Minessale
9626393ef8 add export app (set + adding to export_vars) in 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 20:07:35 +00:00
Anthony Minessale
c78bd99d80 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 19:43:00 +00:00
Anthony Minessale
4ddc9e1681 add some commands to portaudio
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 16:19:39 +00:00
Mike Murdock
9af074316f Added support for default_language channel variable. If no language specified explicitly in the API call then default_language will be used. If no default_language specified then english will be used.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 01:57:54 +00:00
Mike Murdock
f181b0ef9e Tweak - phrase_lang should have been phrase-lang in ivr menu parameters for consistency
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 22:23:33 +00:00
Mike Murdock
a918bea9cf Add Phrase Macro support to ivr menu.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 21:59:59 +00:00
Anthony Minessale
700c115632 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 20:02:52 +00:00
Anthony Minessale
3b09790ba6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:58:25 +00:00
Anthony Minessale
a080949e8f add small demo mod to dump xml call detail reports until we work it into mod_cdr ./configure or manually mkdir /usr/local/freeswitch/log/xml_cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:46:37 +00:00
Anthony Minessale
b82cf5683b xml formatting for call detail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:20:14 +00:00
Michael Jerris
2bd4fdad57 don't strip the resource off the from in a chat msg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 17:48:14 +00:00
Michael Jerris
671259959b a little re-work in preparation for being able to outdial from a conference that does not yet exist.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 17:28:09 +00:00
Anthony Minessale
d484b87343 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 16:53:44 +00:00
Michael Jerris
813c4cd85d make the 2833 dtmf increase the sequence number before it sends instead of after. The net result of this is, we are still doing it wrong (sending both and audio packet with the same sequence number as our 2833 packet) but because we increment it first, the ua should get our 2833 packet with that sequence number before it gets the audio packet with that sequence number. This should help dtmf interop on ua's that were discarding rtp packets received with a sequence number that it had already received.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 14:32:34 +00:00
Michael Jerris
85c8bcd5ed Merge changes from sofia-sip tree:
Mon Feb 12 21:22:39 EET 2007  Maxim Zaikin <Maxim at amsd.com>
  * su_pthread_port.c: destroying condition variable used when destroying the thread.

Tue Feb 13 01:10:38 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response, part 2.

Tue Feb 13 01:02:00 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response. Problem reported by Mike Jerris.

nua: fixed problems in state machines.
Pekka Pessi <first.lastname@nokia.com>**20070214201847
   
 These problems are mostly introduced in 1.12.5:
 - assert failed if INVITE was received when calling
   (reported by Michael Jerris)
 - assert failed if nua_invite() was called second time before receiving
   final response to first INVITE (ditto)
 - ACK is now always sent if session was terminated after receiving 2XX
 - if nua has a pending incoming INVITE request, return 491 to
   nua_invite()

nta.c: return 481 response to CANCEL if INVITE transaction was successful
According to the RFC 3261 state diagram the INVITE transaction is destroyed
 immediately when a final 2XX series response is sent. Now nta returns a 481
 response to CANCEL if it finds an INVITE server transaction that was
 responded with a 2XX success response.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 05:18:37 +00:00
Michael Jerris
6e12fb32cd remove white space chages from sofia tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 04:54:37 +00:00
Michael Jerris
604f7a0ed5 don't pass NUTAG_URL a display name.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 04:37:57 +00:00
Michael Jerris
e77cedb948 revert some useless differences from the official sofia-sip tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 02:53:37 +00:00
Anthony Minessale
5578b9a889 fix configure test failure if -Werror is in CFLAGS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 23:17:48 +00:00
Anthony Minessale
b154ea7e2b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 23:08:10 +00:00
Anthony Minessale
77484ae4b7 detect __func__ properly even if CFLAGS has -Werror in it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:48:54 +00:00
Anthony Minessale
e96f7a118c add resets to a few places
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:41:03 +00:00
Anthony Minessale
3cfc19fd4c fix codec neg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:14:32 +00:00
Michael Jerris
1072896755 fix js file object for good this time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 21:57:13 +00:00
Anthony Minessale
24d58ceee5 yet another attempt to properly build with the file object again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:48:15 +00:00
Anthony Minessale
262eedc03c .update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4273 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:21:12 +00:00
Michael Jerris
b8d838640e %d can't take the long long result.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:15:51 +00:00
Anthony Minessale
fcfb34989d fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:06:39 +00:00
Anthony Minessale
318914124b add var that can set gmail greeting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:47:16 +00:00
Michael Jerris
41d2d43e99 warning: ISO C does not allow extra ; outside of a function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:45:56 +00:00
Michael Jerris
7c29b64cd6 fix file object support in spidermonkey build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:42:45 +00:00
Michael Jerris
fc330804ff thats not a real fd, it's a switch_socket_t *
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:31:58 +00:00
Michael Jerris
58636d9db1 warning: ISO C does not allow extra ; outside of a function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:22:42 +00:00
Michael Jerris
9dbba11035 more constification cleanups.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:15:20 +00:00
Michael Jerris
2b507706c9 switch_core_session_strdup now takes const char * arg.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:14:53 +00:00
Anthony Minessale
df85aac80c timeout bug pointed out by davidnicol
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 18:47:22 +00:00
Michael Jerris
a986980c0e fix typedef for switch_stream_handle_write_function_t to also use const char * fmt and match other uses of that type.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 18:08:11 +00:00
Michael Jerris
c48792c61c fix potential xml handle leak from previous committ.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:34:16 +00:00
Michael Jerris
251723ba41 fix missing strdup in switch_ivr_menu_bind_function
change most char * values in ivr_menu functions to const char *
change switch_core_strdup to get passed const char * instead of char *
change switch_xml_find_child to get passed const char * instead of char *
change the ivr dialplan application to free the xml config as soon as it is done building the xml menu and not hold it until the menu is done being run, so that you can do a reloadxml while someone is in a menu without blocking.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:28:42 +00:00
Michael Jerris
81dcb65cd5 remove extra ;
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:22:34 +00:00
Anthony Minessale
4a48bbf0f7 the guy on the mailing list had a good idea, add a message in dingalaing announcing the caller id as a chat message, added, but not testesd...can someone test this?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:32:02 +00:00
Anthony Minessale
fdac4282b6 add new xml call detail function to the core and a way to use it from javascript
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:19:01 +00:00
Anthony Minessale
b0901fe4ce s.data is void *
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:08:49 +00:00
Michael Jerris
d5f77e14d1 add mod_say_en to load by default.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 04:30:14 +00:00
Michael Jerris
11a8218db0 potential format string exploits (warning: format not a string literal and no format arguments)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris
711c59a6e0 potential format string exploit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:32:13 +00:00