Commit Graph

1274 Commits (09778b268ea887ef53de4a8dc8f17c5fec615d5c)

Author SHA1 Message Date
Luigi Rizzo 76c47813fe remove code duplication generating some ast_verbose messages .
19 years ago
Luigi Rizzo 82dbf5a4c1 use the functional form of time(), and mark XXX a couple of places
19 years ago
Luigi Rizzo afe7c46924 more constifications
19 years ago
Luigi Rizzo 322aff00c6 various constification of function arguments to prevent erroneous
19 years ago
Luigi Rizzo ba195ee2d4 the msg argument of the various transmi_response*() functions is const.
19 years ago
Luigi Rizzo 75c6b453a3 mark const the 'header' argument of gettag
19 years ago
Luigi Rizzo 1a709886e3 mark const the source of copy_request
19 years ago
Luigi Rizzo c76882a94a fix indentation to make a table more readable
19 years ago
Luigi Rizzo 3ade391d1d simplify register_peer_exten() removing some duplicated code.
19 years ago
Luigi Rizzo 734535011a use strsep() to trim away ;xxx from SIP messages.
19 years ago
Luigi Rizzo 8414445108 use a more compact method to trim the trailing ;... from SIP lines.
19 years ago
Luigi Rizzo 917182e286 annotate const parameters of copy_header()
19 years ago
Luigi Rizzo 27f4fb4990 src is const in parse_copy()
19 years ago
Luigi Rizzo 564ca6394a minor logic simplification in get_sip_pvt_byid_locked()
19 years ago
Luigi Rizzo 15b7465cd2 simplify logic in function create_addr()
19 years ago
Luigi Rizzo a234f92337 simplify logic in realtime_peer(), removing an unnecessary
19 years ago
Luigi Rizzo 94d3a99089 strcmp() is the right function to use here, not strncmp().
19 years ago
Russell Bryant ed0b86c916 fix the possibility of writing one byte past the end of a buffer.
19 years ago
Kevin P. Fleming 6d92d53d41 attributes need trailing CR-LF
19 years ago
Kevin P. Fleming 42e2cf61d8 Merged revisions 28794 via svnmerge from
19 years ago
Tilghman Lesher d0c36296d2 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
19 years ago
Olle Johansson cd03597f0c Formatting cleanup
19 years ago
Kevin P. Fleming 0c73d47618 Merged revisions 28380,28384 via svnmerge from
19 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)
19 years ago
Kevin P. Fleming 48c36f4b89 adding new code should require following the formatting guidelines :-)
19 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)
19 years ago
Joshua Colp 6eb1d09ad9 Only set the RTP DTMF information of an RTP structure does indeed exist.
19 years ago
Olle Johansson 10c0ed16f0 Issue #7176 - Crash in expire_register (imported from 1.2)
19 years ago
Olle Johansson 270d5f6191 Adding a debug line
19 years ago
Olle Johansson 770a4a30c5 Use pointer instead of un-needed buffer. Thanks Kevin!
19 years ago
Kevin P. Fleming c3dce57d95 mark RTP sessions that are not carrying DTMF
19 years ago
Olle Johansson eeb2184920 Send a=recvonly when put on hold, otherwise a=sendrecv to indicate that we want two streams.
19 years ago
Olle Johansson e4c0a90649 Show all formats for an active SIP call
19 years ago
Olle Johansson c625a539be One sipfrag attachment is enough...
19 years ago
Luigi Rizzo 87e909476d simplify determine_firstline_parts
19 years ago
Luigi Rizzo f3e6fa56ab remove last instance of add_blank_header()
19 years ago
Luigi Rizzo b87aea8d60 remove almost all useless instances of add_blank_header() but one,
19 years ago
Olle Johansson 5237a0e06d - Use systemname for realm in sip, if we have no configuration for realm
19 years ago
Luigi Rizzo 945ec73b09 remove trailing space
19 years ago
Luigi Rizzo 589241e300 remove a duplicate prototype
19 years ago
Luigi Rizzo 96478ea3a2 remove duplicated code in add_header
19 years ago
Luigi Rizzo d06427978c simplify init_req()
19 years ago
Luigi Rizzo 5cd1ec4e17 cleanup init_resp with proper variable names and arguments.
19 years ago
Luigi Rizzo e08e646252 staticize a variable.
19 years ago
Luigi Rizzo 798b82e184 replace list unlinking with UNLINK macro
19 years ago
Luigi Rizzo 067c472abb simplify sip_pretend_ack also removing a bug in the existing
19 years ago
Kevin P. Fleming 70a554a264 Merged revisions 26760 via svnmerge from
19 years ago
Olle Johansson 71aabeef4f Ignore CANCEL on call that is already answered
19 years ago
Olle Johansson 2dd2865d7b Small formatting fixes
19 years ago
Olle Johansson 52cb5c87db Issue #OEJ12399.3 - Set default maxcallbitrate for users too.
19 years ago
Olle Johansson 9b2d51fb4a - Add more and organize forward declarations (preparing for splitting up this file)
19 years ago
Olle Johansson d04f0da698 Issue #7081 (kanoop) - use proper cause code for 480
19 years ago
Russell Bryant 19ca8dc7c1 remove some chekc sof the result of ast_mutex_lock (issue #7119, Mithraen)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Kevin P. Fleming fdcfd6469b ensure that control frames with payload can be sent to channel drivers via ->indicate()
19 years ago
Mark Spencer 9953f4f40e Make SIP early media work more efficiently without so many reinvites
19 years ago
Mark Spencer 3135a35b92 Make sure we update parameters correctly with reinvite
19 years ago
Mark Spencer db502da870 Make menuselect be able to show what the modules are
19 years ago
Olle Johansson 5a31054599 Issue #7103 (mikma)
19 years ago
Olle Johansson 896362d30c - Issue 7101 (mikma) - Don't crash with no From: header in pedantic mode
19 years ago
Russell Bryant b6ac5b36c6 document the return value of gettag()
19 years ago
Russell Bryant e91afbaef1 fix the return value of gettag() to only return the pointer to the provided
19 years ago
Olle Johansson 9c60f78ea1 Issue #7074 - Problem with long contact lines
19 years ago
Russell Bryant d649d03170 fix sending the group numbers for a sip peer over the manager interface
19 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!
19 years ago
Olle Johansson 5873462c2e - Add doxygen documentation for sipsock_read locking
19 years ago
Olle Johansson 6149e82b6c Clarify result of sipsock_read
19 years ago
Olle Johansson 4403905c2d Add reference to RFC for mailbox notification
19 years ago
Olle Johansson d0f254ef61 Cosmetic fixes to code...
19 years ago
Olle Johansson fc2d28805b - call parking improvements (part of the siptransfer branch)
19 years ago
Olle Johansson 2af3d42e9b Implement somewhat improved support for 481 Call leg does not exist responses...
19 years ago
Olle Johansson 910c44b1b6 Clean up handle_response_peerpoke
19 years ago
Olle Johansson 60d91caa23 Change sip show channels to include refer status
19 years ago
Olle Johansson 1fec0e47e7 - Deallocate refer structure at sip_destroy time
19 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,
19 years ago
Olle Johansson 2c73c08f5a use XMIT_RELIABLE ...
19 years ago
Olle Johansson 40161ae947 - Move subscribeuri away from refer-to, since refer-to is moving away from sip_pvt
19 years ago
Olle Johansson 080298dad4 Set timeout timers to Timer A and F in rfc 3261, section 17
19 years ago
Olle Johansson ea7f924b30 Change transmit_invite(). SIP Transfers are now broken officially, while
19 years ago
Olle Johansson 5320c6b76a - Add supported header
19 years ago
Olle Johansson 42918c225a Add more history on masqs
19 years ago
Olle Johansson b124cf4c80 - Implementing the new SIP transfer data structure
19 years ago
Olle Johansson bdb2332621 - Documentation update
19 years ago
Olle Johansson bedd0c2ed3 Documentation update
19 years ago
Olle Johansson 382fd7260c Remove ignore from handle_respons_refer
19 years ago
Olle Johansson a5e5fb18e2 Clean up handle_response_invite
19 years ago
Olle Johansson 92ac73fe3b - Drop too bad SIP requests in order to avoid some UDP misuse (hello Edwin)
19 years ago
Olle Johansson 4a312a044d - Fixes to ast_channel_lock functions
19 years ago
Olle Johansson e75fa47099 More ast_channel_lock fixes
19 years ago
Olle Johansson 6b3367bf5c New functions for locking a channel - these simplify debugging
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Olle Johansson 5af687b83b Issue #6951 - Show last successful registration time in "sip show registry" (ivanfm) with mods for svn trunk
19 years ago
Olle Johansson d4b5393eeb - Adding some refer state definitions from the siptransfer branch
19 years ago
Olle Johansson 9468e5cd06 Fix for Polycom bug...
19 years ago
Olle Johansson ea4235c56c Implement a setting for denying/allowing transfer requests. At this stage,
19 years ago
Olle Johansson 975ddb8552 Doxygen docs
19 years ago
Luigi Rizzo b24bc86fc2 reindent block properly
19 years ago
Luigi Rizzo 86e8094c3c localize some variables, remove useless parentheses
19 years ago
Luigi Rizzo 3579d11dc1 remove useless \0, and fix formatting.
19 years ago
Kevin P. Fleming fb4d5fb6a6 fix logic error; don't test for rtcache flag unless asked to (issue #6923)
19 years ago