aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_mgcp.c
AgeCommit message (Collapse)AuthorFilesLines
2007-01-31Fix a bunch of places where pthread_attr_init() was called, butrussell1-0/+1
pthread_attr_destroy() was not. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53045 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Restore original functionality of 1.2 in places where ANI was not set, but wasrussell1-4/+2
changed to be set. The original change was done to ensure that the behavior of the "callerid" option in each channel driver was consistent, but it caused an unexpected behavior change of CDR records for users, so this change is being reverted in 1.2. (issue #7695) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41411 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16don't allow AUEP responses to overflow the stack during a string copy ↵kpfleming1-4/+6
(reported by Mu Security) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40057 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05Fix an issue that would cause a NewCallerID manager event to be generatedrussell1-1/+8
before the channel's NewChannel event. This was due to a somewhat recent change that included using ast_set_callerid() where it wasn't before. This function should not be used in the channel driver "new" functions. (issue #7654, fixed by me) Also, fix a couple minor bugs in usecount handling. chan_iax2 could have increased the usecount but then returned an error. The place where chan_sip increased the usecount did not call ast_update_usecount() git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38904 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03use ast_set_callerid to be more consistent and to make sure that therussell1-33/+7
"callerid" option in the conf files is always handled the same way and sets ANI (issue #7285, gkloepfer) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@36725 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11fix memory leak from not destroying the scheduler context on module unloadrussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9609 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10don't create monitor threads in detached mode, when we need to be able to ↵kpfleming1-6/+2
pthread_join() them later if the module is unloaded (solve crash-on-unload problem for these channel modules) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9404 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06issue #5605russell1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-27Remove unnecessary checks before calls to ast_strlen_zero. Also, changerussell1-7/+7
some places where strlen is used instead of ast_strlen_zero git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-5/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09allow users of RTP to know when the peer endpoint is (apparently) behind a NATkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6558 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05add function to convert a cause code to a stringrussell1-2/+2
create MAX_MUSICCLASS instead of using MAX_LANGUAGE git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24don't use locks when reading usecounts (reading only, not writing)kpfleming1-5/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5994 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09remove useless code (bug #4492)kpfleming1-10/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5885 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07header ordering fixes for FreeBSD (pending a global merge into asterisk.h) ↵kpfleming1-2/+3
(bug #4484) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06another round of version tag updates, along with 'show version files' ↵kpfleming1-15/+19
pattern filtering git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25Use defined AST_MAX_ACCOUNT_CODE (bug #4350)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5765 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15correct some signed/unsigned issues found by GCC 4 (bug #4237)kpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08Fix gethostname calls (bug #4198, with mods)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5600 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04Minor protocol fixes (bug #4169)markster1-35/+36
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5577 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04solve memory leak and allow chan_mgcp to be unloaded (bug #4148)kpfleming1-34/+49
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5565 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵kpfleming1-2/+2
base-10 parsing (bug #4110) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-23/+23
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-11Fix MGCP call waiting (bug #3971, with mods)markster1-1/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5450 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-05ensure that MGCP AMA flags are passed into CDR (bug #3962)kpfleming1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5414 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-05ensure account code specified in mgcp.conf propagates to CDR (bug #3951)kpfleming1-5/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5390 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04Fix MGCP *67 to automatically reset callerid (bug #3940)markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5382 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-29Allow functions to be written to (bug #2278, with mods)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5296 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-28Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" ↵markster1-1/+12
DTMF mode git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5293 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532, #3400)markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5192 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Rework channel structure to eliminate "pvt" portion of channel (bug #3573)markster1-37/+53
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-28Allow MGCP to use distinctive ring for call waitmarkster1-1/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5107 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25Merge config updates (bug #3406)markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-15Make groups be 64-bits (bug #3351, with mods)markster1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4803 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-10Fix MGCP when running without verbose (bug #3260)markster1-119/+121
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4741 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-06Improve MGCP formatting (bug #3247)markster1-1754/+1756
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4695 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-06Merge distinctive ring for MGCP (bug #2880, with mods)markster1-7/+28
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4690 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-01Grab lock in hangup earliermarkster1-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4626 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-28Remove duplicate parse (bug #3173)markster1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4571 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19Fix MGCP compile warningsmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4489 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19Merge Olle's comment patch (bug #3097)markster1-11/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4488 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18Make sure we del any remaining connections (bug #2982)markster1-2/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4480 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14Merge slimey's Solaris compatibility (with small mods) (bug #2740)markster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17Make sure sin_family is filled inmarkster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4282 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17Small bug big fix for MGCP (bug #2888)markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4277 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-15Fix mgcp oopsie...markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4256 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-15Oops for mgcp and logger fix for old linuxmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4246 f38db490-d61c-443f-a65b-d21fe96a405b