Commit Graph

3140 Commits

Author SHA1 Message Date
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant 739385e761 remove the WITH_SMDI define
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:28:29 +00:00
Russell Bryant 66dca5e378 Merged revisions 32818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32818 | russell | 2006-06-07 13:53:21 -0400 (Wed, 07 Jun 2006) | 2 lines

fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 17:54:26 +00:00
Russell Bryant 39bcaa0773 add an updated patch that adds dnsmgr support for outgoing iax2 registrations
(issue #6305, by ivanfm, with mods)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 17:44:36 +00:00
Russell Bryant 503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
file is generated.  This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 16:03:31 +00:00
Christian Richter 7924c21e33 changed the clean_up_bc function to work proper again. fixed the print with the conference nr. when bridged
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 13:01:02 +00:00
Russell Bryant efd1fd9829 revert my changes to convert fields of zt_pvt to use stringfields. When I did
this, I was not keeping in mind the fact that after a stringfield is overwritten
by another string, the memory used by the old string can not be recovered.  I
would like to go back through these changes and make sure that stringfields are
not used for fields that are written to many times before these changes are
committed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 23:22:12 +00:00
Matthew Fredrickson f809fde426 Add q.921 state information. (#7260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 22:19:19 +00:00
Olle Johansson 479181951a Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
and some patches (all disclaimed).

- Don't change RTP properties if we reject a re-INVITE
- Don't add video to an outbound channel if there's no video on the inbound channel
- Don't include video in the "preferred codec" list for codec selection
- Clean up and document code that parses and adds SDP attachments

Since we do not transcode video, we can't handle video the same way as audio. This is a
bug fix patch. In future releases, we need to work on a solution for video negotiation,
not codecs but formats and framerates instead.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:09:33 +00:00
Kevin P. Fleming 22b45aa4d3 Merged revisions 32566 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32566 | kpfleming | 2006-06-06 10:48:00 -0500 (Tue, 06 Jun 2006) | 2 lines

clean up yesterday's security fix to not cause breakage when video mini frames are received

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 15:48:42 +00:00
Russell Bryant fa595a8d82 don't return -1 if zapata.conf is not present (part of the patch from
issue #7290, tzafrir)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 14:24:59 +00:00
Christian Richter 24818d53b1 added select before write to avoid deadlock on full buffer. added some defines for deadlock debugging. added code snippet for generating silence if we don't have data to write.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 09:40:41 +00:00
Russell Bryant 80a153af79 - use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
- constify some arguments to functions in callerid.c / callerid.h


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 01:22:47 +00:00
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:46:27 +00:00
Kevin P. Fleming 8a95a1ddc1 Merged revisions 32373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32373 | kpfleming | 2006-06-05 14:53:16 -0500 (Mon, 05 Jun 2006) | 2 lines

ensure that the received number of bytes is included in all IAX2 incoming frame analysis checks (fixes a known vulnerability)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:10:06 +00:00
Russell Bryant b0260c1039 revert the changes to allow chan_iax2 to use dnsmgr for registrations.
my concerns are listed in issue #6305


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 16:17:31 +00:00
Joshua Colp 2a71835d41 Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 15:44:37 +00:00
Olle Johansson 8bc0599b11 Issue 7208 - Handle ; in userinfo part of URI too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 07:43:40 +00:00
Olle Johansson 404f8db694 Do not use ':' as a separator between arguments (kept around for 1.4 for backwards compatibility)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 06:36:18 +00:00
Olle Johansson 62dd0dc6f2 Only override callingpres set by rpid if user/peer preference is set. (Issue #7240)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 06:23:22 +00:00
Olle Johansson 02bc3637da Code simplification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 21:13:48 +00:00
Olle Johansson d520d238f1 - Fix more problems in transfer code (thanks Tholo!)
- Add debug for hangup not in UP state


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 21:01:13 +00:00
Olle Johansson 043b765bdc Respond to some of Luigis questions...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 19:18:24 +00:00
Olle Johansson e97507e8fb Fix potential bug. THanks luigi!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 18:58:27 +00:00
Olle Johansson 0d6906e107 - Doxygen fix
- Debug message change


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 18:35:29 +00:00
Olle Johansson c2b50fd2bd Show max bitrate in "sip show user" and "sip show channel"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 17:35:30 +00:00
Olle Johansson 439e4963ab - Typo in chan_sip (: missing)
- Only print formats once in dumpchan()


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 11:09:14 +00:00
Luigi Rizzo 531ed6f290 add a bit of comment on what build_route does,
plus minor code simplification.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 00:09:13 +00:00
Luigi Rizzo 88077a4d1f remove some duplicated code;
fix indentation on one line;
mark XXX some unreachable code;
mark XXX another place where we could reduce the nesting depth.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 23:58:32 +00:00
Luigi Rizzo 2724885b78 small simplification in assignments, and fix a typo in a comment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 23:46:23 +00:00
Luigi Rizzo 24d1d23a93 mark XXX some places where there is a return right before
a large "else" block, which is suitable for a reduction of
the nesting depth.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 23:34:01 +00:00
Luigi Rizzo 8dbdd8518b fix indentation of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 23:23:24 +00:00
Luigi Rizzo d18e363523 some code simplifications using S_OR() to remove some if blocks
and duplicate code.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 23:17:54 +00:00
Luigi Rizzo ec46b5a4ce use ast_skip_blanks() where appropriate, and use standard
C jargoon  *foo++ = '\0'; instead of two separate statements.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 23:03:29 +00:00
Luigi Rizzo b7b716b618 mark XXX a buggy section of code and implement a probable
replacement (leave the original in case my code does not
do what the function was meant to do).
oej, please check this...



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 22:56:45 +00:00
Luigi Rizzo 7483e1d2b6 simplify logic in a small block of code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 22:29:37 +00:00
Luigi Rizzo c7a5a96fc6 mark XXX a bug in the code. oej/kevin, any idea what you want
to use here ?



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 22:18:41 +00:00
Luigi Rizzo a63b2e4c53 remove duplicate code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 20:40:54 +00:00
Luigi Rizzo 1a38041830 Replace '\"' with '"'.
The escape is unnecessary, and makes a bad example
to people reading the code.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 20:34:26 +00:00
Olle Johansson e0a8649273 - Formatting
- Add some comments


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 19:21:46 +00:00
Olle Johansson b7cfe5bd08 Minor change to DEBUG and WARNING messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 19:15:40 +00:00
Olle Johansson 4d17451c55 Issue #7103 take two. Thanks Mikael!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 16:58:06 +00:00
Russell Bryant 4c76028de9 - add the ability to configure forced jitterbuffers on h323, jingle,
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
  the sip, zap, and skinny channel drivers, as copying the same global
  configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257, north, with additional updates and modifications)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 16:47:28 +00:00
Christian Richter 4ad840b3c6 the interface needs to be changed as well..
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 16:41:07 +00:00
Christian Richter 840df1f8c0 unified the PH_CONTROL Interface for the mISDN_dsp interface to int
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 16:25:04 +00:00
North Antara d902bd27ff This is what I get for coding while tired.. sorry ;/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 15:44:35 +00:00
Russell Bryant 62b2f320a1 make a global variable static and remove an unused global variable
(issue #7258, tardieu)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 14:15:16 +00:00
Christian Richter 4be235a974 added bearer capability reject support. we send release instead of disconnect in case we have no real channel yet. added support for Restarting channels added support for sending complete decoding. changed some log levels.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 12:51:41 +00:00
Olle Johansson 725e285bc4 Commit of the new SIP transfer support (oej/siptransfer branch)
- improved support of attended transfers (REFER with replaces)
- support of INVITE/replaces in the context of a transfer
- improved support of blind transfers (REFER)

Thanks to Voop, Nuvio and Foniris for sponsoring this work.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 07:30:45 +00:00
North Antara e25c4621b4 Nobody saw this coming, I bet.
jitterbuffer!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 04:35:00 +00:00