Commit Graph

8460 Commits

Author SHA1 Message Date
Christian Richter adfae0960f * export_ies uses now _VAR else the vars are not copied to the dest chan
* when receiving a connect from the NT Side we wait until we have the final
  l3id until we queue the answer to asterisk to avoid bridging conflicts
* when not bridged to misdn we had a segfault after receiving the connect 
  due to a strcasecmp bug.. this didn't happen before, cause we hadn't had
  the bridge before
* cleanup of the bchannels is queued now, due to possible race conditions
* added mISDN_clear_stack when cleaning the bchannel



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 12:38:06 +00:00
Olle Johansson 883e4d6a9b Code formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 12:14:35 +00:00
Olle Johansson 8c14cffd50 Formatting, typos
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 11:15:57 +00:00
Mark Spencer fa9e0ed768 Handle ringing (early) state properly on SIP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 04:49:31 +00:00
Matt O'Gorman 9d15337fa0 patch from bug 0007204 to make bug 5750 follow standard
manager naming convention.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 22:51:56 +00:00
Kevin P. Fleming 3891339581 remove properties from the xmpp merge
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 22:02:38 +00:00
Joshua Colp 822a3e81c9 Merged revisions 29555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29555 | file | 2006-05-22 18:27:12 -0300 (Mon, 22 May 2006) | 2 lines

Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported by davetroy fixed by casper)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 21:28:32 +00:00
Kevin P. Fleming f09942bb08 bootstrap updates to include xmpp related stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 21:20:01 +00:00
Matt O'Gorman 7aa1a77e75 asterisk-xmpp merge in
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 21:12:30 +00:00
Joshua Colp 64b94dad80 Merged revisions 29512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29512 | file | 2006-05-22 17:15:04 -0300 (Mon, 22 May 2006) | 2 lines

Use the correct language when playing the transfer sound (issue #7109 reported by casper)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 20:19:00 +00:00
BJ Weschke 5235890be4 This is part 2/2 of the patches for #7090. Adds one-step call parking to /trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 16:43:43 +00:00
Joshua Colp a0f95cd526 Merged revisions 29464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29464 | file | 2006-05-22 13:33:03 -0300 (Mon, 22 May 2006) | 2 lines

Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 16:36:13 +00:00
Russell Bryant 86205923df add DEBUG_CHANNEL_LOCKS to menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 16:34:45 +00:00
Joshua Colp 0cc02feae9 Add PICKUPMARK support to app_directed_pickup (issue #7104 reported by thaeger)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 16:08:23 +00:00
Joshua Colp d2d8052741 don't stop recording until hangup (no terminator) (issue #7168 reported by julien23)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:48:22 +00:00
BJ Weschke d1fc8d4687 Add UniqueID to the leave manager event.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:28:28 +00:00
Christian Richter 19d46333bf added callcounters for incoming and outgoing calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:02:03 +00:00
Tilghman Lesher 5a8e7415c7 Merged revisions 29398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29398 | tilghman | 2006-05-22 09:59:59 -0500 (Mon, 22 May 2006) | 2 lines

Bug 7194 - spelling fix

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:01:36 +00:00
Tilghman Lesher 115e950b2c Blocked revisions 29394 via svnmerge
........
r29394 | tilghman | 2006-05-22 09:34:34 -0500 (Mon, 22 May 2006) | 2 lines

Bug 7196 - month range did not work

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 14:39:10 +00:00
Tilghman Lesher 9e81cc3e0c Escaping commas within fields isn't always desireable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 03:40:31 +00:00
Luigi Rizzo 76c47813fe remove code duplication generating some ast_verbose messages .
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 03:16:38 +00:00
Luigi Rizzo 9bb0bfbebc use functional form of time()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:51:04 +00:00
Luigi Rizzo 82dbf5a4c1 use the functional form of time(), and mark XXX a couple of places
with dubious assignments.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:43:24 +00:00
Luigi Rizzo afe7c46924 more constifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:31:58 +00:00
Luigi Rizzo 322aff00c6 various constification of function arguments to prevent erroneous
usage and to ease understanding of the function themselves.




git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:27:33 +00:00
Luigi Rizzo ba195ee2d4 the msg argument of the various transmi_response*() functions is const.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:22:39 +00:00
Luigi Rizzo 75c6b453a3 mark const the 'header' argument of gettag
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:19:14 +00:00
Luigi Rizzo 1a709886e3 mark const the source of copy_request
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:17:52 +00:00
Luigi Rizzo c76882a94a fix indentation to make a table more readable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:16:04 +00:00
Luigi Rizzo 3ade391d1d simplify register_peer_exten() removing some duplicated code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:02:57 +00:00
Luigi Rizzo 734535011a use strsep() to trim away ;xxx from SIP messages.
Note that in a couple of places the code overwrites the string
in the buffer - mark the two places with XXX but do not fix the
bug yet.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 01:27:52 +00:00
Luigi Rizzo 8414445108 use a more compact method to trim the trailing ;... from SIP lines.
These are just the first two instances, there are many more to replace.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 01:08:41 +00:00
Luigi Rizzo 917182e286 annotate const parameters of copy_header()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:46:04 +00:00
Luigi Rizzo 27f4fb4990 src is const in parse_copy()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:32:36 +00:00
Luigi Rizzo 564ca6394a minor logic simplification in get_sip_pvt_byid_locked()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:29:12 +00:00
Luigi Rizzo 15b7465cd2 simplify logic in function create_addr()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:17:46 +00:00
Luigi Rizzo a234f92337 simplify logic in realtime_peer(), removing an unnecessary
initialization, an extra variable (newpeername) and a 
variable newpeername, and an 'else' branch.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:07:48 +00:00
Luigi Rizzo 94d3a99089 strcmp() is the right function to use here, not strncmp().
On passing simplify an ast_cli message nearby.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 23:54:28 +00:00
BJ Weschke 4733732b61 Merged revisions 29196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29196 | bweschke | 2006-05-21 10:16:59 -0500 (Sun, 21 May 2006) | 3 lines

 When an application that is executed via applicationmap and exits non-zero, make sure that we pass through the correct return value from the application to make sure a segfault doesn't occur by a bridge trying to continue when it should not. Also, when executing applications via applicationmap, make sure that the application is executed against the channel whose DTMF caused it to be fired off in the first place. (part 1/2 of #7090 - this is the only fix that will be applied to both 1.2 and /trunk) acunningham and blitzrage on testing...


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 15:25:31 +00:00
Russell Bryant 99f3f45625 put a bunch of defines in enums, and convert comments to doxygen format
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 15:13:19 +00:00
Russell Bryant 3adeececd7 remove a CLI command that has been marked deprecated since before Asterisk 1.0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 14:06:37 +00:00
Luigi Rizzo ab5b298805 remove an unused variable, and while at it
add some very minor optimizations.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 09:56:38 +00:00
Russell Bryant 4b49f667d2 remove unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:37:18 +00:00
Russell Bryant 1fcc86d905 Add support for logging CDR recrods to a radius server (issue #6639, phsultan)
- with contributions from miconda, jcollie, and sb
 - branch maintained by oej
Thanks everyone!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:30:05 +00:00
Russell Bryant ed0b86c916 fix the possibility of writing one byte past the end of a buffer.
(issue #7189, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 19:54:14 +00:00
Russell Bryant b88c06b8b5 add some code optimizations, see the report for an explanation
(issue #7105, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 13:37:11 +00:00
Russell Bryant 9d53a3e7f5 - add a UserEvent action that allows a manager client to "broadcast" an event
to all connected manager clients
- update the UserEvent application to use the application argument parsing
  macros and to allow headers to be specified as pipe delimeted arguments
  (issue #5324, original patch by outtolunc, committed patch by Corydon)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 13:29:22 +00:00
Kevin P. Fleming db55898c0d Merged revisions 28968 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28968 | kpfleming | 2006-05-19 21:35:53 -0500 (Fri, 19 May 2006) | 2 lines

don't allow queue member devices to ring longer than the total queue timeout (issue #6423, reported and patched by bcnit)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 02:51:53 +00:00
Russell Bryant 0056379829 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28967 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-05-20 02:32:54 +00:00
Russell Bryant d8f4a04acc remove an unused variable, and default the user to asterisk if not specified
in the config file (issue #7153, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 01:35:12 +00:00