Commit Graph

3167 Commits (39b9a1c945842c8d167df73d51c3643d2bcabdc8)

Author SHA1 Message Date
Joshua Colp a6480b61b0 Merged revisions 27973 via svnmerge from
20 years ago
Joshua Colp 6eb1d09ad9 Only set the RTP DTMF information of an RTP structure does indeed exist.
20 years ago
Olle Johansson 10c0ed16f0 Issue #7176 - Crash in expire_register (imported from 1.2)
20 years ago
Olle Johansson 270d5f6191 Adding a debug line
20 years ago
Joshua Colp 15358932ec Add distinctive ring detection with Caller ID for Australia, New Zealand, and other countries. (issue #3596 reported by deon patch by dbowerman with minor mods by moi)
20 years ago
Christian Richter 3fb070853b fixed bug that we've lost the orginator of the call.. now we can hear to disconnect indications again
20 years ago
Olle Johansson 770a4a30c5 Use pointer instead of un-needed buffer. Thanks Kevin!
20 years ago
Kevin P. Fleming c3dce57d95 mark RTP sessions that are not carrying DTMF
20 years ago
Matthew Fredrickson 99648dd713 Add option for enabling and disabling echo cancellation
20 years ago
Olle Johansson eeb2184920 Send a=recvonly when put on hold, otherwise a=sendrecv to indicate that we want two streams.
20 years ago
Olle Johansson e4c0a90649 Show all formats for an active SIP call
20 years ago
Christian Richter a309a2db9f fixed very bad memory overwrite which leaded to segfaults on some systems. removed redundant buffer betweend mISDN reading thread and ast_read in favour of the already existing pipe, this clarifies the way a voice frame takes between mISDN and asterisk a lot. centralized debugging of NumberPlan. removed a compiler warning.
20 years ago
Olle Johansson c625a539be One sipfrag attachment is enough...
20 years ago
Russell Bryant a3ed43f0dc Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
20 years ago
Russell Bryant f9c578a8a0 - The recent change to linklists.h broke the build on linux for some reason.
20 years ago
Luigi Rizzo 87e909476d simplify determine_firstline_parts
20 years ago
Luigi Rizzo f3e6fa56ab remove last instance of add_blank_header()
20 years ago
Luigi Rizzo b87aea8d60 remove almost all useless instances of add_blank_header() but one,
20 years ago
Olle Johansson 5237a0e06d - Use systemname for realm in sip, if we have no configuration for realm
20 years ago
Luigi Rizzo 945ec73b09 remove trailing space
20 years ago
Luigi Rizzo 589241e300 remove a duplicate prototype
20 years ago
Luigi Rizzo 96478ea3a2 remove duplicated code in add_header
20 years ago
Luigi Rizzo d06427978c simplify init_req()
20 years ago
Luigi Rizzo 5cd1ec4e17 cleanup init_resp with proper variable names and arguments.
20 years ago
Luigi Rizzo e08e646252 staticize a variable.
20 years ago
Luigi Rizzo 798b82e184 replace list unlinking with UNLINK macro
20 years ago
Luigi Rizzo 067c472abb simplify sip_pretend_ack also removing a bug in the existing
20 years ago
Kevin P. Fleming 70a554a264 Merged revisions 26760 via svnmerge from
20 years ago
Olle Johansson 71aabeef4f Ignore CANCEL on call that is already answered
20 years ago
Olle Johansson 2dd2865d7b Small formatting fixes
20 years ago
Olle Johansson 52cb5c87db Issue #OEJ12399.3 - Set default maxcallbitrate for users too.
20 years ago
Olle Johansson 9b2d51fb4a - Add more and organize forward declarations (preparing for splitting up this file)
20 years ago
Olle Johansson d04f0da698 Issue #7081 (kanoop) - use proper cause code for 480
20 years ago
Kevin P. Fleming 5fb4e7019f and chan_iax2 gets smaller... remove the old jitterbuffer
20 years ago
Russell Bryant 19ca8dc7c1 remove some chekc sof the result of ast_mutex_lock (issue #7119, Mithraen)
20 years ago
Kevin P. Fleming b5a7328dbe update the ->indicate() callback for the new arguments
20 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
20 years ago
Kevin P. Fleming fdcfd6469b ensure that control frames with payload can be sent to channel drivers via ->indicate()
20 years ago
Mark Spencer 66ed134473 Allow media to go directly between IAX endpoints while signalling still
20 years ago
Kevin P. Fleming c22eb692a1 minor cleanups and removal of duplicate prototypes
20 years ago
Mark Spencer 9953f4f40e Make SIP early media work more efficiently without so many reinvites
20 years ago
Mark Spencer 3135a35b92 Make sure we update parameters correctly with reinvite
20 years ago
Mark Spencer db502da870 Make menuselect be able to show what the modules are
20 years ago
Olle Johansson 5a31054599 Issue #7103 (mikma)
20 years ago
Olle Johansson 896362d30c - Issue 7101 (mikma) - Don't crash with no From: header in pedantic mode
20 years ago
BJ Weschke ff82a8046d Merged revisions 25563 via svnmerge from
20 years ago
Matt O'Gorman 05ea5482d0 woohoo asterdevcon first commit, adds feature to
20 years ago
Christian Richter 019f39f614 in PTMP TE we should set the free state for the B-Channel if we ignore an incoming call
20 years ago
Russell Bryant 3b43ddac78 Merged revisions 25123 via svnmerge from
20 years ago
Russell Bryant b6ac5b36c6 document the return value of gettag()
20 years ago
Russell Bryant e91afbaef1 fix the return value of gettag() to only return the pointer to the provided
20 years ago
Christian Richter efccf89eae Added option far_alerting. This option makes it possible to generate a Ringing on other channels if they feel that they should have inband ringing, but there is non in reality. I need this due to the fact that asterisk has not the possibility to transmit progress indicators thus chan_sip and others do not know wether they should generate a Rining tone themselves if they receive AST_CONTROL_RINGING..
20 years ago
BJ Weschke a7b1476058 Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL() function
20 years ago
Joshua Colp b82b277790 Update chan_iax2 to use linkedlists.h for users and peers. Modify the way get_from_jb and expire_registry works to get rid of certain crash scenarios. Finally - change the way expire_registry works when realtime autoclear is enabled to be a bit more efficient.
20 years ago
Olle Johansson 9c60f78ea1 Issue #7074 - Problem with long contact lines
20 years ago
Christian Richter 7f58902bf3 use set_callerid to update callerid with prefix
20 years ago
Christian Richter 63b0baa757 returning 128 emtpy Frames instead of null frame.
20 years ago
Tilghman Lesher dfdf6e1f76 Don't return stack pointers from functions (especially since the code will attempt to free() them later)
20 years ago
Luigi Rizzo 072e1b8a83 move some code used only --with-pri in the proper
20 years ago
Kevin P. Fleming 0adfa8c635 use proper method of detecting OSS support on Linux and FreeBSD
20 years ago
Kevin P. Fleming 51382b3712 Merged revisions 23705 via svnmerge from
20 years ago
Kevin P. Fleming d7aead737d Merged revisions 23673 via svnmerge from
20 years ago
Kevin P. Fleming 26753f77b0 remove unusable MFC/R2 support
20 years ago
Christian Richter 835dfe67b3 added an up-queue message mechanism to avoid buffer fillups in the kernel, also changed some strdups to ast_strdupa
20 years ago
Luigi Rizzo 96e015a239 partial adaptation to the new module loading
20 years ago
Russell Bryant d649d03170 fix sending the group numbers for a sip peer over the manager interface
20 years ago
Matt O'Gorman d830dbabf8 allows for chan_zap to have all channels reloaded
20 years ago
Matthew Fredrickson 173e8b14cd Make sure we use the correct event type when we're moving channels around :-)
20 years ago
Christian Richter 0b6bd0073b put the default misdn.trace to /var/log/asterisk/misdn.log for better integration of existing log structure
20 years ago
Christian Richter 2bde492ea9 Facility decoding doesn't work proper yet
20 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
20 years ago
Olle Johansson 5873462c2e - Add doxygen documentation for sipsock_read locking
20 years ago
Jim Dixon a83297d85f Added "Operator Services" connection mode for Zap channels, and the 'O' option
20 years ago
Luigi Rizzo 5fa0dc4316 more stncpy/ast_copy_string replacement.
20 years ago
Luigi Rizzo 8a63187145 replace some strncpy with ast_copy string,
20 years ago
Luigi Rizzo 5928df2a48 replace strncpy with ast_copy_string.
20 years ago
Luigi Rizzo ef619f6dd8 ast_strdup can handle NULL args well, so use it.
20 years ago
Olle Johansson 6149e82b6c Clarify result of sipsock_read
20 years ago
Olle Johansson 4403905c2d Add reference to RFC for mailbox notification
20 years ago
Olle Johansson d0f254ef61 Cosmetic fixes to code...
20 years ago
Olle Johansson fc2d28805b - call parking improvements (part of the siptransfer branch)
20 years ago
Olle Johansson 2af3d42e9b Implement somewhat improved support for 481 Call leg does not exist responses...
20 years ago
Olle Johansson 910c44b1b6 Clean up handle_response_peerpoke
20 years ago
Olle Johansson 60d91caa23 Change sip show channels to include refer status
20 years ago
Olle Johansson 1fec0e47e7 - Deallocate refer structure at sip_destroy time
20 years ago
Luigi Rizzo 52ac09f78f simplify logic in iax2_bridge()
20 years ago
Olle Johansson 177b8e9143 It's critical that we get an ACK on a 200 OK to an INVITE. If we do not get the ACK,
20 years ago
Olle Johansson 2c73c08f5a use XMIT_RELIABLE ...
20 years ago
Olle Johansson 40161ae947 - Move subscribeuri away from refer-to, since refer-to is moving away from sip_pvt
20 years ago
Kevin P. Fleming 2229586d71 more module loader related fixes
20 years ago
Olle Johansson 080298dad4 Set timeout timers to Timer A and F in rfc 3261, section 17
20 years ago
Olle Johansson ea7f924b30 Change transmit_invite(). SIP Transfers are now broken officially, while
20 years ago
Olle Johansson 5320c6b76a - Add supported header
20 years ago
Olle Johansson 42918c225a Add more history on masqs
20 years ago
Olle Johansson b124cf4c80 - Implementing the new SIP transfer data structure
20 years ago
Olle Johansson bdb2332621 - Documentation update
20 years ago
Olle Johansson bedd0c2ed3 Documentation update
20 years ago
Olle Johansson 382fd7260c Remove ignore from handle_respons_refer
20 years ago
Olle Johansson a5e5fb18e2 Clean up handle_response_invite
20 years ago
Olle Johansson 92ac73fe3b - Drop too bad SIP requests in order to avoid some UDP misuse (hello Edwin)
20 years ago
North Antara 659cb5ea5a whitespace and spelling (recieve instead of receive) fixes
20 years ago
Olle Johansson 4a312a044d - Fixes to ast_channel_lock functions
20 years ago
Joshua Colp 5c05128777 Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)
20 years ago
Russell Bryant 717445c1d8 add the ability to turn off the feature that allows agents to end calls
20 years ago
Russell Bryant 825d6d7c99 Big oops. I did this from my trunk directory instead of autoconf_and_menuselect ...
20 years ago
Russell Bryant aade174330 include autoconfig.h (casper)
20 years ago
Olle Johansson e75fa47099 More ast_channel_lock fixes
20 years ago
Olle Johansson 6b3367bf5c New functions for locking a channel - these simplify debugging
20 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
20 years ago
Olle Johansson 5af687b83b Issue #6951 - Show last successful registration time in "sip show registry" (ivanfm) with mods for svn trunk
20 years ago
Olle Johansson d4b5393eeb - Adding some refer state definitions from the siptransfer branch
20 years ago
Olle Johansson 9468e5cd06 Fix for Polycom bug...
20 years ago
Olle Johansson ea4235c56c Implement a setting for denying/allowing transfer requests. At this stage,
20 years ago
Olle Johansson 975ddb8552 Doxygen docs
20 years ago
Luigi Rizzo b24bc86fc2 reindent block properly
20 years ago
Luigi Rizzo 86e8094c3c localize some variables, remove useless parentheses
20 years ago
Luigi Rizzo 3579d11dc1 remove useless \0, and fix formatting.
20 years ago
Kevin P. Fleming fb4d5fb6a6 fix logic error; don't test for rtcache flag unless asked to (issue #6923)
20 years ago
Joshua Colp d7f01e051b No need to do this in here any longer since the linkedlists macro is fixed
20 years ago
Joshua Colp afcefc4a68 Convert chan_iax2 to use linked lists for multithreading, and add dynamic threads. These are used when all pool threads are in use, and will stick around until load dies down. The theory is that during high load you'll have more threads available, and during low load you'll only have the normal pool threads sticking around.
20 years ago
Luigi Rizzo 6b2d947b62 staticize a function, and normalize code in preparation to module changes.
20 years ago
Christian Richter baab6e1c27 mISDN Messages must be freed with free_msg \!\!
20 years ago
Olle Johansson 8318cddd8e - First stab at removing debug and ignore variables that
20 years ago
Olle Johansson 26198e8826 Fixup fixup - add some debugging and error handling
20 years ago
Olle Johansson 8b1543974f Resolve conflicts, prepare for next batch of conflicts
20 years ago
Christian Richter 52cf26255a fixed some issues, that appear at higher load
20 years ago
Christian Richter cb6f278393 we send nearly everytime a RELEASE, only if we for sure know, that it's a TE and we did create the call we don't to hear the Inband Info
20 years ago
Olle Johansson fed57c1eb2 Making sure that cancel destroy is only executed once...
20 years ago
Olle Johansson f74538df11 Small fix
20 years ago
Luigi Rizzo c3b3feab76 - staticize gettag() complete_sip_peer() get_calleridname() arguments;
20 years ago
Luigi Rizzo 8731b6386d - constification of some functions (args and return values):
20 years ago
Luigi Rizzo 7e5e2ffb5f - localize 'struct cfalias' into the only function using it;
20 years ago
Luigi Rizzo 25e9168fea constify get_sdp*() and friends.
20 years ago
Luigi Rizzo 87890e75ba constify get_header(), which let me find out and fix one bug (overwriting
20 years ago
Luigi Rizzo 47df1e2020 - describe how sip packets are stored internally;
20 years ago
Luigi Rizzo 20d1876617 struct sip_request cleanup:
20 years ago
Luigi Rizzo 104c2b0a3a more cleanup: remove useless braces, replace "if" with "?",
20 years ago
Olle Johansson 9b4e335439 Re-instate removed comment
20 years ago
Luigi Rizzo e081b42cd6 another batch of minor code simplifications
20 years ago
Luigi Rizzo e468d9011d a bunch of trivial code normalizations (removal of unnecessary
20 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
20 years ago
Olle Johansson 8159124572 -Fixing some debugging messages in history and console
20 years ago
Olle Johansson aefba4ad7d Add history events for re-invites
20 years ago
Olle Johansson f235bbe5a5 make history easier to read
20 years ago
Olle Johansson 8cd506cdfd Add some more information to SIP history
20 years ago
Olle Johansson 7089dc1341 Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c
20 years ago
Olle Johansson fd54f36509 Hmm. What is that keyword?? Let me see... Wait... Maybe... Ahh! OOPS!
20 years ago
Russell Bryant 3808318cff change a couple uses of !strlen() to ast_strlen_zero(). Oddly enough, one of
20 years ago
Olle Johansson 839ebd8e03 - sip_alloc failures are also caused by too few available file descriptors, so we can not
20 years ago
Olle Johansson b479a91e97 - Add cause code for format error
20 years ago
Olle Johansson 48ca2c82bf Import of revistion 18250 from 1.2
20 years ago
Christian Richter ece21c3019 sorry litle mistake
20 years ago
Christian Richter 47b8610f70 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Christian Richter 7788d5061c fixed a bridging-endless-loop also fixed the rdnis is not exported issue
20 years ago
Olle Johansson b7d32b9e0b Issue #6674: Set the URI correctly on BYEs when we have an incoming call
20 years ago
Olle Johansson 4ded41daa5 Cosmetic update for outbound REFERs
20 years ago
Olle Johansson 965394e4c2 Add "NewChan" event to history to track the birth of a new ast_chan from a
20 years ago
Olle Johansson 009e081199 Improved handling of 491 responses
20 years ago
Olle Johansson 518c4b295d Small changes to parse_sip_options
20 years ago
Olle Johansson be4ac5e57a Small fixes to handle_request_invite
20 years ago
Olle Johansson 62128ba7b7 - Don't change channel direction on re-invites
20 years ago
Olle Johansson 5483288048 - Implement handle_request_notify to handle incoming NOTIFY requests
20 years ago
Olle Johansson 9bd9bceef7 Implement a handle_response_refer function to take care of responses
20 years ago
Olle Johansson 1e8d1dda7d Change transmit_notify_sipfrag to handle other messages than 200 OK, needed for
20 years ago
Olle Johansson ddcd16e519 - doxygen
20 years ago
Luigi Rizzo 4408c0e6b5 structures can be copied with the '=' operators, no need to
20 years ago
Luigi Rizzo 6f09a652dd normalize some for() loops.
20 years ago
North Antara 0a24923596 skinny debug/verbose cleanup.
20 years ago
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
20 years ago
Christian Richter 7028946605 some final fixes for cpn
20 years ago
Christian Richter ce8fc47ffc * advanced the error Handling routine for wrong frames from mISDN
20 years ago
Christian Richter d7a839a299 fixed some essential segfaults happening under heavy load. Added a bit more error handling if we receive wrong data form mISDN (e.g. if we crashed before => handle_err() ). Added first steps to implement the parseing of the connected party number.
20 years ago
Olle Johansson 42fddfa075 Formatting cleanup
20 years ago
Olle Johansson 0a1898d8d6 Issue #6878 - Manager event DNDstate hidden under verbose option (casper)
20 years ago
Olle Johansson 37ff50a890 - Don't return AST_DEVICE_UNKNOWN to devicestate engine, since this will
20 years ago
Matthew Fredrickson a868675e2f chan_iax2 cleanups and optimizations (#6858)
20 years ago
Matt O'Gorman b9e7287ce6 adds manager event when an iax2 peer loses registration.
20 years ago
Olle Johansson 878c88f899 Add tag to NOTIFY headers (imported from 1.2)
20 years ago
Christian Richter a096fbd87d * removed unneeded bc->state field
20 years ago
Matt O'Gorman 319945c922 bug updates chan_h323 to some api changes it
20 years ago
Olle Johansson 5fbe9f80e8 Don't add hangup cause on non-final responses. (Imported from 1.2)
20 years ago
Olle Johansson 67b460d43c Issue #6848 - Accept MWI subscriptions with no Accept: header
20 years ago
Olle Johansson 46a1b7c73b Don't add ast_extension_state on re-subscribes
20 years ago
Olle Johansson 2240245389 Reverse revision 16804 that disables authentication
20 years ago
BJ Weschke 225d8d5270 Don't process re-subscribes as new subscriptions.
20 years ago
Russell Bryant e536a9c6df move a NULL check to before the first time the pointer is dereferenced (issue #6832)
20 years ago
Russell Bryant a13ab2f377 - code formatting tweaks
20 years ago
Russell Bryant 813c445686 Merged revisions 16744 via svnmerge from
20 years ago
Olle Johansson 83b7de9463 Doxygen fix
20 years ago
Olle Johansson 2994fa390c Make REG_STATE_* enum
20 years ago
Olle Johansson 40b71d4b39 Don't accept new INVITE if we already have one pending.
20 years ago
Luigi Rizzo 0b655c3ce9 minor cleanup: localize a variable and replace i++; i++ with i +=2;
20 years ago
Luigi Rizzo 0ff1c42675 useless 'extern' and trailing whitespace removal
20 years ago
Joshua Colp 5880a7f513 Do not leave a thread in limbo if an error occurs, or if testing packet loss.
20 years ago
Tilghman Lesher 9a9ab4e7cf Merged revisions 16581 via svnmerge from
20 years ago
Luigi Rizzo c163911efe don't use 8000, use DEFAULT_SAMPLE_RATE
20 years ago
Luigi Rizzo 6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
20 years ago
Kevin P. Fleming 4e5ea82b7e deprecate insecure=very and insecure=yes, since we have more explicit versions available now
20 years ago
Olle Johansson 50f0b12880 Issue #5374 - Enable internal timing of generators (cmantunes)
20 years ago
Olle Johansson 2c4ebe356e Issue #6450 - Don't remove characters from SIP uri's when not needed
20 years ago