Commit Graph

3163 Commits (60062c3403acc6e920a73f27375fe306e9e883cd)

Author SHA1 Message Date
BJ Weschke c4227714fd Sanity check code for an extended failure in trying to obtain a channel lock that may have been obtained elsewhere. Prevents the monitor thread of the SIP module from going into an infinite loop, effectively, breaking SIP until you restart Asterisk or the mutex is unlocked, whichever comes first.
20 years ago
Matt O'Gorman 5d51260c36 finish cleaning up some more stuff before russell
20 years ago
Russell Bryant 32a28ed9cf update chan_jingle to reflect the recent change to the indicate prototype
20 years ago
Olle Johansson 16a648aaf1 Breaking once will stop us... :-)
20 years ago
Christian Richter adfae0960f * export_ies uses now _VAR else the vars are not copied to the dest chan
20 years ago
Olle Johansson 883e4d6a9b Code formatting
20 years ago
Mark Spencer fa9e0ed768 Handle ringing (early) state properly on SIP
20 years ago
Matt O'Gorman 7aa1a77e75 asterisk-xmpp merge in
20 years ago
Joshua Colp a0f95cd526 Merged revisions 29464 via svnmerge from
20 years ago
Christian Richter 19d46333bf added callcounters for incoming and outgoing calls
20 years ago
Luigi Rizzo 76c47813fe remove code duplication generating some ast_verbose messages .
20 years ago
Luigi Rizzo 82dbf5a4c1 use the functional form of time(), and mark XXX a couple of places
20 years ago
Luigi Rizzo afe7c46924 more constifications
20 years ago
Luigi Rizzo 322aff00c6 various constification of function arguments to prevent erroneous
20 years ago
Luigi Rizzo ba195ee2d4 the msg argument of the various transmi_response*() functions is const.
20 years ago
Luigi Rizzo 75c6b453a3 mark const the 'header' argument of gettag
20 years ago
Luigi Rizzo 1a709886e3 mark const the source of copy_request
20 years ago
Luigi Rizzo c76882a94a fix indentation to make a table more readable
20 years ago
Luigi Rizzo 3ade391d1d simplify register_peer_exten() removing some duplicated code.
20 years ago
Luigi Rizzo 734535011a use strsep() to trim away ;xxx from SIP messages.
20 years ago
Luigi Rizzo 8414445108 use a more compact method to trim the trailing ;... from SIP lines.
20 years ago
Luigi Rizzo 917182e286 annotate const parameters of copy_header()
20 years ago
Luigi Rizzo 27f4fb4990 src is const in parse_copy()
20 years ago
Luigi Rizzo 564ca6394a minor logic simplification in get_sip_pvt_byid_locked()
20 years ago
Luigi Rizzo 15b7465cd2 simplify logic in function create_addr()
20 years ago
Luigi Rizzo a234f92337 simplify logic in realtime_peer(), removing an unnecessary
20 years ago
Luigi Rizzo 94d3a99089 strcmp() is the right function to use here, not strncmp().
20 years ago
Russell Bryant ed0b86c916 fix the possibility of writing one byte past the end of a buffer.
20 years ago
Kevin P. Fleming df6767fa52 Merged revisions 28896 via svnmerge from
20 years ago
Kevin P. Fleming 6d92d53d41 attributes need trailing CR-LF
20 years ago
Russell Bryant 0debd3dec2 allow chan_h323 to build (issue #7006, casper)
20 years ago
Kevin P. Fleming 42e2cf61d8 Merged revisions 28794 via svnmerge from
20 years ago
Tilghman Lesher d0c36296d2 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
20 years ago
Joshua Colp ebc762c82e Clean up some chan_zap code to make it more readable. (issue #6834 reported by ppyy)
20 years ago
Joshua Colp fa13a5f113 Merged revisions 28698 via svnmerge from
20 years ago
Russell Bryant 5d24426e40 fix up a patch that did not merge properly from 1.2 ... weird
20 years ago
Olle Johansson 1783cb3a91 Adding send_text capability to chan_local
20 years ago
Olle Johansson 908c153840 First stab at supporting video in chan_local
20 years ago
Olle Johansson a3cc752008 Add simple devicestate for chan_local
20 years ago
Olle Johansson cd03597f0c Formatting cleanup
20 years ago
Kevin P. Fleming 0c73d47618 Merged revisions 28380,28384 via svnmerge from
20 years ago
Kevin P. Fleming 42cf0b0a8f add another media path reinvite 'flavor', where we will only redirect our media to devices that we know are not behind a NAT (based on the evidence collected when we receive media from them)
20 years ago
Kevin P. Fleming 48c36f4b89 adding new code should require following the formatting guidelines :-)
20 years ago
Joshua Colp 6d603ec09c Allow contexts in regexten so that extensions can be added to multiple contexts when peer registers (issue #6869 reported by and created by Marquis)
20 years ago
Christian Richter 4694f5e02e this is not a warning, it might happen during call initialization
20 years ago
Joshua Colp 5769ed6ea2 Fix receiving message count information from a remote IAX2 peer. (issue #7163 reported by and fixed by akohlsmith)
20 years ago
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