Commit Graph

14952 Commits

Author SHA1 Message Date
Anthony Minessale 5bf89d1d87 FS-5453 --resolve 2013-08-14 02:14:01 +05:00
Anthony Minessale bdc2d307c4 FS-5698 --resolve 2013-08-14 02:10:55 +05:00
Seven Du 1220189096 redirect /portal to /portal/index.html 2013-08-13 18:32:20 +08:00
Brian West 300fb130a0 doh blonde moment 2013-08-12 17:27:43 -05:00
Brian West d882089c10 url_decode 2013-08-12 15:20:49 -05:00
Anthony Minessale 2a2cccca8d FS-5682 --resolve there was one other change to allow them to copy over by setting them on the A leg. Exporting the sip_multipart variable or setting it in {} on the dial string should already work. This patch should make it work with setting it too. 2013-08-12 19:04:38 +05:00
Anthony Minessale c5cc61517e FS-5689 --resolve 2013-08-12 00:05:34 +05:00
Anthony Minessale 85af177084 FS-5682 --resolve missed a spot on the stable port 2013-08-11 23:40:56 +05:00
Seven Du 2535ae8504 cleanup and refactor ws, this should work on Linux now 2013-08-11 22:49:11 +08:00
Seven Du 31ba2eb291 trying to fix crashes on Linux 2013-08-11 22:49:10 +08:00
Chris Rienzo 9b954c379c mod_rayo: add offer-uri param (default true) to toggle between URI and number in to/from of offer 2013-08-10 09:30:50 -04:00
Chris Rienzo ed45fbd4bd FS-5686 reversed send/recv direction 2013-08-09 09:55:31 -04:00
Chris Rienzo 791d8bfb36 FS-5686 --resolve mod_rayo: allow re-join to mixers so that audio direction can be changed. Added support for audio direction in mixers. Allow unjoin without mixer-name or call-id 2013-08-09 09:42:46 -04:00
Anthony Minessale 4296b5e257 FS-5682 --resolve new syntax <action application="set" data="sip_multipart=application/pidf+xml:1234"/> use push instead of set to add more to the same channel 2013-08-08 22:55:34 +05:00
Anthony Minessale 1ba3cc0d3e FS-5665 --resolve this should push the extra ones into the variable and convert it to an array 2013-08-08 22:24:51 +05:00
Chris Rienzo 6fd5c9fd9d mod_rayo: reply with temporary failure if no clients available to accept call 2013-08-08 12:00:16 -04:00
Anthony Minessale 6f2671b2d5 FS-5682 revert 2013-08-08 20:32:01 +05:00
Seven Du cdecb33c7a fix for some FireFox cases
Chrome send "Connection: Upgrade" while FF has "Connection: keep-alive, Upgrade"
2013-08-08 22:56:19 +08:00
Seven Du 4c69219dfa fix return value 2013-08-08 15:08:25 +08:00
Seven Du f9487a9aa8 FS-5670 --resolve allow debug rtp if rtp is not attached to a session 2013-08-08 08:48:40 +08:00
Anthony Minessale bd1c6106dc FS-5682 2013-08-08 05:15:18 +05:00
Anthony Minessale 05444a6ebd FS-5661 --resolve 2013-08-07 21:22:45 +05:00
Chris Rienzo 22ab34c507 FS-5679 --resolve mod_rayo: SIP 180 doesn't result in ringing event 2013-08-06 16:21:38 -04:00
Chris Rienzo d57282489a FS-5668 --resolve mod_rayo: offer from/to do not match SIP 2013-08-06 15:30:37 -04:00
Chris Rienzo fe5e8241c0 mod_rayo: fix crash on originate error 2013-08-06 14:53:11 -04:00
Chris Rienzo 86ea09c9e3 FS-5669 --resolve mod_rayo: return error if <document> is missing in <output> 2013-08-06 11:07:10 -04:00
Ben Langfeld 9d9844ec46 mod_rayo: Commands executed against a dead call should return item-not-found 2013-08-06 10:30:31 -04:00
Jeff Lenk c5abe3ed27 mod_xml_rpc revert extra stuff 2013-08-06 00:16:10 +08:00
Jeff Lenk 7b2ed3405e FS-5655 try this 2013-08-06 00:16:03 +08:00
Seven Du 3aaab08cc6 more cleanup 2013-08-06 00:15:57 +08:00
Seven Du 2fa9e67651 trying to fix windows build 2013-08-06 00:15:51 +08:00
Seven Du 7d48b0b3cc cleanup code, less dependency 2013-08-06 00:15:44 +08:00
Seven Du 5b5b231164 add settings disabled by default
The new websocket stuff breaks windows build so please fix, thanks
2013-08-06 00:15:36 +08:00
Seven Du fb4c5e6fe8 make websocket work with abyss 2013-08-06 00:13:58 +08:00
Seven Du 92a99c4141 add ws 2013-08-06 00:13:35 +08:00
Anthony Minessale 03dc7082b2 FS-5664 --resolve 2013-08-03 18:50:17 +05:00
Nathan Neulinger fa2530306f mod_skinny work on FS-5632 - few more cases 2013-08-02 21:26:15 -05:00
Nathan Neulinger 36726ee0ef mod_skinny work on FS-5632 - first pass 2013-08-02 21:12:16 -05:00
Nathan Neulinger 1e3bfef390 FS-5662 --resolve implement call pickup group functionality in mod_skinny. Currently treats callPickup and grpCallPickup identically, may revisit when I find out more about what's different between the two 2013-08-02 14:12:23 -05:00
Nathan Neulinger e20dd10b59 mod_skinny: implement per device setting of ext- extensions 2013-08-02 13:53:49 -05:00
Nathan Neulinger d9905fa72b make default conf example work properly based on FS-5335 feedback/testing 2013-08-02 11:21:58 -05:00
Nathan Neulinger 85c986c8b4 mod_skinny: add minimal handling of MeetMe button to send to a conference creation extension 2013-08-02 10:55:09 -05:00
Chris Rienzo c1bc8a5ad7 FS-5657 --resolve fix mod_rayo build errors in CentOS 5 2013-08-01 14:37:43 -04:00
Chris Rienzo 99a0f6bfc8 FS-5659 --resolve Add logging for spandsp dtmf detector when dtmf_verbose channel variable is set to true
Conflicts:

	src/mod/applications/mod_spandsp/mod_spandsp_fax.c
2013-08-01 14:02:56 -04:00
Seven Du 2543982a4f add SHORT_DATE_TIME support 2013-08-01 09:51:28 +08:00
Nathan Neulinger b472e1c9b7 mod_skinny: allow to work with native pgsql 2013-07-31 17:17:36 -05:00
Nathan Neulinger a8e779fab6 mod_skinny: filter sip mwi events 2013-07-31 17:17:32 -05:00
Chris Rienzo 343cddd914 mod_spandsp: added UUID command completion to start/stop_tone_detect commands 2013-07-31 07:16:51 -04:00
Nathan Neulinger b38a7f5392 mod_skinny: initial reg wasn't able to clean up due to missing device name, add new function to clean up given explicit device name, also add more logging 2013-07-30 14:36:00 -05:00
Seven Du b18bb26c9d add back the log line deleted by accident 2013-07-30 22:13:16 +08:00
Seven Du 04062625ba remove debug 2013-07-30 18:02:08 +08:00
Seven Du 44c0fd2498 add timeout options to mod_curl 2013-07-30 16:37:02 +08:00
Anthony Minessale c0477f966f FS-5652 --resolve
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2013-07-29 16:57:55 -05:00
Travis Cross 465e21c76f Improve our .gitignore files
Avoid ignoring files actually in our tree, and ignore some generated
files that were not being ignored previously.
2013-07-27 03:39:38 +00:00
Anthony Minessale a53608589b add global mutex to cdr_csv to protech the fd_hash 2013-07-26 15:56:31 -05:00
Anthony Minessale 948a7218e0 add last_sched_id var 2013-07-26 14:30:25 -05:00
Travis Cross d31fca2089 Kill FS if -reincarnate parent dies unexpectedly
This only works on Linux.
2013-07-26 13:25:49 +00:00
Travis Cross 94b6cfb24c Handle signals better with -reincarnate
If we receive SIGTERM or SIGILL we should propagate the signal to the
child FS process.  As FS normally handles these signals, we need to
restore the handler before we refork.

FS may also add a handler for SIGCHLD; we need the default action
here instead for the parent.
2013-07-26 03:35:46 +00:00
Travis Cross 2398950fcd Add -reincarnate flag to FS
When FS is given the -reincarnate flag, FS will be automatically
restarted after any uncontrolled exit.
2013-07-26 01:18:25 +00:00
Travis Cross 22dd4bfff3 Fix memset invocation in mod_skypopen
We were previously clearing a pointer's worth of memory rather than
clearing a full element.

This also fixes the build as gcc-4.8 catches this error.
2013-07-26 01:15:19 +00:00
Anthony Minessale 64af870bef let sched_cancel operate on both task id and group id 2013-07-25 14:53:11 -05:00
Anthony Minessale 3d9e9713b8 missed a spot 2013-07-25 14:36:05 -05:00
Anthony Minessale 0b3cb9325c typo 2013-07-25 14:33:56 -05:00
Anthony Minessale 010085e92d FS-5572 --resolve set new variable by doing export bypass_keep_codec=true to force re-invite with the same codec it was using previously 2013-07-25 14:12:44 -05:00
Anthony Minessale bbf2d73cf5 swigall 2013-07-25 10:49:12 -05:00
Jeff Lenk 5d891b4632 vs2010 reswig 2013-07-24 22:13:19 -05:00
Anthony Minessale 03a116b78d swigall 2013-07-24 18:50:25 -05:00
Anthony Minessale cb79b66679 swigall 2013-07-24 18:46:06 -05:00
Brian West a4b3b40952 adding transfer-sound to ivr menu so you can specifiy a sound file to pay when a transfer takes place 2013-07-24 18:40:31 -05:00
Anthony Minessale 7d020eff65 FS-5561 --resolve
Merge remote-tracking branch 'moy/blind-transfer-response'
2013-07-24 16:17:58 -05:00
Anthony Minessale 0a84f7be50 FS-5633 --resolve 2013-07-24 11:38:13 -05:00
Anthony Minessale c4e2745923 FS-5634 --resolve this patch should fix it but comment it out instead in the old version to get the same effect 2013-07-24 11:23:38 -05:00
Nathan Neulinger 3c8fd77a65 FS-5636 --resolve hold active lines when receiving a call 2013-07-24 10:14:41 -05:00
Brian West 55b6b8424f You can't prefix this one with MWI as it ends up in the body of the MWI notify causing some devices to have a heart attack 2013-07-23 17:22:15 -05:00
Michael S Collins 74581e3c97 Merge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable 2013-07-23 12:00:21 -07:00
Michael S Collins 8b87b601a4 mod_valet_parking: add valet_lot_extension chan var - stores the current park location of the channel 2013-07-23 12:00:09 -07:00
Anthony Minessale b60efc410c let sofia recover work in some tcp situations 2013-07-23 13:53:06 -05:00
Ken Rice 5873e6ff37 update status command to include new stats 2013-07-23 08:44:12 -05:00
Jeff Lenk e362cb545b fix windows compiler warnings 2013-07-20 22:17:47 -05:00
Ken Rice 3c7e78ac5a peak sessions step 1 2013-07-20 20:12:18 -05:00
Anthony Minessale b9c9d34482 FS-5621 2013-07-20 14:06:40 -05:00
Ken Rice 39dfa5e422 add peak SPS for last 5 minutes 2013-07-19 23:05:54 -05:00
Anthony Minessale dcd15ff1c0 FS-5620 --resolve 2013-07-19 21:50:55 -05:00
Ken Rice 6e764c82a3 Add to the MIB and small tweak to subagent.c 2013-07-19 17:08:34 -05:00
Anthony Minessale 578361bea3 add peak sps to stats and a command to reset it 2013-07-19 15:16:57 -05:00
Anthony Minessale 4e74ef3914 FS-5573 --resolve 2013-07-19 14:05:19 -05:00
Anthony Minessale 453cfaaf7f FS-5583 --resolve 2013-07-19 14:03:11 -05:00
Anthony Minessale fb887acb44 FS-5607 --resolve 2013-07-19 13:48:56 -05:00
Anthony Minessale 92031835f7 FS-5614 --resolve 2013-07-19 13:42:19 -05:00
Anthony Minessale 2df2758045 FS-5619 --resolve 2013-07-19 13:26:20 -05:00
Seven Du 0c5bd268f4 FS-5498 --close remove debug line 2013-07-20 02:19:16 +08:00
Anthony Minessale 3968f41590 FS-5498
Conflicts:
	src/mod/endpoints/mod_sofia/mod_sofia.h
	src/mod/endpoints/mod_sofia/sofia.c
	src/mod/endpoints/mod_sofia/sofia_presence.c
	src/mod/endpoints/mod_sofia/sofia_reg.c
2013-07-19 12:15:10 -05:00
Seven Du 4313520cd2 FS-5498 fix typo from commit ab947f5 2013-07-19 12:42:56 +08:00
Anthony Minessale dc5d93c1bd FS-5615 --resolve 2013-07-17 17:09:29 -05:00
Anthony Minessale 8644541c62 FS-5613 --resolve only alphanumeric plus - _ . are now allowed 2013-07-17 09:21:48 -05:00
Chris Rienzo 3541d9d353 mod_rayo: support secure client-to-server connections 2013-07-15 19:11:11 -04:00
Nathan Neulinger 59616956ca skinny: improve hangup handling 2013-07-15 15:19:36 -05:00
Seven Du f90e828bd5 FS-2809 --resolved 2013-07-14 10:38:16 +08:00
Anthony Minessale 4336f4fc28 use this and send {sip_gethostbyname=true} in the dial string to force this behaviour 2013-07-12 13:55:10 -05:00
Anthony Minessale 30926251cb FS-5396 --resolve 2013-07-12 13:36:31 -05:00
Brian West 01002b0edf Merge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable 2013-07-12 13:03:46 -05:00
Brian West 433fc6a987 REVERT FS-5555 2013-07-12 13:03:43 -05:00
Nathan Neulinger 27f0744160 FS-4027 - improve adherence to code conventions 2013-07-12 12:01:38 -05:00
Brian West f4c37613ab FS-5555 improvement --resolve 2013-07-12 11:51:02 -05:00
Nathan Neulinger f21d4a0fc0 fixup and merge in FS-4027 enhancements for additional device support 2013-07-12 11:39:44 -05:00
Nathan Neulinger 5c9bb344ab skinny typedef 2013-07-12 11:15:59 -05:00
Nathan Neulinger 37e6195e35 add a few additional skinny message types 2013-07-12 11:06:43 -05:00
Nathan Neulinger fd31247ef9 skinny correct field name 2013-07-12 11:06:36 -05:00
Nathan Neulinger 079d65896b update device types list with more known types 2013-07-12 11:06:31 -05:00
Nathan Neulinger 2eab94be78 skinny: improve cleanup of devices during registration and unregistration, resolves some weird state issues when devices get disconnected 2013-07-11 13:15:14 -05:00
Ken Rice 6c5e4e2119 Revert "FS-5567 --resolve"
lets leave this one out til later

This reverts commit bbbb44253a.
2013-07-11 12:05:49 -05:00
Ken Rice bbbb44253a FS-5567 --resolve 2013-07-11 11:10:03 -05:00
Stefan Knoblich e20fbadc12 mod_shout: Rework our_mpg123_new() to handle error cases correctly and to clean up the code
Keeping parameter handling quirks for backwards compatibility reasons.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-07-11 03:12:25 +02:00
Stefan Knoblich 0e2a590afa mod_sofia: Add missing format string to switch_event_add_body() call
Fixes GCC format string warning/error.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-07-11 01:20:22 +02:00
Ken Rice d9e5a55c55 FS-5003 --resolve 2013-07-10 17:31:28 -05:00
Raymond Chandler db3c1abce0 FS-4123 --resolve slightly modified patch applied 2013-07-10 17:54:19 -04:00
Ken Rice 24669125e4 FS-5555 --resolve 2013-07-10 12:09:24 -05:00
Ken Rice 27ccb69c94 FS-5524 --resolve 2013-07-10 11:58:22 -05:00
Ken Rice d1b43f36f0 FS-5559 --resolve 2013-07-10 11:58:14 -05:00
Raymond Chandler 0ed5126c0c add chatplan info app 2013-07-10 12:47:16 -04:00
Raymond Chandler ddf1908fae FS-5467 --resolve patch applied 2013-07-10 12:17:22 -04:00
Michael S Collins 2c00f4c570 Merge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable 2013-07-10 08:28:29 -07:00
Michael S Collins 13de330c60 FS-5393: --resolve mod_voicemail: add skip_record_check and skip_record_urgent_check vars 2013-07-10 08:28:17 -07:00
Raymond Chandler 2ec821b74b FS-3911 --resolve patch applied 2013-07-10 10:53:28 -04:00
Ken Rice 2f2a879138 FS-5589 --resolve 2013-07-10 09:44:33 -05:00
Jeff Lenk 0b3cafcf0a FS-5275 -resolve 2013-07-09 08:50:56 -05:00
Seven Du 3e92f570d1 debug audio on h323 channel 2013-07-09 14:03:06 +08:00
Brian West aa68eac352 fix logic from race fix 2013-07-08 13:19:10 -05:00
Chris Rienzo 4bcaf1e60b mod_rayo: fix - client messages not accepted over s2s connection 2013-07-08 13:10:04 -04:00
Seven Du cfd388301d --resolve FS-5072 2013-07-08 00:04:42 +08:00
Ken Rice 2fd21a47b1 FS-2816 --resolve 2013-07-06 22:03:44 -05:00
Jeff Lenk 84de992b8b FS-3127 --resolve please reopen if not fixed 2013-07-06 12:52:50 -05:00
Brian West 4c6886d7e2 fix race 2013-07-05 19:50:43 -05:00
Ken Rice ab03347c3d --resolve FS-3922 2013-07-04 21:24:09 -05:00
Jeff Lenk 667a8d8868 fix stupid c89 for windows 2013-07-04 12:27:59 -05:00
Ken Rice 60adf50f86 --resolve FS-5558 2013-07-03 15:55:57 -05:00
Ken Rice d2cd255a8f --resolve FS-5569 2013-07-03 15:55:52 -05:00
Ken Rice c58b1508a2 --resolve FS-5426 2013-07-03 14:14:33 -05:00
Ken Rice 42916f8176 --resolve FS-5432 2013-07-03 14:14:20 -05:00
Chris Rienzo d2c9ee0d23 mod_rayo: move example config so that make config-rayo works 2013-07-03 14:23:18 -04:00
Ken Rice a4408e62a6 --resolve FS-3918 using patch that adds conference_moderator_pin channel variable 2013-07-03 11:14:10 -05:00
Travis Cross 0a4bbaf5a5 Fix uninitialized use of length variable
Bad things must have been happening when this was hit.

This was introduced in commit 7656a075c7
2013-07-03 16:02:40 +00:00
Nathan Neulinger 620a5804e6 partial rollback of ec67542628 to fix skinny breakage 2013-07-01 22:19:15 -05:00
Ken Rice f721a2592b --resolve FS-5566
When you use $12345 in regex substitutions, it isn't obvious
whenever you mean $1-concatenated-2345 or $12-concatenated-345
or any other variation.  In all other languages, in order to
solve this ambiguity, a braces {} are allowed to be used to
separate variable name (or a reference) from surrounding text,
like ${1}2345 or ${12}345.  Use the same for freeswitch too.

While at it, fix a buffer overflow as well: the index[] variable
which is used to copy the "variable" name is 10 chars long, but
it is used in the code without bounds checking, so a reference
which is >9 chars long ($1234567890) will overflow the buffer,
crashing freeswitch.

And another overflow is in the way how size of the "substituted"
variable is handled.  First, in the outer loop, we compare the
wrong variable with the size of `substituted' buffer (amount of
bytes we took from the source instead of amount of bytes we
used in `substituted').  And second, when actual regex match
is being substitured, amount of room in `substituted' variable
is not checked at all.

Patch contributed by Michael Tokarev <mjt@tls.msk.ru>
2013-07-01 17:06:13 -05:00
Anthony Minessale 0548f33a46 fix input event checker pre-empting return value from dtmf checker when both are present 2013-07-01 14:31:57 -05:00
Anthony Minessale 929f52b15c fix race condition on device state destroy 2013-06-28 14:21:18 -05:00
Anthony Minessale 74740cca5f FS-5527 --resolve
Conflicts:
	libs/sofia-sip/.update
	libs/sofia-sip/libsofia-sip-ua/nta/nta.c
2013-06-28 10:45:33 -05:00
Chris Rienzo 007ddda560 mod_rayo: dtmf #*A-D was broken 2013-06-28 11:16:40 -04:00
Brian West ba6bf28a5e punt without return 2013-06-28 09:48:28 -05:00
Anthony Minessale fd67c19664 add preAnswer and ringReady too 2013-06-27 16:31:42 -05:00
Anthony Minessale e884116c08 add answer work tag to httapi 2013-06-27 16:26:17 -05:00
Nathan Neulinger 8a3cdc75fc improve skinny behavior in HA deployment 2013-06-26 21:56:54 -05:00
Nathan Neulinger 0e5f90c086 typo 2013-06-26 21:56:48 -05:00
Anthony Minessale ec67542628 set rtp params in skinny for rtp flush on bridge 2013-06-26 18:35:36 -05:00
Anthony Minessale 75e0d9d885 fix empty +flags{} pre-empting conference_member_flags variable 2013-06-26 16:05:00 -05:00
Brian West 182d67ae95 use the correct repeat key to replay messages 2013-06-26 15:17:41 -05:00
Anthony Minessale 594d9f8172 FS-5550 --resolve 2013-06-26 10:51:55 -05:00
Chris Rienzo f536634c04 mod_rayo: added missing modeline 2013-06-25 15:16:53 -04:00
Nathan Neulinger 543dc3caea make noexpandtab explicit in all vim modelines other than xml files
Conflicts:
	src/include/switch_core_media.h
	src/mod/endpoints/mod_sofia/sofia_media.c
	src/switch_core_media.c
2013-06-25 09:39:37 -05:00
Chris Rienzo 30be15fd52 mod_rayo: used wrong stack 2013-06-25 11:40:58 -04:00
Chris Rienzo f434d25b24 mod_rayo: fixes for <prompt> and reply loops 2013-06-25 11:30:39 -04:00
Chris Rienzo 2536706b9b mod_rayo: fix component JID 2013-06-25 08:09:21 -04:00
Chris Rienzo d0ea9d00f8 mod_rayo: fix cleanup of console complete functions 2013-06-25 07:55:19 -04:00
Chris Rienzo 31d0b7bff5 mod_rayo: don't send item-not-found to replies 2013-06-25 07:42:51 -04:00
Chris Rienzo 976083adf6 Merge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable 2013-06-24 22:27:37 -04:00
Chris Rienzo 4c4841da4b mod_http_cache: valgrind fixes 2013-06-24 22:27:14 -04:00
Chris Rienzo 7a7d1479ed mod_ssml: valgrind fixes 2013-06-24 22:26:58 -04:00
Chris Rienzo 91efe36d4e mod_rayo: valgrind fixes 2013-06-24 22:26:47 -04:00
Chris Rienzo f6d6cd5762 mod_rayo: forgot to return error if unknown destination for stanza 2013-06-24 22:26:34 -04:00
Chris Rienzo 57bdcfb6e9 mod_rayo: added message delivery threads 2013-06-24 22:26:21 -04:00
Chris Rienzo 810c4f5381 mod_rayo: reworked internal messaging- all messages sent by JID only 2013-06-24 22:26:08 -04:00
Chris Rienzo dd2346d2e1 mod_rayo: remove reply from send function - everything is send only now 2013-06-24 22:25:54 -04:00
Anthony Minessale 998ae35dbf FS-5530 --resolve this will make it identical to the bridge behaviour even when the bridge in early media begins and now you will explicitly need continue_on_fail=true in this situation to not fail 2013-06-24 09:46:07 -05:00
Anthony Minessale a0938697df FS-5539 --resolve 2013-06-24 09:15:15 -05:00
Nathan Neulinger 8fd4994b0c skinny more logging improvements and some refactoring of protocol replies 2013-06-23 21:49:15 -05:00
Nathan Neulinger 2060654809 skinny - add simple expansion of text strings by id in the logging msgs 2013-06-23 16:12:13 -05:00
Nathan Neulinger 38ccc48980 logging 2013-06-23 15:18:33 -05:00
Nathan Neulinger 8450dfcaf5 fix broken build due to running with warnings disabled, oops 2013-06-23 15:11:58 -05:00
Nathan Neulinger 71cddf1912 skinny logging 2013-06-23 14:59:58 -05:00
Jeff Lenk 251de9d95d fix windows build 2013-06-23 14:40:51 -05:00
Nathan Neulinger 9679fac195 improvements to skinny logging, table based message text ids 2013-06-23 14:24:29 -05:00
Nathan Neulinger f2fcde49f9 misc constant name adjustments to match actual text on phones 2013-06-22 13:46:50 -05:00
Ben Langfeld 12b293d6aa mod_rayo: Punchblock now supports content-type on input matches
Fix applied to Punchblock here: cef5198e80
2013-06-22 14:29:51 -04:00
Nathan Neulinger 1b55a67083 FS-5532 - workaround to improve behavior, but not correct fix 2013-06-21 14:49:17 -05:00
Chris Rienzo 9829a5cc40 mod_rayo: fix crash when DTMF is received after input timeout 2013-06-21 09:43:38 -04:00
Anthony Minessale 4a4b8690a1 FS-5531 --resolve add another optional param to supply flags for either behaviour n for null and b for boolean 2013-06-20 22:53:20 -05:00
Anthony Minessale 5cb635039d sniffing glue 2013-06-20 22:25:42 -05:00
Anthony Minessale 7656a075c7 fill the opposite file to keep data in sync 2013-06-20 21:51:50 -05:00
Anthony Minessale 8fc477d080 add answer_delay variable to sleep N ms when answer is called from the channel thread 2013-06-20 21:29:50 -05:00
Anthony Minessale b6e3c594c2 FS-5530 2013-06-20 21:16:05 -05:00
Anthony Minessale dfdd2f60d4 FS-5530 --resolve 2013-06-20 21:10:43 -05:00
Anthony Minessale e91b3236a3 FS-5530 --resolve 2013-06-20 20:59:11 -05:00
Anthony Minessale 1baee6b8cf FS-5513 --resolve 2013-06-20 18:33:55 -05:00
Anthony Minessale 0c132707ce doh 2013-06-20 13:23:55 -05:00
Anthony Minessale ad5f689fb7 swigall 2013-06-20 11:40:56 -05:00
Anthony Minessale 904189a485 add novideo app 2013-06-20 11:29:26 -05:00
Anthony Minessale d937b8da81 add novideo app
Conflicts:
	src/include/switch_types.h
2013-06-20 11:28:33 -05:00
Anthony Minessale b02f288f9e FS-5529 --resolve 2013-06-20 10:55:20 -05:00
Chris Rienzo 55b82c2a08 Merge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable 2013-06-20 09:26:04 -04:00
Chris Rienzo a121e1657a mod_ssml: XML decode <audio src=".. attribute since iksemel SAX parser doesn't 2013-06-20 09:24:46 -04:00
Jeff Lenk d4110541f9 fix trivial compiler warnings for windows 2013-06-19 11:15:59 -05:00
Chris Rienzo cd0f4b5444 mod_rayo: allow variables to be passed in dialstring 2013-06-19 09:25:05 -04:00
Anthony Minessale 7fb65c27e8 FS-4969 --resolve 2013-06-18 21:19:46 -05:00
Anthony Minessale 7c607c7e8e FS-5513 2013-06-18 21:17:28 -05:00
Anthony Minessale 1d07b72c74 only refuse loopback endoint not profiles named loopback 2013-06-18 14:39:37 -05:00
Brian West 9d14772883 fix reload of outbound_name change 2013-06-18 15:48:52 -05:00
Anthony Minessale 4960a75525 fix build on cent5 2013-06-18 12:57:53 -05:00
Nathan Neulinger ec361cf48a FS-5510 --resolve - also add logging of hangup cause 2013-06-18 12:22:04 -05:00
Anthony Minessale 3a5ae27f8d swigall 2013-06-18 09:13:39 -05:00
Nathan Neulinger 587ecb8e69 add skinny cmd to kill all current listeners 2013-06-18 09:42:18 -05:00
Nathan Neulinger 275469bbb9 Add skinny device kill api command 2013-06-18 09:19:05 -05:00
Anthony Minessale d5ab679e95 refactor 2013-06-18 06:24:23 -05:00
Anthony Minessale 46825dd711 FS-5513 --resolve 2013-06-17 21:38:09 -05:00
Anthony Minessale 0e52fe5689 FS-5519 --resolve 2013-06-17 19:43:08 -05:00
Brian West 05b1b35121 remove debugging 2013-06-17 17:51:34 -05:00
Anthony Minessale bf61038a93 remove cid flip from pickup 2013-06-17 10:57:19 -05:00
Anthony Minessale 50e1f58d5b add deflect parsing support for mod_loopback and fix unloop bug 2013-06-17 10:44:43 -05:00
Anthony Minessale 80669e8466 dont change device state from hangup to hangup 2013-06-17 10:43:59 -05:00
Jeff Lenk 72fcefe6ed vs2010 reswig 2013-06-14 11:42:58 -05:00
Chris Rienzo dce5bbf88e mod_rayo: some fixes for punchblock 2.0 compatibility 2013-06-13 15:29:49 -04:00
William King 0ee24a531f Fix missing return statement. 2013-06-13 10:07:56 -07:00
Chris Rienzo 9b6cc17cf9 mod_rayo: updates for 0.2 of spec 2013-06-13 11:23:57 -04:00
William King f94b73f0d7 New compiler warning(error). Unused assignment before the pointer is reassigned. 2013-06-12 21:39:14 -07:00
William King fef983f614 If the addr pointer is NULL, better to check first before using it. 2013-06-12 21:23:52 -07:00
William King 7360c1e898 This is probably what was intended. If the pointer 'path' is NULL, or if it is not NULL, then the first char should not be '\0' 2013-06-12 21:21:38 -07:00
William King 4fddabe543 oops 2013-06-12 21:17:04 -07:00
William King 3d13776af2 DO NOT PULL TO MASTER. Fix typo when setting the video recv port. Bug does not exist in master due to the refactor. 2013-06-12 18:33:45 -07:00
William King ac9bfb194b Fix minor typo so that the metadata album field can be set. 2013-06-12 17:17:40 -07:00
William King a393b78f6e Since I can't seem to locate what this might be used for, or the more correct solution, I'm going to comment it out for now. If someone can find a better solution so that this functionality would actually work, please advise. 2013-06-12 17:11:22 -07:00
William King 3815a5a170 Make sure to cleanup event if there was a failure that caused it not to be fired. 2013-06-12 17:01:56 -07:00
William King 5f1e9d93f2 On the off chance the if statement takes the false branch, let's not leak the memory. again. 2013-06-12 16:46:21 -07:00
William King c53ffe7102 On the off chance the if statement takes the false branch, let's not leak the memory 2013-06-12 16:42:00 -07:00
Chris Rienzo 74313a6866 mod_http_cache: fixed wrong string to sign when referencing AWS S3 object with subdirectory 2013-06-12 09:39:09 -04:00
Seven Du fe1b20eb59 FS-5498 add ringing and early stats to event 2013-06-12 09:23:22 +08:00
Anthony Minessale f2db9b56be FS-5500 --resolve 2013-06-11 11:38:39 -05:00
Anthony Minessale efe3ff7be4 FS-5498 fix state change 2013-06-11 11:23:45 -05:00
Anthony Minessale e52f4ac56f FS-5498 add profile-variables section to directory to specify profile variables to be set automatically 2013-06-11 09:38:38 -05:00
Anthony Minessale e0dc4842ae FS-5498 2013-06-10 19:13:05 -05:00
Anthony Minessale ab947f5bc5 FS-5498 2013-06-10 18:21:51 -05:00
Brian West 658c4d732d Skip to next file when you hup the stream 2013-06-07 12:29:13 -05:00
Travis Cross 9b611f0175 Spelling fix 2013-06-07 07:26:29 +00:00
William King 66652ec198 how...? 2013-06-07 07:26:28 +00:00
William King b214f20768 Since there isn't neutral ground, on the rtmp state callback we actually have to force the write lock of the session, but we only need a try lock on removing the session from the rsession->session_hash. This removes a deadlock caused when we had to enforce with locks that the rsession couldn't be destroyed if the FS session was in the middle of a hangup. 2013-06-07 07:26:28 +00:00
William King ce9bf959e9 Seems the session wasn't coming to the hangup in a locked state. 2013-06-07 07:26:27 +00:00
William King 1ff548f24c Seems having a read lock still prevents a write lock to be taken, even if the thread that is trying to get the write lock currently has the read lock. 2013-06-07 07:26:27 +00:00
William King 8d370ff6e6 Include the write lock since we're changing the tech_pvt 2013-06-07 07:26:26 +00:00
Jeff Lenk df141a13b3 trivial fix compiler warning 2013-06-07 07:26:26 +00:00
Jeff Lenk 0929e12630 FS-5290 --resolve 2013-06-07 07:26:17 +00:00
Jeff Lenk 55ff737e57 FS-5290 --resolve 2013-06-07 07:26:16 +00:00
Jeff Lenk ec44f6aec0 FS-5167 2013-06-07 07:26:11 +00:00
Brian West ed0ae1e669 FS-5255 --resolve 2013-06-07 07:26:03 +00:00
Travis Cross 0367a6ffa0 Whitespace cleanup to previous commit 2013-06-07 07:00:13 +00:00
William King 80013452dc Previous commit was incorrect. This would correctly handle the memory loss case. 2013-06-06 23:54:55 -07:00
William King 63ebf3c9c2 Was causing a very small leak on naptr lookups. Upon review just happened to be a typo missing a bang. 2013-06-06 23:54:42 -07:00
William King b424ad303d FS-5440: don't assert on bad input rtmp data 2013-06-07 05:42:44 +00:00
Jeff Lenk 6000c884aa windows fix trivial compiler warning 2013-06-07 05:42:43 +00:00
Anthony Minessale 537f14b049 FS-5444 --resolve 2013-06-07 05:42:43 +00:00
Giovanni Maruzzelli e8d3712d56 test 2, please ignore 2013-06-07 05:19:02 +00:00
root a2c44f171b test, please ignore 2013-06-07 05:18:58 +00:00
Seven Du dca41d07d6 update to mp4v2-2.0.0
It seems I cannot contact the original author
it seems has a bug which even cannot compile with mp4v2-trunk-479
This patch allow it to compile
2013-06-07 04:57:44 +00:00
Seven Du 2d7d64e855 fix show module as json 2013-06-07 04:53:17 +00:00
Chris Rienzo ef785c6e9b Added mod_rayo (XMPP 3PCC http://xmpp.org/extensions/xep-0327.html). Used by Adhearsion as its native call control protocol. Currently beta testing. 2013-06-07 01:08:09 +00:00
Chris Rienzo 5feca50770 Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats. 2013-06-07 01:08:08 +00:00
Chris Rienzo 644cf2b11c mod_http_cache: fix example config 2013-06-07 01:08:08 +00:00
Chris Rienzo d56f409bf0 mod_http_cache: a couple more unit test cases 2013-06-07 01:08:07 +00:00
Chris Rienzo 802dd96233 mod_http_cache: remove unnecessary memset() now that switch_b64_encode() is fixed 2013-06-07 01:08:07 +00:00
Chris Rienzo 168b691d89 mod_http_cache: fix unit test now that switch_b64_encode is fixed 2013-06-07 01:08:07 +00:00
Chris Rienzo f867a2fcb8 mod_http_cache: forgot to add write to http_cache:// format 2013-06-07 01:08:06 +00:00
Chris Rienzo 9283d90fcd mod_http_cache: added write file format 2013-06-07 01:08:06 +00:00
Chris Rienzo 7fcdf4a0c0 mod_http_cache: added native Amazon S3 support 2013-06-07 01:08:05 +00:00
Chris Rienzo 6a64490889 FS-5193 --resolve input timers added to mod_pocketsphinx. 2013-06-07 01:08:05 +00:00
Anthony Minessale 32171aa94c add mod_b64 2013-06-07 00:51:35 +00:00
Anthony Minessale f84bd3b948 add last callback run stamp to device records 2013-06-06 13:08:59 -05:00
Anthony Minessale 102377ebf9 FS-5493 --resolve 2013-06-06 12:59:08 -05:00
Raymond Chandler f0853c6eca add number translation module 2013-06-06 19:15:17 +00:00
Travis Cross a1723a1a2e Add missing newline at end of file 2013-06-06 19:01:31 +00:00
Travis Cross 3dfa586afe Remove extraneous parentheses in mod_say_pl 2013-06-06 18:57:32 +00:00
Mariusz Czułada 87099229e2 Initial version of mod_say_pl 2013-06-06 18:53:27 +00:00
Mariusz Czułada fe4a1fa819 Initial version of mod_say_pl 2013-06-06 18:53:24 +00:00
Anthony Minessale f4efa9691d don't need this change revert 2013-06-05 11:21:38 -05:00
Anthony Minessale 50b68f2f85 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:19:53 -05:00
Travis Cross 499f7096c4 Avoid crashing FS after delivering a VM
When vm-storage-dir was set to an absolute path, FS would abort after
delivering a VM because we were trying to free(3) memory sitting in
the middle of a memory pool.

FS-5329
2013-06-03 09:28:36 +00:00
Jeff Lenk 753282f38a FS-5314 --resolve
(cherry picked from commit 40e33572b3)
2013-06-01 22:38:39 -05:00
Anthony Minessale bcd770e017 FS-5488 --resolve 2013-05-31 14:45:51 -05:00
Nathan Neulinger fc39b77520 FS-5449: apply correct quoting, got older version of patch accidentally 2013-05-31 16:40:17 -05:00
Nathan Neulinger 634a507546 FS-5449: --resolve add a mod_commands function to use the shell escape function and update the existing function to use correct escaping
adds a pool based implementation of the switch_util_quote_shell_arg function and changes existing function to be a wrapper around the pool based one
2013-05-31 16:40:10 -05:00
Anthony Minessale 5a8c753b9e FS-5488 --resolve 2013-05-31 13:14:23 -05:00
Nathan Neulinger 2e66012e96 Change to correct prompt on outgoing call, eliminate UNDEFINED! message 2013-05-31 15:10:44 -05:00
Nathan Neulinger d39086892f Allow skinny speed dials to work when already off-hook 2013-05-31 15:10:44 -05:00
Nathan Neulinger 123d0865fb FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault 2013-05-31 15:10:43 -05:00
Nathan Neulinger 32bddaa6cd FS-5429: --resolve add minimal idivert support for skinny 2013-05-31 15:10:43 -05:00
Nathan Neulinger 582e3699f6 FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive 2013-05-31 15:10:43 -05:00
Nathan Neulinger da5c2a6aef FS-5225: --resolve add ability to dial by pressing line button 2013-05-31 15:10:43 -05:00
Nathan Neulinger c33eb7412b FS-5267: --resolve avoid null deref if sessions missing 2013-05-31 15:10:43 -05:00
Mathieu Parent ab7635e9bc Add IPs to mod_skinny recv/send event messages
FS-5268 --resolve
thanks to Nathan Neulinger
2013-05-31 15:10:43 -05:00
Mathieu Parent 4a981b336a Don't pretend we support skinny-wait timeout (See #FS 477) 2013-05-31 15:10:42 -05:00
Mathieu Parent b36ad82da7 Don't create a new session when pressing speeddial
Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)
2013-05-31 15:10:42 -05:00
Brian West 83c6f4250b add kirk wireless servers to safe as they do not do rport 2013-05-31 11:56:53 -05:00
Steve Underwood 4d08e07237 Fixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
FS5202.
2013-05-31 09:04:46 -05:00
Brian West b90dee2461 Swap this 2013-05-31 09:16:50 -05:00
Travis Cross e1a773406d Unsigned values are never less than zero 2013-05-29 03:02:21 +00:00
Travis Cross 1637a08206 Avoid using psession uninitialized in mod_fsk 2013-05-29 03:00:13 +00:00
Travis Cross 04b8de0619 Avoid using memory after we free it
Without setting errmsg to NULL here, we'll try to print this freed
value again below if another error doesn't intercede.
2013-05-29 02:52:23 +00:00
Travis Cross de3727fe06 Add common include paths for jni.h and jni_md.h 2013-05-29 02:48:28 +00:00
Travis Cross 50a02efd27 Fix variable type in mod_nibblebill 2013-05-29 02:48:11 +00:00
Travis Cross e964215868 Work around error in pocketsphinx-0.7
fsg_search.c:263:2: error: non-void function 'fsg_search_reinit' should return a value [-Wreturn-type]
2013-05-29 02:48:01 +00:00
Travis Cross e60877cde6 Add missing newline at end of mod_say_fa.c 2013-05-29 02:47:08 +00:00
Mariusz Czułada cd549aa44a FS-5157 patch accepted 2013-05-29 00:22:19 +02:00
Brian West 2cac71675f log auto adjust ip and port separate so it doesn't get clobbered on hold/update events 2013-05-28 16:26:05 -05:00
Anthony Minessale 4d5ea55924 FS-5480 --resolve 2013-05-28 08:18:00 -05:00
Travis Cross acc8eb5cb6 Remove unused variable in mod_rtmp
Unused variables break the build with recent versions of gcc and
clang.
2013-05-26 05:29:21 +00:00
Travis Cross a744b202fd Quote arguments to shell when sending email
Note that the function switch_util_quote_shell_arg is implemented
incorrectly for unix shells, so this is still not safe until that
function is fixed.

Reported-by: Nathan Neulinger <nneul@mst.edu>

FS-5450 --resolve
2013-05-26 01:41:02 +00:00
Travis Cross ff85c6cfdf Fix memory leaks in mod_tts_commandline
We were using both switch_util_quote_shell_arg and
switch_string_replace without freeing the results even though both
functions malloc.
2013-05-26 01:08:10 +00:00
Travis Cross 103d97e208 Leave room for switch_escape_string to add a terminating null
Thanks-to: Nathan Neulinger <nneul@mst.edu>

FS-5448 --resolve
2013-05-25 23:29:48 +00:00
Travis Cross 2870bb9200 Fix comment spelling
Thanks-to: Mariusz Czułada <manieq.net@gmail.com>
2013-05-25 21:47:08 +00:00
Travis Cross ed276a10d2 Fix memory corruption in mod_erlang_event
Thanks-to: Alexandre Snarskii <snar@snar.spb.ru>

FS-5465 --resolve
2013-05-25 21:46:58 +00:00
Travis Cross 4b2dd0a8d9 Don't setup ZRTP without a session and channel
FS-5472 --resolve
2013-05-25 21:46:11 +00:00
William King 6c4ec9d954 Fix a possible deadlock scenario in the impossible scenario from the last patch. 2013-05-25 11:07:30 -07:00
William King a6d24d8eac Redundant code. The if/else block makes more sense than the equivalent in two separate if's. 2013-05-25 07:46:47 -07:00
William King 782480c48b Better to not pass tmp_socket to setsockopt if there was an error here creating the socket. 2013-05-25 07:36:43 -07:00
William King 479a06bda6 It's been missing a break there for ~4 years and instead using the 8k max_ms values(the ptime_div value is the same). 2013-05-25 07:16:51 -07:00
William King a4b8226c89 Cleaning up logically dead code. 2013-05-25 07:02:33 -07:00
William King e5ca2a0028 This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array. 2013-05-25 06:51:22 -07:00
William King 50b664c2dd Small off by one error. If the array is of size 144, then an index of 144 inclusive is an error. 2013-05-25 06:41:22 -07:00
William King dfbc175776 Let's bit a bit safer when dereferencing pointers. 2013-05-24 20:03:19 -07:00
William King 6c3062a768 Removing logically dead code 2013-05-24 19:59:20 -07:00
William King 4edf66be98 If there is a problem reading the dictionary file, don't leak memory... 2013-05-24 19:55:37 -07:00
William King 8803804f90 Removing unused code 2013-05-24 19:53:10 -07:00
William King 47c6981a9f More explicit and defensive code so if the init fails we know we handling this pointer safely, because rc_config_init will free the pointer if there was a problem, but it will not set the pointer to NULL. 2013-05-24 19:49:20 -07:00
William King 6320042f6b Another location where mod_rtmp would leak memory. 2013-05-24 19:45:24 -07:00
William King 83ae82fd2d Fix improper handling of a double linked list that could have caused a memory leak. 2013-05-24 19:42:02 -07:00
William King b3aea78730 Appears to have been a copy paste error because this doesn't do what the api claims, and it also leaks the reference to the new node. 2013-05-24 19:35:43 -07:00
William King 8a743cb2f3 Fixing a memory leak. name needs to be freed since it's being strdup'd lower. 2013-05-24 19:31:40 -07:00
Anthony Minessale aecd186ba5 FS-5470 --resolve 2013-05-24 09:37:40 -05:00
Anthony Minessale dc13cb847f FS-5466 --resolve 2013-05-24 09:14:26 -05:00
Mariusz Czułada e44316d3ea FS-5042 changed event body creation 2013-05-24 09:02:23 -05:00
Raymond Chandler d00ed860a1 FS-4871: reduce logging a bit 2013-05-24 08:34:44 -05:00
Jeff Lenk 4b54ec078b FS-5389 2013-05-24 08:34:43 -05:00
Jeff Lenk b214af4ccf FS-5389 --resolve 2013-05-24 08:34:43 -05:00
Raymond Chandler 1e6d7ea113 FS-4871 --resolve 2013-05-24 08:32:46 -05:00
Anthony Minessale 22076b7b6f FS-5453 --resolve 2013-05-24 08:13:55 -05:00
Anthony Minessale 9c98829aab FS-5453 --resolve this is a different issue, we just have to hangup the loopback channel so the loopback and the sip don't both execute the extension 2013-05-23 09:59:18 -05:00
Anthony Minessale 0060313ea1 swig 2013-05-23 09:55:52 -05:00
Anthony Minessale 18ac2a2540 FS-5042 --resolve 2013-05-23 08:07:26 -05:00
Anthony Minessale 3d2eb20a28 FS-5453 --resolve 2013-05-23 08:06:52 -05:00
Anthony Minessale c08622235d FS-5402 --resolve the problem is ent originate has many channels and many causes to parse so we need to check it against all the causes 2013-05-22 11:01:59 -05:00
Anthony Minessale 666ba36e57 FS-5360 change defaults 2013-05-22 10:20:57 -05:00
Anthony Minessale aed693b9e5 FS-5436 --resolve 2013-05-21 19:39:21 -05:00
Anthony Minessale b73e2c51bb FS-5402 revert wait till tomorrow 2013-05-21 13:29:05 -05:00
Anthony Minessale b6561f2535 FS-5402 2013-05-21 13:22:35 -05:00