Commit Graph

13843 Commits

Author SHA1 Message Date
Anthony Minessale f6baeb2109 bump 2012-11-19 18:21:25 -06:00
Jeff Lenk 9015b20f32 FS-4847 try this too 2012-11-19 16:28:39 -06:00
Jeff Lenk 21b9ec8868 FS-4847 --resolve 2012-11-19 16:23:55 -06:00
Christopher Rienzo de7dc5685d Remove redundant syntax check in dl_login 2012-11-17 17:32:12 -05:00
Christopher Rienzo ca18dcbe02 mod_dingaling- fix input check for dl_login so that dynamic profiles can be used 2012-11-17 16:52:36 -05:00
Anthony Minessale 43b094f139 fix some sql order issues 2012-11-16 20:09:43 -06:00
Daniel Swarbrick 6c2baed108 Fix segfault in mod_cdr_mongo when "number" is null. Thanks Dave May for bug report and patch. Fixes FS-4843. 2012-11-16 23:36:29 +01:00
Marc Olivier Chouinard 7448b075b7 FS-4760 --resolve 2012-11-16 14:30:00 -05:00
Christopher Rienzo 59c8982083 Fix minor oops on FS-4840 2012-11-16 17:46:35 +00:00
Anthony Minessale 60630274f1 FS-4840 --resolve 2012-11-16 07:43:19 -06:00
Anthony Minessale d48e3de7c8 make it so when you put someone on hold and then they attended transfer you, the resulting bridge will still be playing hold music 2012-11-15 21:07:58 -06:00
Anthony Minessale 6644cefb20 finish fixing thread pool logic from yesterday 2012-11-15 17:59:11 -06:00
Anthony Minessale 55eb2c5ccf fix issue where max event threads would always launch as soon as you only needed one more 2012-11-15 17:58:40 -06:00
Anthony Minessale 6f2976298f FS-4836 ok try this 2012-11-15 13:16:50 -06:00
Anthony Minessale 057861867e FS-4836 not quite 2012-11-15 13:14:08 -06:00
Anthony Minessale 73f022873b FS-4836 try this 2012-11-15 12:54:40 -06:00
Anthony Minessale 57f44f9f58 fix regression with presence packet storm 2012-11-15 12:54:40 -06:00
Eliot Gable 893cd7beb7 Add att_xfer_destination_number variable to indicate the original destination number of the attended transfer leg on REFER for semi-attended transfer scenarios. 2012-11-15 20:37:52 +00:00
Anthony Minessale 4b96a8b2e5 wait_for_state_or_greater actually needs >= 2012-11-14 19:19:03 -06:00
Anthony Minessale f8aa3777e9 thread pool was not releasing surplus threads after timeout 2012-11-14 18:43:28 -06:00
William King a47321f0fd Differentiate when the sms message successfully matched an extension in the chatplan, and when it fell through. 2012-11-14 16:48:21 -08:00
William King b8f0d11a8a Fire an event on successful sms delivery, as well as clearify if the delivery method was blocking or not. 2012-11-14 16:45:32 -08:00
William King 8b74de2d62 Adding delivery status code if the sms was sent in blocking mode. 2012-11-14 16:43:37 -08:00
Anthony Minessale ca0ffe6b76 add version to status output 2012-11-14 13:22:48 -06:00
Anthony Minessale 2f2a351067 add initial_callee_id_name/number 2012-11-14 09:20:52 -06:00
William King 8f0b7e69de Handle routing loop detection properly so that the delivery confirmation handling is more accurate. 2012-11-13 18:18:40 -08:00
Anthony Minessale 7cb8d4dbb0 fix mutex to work better 2012-11-13 17:56:31 -06:00
William King 5fffdc2936 This fixes multiple issues dealing with sms from registered endpoints to other destinations. 2012-11-13 16:56:58 -08:00
Anthony Minessale 580e63ecfa check for signalling in sleep app on channels without media 2012-11-13 12:30:25 -06:00
Brian West f4e55fb187 fix regression from 6b6c83a718 2012-11-13 12:48:59 -06:00
Anthony Minessale b04e4be512 fix race condition in double loopback bowout 2012-11-13 11:36:50 -06:00
Jeff Lenk 74dd18fe97 add missing reference - windows gsmopen 2012-11-13 08:51:48 -06:00
Anthony Minessale eb0c514e4f don't count pickup endpoints in sps limits 2012-11-12 18:45:53 -06:00
Anthony Minessale 8cd8b15266 FS-4825 --resolve 2012-11-12 05:50:00 -06:00
Anthony Minessale 082085fc5a FS-4824 --resolve 2012-11-11 09:09:22 -06:00
Seven Du 26b10fcc01 FS-3960 update and apply patch 2012-11-11 14:23:27 +08:00
Anthony Minessale d25bde067d FS-4816 --resolve 2012-11-09 08:47:30 -06:00
Anthony Minessale 2fa045cf37 FS-4784 --resolve this should have the same effect 2012-11-08 16:47:05 -06:00
Anthony Minessale b39a2cbb8b put running_state in the channel event rather than the state so presence events reflect the current state of the channel and not the one that was possibly changed during the last state 2012-11-08 14:13:05 -06:00
Anthony Minessale 6591eb1497 fix mod_db regex 2012-11-08 12:35:50 -06:00
Eliot Gable 302c323a8f Update PGSQL socket descriptor on reconnect in case a new descriptor was assigned. 2012-11-08 19:49:14 +00:00
Eliot Gable 1e929e723f More fixes for reconnecting to PGSQL on connection failure. 2012-11-08 18:45:00 +00:00
William King 48a0924b54 merge failure on my part. this should have been included. 2012-11-07 18:04:13 -08:00
William King 2cea7f0ff6 Enable mod_lua to use native pgsql dbh support 2012-11-07 17:47:46 -08:00
Anthony Minessale bfe3fdf347 regression from 0160072adc code was outside of code block 2012-11-07 16:46:36 -06:00
Anthony Minessale 6814014f7d bad merge 2012-11-07 14:57:08 -06:00
Anthony Minessale ba625501ba fix a lock logic error in lcr endpoint 2012-11-07 14:53:47 -06:00
Anthony Minessale 6627dc8696 fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p 2012-11-07 14:53:16 -06:00
Eliot Gable 0160072adc Fix query cancelling so it leaves the handle in a good state; fix detection of broken connections in db_is_up by consuming the EOF on a failed connection before checking if the connection failed; add more detailed logging about who called the SQL function when something goes wrong. 2012-11-07 21:35:40 +00:00
Anthony Minessale f60962ae87 fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p 2012-11-07 12:10:50 -06:00
Anthony Minessale feb38cece2 FS-4779 give this a shot 2012-11-07 08:14:32 -06:00
Eliot Gable 658beb7fbd This "else" condition is not an error condition. It is reached when you execute a multi-statement query and it reaches the end of all statements. 2012-11-06 22:50:29 +00:00
Anthony Minessale 6c1e81a813 FS-4797 --resolve 2012-11-06 08:53:00 -06:00
Anthony Minessale 8e3f6d21f9 FS-4796 --resolve 2012-11-06 08:51:38 -06:00
Giovanni Maruzzelli 14c4f66612 FS-4742 skypopen: tentative blind fix to the Skype's Voicemail VM_PLAYING_GREETING problem 2012-11-06 18:06:39 +01:00
Giovanni Maruzzelli 33378fad7d FS-4750 skypopen: generate inbound A-leg CDR (eg: do not jump from hangup to CS_DESTROY) 2012-11-06 16:59:11 +01:00
Michael Jerris fe6c8b7037 don't seg on invaild config 2012-11-06 09:15:50 -05:00
Giovanni Maruzzelli d0c9ad1617 FS-4740 skypopen: do not act on 'channel reset'. Ignore it as in the majority of endpoints 2012-11-06 12:47:40 +01:00
Giovanni Maruzzelli dedbb3a8cb FS-4692 gsmopen: patch from Ivan Mironov allowing for values 'context', 'dialplan', 'destination' and 'hold_music' from configuration file global_settings used by default for individual interfaces 2012-11-06 12:31:32 +01:00
Giovanni Maruzzelli 92d44e5023 FS-4691 gsmopen: patch from Ivan Mironov allowing for longer device names, useful for symlinks created by udev 2012-11-06 12:24:17 +01:00
Giovanni Maruzzelli 85542799f0 FS-4782 gsmopen: abide the origination_uuid variable. Dude abide 2012-11-06 12:05:26 +01:00
Giovanni Maruzzelli 65bc765846 FS-4659 gsmopen: give error and abort call when dialing was not through correctly (eg: get back OK). Also, grow the default timeout when expecting a string back from the modem to half a second - 500000 usec - so to avoid false negatives 2012-11-06 11:34:34 +01:00
Giovanni Maruzzelli 648ce206c6 FS-4338 gsmopen: added patch to compile in FreeBSD 2012-11-06 10:39:12 +01:00
Giovanni Maruzzelli a6068d25fe skypopen: removing my own chatmessage from the array - nicer logmesg 2012-11-06 09:57:19 +01:00
Giovanni Maruzzelli d975424816 skypopen: removing my own chatmessage from the array 2012-11-06 09:55:14 +01:00
Anthony Minessale 72daaa73e9 6b7d5e5a9a was actually wrong, I was sick that day, I should have gotten more rest.. =/ 2012-11-05 10:33:28 -06:00
Brian West b86944bcac Enable FEC up packet loss percent 2012-11-05 11:09:13 -06:00
Anthony Minessale 3c2c6832fa FS-4792 --resolve sure 2012-11-05 06:37:01 -06:00
William King ba0e7ae9ca Adding ability to toggle mod_xml_radius debug flag from a console api command rather than having to rebuild and reload the module. 2012-11-02 17:06:27 -07:00
Anthony Minessale 49551f605c remove debug line 2012-11-02 13:58:56 -05:00
Anthony Minessale e884de5b07 add NUTAG_RETRY_AFTER_ENABLE() tag to lib sofia and use it in mod_sofia to disable processing retry-after headers on a per-call basis 2012-11-02 13:54:54 -05:00
Anthony Minessale b002394f21 7 ate 9 2012-11-02 12:49:39 -05:00
Anthony Minessale fa2c9ec07e FS-4011 --resolve 2012-11-02 08:47:47 -05:00
Jeff Lenk 98bbb9affe mostly trivial windows fixes for last several commits - anthm pthread_self in mod_dptools is not in scope for windows? commented out. 2012-11-01 21:59:18 -05:00
Brian West ccb3f7fd2b FS-4785 --resolve 2012-11-01 18:09:46 -05:00
Anthony Minessale 0a0f5951ab check in page app 2012-11-01 15:50:46 -05:00
William King 5bc9fa8a66 More accurate and detailed sample configuration file. 2012-11-01 13:30:29 -07:00
Anthony Minessale 87b796c857 FS-4776 forgot to push this 2012-11-01 16:29:53 -04:00
Anthony Minessale 94763ea52b FS-4681 --resolve 2012-11-01 13:07:47 -05:00
Brian West 43dfc70327 FS-4745 --resolve 2012-11-01 15:04:31 -05:00
Brian West efcd5656fb FS-4743 --resolve 2012-11-01 15:00:34 -05:00
William King b4502078cf Remove potential infinate loop when caller hung up before audio completed. Thanks to telapi.com for the patch 2012-11-01 11:50:35 -07:00
William King e081f8ffc2 Improve handling of file error and closing conditions. Thanks to telapi.com for the patch. 2012-11-01 11:50:35 -07:00
Anthony Minessale b113330049 revert 2012-11-01 12:27:11 -05:00
Anthony Minessale ce142f06f7 revert 2012-11-01 12:26:31 -05:00
Anthony Minessale f7366b6c91 loop on eintr on pop and trypop 2012-11-01 12:25:29 -05:00
Anthony Minessale 3e94242c4b FS-4779 try this instead 2012-11-01 09:14:34 -05:00
Anthony Minessale 2494448846 FS-4781 --resolve I added some more code to the jb for seq but I still think the timestamp is more reliable than the seq since we can't know if the rtp is passing over a media proxy who may preserve the timestamps but still rewrite the seq, its more likely the ts shows the more accurate order of the rtp stream 2012-11-01 09:00:43 -05:00
Jeff Lenk 254514448f vs2010 reswig 2012-10-31 20:48:28 -05:00
Anthony Minessale aee3767420 FS-4780 try this 2012-10-31 14:27:57 -05:00
Anthony Minessale 9fae77ae76 doh 2012-10-31 13:02:03 -05:00
Anthony Minessale d1ad4d477c add no_loopback flag to apps so they can tell mod_loopback to bow out 2012-10-31 12:56:09 -05:00
Anthony Minessale a4a44fb140 FS-4741 parse timezone variable and adjust time for time based routing 2012-10-31 10:43:59 -05:00
Anthony Minessale c50336b1f8 deal with handles being released incorrectly 2012-10-31 10:31:23 -05:00
Anthony Minessale 5ca8cf7d8e call destroy not stop in sofia profile 2012-10-31 08:59:31 -05:00
Anthony Minessale 23bb963d17 FS-4779 I don't have this labbed up to try so can you try this patch and repost logs if it doesn't work 2012-10-31 08:52:00 -05:00
Anthony Minessale 6d7e2799c3 FS-4741 I think I see the issue, try this 2012-10-31 11:41:48 -04:00
Michael Jerris 603f3eff97 add configure flag to turn on legacy coredb behavior 2012-10-31 11:22:10 -04:00
Michael Jerris 4fcf7c3443 always update state to CS_HANGUP for now, even if the channel is gone to handle race where we miss this update 2012-10-31 10:44:38 -04:00
Anthony Minessale ab99143d5f only put session pointers in when its done from a codec that comes from a session and set it to the right one 2012-10-30 16:56:03 -05:00
Anthony Minessale f1bcc387a3 put back seq number when pulling from jb 2012-10-30 16:05:44 -05:00
Michael Jerris 1de65cbcd0 handle state update for hangup 2012-10-30 19:02:33 -04:00
Anthony Minessale 74dbbb014f FS-4775 --resolve use vars voicemail_callback_dialplan and voicemail_callback_context 2012-10-30 15:33:35 -05:00
Anthony Minessale 3595c528ae reset rtpip index on reload 2012-10-30 14:22:31 -05:00
Anthony Minessale 4baec06540 add api_on_pre_originate 2012-10-30 11:06:33 -05:00
Eliot Gable c711eabd75 More descriptive ODBC error messages. 2012-10-30 18:19:13 +00:00
Anthony Minessale c9d6b801ab add calls to execute_on_post_originate for a leg too 2012-10-30 09:05:41 -05:00
Anthony Minessale 29628007f4 good measure 2012-10-30 08:03:03 -05:00
Jeff Lenk acd73bfaee FS-4758 try this 2012-10-29 23:16:46 -05:00
Jeff Lenk fe4d736ff9 windows trivial compiler fixes and vs2010 reswig 2012-10-29 22:34:51 -05:00
Anthony Minessale 8626978201 fix race cond 2012-10-29 15:16:55 -05:00
Anthony Minessale de5f0c5144 fix some sql mem leaks. regression from recent refactor 2012-10-29 14:38:37 -05:00
Anthony Minessale bc0912cd11 FS-4773 --resolve 2012-10-29 14:24:01 -05:00
Anthony Minessale d86f2c724a fix logic err 2012-10-29 13:47:21 -05:00
Anthony Minessale 3812ebb958 let codecs see current frame via the codec obj 2012-10-29 15:07:50 -05:00
Anthony Minessale 4b5cdd87f1 refactor 2012-10-29 11:46:32 -05:00
Anthony Minessale bf0056f3b8 FS-4729 try this 2012-10-29 09:47:01 -05:00
Anthony Minessale 759d26db09 FS-4771 --resolve 2012-10-29 09:27:59 -05:00
Anthony Minessale fe5dbf3b03 FS-4770 --resolve 2012-10-29 09:27:08 -05:00
Anthony Minessale f657a3787b fix regression from config refactor in rescan behaviour to pick up new gateways 2012-10-29 08:23:21 -05:00
Anthony Minessale 5533d71366 put back the hangup one for the time being 2012-10-29 07:49:25 -05:00
Anthony Minessale 652da36862 fix id-less bug from mailing list .. USE JIRA DANG IT 2012-10-27 12:34:35 -05:00
Anthony Minessale 96550e893e finish off sql optimization 2012-10-27 12:27:00 -05:00
Anthony Minessale 60f7849cbe FS-4769 should work now 2012-10-27 11:33:06 -05:00
Jeff Lenk 0fa6826a80 trivial compiler warning fix + vs2010 reswig 2012-10-27 11:20:34 -05:00
Anthony Minessale 0e139e1c0e missed a spot 2012-10-26 21:00:25 -05:00
Anthony Minessale 9d4b72b29a fold the last round of sql manager changes back into the core and use it for the central db and simplify the algorithm 2012-10-26 20:52:09 -05:00
Anthony Minessale 0e2f33e2b0 add mutex for good measure 2012-10-26 16:12:44 -05:00
William King 6bc230547c Adding an anti pattern check option 2012-10-26 15:45:59 -07:00
Anthony Minessale b94ef869e3 FS-4769 try this patch and put {drop_dtmf=true} in your dial string 2012-10-26 14:46:36 -05:00
Anthony Minessale 6b9c2ca8af fix for new db stuff 2012-10-26 14:17:52 -05:00
Anthony Minessale 28aa2ad291 optimize sql generator to skip insert/update stmts on channels that do not exist 2012-10-26 12:10:36 -05:00
Anthony Minessale fbfe830abf do lookup in dingaling when an address is specified as host:foo.bar.com like sofia does 2012-10-26 11:57:38 -05:00
Anthony Minessale d905bc8488 FS-4763 --resolve 2012-10-26 10:13:04 -05:00
Anthony Minessale 7088758ae3 FS-4684 try this 2012-10-26 09:30:47 -05:00
Jeff Lenk 8a5212164f windows fixes for last commit + vs2010 reswig 2012-10-25 19:00:28 -05:00
Anthony Minessale 15837ff5c8 more little caesars 2012-10-25 16:22:52 -05:00
Anthony Minessale 1d4e16419e fix macro 2012-10-25 15:13:31 -05:00
Anthony Minessale 7a180b752d swig 2012-10-25 15:10:15 -05:00
Anthony Minessale 16d41e463c get rid of little caesars 2012-10-25 15:09:09 -05:00
Anthony Minessale 49166a3c58 typo 2012-10-25 14:17:26 -05:00
Anthony Minessale 7e2110abf7 fix a few regressions from the last commit 2012-10-25 14:06:05 -05:00
Anthony Minessale b29412054a fold reconfig_sofia into config_sofia so we don't have 2 difft config funcs 2012-10-25 12:30:08 -05:00
Anthony Minessale 68e0b7e859 optimize sofia sql by using new core transaction processor we will no longer support databases that do not support transactions 2012-10-25 11:31:47 -05:00
Anthony Minessale c670ed6df5 fix type in config 2012-10-25 11:31:47 -05:00
Anthony Minessale b8c0d3564c FS-4765 --resolve 2012-10-25 12:55:50 -05:00
Anthony Minessale 6e919cd43b FS-4764 --resolve 2012-10-25 10:07:27 -05:00
Jeff Lenk 3124f8226c FS-4761 --resolve 2012-10-24 19:17:15 -05:00
Anthony Minessale f1e16ccbfa only track calls once they have been answered 2012-10-24 12:33:13 -05:00
Anthony Minessale adce3f9c7c FS-4729 try this version with the same debug patch applied 2012-10-24 13:53:58 -04:00