Commit Graph

3876 Commits (982c8e146504378d2e988d8f9a4ea4ef591c5470)

Author SHA1 Message Date
Olle Johansson d5243cc7aa Make sure we destroy dialog in case of loop
19 years ago
Olle Johansson d69eb90f82 Cleanup imported from 1.4
19 years ago
Joshua Colp c6e8dbf189 Merged revisions 47457 via svnmerge from
19 years ago
Matthew Fredrickson 554902f070 Add fix for 7321. Ability to hide calleridname from zapata.conf
19 years ago
Olle Johansson d53979523c Issue 8336- fix support for multipart SDP (imported from 1.2/1.4). (Alphaque)
19 years ago
Tilghman Lesher 691363656f Merged revisions 47436 via svnmerge from
19 years ago
Olle Johansson 2c5bbdc938 Ripping out bad support for 491 replies to INVITE's. Let's try again properly later.
19 years ago
Olle Johansson 088d1f0def Fix badly defined flag. Thanks fenlander!
19 years ago
Olle Johansson 7a3528c4a9 Small simplification and documentation correction.
19 years ago
Joshua Colp 7142180792 Merged revisions 47405 via svnmerge from
19 years ago
Russell Bryant 36793b730c Merged revisions 47391 via svnmerge from
19 years ago
Joshua Colp ead6c4655e Merged revisions 47380 via svnmerge from
19 years ago
Steve Murphy 2907433599 committed in behalf of bug 8190
19 years ago
Olle Johansson bbcd0d0450 - Add Max-Forwards higher in the packet, following recommendations
19 years ago
Kevin P. Fleming 02c6f507bb Merged revisions 47333 via svnmerge from
19 years ago
Kevin P. Fleming e108453e02 coding guidelines, coding guidelines, coding guidelines
19 years ago
Luigi Rizzo 5e61077632 merge from team/rizzo/astobj2 rev.47271
19 years ago
Luigi Rizzo d5b101e974 merge from team/rizzo/astobj2 rev.47246
19 years ago
Luigi Rizzo 09012d5f20 merge from team/rizzo/astobj2, rev 47243, 47244, 47245:
19 years ago
Luigi Rizzo 24dfbe955e merge rev.47224 from team/rizzo/astobj2:
19 years ago
Luigi Rizzo f58302fc9c silence compiler about uninitialized variables.
19 years ago
Olle Johansson e644ba34c5 Destroy dialog properly at unload (rizzo)
19 years ago
Luigi Rizzo c8597704ce fix compilation.
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Joshua Colp 7659f6d524 Merged revisions 47287 via svnmerge from
19 years ago
Joshua Colp 66d3792f11 Merged revisions 47284 via svnmerge from
19 years ago
Olle Johansson b557aeda38 Break -> continue to make stuff work... Thanks, Luigi!
19 years ago
Olle Johansson 20af2870d9 issue #8265 - don't reply to ACK. Imported from 1.2, 1.4
19 years ago
Olle Johansson 7d368caa98 Don't lock dialoglist if monitor runs __sip_destroy.
19 years ago
Olle Johansson 80293c2ed8 Move IP address selection for media out of add_sdp
19 years ago
Olle Johansson 18b694d318 Make srvlookup global_srvlookup to follow the rest of the code
19 years ago
Olle Johansson fe5440b7c8 Simplify previous patch
19 years ago
Olle Johansson d900b47ccf Adding new config option "limitpeersonly" to only apply call limits
19 years ago
Olle Johansson 338c18486c Importing patch for Invite/replaces from 1.4
19 years ago
Olle Johansson 37e39111c5 Reverting rev 47093 until we have an agreement on how to
19 years ago
Steve Murphy 65beb9dc10 This fix introduced via bug 8233
19 years ago
Luigi Rizzo 4a545a7662 remove old/useless usecnt stuff
19 years ago
Luigi Rizzo ec1525ac88 remove old/useless usecnt stuff.
19 years ago
Luigi Rizzo b98a7bdaea Save the 'From' header received in a REGISTER message so we can show it
19 years ago
Luigi Rizzo 39d94767d7 remove useless usecnt stuff
19 years ago
Luigi Rizzo 74752c341c remove useless usecnt stuff
19 years ago
Luigi Rizzo af014a5076 remove useless usecnt stuff
19 years ago
Luigi Rizzo 4b70ae927c remove useless usecnt stuff
19 years ago
Luigi Rizzo 5397441866 remove useless usecnt handling
19 years ago
Luigi Rizzo d5ea99c868 remove useless usecnt handling code
19 years ago
Tilghman Lesher 79f75ec09a Merged revisions 47053 via svnmerge from
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Matthew Fredrickson eee1b9e1fb Updates to do unblock correctly
19 years ago
Olle Johansson 9dffcc2e75 Move check for codec translators to an earlier place in the call, so we can fail gracefully (imported from 1.4)
19 years ago
Olle Johansson 0df2c7a774 Disable code for not implemented functionality (T38 over RTP/TCP)
19 years ago
Matthew Fredrickson d810d52606 Changes to show blocked/unblocked states, as well as in service, out of service state
19 years ago
Kevin P. Fleming 30b47fb8a0 Merged revisions 46937 via svnmerge from
19 years ago
Joshua Colp 946eebf16f Merged revisions 46930 via svnmerge from
19 years ago
Matthew Fredrickson 040e112ebd Add simple down event support
19 years ago
Nadi Sarrar a2cb7d974e find_free_chan_in_stack: cleanup buggy usage
19 years ago
Olle Johansson 5a87a3bbb2 Don't overwrite pkt->flags (imported from 1.2/1.4)
19 years ago
Matt O'Gorman 09ef9b465b Merged revisions 46822 via svnmerge from
19 years ago
Joshua Colp 9f78577f5e Merged revisions 46775 via svnmerge from
19 years ago
Russell Bryant 190cff5969 Merged revisions 46744 via svnmerge from
19 years ago
Luigi Rizzo bf3afe5641 remove old/useless usecount handling
19 years ago
Luigi Rizzo e72c0db882 remove old/useless usecount stuff.
19 years ago
Luigi Rizzo fe28cd213b remove old/useless usecount management code.
19 years ago
Olle Johansson 602cab138b Set #define for TIMER T1 value
19 years ago
Olle Johansson 9572ee68c2 Cleaning up code
19 years ago
Olle Johansson b136baaff4 Fix rport handling.
19 years ago
Olle Johansson 97be2ac76f - If peer that register fails ACL, fail him
19 years ago
Olle Johansson ab414260c4 Update sip list to eventlist format.
19 years ago
Olle Johansson f98f457727 Change name of "contact" setting to "callback" which better reflects what it
19 years ago
Olle Johansson 753a03161d Globals need the "global_" prefix in chan_sip, and need to be reset to default value at reload.
19 years ago
Joshua Colp e3807ed8cc Merged revisions 46474 via svnmerge from
19 years ago
Matthew Fredrickson f171dabffe Make sure we give the linkset number, not the offset in the linksets array
19 years ago
Olle Johansson aadccc10b8 Small conversion to ast_channel_unlock
19 years ago
Matthew Fredrickson 4bfa05d373 Specify which linkset we're getting the messages from in the message
19 years ago
Matthew Fredrickson d0d065bcca Don't make errors when we don't need them
19 years ago
Olle Johansson 8a2e564df5 Issue 8246 Doxygen updates (kshumard)
19 years ago
Olle Johansson 53ef33ccc3 Issue #7869 - Stop retransmission of 302 redirects.
19 years ago
Olle Johansson ef7d20f9c9 Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, 1.4)
19 years ago
Olle Johansson 1086f1dfb5 Issues related to issue #7828 - segfault with MWI subscriptions and realtime.
19 years ago
Olle Johansson 430ca5b59c - Fix the OUTGOING stuff (merge from 1.4)
19 years ago
Olle Johansson ee31dc4d52 Documentation update again
19 years ago
Olle Johansson 34f5c15427 Documentation update (I guess)
19 years ago
Olle Johansson 4ec9329d8b Documentation correction
19 years ago
Olle Johansson a4366cc194 maxtime is not needed any more now that we actually set the T1 timer
19 years ago
Olle Johansson baf9547d50 Only accept message once
19 years ago
Olle Johansson ca433620a7 Adding documentation inspired by a virtual drink with an anonymous man in New Jersey
19 years ago
Olle Johansson 336a4602ba Don't duplicate function if not needed...
19 years ago
Olle Johansson 29e489e000 Merge from 1.4 : Don't send 183 reliably...
19 years ago
Olle Johansson 0f9a1b19f1 - Don't lock the dialoglist during the whole destruction of a single SIP dialog. Only
19 years ago
Russell Bryant 955f1ef0fe Merged revisions 46370 via svnmerge from
19 years ago
Matthew Fredrickson ead98e2b7f First pass at implementation to be able to block and unblock zap channels for
19 years ago
Olle Johansson 12a966cb0e Put this patch on hold pending further testing...
19 years ago
Russell Bryant de808a721a Merged revisions 46358 via svnmerge from
19 years ago
Christian Richter f19300635f Merged revisions 46351-46353 via svnmerge from
19 years ago
Olle Johansson 7ca6b79569 Show if the channel is ready for video or T.38 udptl
19 years ago
Olle Johansson 1b3411f2ff Old todo: Don't add Contact headers on BYE and CANCEL.
19 years ago
Olle Johansson d448620715 First stab at transaction direction fix, this for trunk for testing
19 years ago
Olle Johansson cef98c1e87 Ugly code to try to remove issue discovered by Luigi as well as attack bug #7608
19 years ago
Matthew Fredrickson 6cc9d20b98 Send CPG when we get a CONTROL_PROGRESS frame and make sure that it sends ACM (not CPG) when
19 years ago
Matthew Fredrickson 67926b9ac4 Update changes to do US style point code parsing/formatting (xxx.xxx.xxx)
19 years ago
Olle Johansson 26a00dfaf0 Merge from 1.4
19 years ago
Kevin P. Fleming 5f5faa310a Merged revisions 46082-46083,46152-46153 via svnmerge from
19 years ago
Kevin P. Fleming 6ab133b9d2 restore bugfix that was reverted by trunk_mtu patch
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Olle Johansson c30f1d12c5 Ok, second attempt...
19 years ago
Olle Johansson 25b8f577b8 On the other hand, don't use 1.4 patches for trunk... Sorry.
19 years ago
Olle Johansson 13ea5fc0d0 Add ability to adapt the IAX trunk packets to the MTU size, to avoid bad audio
19 years ago
Olle Johansson 0fed2f78b9 Adding comments in the source is more persistent than just adding them
19 years ago
Olle Johansson 2560ff9c33 Always add doxygen comments to new functions, more lines than one are
19 years ago
Kevin P. Fleming 88efcea05e Merged revisions 46154 via svnmerge from
19 years ago
Joshua Colp f41b2acc50 Merged revisions 46130 via svnmerge from
19 years ago
Luigi Rizzo 0d59b76dd2 correct fix for the bug i previously introduced - the strings
19 years ago
Russell Bryant 6e65bea242 Fix a seg fault on a registration. Line 7706, in parse_register_contact,
19 years ago
Luigi Rizzo a989f7cd47 Unlike ast_strdup(), ast_strdupa() does not take a NULL pointer as argument,
19 years ago
Luigi Rizzo 6345c91eb3 remove a useless check for ocseq = 0.
19 years ago
Luigi Rizzo a31aa6f320 get_header() always returns a non-NULL value, so checking
19 years ago
Luigi Rizzo f1c2342c96 put another duplicated block of code in a function.
19 years ago
Luigi Rizzo eb44903b08 reformat a statement and comment a potentially wrong
19 years ago
Luigi Rizzo 85fe7cac03 Remove unnecessary casts from const char * to char *,
19 years ago
Luigi Rizzo 8a7ba881e2 another use for parse_uri().
19 years ago
Luigi Rizzo 0cb5e93383 + make sure parse_uri never returns NULL pointers - this
19 years ago
Luigi Rizzo 7dd92fd181 After reading better the SIP RFC on sip URI (19.1.1)
19 years ago
Luigi Rizzo ee60094592 in function get_also_info(), move argument stripping
19 years ago
Luigi Rizzo 00b88f30b4 start putting the URI parsing code in one place,
19 years ago
Luigi Rizzo 32f82c2ca1 put common code in function terminate_uri() so we need to
19 years ago
Luigi Rizzo c761bea8e2 More cleanup of check_user_full with no functional change
19 years ago
Christian Richter 3e5df80477 Merged revisions 45916 via svnmerge from
19 years ago
Luigi Rizzo dc83868813 more streamlining of check_user_full
19 years ago
Luigi Rizzo e7c0a0524a simplify the flow of function check_user_full()
19 years ago
Luigi Rizzo 36d7b8f488 put duplicated code in functions.
19 years ago
Luigi Rizzo 70ee76d64b introduce sip_pvt_lock() and sip_pvt_unlock() wrappers to
19 years ago
Russell Bryant 02ec7acf6a put the constants for whether methods can create a dialog or not in an enum
19 years ago
Olle Johansson d6602b1b5e Let's repair the SIP attack shield :-)
19 years ago
Joshua Colp ceb2c7bc48 Merged revisions 45678 via svnmerge from
19 years ago
Luigi Rizzo 293330e7a9 move a large block out of do_monitor() and into a function,
19 years ago
Luigi Rizzo d553659017 + move the definition of netlock as it was not related to the
19 years ago
Olle Johansson f2d11e403c Cleaning up... Removing duplicate (again)
19 years ago
Kevin P. Fleming 4b8e41c529 restore freeing of threadstorage objects without custom cleanup functions
19 years ago
Russell Bryant 777d03bd17 Merge fix to not leak the stringfields of a thread speicif sip_pvt. This also
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago
Olle Johansson 7db2dfaf4e Remove duplicate declarations...
19 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
19 years ago
Joshua Colp 15c473908b Merged revisions 45378 via svnmerge from
19 years ago
Olle Johansson 0b0d72579e Issue #5484 (branch sipdiversion) - Support for Diversion header in redirects of calls
19 years ago
Olle Johansson 3376c8e976 Issue #7254 - Add support of "423 Interval too brief" to outbound SIP registrations.
19 years ago
Olle Johansson 748de51a84 - Remove unneeded code that won't be reached now that we kill responses
19 years ago
Olle Johansson 9f837a0baa Get rid of the ignore variable that was only partially replaced
19 years ago
Joshua Colp c62784c10d In the course of a data this has been turned into an option to ignore replies, then ignore responses and finally I'm just getting rid of the option altogether and making it the default no matter what. C'est la vie!
19 years ago
Joshua Colp da330feb60 Merged revisions 45280 via svnmerge from
19 years ago
Joshua Colp b58cc9e1bd Merged revisions 45262 via svnmerge from
19 years ago
Olle Johansson 5b52f69201 When adding new functions, please add a forward declaration.
19 years ago
Olle Johansson 43505df9f4 Importing rev 45196 from 1.4 - don't kill dialog for a bad response
19 years ago
Olle Johansson 09b8583937 A B2BUA should *not* issue proxy auth.
19 years ago
Christian Richter edc6c54145 Merged revisions 45088 via svnmerge from
19 years ago
Kevin P. Fleming 2194e57499 Merged revisions 45049 via svnmerge from
19 years ago
Joshua Colp e1bb0dab37 Merged revisions 45040 via svnmerge from
19 years ago
Christian Richter 45146c800e Merged revisions 45026 via svnmerge from
19 years ago
Luigi Rizzo e1378c470f Try to avoid the use of 'z' modifier in cases where it is not
19 years ago
Luigi Rizzo 1fe21371a3 arguments to auth_headers() needed to be swapped here.
19 years ago
Christian Richter d8ab613fdf Merged revisions 44994 via svnmerge from
19 years ago
Matt O'Gorman e20bb6fa69 Merged revisions 44982 via svnmerge from
19 years ago
Kevin P. Fleming 49b0cc8c94 eliminate compiler warning
19 years ago
Kevin P. Fleming 0ecfae3dbd Merged revisions 44971 via svnmerge from
19 years ago
Kevin P. Fleming 035aeb82e4 Merged revisions 44956 via svnmerge from
19 years ago
Luigi Rizzo 97ac6793c7 + move [almost] all instances of WWW-Authenticate/Proxy-Authenticate
19 years ago
Luigi Rizzo 59e61ae4a0 reduce indentation of two large blocks
19 years ago
Luigi Rizzo 6d6e60be79 operator != also works between booleans...
19 years ago
Russell Bryant 9e2abab8fa Revert Luigi's accidental commit of his local changes when debugging some SIP
19 years ago
Luigi Rizzo 328e1c9d1c remove duplicate prototypes. Have not checked if there are more.
19 years ago
Luigi Rizzo ed683ccc2a simplify and comment handle_response_peerpoke()
19 years ago
Luigi Rizzo 312fd57758 fix indentation of a function after previous commit
19 years ago
Luigi Rizzo 2eeaeaa7a7 handle_response_peerpoke() does not need to return anything.
19 years ago
Luigi Rizzo 510b9f04c0 small formatting cleanup
19 years ago
Christian Richter 7ff86b686f Merged revisions 44563 via svnmerge from
19 years ago
Christian Richter 8c3ab3122a Merged revisions 44562 via svnmerge from
19 years ago
Christian Richter e09ad744af Merged revisions 44561 via svnmerge from
19 years ago
Christian Richter 05c4624d9b Merged revisions 44559 via svnmerge from
19 years ago
Joshua Colp 832014a91b Merged revisions 44819 via svnmerge from
19 years ago
Joshua Colp 1eedc8af43 Merged revisions 44806 via svnmerge from
19 years ago
Joshua Colp fadc6c4ed7 Merged revisions 44788 via svnmerge from
19 years ago
Christian Richter 2a8764f4ba Merged revisions 44786 via svnmerge from
19 years ago
Luigi Rizzo 06fab1382b clarify the use of the standard SIP port number, 5060,
19 years ago
Luigi Rizzo 15fcc45c4e improve formatting of SIP packets when dumped to the verbose
19 years ago
Jason Parker a35c0989dd Merged revisions 44764 via svnmerge from
19 years ago
Joshua Colp 7b3665596f Merged revisions 44759 via svnmerge from
19 years ago
Olle Johansson d766095219 Being pedantic... "media" is easier to understand than "data" in the function name... :-)
19 years ago
Luigi Rizzo 853f7ed660 slightly restructure sipsock_read() removing a "goto"
19 years ago
Luigi Rizzo 69af2cea2f use S_OR in one place
19 years ago
Luigi Rizzo ad63b4c7c1 update_call_counter(): indentation fixes and small simplifications
19 years ago
Luigi Rizzo 06ef2c1907 localize some variables and reduce nesting depth
19 years ago
Luigi Rizzo dd2121b075 small simplification to initreqprep()
19 years ago
Luigi Rizzo 36e4f62e7c Simplify function parse_request() using a single loop instead
19 years ago
Luigi Rizzo b90f91c3b4 do not dereference p if we know it is NULL.
19 years ago
Olle Johansson 1b64c41369 Fix some debug output for setsockopt for TOS
19 years ago
Olle Johansson 259f0d76b6 - move definition of global_autoframing to the same place as other globals
19 years ago
Olle Johansson 12ef70f0c0 Add/change doxygen and comments
19 years ago
Olle Johansson 9cc9c38250 Explain usage of DEFAULT_SIP_PORT
19 years ago
Olle Johansson 64aae4a887 Do *NOT* use DEFAULT_SIP_PORT in these comparisions, since users may change
19 years ago
Paul Cadach 1ed8fb571f Merged revisions 44684 via svnmerge from
19 years ago
Luigi Rizzo 901a66c401 slightly restructure the code that computes the channel's name
19 years ago
Luigi Rizzo a1a5824869 put repeated code to set nat mode in a function.
19 years ago