Commit Graph

13816 Commits

Author SHA1 Message Date
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
Mahdi Moradi cecd0f4505 With this changes, can say mobile numbers better. 2012-10-24 19:17:56 +03:30
Anthony Minessale 1a43405bed up max db buffer size in core sql 2012-10-23 20:38:03 -04:00
Anthony Minessale 01dde19cbd FS-4741 --resolve use paypal@freeswitch.org 2012-10-23 18:19:32 -04:00
Anthony Minessale f0895c9f51 print extended debug messages at alert level 2012-10-23 18:14:27 -04:00
Anthony Minessale 6d75c36f69 Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2012-10-23 13:15:14 -04:00
Anthony Minessale 5f469ad2bd FS-4753 --resolve this should properly detect it everywhere 2012-10-23 13:14:51 -04:00
Jeff Lenk 8b14f81343 strtoll correction for windows 2012-10-23 12:08:40 -05:00
Anthony Minessale 2246b84554 fix missing line 2012-10-23 11:06:15 -04:00
Eliot Gable 42fcaeacf5 Better error message handling. 2012-10-23 15:02:36 +00:00
Eliot Gable d923f0f75c oops 2012-10-23 14:00:52 +00:00
Eliot Gable ce4fa8acfb Added switch_atomic_t option for config parsing. 2012-10-23 13:39:31 +00:00
Jeff Lenk 8589e031d0 vs2010 reswig 2012-10-22 22:01:22 -05:00
Seven Du 5ff654dab5 fix NIL case 2012-10-23 10:44:51 +08:00
Anthony Minessale 4b6db1329c FS-4729 try this patch clean 2012-10-22 13:37:41 -04:00
Anthony Minessale 17d1ffe45c FS-4748 the change to the header file did not make it into the commit 2012-10-22 11:56:22 -04:00
Jeff Lenk a8ee444ab9 FS-4748 --resolve 2012-10-22 09:24:45 -05:00
Jeff Lenk 09c03667a8 FS-4721 --resolve 2012-10-21 22:53:02 -05:00
Jeff Lenk 970b2f1765 FS-4722 german say date day month year 2012-10-21 22:43:58 -05:00
Daniel Swarbrick 58f1ee7ff0 mod_cdr_mongodb: add post-v0.6 patch to driver to support Unix domain sockets 2012-10-21 22:59:51 +02:00
Daniel Swarbrick a92fb019c5 Add missing config param to sample config 2012-10-21 17:55:13 +02:00
Daniel Swarbrick b53e4ed800 mod_cdr_mongodb: add support for replica sets (refs FS-4668) 2012-10-21 17:52:45 +02:00
Daniel Swarbrick 2b6e342534 mod_cdr_mongodb: tweak auth handling 2012-10-21 16:21:01 +02:00
Daniel Swarbrick ad7f889a82 mod_cdr_mongodb: add support for authentication 2012-10-21 16:04:56 +02:00
Anthony Minessale e3da4e1643 FS-4736 --resolve 2012-10-19 17:29:43 -04:00
Anthony Minessale b8bef3eeb3 remove code 2012-10-19 17:09:33 -04:00
Anthony Minessale 7b7254ac93 fix sofia recovery on srtp legs 2012-10-19 15:49:22 -05:00
Anthony Minessale fe7580b13d FS-4738 --resolve 2012-10-19 15:48:13 -04:00