aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_phone.c
AgeCommit message (Collapse)AuthorFilesLines
2007-07-11Use some Makefile magic to determine if linux/compiler.h is present. (issue ↵file1-0/+3
#10174 reported by francesco_r) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@74587 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-24removed #if 0 block from chan_phone, chan_zap, and chan_modem restart_monitor()dhubbard1-3/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@61777 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28According to the research I have done we never needed to include compiler.h ↵file1-5/+0
in the first place so let's not! (issue #8430 reported by edguy3) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48087 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Don't include compiler.h on kernels 2.6.18 and higher as, well, it's ↵file1-0/+2
apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Restore original functionality of 1.2 in places where ANI was not set, but wasrussell1-3/+1
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-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-4/+1
"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
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/+1
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-3/+3
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-4/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-10/+6
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 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-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-10/+15
pattern filtering git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵kpfleming1-1/+1
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-10/+10
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04fix breakage from slin endianness commit earlier today (sorry :-()kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5375 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865)kpfleming1-5/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5373 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-30Add fixup to chan_phone (bug #3825)markster1-0/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-28Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" ↵markster1-3/+3
DTMF mode git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5293 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Rework channel structure to eliminate "pvt" portion of channel (bug #3573)markster1-48/+84
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-02Fix chan_phone error code (bug #3692)markster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5116 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25Merge config updates (bug #3406)markster1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-15Repair // comments to /* */ comments (bug #3347)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4806 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-01Fix chan_phone for pre-gcc 3.0 (bug #3214)markster1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4630 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-31Phone driver updates (bug #1975)markster1-50/+138
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4615 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-07Big diet for struct ast_channelmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11Fix chan_phone for kernel 2.6 (bug #2831)markster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4202 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-26Pass concept of status back, permit "leaveempty" to work with static agents ↵markster1-2/+4
who are not loggedon (bug #2719) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4106 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-03Major PBX revamps (including labels, update examples)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3886 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02Huge callerid rework (might break H.323, others)markster1-29/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-08Merge BSD stack size work (bug #2067)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3596 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-16Last set of strncpy/snprintf updates (bug #2049)markster1-8/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-24Make sure other drivers also zero delivery (thanks to steven davies)markster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3295 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵citats1-1/+0
instead (except in asterisk/lock.h). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-12Display error when having trouble reading from /dev/phonemarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3196 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09Merge FreeBSD locking fixes (bug #1411)markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-08chan_phone portability (bug #1788)markster1-31/+43
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3172 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-06Try to parse callerid properly on /dev/phone (bug #1788)markster1-6/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3154 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-16Fix callerid on quicknet stuff (bug #1613)markster1-9/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2985 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06Get rid of all that old needlock garbage now that we're using recursive mutexesmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-15Fix bug 1217. Change pthread_t initializers to AST_PTHREADT_NULL andcitats1-5/+5
AST_PTHREADT_STOP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2434 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-09Cleanup unload callsmarkster1-57/+60
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1850 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-17DTMF enhancementsmarkster1-2/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1523 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-16Show the names of the codecs instead of the numbers (bug #92)martinp1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1348 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-13Totally revamp thread debugging to support locating and removing deadlocksmarkster1-39/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1310 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-27More BSD enhancementsmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@916 f38db490-d61c-443f-a65b-d21fe96a405b