Commit Graph

14952 Commits

Author SHA1 Message Date
Anthony Minessale a5e28f93c6 FS-5757 2013-09-06 02:06:38 +05:00
Anthony Minessale ecd9788a6d revert 2013-09-06 00:50:29 +05:00
Anthony Minessale fcfa721c6c revert 2013-09-06 00:48:27 +05:00
Anthony Minessale c8bc6a74a8 revert f24d1cde3d 2013-09-06 00:41:03 +05:00
Anthony Minessale fdc7cd03d7 add define for thread pool debug 2013-09-06 00:08:01 +05:00
Anthony Minessale 8f62bc6252 FS-5757 --resolve 2013-09-05 20:58:23 +05:00
Anthony Minessale ac875b7810 FS-5757 --resolve 2013-09-05 20:36:03 +05:00
Anthony Minessale a07dd2dc58 FS-5759 --resolve regression from e45774e764 re: FS-5620 2013-09-05 05:39:18 +05:00
Anthony Minessale 59231cde16 FS-5747 move reloadxml event outside of mutex 2013-09-05 04:10:06 +05:00
Anthony Minessale e1e13a7f5f FS-5754 2013-09-05 03:43:32 +05:00
Anthony Minessale 4158393f4e deliver events with the core thread pool set events-use-dispatch=true in switch.conf.xml to use the old way 2013-09-05 03:42:54 +05:00
Anthony Minessale 670b496c48 FS-5757 revert 2013-09-04 22:16:37 +05:00
Anthony Minessale 0cf4e2accd FS-5752 --resolve 2013-09-04 21:05:26 +05:00
Anthony Minessale 6729593b13 FS-5605 --resolve 2013-09-04 21:00:38 +05:00
Anthony Minessale 05811bb085 FS-5757 --resolve
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2013-09-04 20:36:55 +05:00
Anthony Minessale cbdcaba541 FS-5748 --resolve regression from FS-5665 511efc5cf0 2013-09-04 01:08:14 +05:00
Chris Rienzo 01ad34b58a mod_http_cache: use case-insensitive domain to profile hash 2013-09-03 10:05:30 -04:00
Nathan Neulinger cc069d7307 FS-5608 improvement in behavior, on EXECUTE it will now send the stop ring tone message to device 2013-09-03 08:54:10 -05:00
Anthony Minessale 9fa2079d63 FS-5741 --resolve 2013-09-02 22:57:09 +05:00
Chris Rienzo 511549cf6d mod_http_cache: added <domain> to <profile> configuration 2013-08-30 23:41:15 -04:00
Chris Rienzo cd16b03cb1 mod_rayo: tweak to allow duplicate <tag> for SISR 2013-08-30 18:18:08 -04:00
Chris Rienzo 255ffd4620 mod_rayo: add some hacky support for SISR in DTMF recognizer 2013-08-30 17:43:10 -04:00
Anthony Minessale 6476adc45e FS-4757 this should fix it but I am not happy with the way this is done but since polycom is one of the only phones that does this right I have no other choice 2013-08-29 22:23:20 +05:00
Chris Rienzo 48fb8999da mod_ssml: add default config for interpret-as='characters' 2013-08-28 13:52:53 -04:00
Anthony Minessale 1d09cdba96 swigall 2013-08-28 21:32:02 +05:00
Anthony Minessale 66170be9d8 FS-5734 documentation will need to be updated to request languages instead of phrases 2013-08-28 21:25:52 +05:00
Nathan Neulinger 6ac01bdd1f fix variable setting from skinny and mismatched logging 2013-08-27 12:31:57 -05:00
Chris Rienzo 4990a541bf FS-5733 --resolve mod_rayo: don't use nested <input> when creating dtmf-only match. 2013-08-26 18:57:25 -04:00
Anthony Minessale 1233172101 FS-5731 --resolve 2013-08-26 20:25:26 +05:00
Anthony Minessale 87f273f054 FS-5722 --resolve 2013-08-23 20:28:06 +05:00
Anthony Minessale d816fd9b0e FS-5296 stable version 2013-08-22 02:32:39 +05:00
Anthony Minessale c73179c6ad git fail, b4792e7 won't cherry pick but the patch manually applied fine 2013-08-21 22:27:56 +05:00
Anthony Minessale 706aa0903c fix rfc4579 method=bye handling 2013-08-21 22:01:01 +05:00
Chris Rienzo 83e33dd150 mod_rayo: use XMPP URI instead of FS UUID for join/unjoin 2013-08-20 17:27:24 -04:00
Ben Langfeld 93fec8dd75 mod_rayo: Remove compensation for Punchblock Rayo spec incompatibility 2013-08-20 17:27:11 -04:00
Nathan Neulinger 1d30a502b8 FS-5164 - fix segv on ring handling due to listener not being defined 2013-08-20 13:02:17 -05:00
Nathan Neulinger cad11edb76 FS-5164 --resolve add support for setting user variables w/ skinny 2013-08-20 09:25:10 -05:00
Anthony Minessale 93c7e496c7 FS-5708 --resolve 2013-08-19 23:48:38 +05:00
Ken Rice 8566ffa82a Revert FS-5708 ; build issues
This reverts commit 77d0ee21b2.
2013-08-16 17:54:03 -05:00
Anthony Minessale 2449371329 FS-5709 --resolve 2013-08-17 02:16:38 +05:00
Anthony Minessale 77d0ee21b2 FS-5708 --resolve 2013-08-17 02:14:19 +05:00
Moises Silva 64ade54a73 FS-5528 --resolve 2013-08-16 09:56:09 -04:00
Anthony Minessale ed6a090483 FS-5700 --resolve 2013-08-15 21:20:22 +05:00
Anthony Minessale 43a11b00aa Fix segfault in mod_conference
This was introduced by commit a4408e62a6.

FS-5612 --resolve
2013-08-15 15:59:35 +00:00
Chris Rienzo f7d4ff390a mod_rayo: move alias definition to config file, tweak console command completion to make testing easier 2013-08-14 18:00:45 -04:00
Anthony Minessale b0371ee702 FS-5701 --resolve 2013-08-14 21:00:52 +05:00
Ken Rice a29b2c2f7f FS-5648 --resolve 2013-08-14 09:49:48 -05:00
Ken Rice 6726059e47 FS-5694 --resolve 2013-08-14 09:09:08 -05:00
Chris Rienzo 217a7c5ff8 mod_rayo: add support for speech recognizers other than pocketsphinx, fixed some input component bugs, allow simultaneous dtmf and voice input. 2013-08-14 09:41:55 -04:00
Anthony Minessale 2131cd6cf2 FS-5683 --resolve 2013-08-14 02:25:04 +05:00
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