asterisk/asterisk.git
16 years agoLet's have build.h created a bit earlier so that func_version can use it and not...
Joshua Colp [Sun, 22 Oct 2006 04:44:43 +0000 (04:44 +0000)]
Let's have build.h created a bit earlier so that func_version can use it and not stop the build on a fresh machine that has never had Asterisk installed on it before...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45847 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agothe default port number was erroneously stored in host order,
Luigi Rizzo [Sat, 21 Oct 2006 20:24:04 +0000 (20:24 +0000)]
the default port number was erroneously stored in host order,
and reading from the config file used ntohs instead of htons.

this ought to be merged to 1.4 as well.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45836 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45817 via svnmerge from
Joshua Colp [Sat, 21 Oct 2006 18:52:33 +0000 (18:52 +0000)]
Merged revisions 45817 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45817 | file | 2006-10-21 14:48:58 -0400 (Sat, 21 Oct 2006) | 2 lines

Don't use promotion on Darwin because it doesn't seem to work quite right in all cases, this should solve the unresolved symbol issue people have been seeing.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45820 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45818 via svnmerge from
Russell Bryant [Sat, 21 Oct 2006 18:50:38 +0000 (18:50 +0000)]
Merged revisions 45818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45818 | russell | 2006-10-21 14:49:46 -0400 (Sat, 21 Oct 2006) | 3 lines

Add a couple missing unregistrations of manager actions and remove duplicate
unregistrations of applications.  (issue #8194, jmls)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45819 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agointroduce sip_pvt_lock() and sip_pvt_unlock() wrappers to
Luigi Rizzo [Fri, 20 Oct 2006 20:59:06 +0000 (20:59 +0000)]
introduce sip_pvt_lock() and sip_pvt_unlock() wrappers to
lock these data structures.

This improve readability, and also hides the underlying
locking mechanism so it is a lot easier to add diagnostic
code, or move the object locks somewhere else, etc.

On passing, rename the lock field in sip_pvt to pvt_lock,
also for ease of readability.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45786 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45775 via svnmerge from
Joshua Colp [Fri, 20 Oct 2006 19:04:23 +0000 (19:04 +0000)]
Merged revisions 45775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45775 | file | 2006-10-20 15:03:03 -0400 (Fri, 20 Oct 2006) | 2 lines

Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45776 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoput the constants for whether methods can create a dialog or not in an enum
Russell Bryant [Fri, 20 Oct 2006 15:54:14 +0000 (15:54 +0000)]
put the constants for whether methods can create a dialog or not in an enum

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45764 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agominor comment changes, code rearrangement and field renaming
Luigi Rizzo [Fri, 20 Oct 2006 11:24:43 +0000 (11:24 +0000)]
minor comment changes, code rearrangement and field renaming
to minimize diffs with future modifications.

The current implementation is problematic for the following reasons:
+ all insertions are O(N) because the event list does not have a tail
  pointer;
+ there is only a single lock protecting both session and users queues.
+ the implementation of the queue itself is not documented.
  I think i have figured it out, more or less, but am unclear on
  whether there is proper locking in place

The rewrite (which i have working locally) uses a tailq so insertions
are O(1), separate locks for the event and session queues, and has
a documented implementation so hopefully we can figure out if/where
bug exist.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45753 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoLet's repair the SIP attack shield :-)
Olle Johansson [Fri, 20 Oct 2006 08:14:14 +0000 (08:14 +0000)]
Let's repair the SIP attack shield :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45743 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoDoxygen corrections
Olle Johansson [Fri, 20 Oct 2006 08:00:13 +0000 (08:00 +0000)]
Doxygen corrections

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45742 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoThis new function, VERSION(), created via bug report 8176, may help dialplan programm...
Steve Murphy [Thu, 19 Oct 2006 22:06:27 +0000 (22:06 +0000)]
This new function, VERSION(), created via bug report 8176, may help dialplan programmers in the future. In the meantime, they can use the algorithm I outline on the bug report notes; If anyone invents something better, I'd hope they post it

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45724 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoastman was slightly weirding out over the new Dial and Newcallerid events
Steve Murphy [Thu, 19 Oct 2006 19:32:25 +0000 (19:32 +0000)]
astman was slightly weirding out over the new Dial and Newcallerid events

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45712 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomore fixes to comments and very minor code rearrangement.
Luigi Rizzo [Thu, 19 Oct 2006 17:26:20 +0000 (17:26 +0000)]
more fixes to comments and very minor code rearrangement.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45696 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45694 via svnmerge from
Joshua Colp [Thu, 19 Oct 2006 17:25:43 +0000 (17:25 +0000)]
Merged revisions 45694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45694 | file | 2006-10-19 13:24:40 -0400 (Thu, 19 Oct 2006) | 2 lines

Let's remember to unregister JabberStatus too (issue #8184 reported by jmls)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45695 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45692 via svnmerge from
Joshua Colp [Thu, 19 Oct 2006 17:22:13 +0000 (17:22 +0000)]
Merged revisions 45692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45692 | file | 2006-10-19 13:19:47 -0400 (Thu, 19 Oct 2006) | 10 lines

Merged revisions 45691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45691 | file | 2006-10-19 13:16:37 -0400 (Thu, 19 Oct 2006) | 2 lines

Respect language selection when seeing if the file exists (issue #8178 reported by mnicholson)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45693 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoimplement proper XML/HTML formatting of multiple messages
Luigi Rizzo [Thu, 19 Oct 2006 17:07:08 +0000 (17:07 +0000)]
implement proper XML/HTML formatting of multiple messages
(e.g. the result of waitevent).

Also fix some comments.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45690 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45678 via svnmerge from
Joshua Colp [Thu, 19 Oct 2006 16:06:14 +0000 (16:06 +0000)]
Merged revisions 45678 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45678 | file | 2006-10-19 12:03:09 -0400 (Thu, 19 Oct 2006) | 2 lines

If the jitterbuffer is forced on then we can't partially bridge (reported by wangster on #asterisk-dev)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45679 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomove a large block out of do_monitor() and into a function,
Luigi Rizzo [Thu, 19 Oct 2006 10:05:02 +0000 (10:05 +0000)]
move a large block out of do_monitor() and into a function,
to improve readability.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45668 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago+ move the definition of netlock as it was not related to the
Luigi Rizzo [Thu, 19 Oct 2006 09:54:51 +0000 (09:54 +0000)]
+ move the definition of netlock as it was not related to the
  comment just above;

+ decouple the struct definition and variable declaration (iflist);

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45658 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomore documentation of data structure and functions.
Luigi Rizzo [Thu, 19 Oct 2006 07:43:43 +0000 (07:43 +0000)]
more documentation of data structure and functions.
Of interest:
+ ast_get_manager_by_name_locked() is now without the ast_
  prefix as it is a local function;

+ unuse_eventqent() renamed to unref_event(), and returns
  the pointer to the next entry.

+ marked with XXX a couple of usages of unref_event()
  because i suspect we are addressing the wrong entry.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45648 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoCleaning up... Removing duplicate (again)
Olle Johansson [Thu, 19 Oct 2006 07:17:13 +0000 (07:17 +0000)]
Cleaning up... Removing duplicate (again)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45647 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agorestore freeing of threadstorage objects without custom cleanup functions
Kevin P. Fleming [Thu, 19 Oct 2006 02:16:34 +0000 (02:16 +0000)]
restore freeing of threadstorage objects without custom cleanup functions
allow custom threadstorage init functions to return failure
use a custom init function for chan_sip's temp_pvt, to improve performance a bit

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45634 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerge fix to not leak the stringfields of a thread speicif sip_pvt. This also
Russell Bryant [Thu, 19 Oct 2006 01:04:18 +0000 (01:04 +0000)]
Merge fix to not leak the stringfields of a thread speicif sip_pvt.  This also
includes the fix not to leak the actual sip_pvt.

Merged revisions 45622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45622 | russell | 2006-10-18 20:59:51 -0400 (Wed, 18 Oct 2006) | 2 lines

Don't leak the actual thread-specific sip_pvt struct

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45624 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoExtend the thread storage API such that a custom initialization function can
Russell Bryant [Thu, 19 Oct 2006 01:00:57 +0000 (01:00 +0000)]
Extend the thread storage API such that a custom initialization function can
be called for each thread specific object after they are allocated.  Note that
there was already the ability to define a custom cleanup function.  Also, if
the custom cleanup function is used, it *MUST* call free on the thread
specific object at the end.  There is no way to have this magically done that
I can think of because the cleanup function registered with the pthread
implementation will only call the function back with a pointer to the
thread specific object, not the parent ast_threadstorage object.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45623 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agosilent warning from a debugging message (which will go away
Luigi Rizzo [Wed, 18 Oct 2006 22:40:02 +0000 (22:40 +0000)]
silent warning from a debugging message (which will go away
soon, anyways)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoJust for Nicholson - here's an option, C, to Meetme that will allow it to continue...
Joshua Colp [Wed, 18 Oct 2006 22:19:57 +0000 (22:19 +0000)]
Just for Nicholson - here's an option, C, to Meetme that will allow it to continue in the dialplan if the person is kicked out. (issue #7994 reported by mnicholson with mods by myself)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45610 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove trailing whitespace
Luigi Rizzo [Wed, 18 Oct 2006 21:41:09 +0000 (21:41 +0000)]
remove trailing whitespace

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45599 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoouch! remember to unlink temporary files once done with them.
Luigi Rizzo [Wed, 18 Oct 2006 21:36:20 +0000 (21:36 +0000)]
ouch! remember to unlink temporary files once done with them.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45598 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago+ move output_format variables in the http section of the file;
Luigi Rizzo [Wed, 18 Oct 2006 21:30:21 +0000 (21:30 +0000)]
+ move output_format variables in the http section of the file;
+ more comments on struct mansession and global variables;
+ small improvements to the session matching code so it supports
  multiple sessions from the same IP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45597 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45595 via svnmerge from
Joshua Colp [Wed, 18 Oct 2006 21:05:52 +0000 (21:05 +0000)]
Merged revisions 45595 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45595 | file | 2006-10-18 17:03:34 -0400 (Wed, 18 Oct 2006) | 2 lines

Don't modify things if we are using vfork as this is very bad and may cause unexpected behavior (issue #7970 reported by Nick Gavrikov)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45596 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoanother bunch of comments on the data structures.
Luigi Rizzo [Wed, 18 Oct 2006 17:53:47 +0000 (17:53 +0000)]
another bunch of comments on the data structures.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45583 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodespite the large changes, this commit only moves functions
Luigi Rizzo [Wed, 18 Oct 2006 17:45:50 +0000 (17:45 +0000)]
despite the large changes, this commit only moves functions
around so that functions belonging to the same group are
close to each other.

At the beginning of each group i have added a bit of documentation
to explain what the group does and what is the typical flow - basically,
all i have learned by code inspection over the past few days should
be documented for you to read.

I have not put many doxygen annotations just because i am not
sure what are the proper ones. Hopefully some doxygen experts will jump in.

Next on the plate: try to figure out how "struct eventqent"
are supposed to work.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45582 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomore comment and formatting fixes, small simplifications
Luigi Rizzo [Wed, 18 Oct 2006 16:52:13 +0000 (16:52 +0000)]
more comment and formatting fixes, small simplifications
to functions get_input() and session_do()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45572 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agorizzo compile then commit, maybe even run it too ^_^
Matt O'Gorman [Wed, 18 Oct 2006 16:45:22 +0000 (16:45 +0000)]
rizzo compile then commit, maybe even run it too ^_^

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45571 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agocomment and cleanup the main thread.
Luigi Rizzo [Wed, 18 Oct 2006 15:49:40 +0000 (15:49 +0000)]
comment and cleanup the main thread.
On passing, fix a bug: close the socket if the allocation
of a structure for the new session fails.
(the bugfix is a candidate for 1.4)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45561 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agocreate a new (internal, for the time being) function astman_start_ack()
Luigi Rizzo [Wed, 18 Oct 2006 14:21:15 +0000 (14:21 +0000)]
create a new (internal, for the time being) function astman_start_ack()
to start manager responses that need further lines.
This removes a lot of duplicate code from the various handlers
that at the moment build an ActionID string themselves.

Once settled, the function should move to manager.h so
it can be used by other files (chan_agent, chan_iax2, chan_sip,
chan_zap, res_jabber and app_queue).

I am not totally clear if there is a preferred position for
the ActionID: line in a message. Some instances put it at
the end, but one would argue that it is preferable to have
it at the beginning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45551 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomore indentation cleanup from previous commits,
Luigi Rizzo [Wed, 18 Oct 2006 13:42:14 +0000 (13:42 +0000)]
more indentation cleanup from previous commits,
and remove the "busy" field from struct mansession
as it was not used correctly anyways.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45541 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agocreate proper handlers for "Challenge" and "Login" actions,
Luigi Rizzo [Wed, 18 Oct 2006 13:23:22 +0000 (13:23 +0000)]
create proper handlers for "Challenge" and "Login" actions,
rather than use inline code for them.
Things are more readable this way, and also error processing
is more consistent.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45540 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix indentation from a commit of a couple of days ago
Luigi Rizzo [Wed, 18 Oct 2006 12:55:12 +0000 (12:55 +0000)]
fix indentation from a commit of a couple of days ago

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45530 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoanother batch of simplifications to authenticate()
Luigi Rizzo [Wed, 18 Oct 2006 12:38:24 +0000 (12:38 +0000)]
another batch of simplifications to authenticate()

(they are committed a bit at a time so it is easier to
revert them in case we find a bug at a later time).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45529 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoRemove duplicate declarations...
Olle Johansson [Wed, 18 Oct 2006 12:15:23 +0000 (12:15 +0000)]
Remove duplicate declarations...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45528 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoremove unused fields and unimplemented options.
Luigi Rizzo [Wed, 18 Oct 2006 11:59:08 +0000 (11:59 +0000)]
remove unused fields and unimplemented options.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45518 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofirst pass as simplifying authenticate(), avoiding whitespace changes
Luigi Rizzo [Wed, 18 Oct 2006 11:54:06 +0000 (11:54 +0000)]
first pass as simplifying authenticate(), avoiding whitespace changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45516 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomore code simplifications
Luigi Rizzo [Wed, 18 Oct 2006 11:43:31 +0000 (11:43 +0000)]
more code simplifications

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45515 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agosimplify ast_strings_to_mask
Luigi Rizzo [Wed, 18 Oct 2006 10:14:58 +0000 (10:14 +0000)]
simplify ast_strings_to_mask

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45505 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoadd a comment to remember that a block of code is
Luigi Rizzo [Wed, 18 Oct 2006 08:48:50 +0000 (08:48 +0000)]
add a comment to remember that a block of code is
completely redundant.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45495 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago+ move the enum declaration for output formats near the head
Luigi Rizzo [Wed, 18 Oct 2006 06:28:34 +0000 (06:28 +0000)]
+ move the enum declaration for output formats near the head
  of the file, so it can be used from more places;
+ make the declaration of contenttype[] more robust;
+ remove the wrappers around __xml_translate(), since they were
  used only in one place, and rename to xml_translate().
  This allows for a bit of simplifications.
+ document the output produced by the above function.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45485 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agomerge xml_translate() and html_translate() into one function since
Luigi Rizzo [Wed, 18 Oct 2006 05:31:54 +0000 (05:31 +0000)]
merge xml_translate() and html_translate() into one function since
they do similar things.

Add a small form on top of the html output so request like
http://foo:8088/asterisk/manager will suggest you what to do.

Note: i suspect there is still a bug somewhere in the session matching
code, as sometimes you have to login twice in order for the following
commands to be recognised.

Apart from this, the cli now is basically usable from a web form!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45475 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agointroduce uri_decode() so that '+' are translated into ' '
Luigi Rizzo [Wed, 18 Oct 2006 05:27:22 +0000 (05:27 +0000)]
introduce uri_decode() so that '+' are translated into ' '
(e.g. browsers do this when they encode input strings from a form).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45474 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agovarious code simplifications to reduce nesting depth,
Luigi Rizzo [Wed, 18 Oct 2006 04:05:56 +0000 (04:05 +0000)]
various code simplifications to reduce nesting depth,
minor optimizations to avoid extra calls of strlen(),
and some variable localization.

One feature worth backporting is the move of ast_variables_destroy()
to a different place in handle_uri() to avoid leaking memory
in case a uri is not found.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45463 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45452 via svnmerge from
Joshua Colp [Wed, 18 Oct 2006 03:03:37 +0000 (03:03 +0000)]
Merged revisions 45452 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45452 | file | 2006-10-17 23:02:08 -0400 (Tue, 17 Oct 2006) | 2 lines

Don't segfault if you're using a channel driver that doesn't turn RTCP on

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45453 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45441 via svnmerge from
Russell Bryant [Wed, 18 Oct 2006 02:46:39 +0000 (02:46 +0000)]
Merged revisions 45441 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45441 | russell | 2006-10-17 22:41:36 -0400 (Tue, 17 Oct 2006) | 7 lines

Don't attempt to access private data members of the pthread_mutex_t object,
because this does not work on all linux systems.  Instead, just access
the reentrancy field in the ast_mutex_info struct when DEBUG_THREADS is
enabled.  If DEBUG_CHANNEL_LOCKS is enabled, the developer probably has
DEBUG_THREADS on as well.
(issue #8139, me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45442 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45439 via svnmerge from
Russell Bryant [Wed, 18 Oct 2006 02:19:55 +0000 (02:19 +0000)]
Merged revisions 45439 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45439 | russell | 2006-10-17 22:19:07 -0400 (Tue, 17 Oct 2006) | 2 lines

update entry to reboot a snom phone (issue #7850, pnlarsson)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45440 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoAs per bug 6779, this patch is now applied to trunk; while I was at it, I corrected...
Steve Murphy [Tue, 17 Oct 2006 23:06:13 +0000 (23:06 +0000)]
As per bug 6779, this patch is now applied to trunk; while I was at it, I corrected a reference to a CLI command, to follow the new regime.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45410 via svnmerge from
Kevin P. Fleming [Tue, 17 Oct 2006 22:32:19 +0000 (22:32 +0000)]
Merged revisions 45410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45410 | kpfleming | 2006-10-17 17:31:54 -0500 (Tue, 17 Oct 2006) | 2 lines

add a project-specific script to be used during release preparation

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45411 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45408 via svnmerge from
Kevin P. Fleming [Tue, 17 Oct 2006 22:24:45 +0000 (22:24 +0000)]
Merged revisions 45408 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45408 | kpfleming | 2006-10-17 17:24:10 -0500 (Tue, 17 Oct 2006) | 3 lines

optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
expand stringfields API a bit to allow reusing the stringfield pool on a structure when needed, and remove some unnecessary code when the structure was being freed

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45409 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoWarning be gone!
Joshua Colp [Tue, 17 Oct 2006 21:09:49 +0000 (21:09 +0000)]
Warning be gone!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45398 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 45381 via svnmerge
Joshua Colp [Tue, 17 Oct 2006 20:38:55 +0000 (20:38 +0000)]
Blocked revisions 45381 via svnmerge

................
r45381 | file | 2006-10-17 16:38:15 -0400 (Tue, 17 Oct 2006) | 9 lines

Blocked revisions 45380 via svnmerge

........
r45380 | file | 2006-10-17 16:37:17 -0400 (Tue, 17 Oct 2006) | 2 lines

Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45382 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45378 via svnmerge from
Joshua Colp [Tue, 17 Oct 2006 20:34:22 +0000 (20:34 +0000)]
Merged revisions 45378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45378 | file | 2006-10-17 16:30:34 -0400 (Tue, 17 Oct 2006) | 2 lines

Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIssue #5484 (branch sipdiversion) - Support for Diversion header in redirects of...
Olle Johansson [Tue, 17 Oct 2006 19:57:35 +0000 (19:57 +0000)]
Issue #5484 (branch sipdiversion) - Support for Diversion header in redirects of calls
with 302 redirection. (tinning)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45365 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agosimplify authority_to_str() using ast_build_string()
Luigi Rizzo [Tue, 17 Oct 2006 18:08:51 +0000 (18:08 +0000)]
simplify authority_to_str() using ast_build_string()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45351 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIssue #7254 - Add support of "423 Interval too brief" to outbound SIP registrations.
Olle Johansson [Tue, 17 Oct 2006 17:54:59 +0000 (17:54 +0000)]
Issue #7254 - Add support of "423 Interval too brief" to outbound SIP registrations.
Thanks, tardieu!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45335 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoImprove the XML formatting of responses coming from web interface.
Luigi Rizzo [Tue, 17 Oct 2006 17:51:34 +0000 (17:51 +0000)]
Improve the XML formatting of responses coming from web interface.
Normal responses are sequences of lines of the form "Name: value",
with \r\n as line terminators and an empty line as a response
terminator.

Generi CLI commands, however, do not have such a clean formatting,
and the existing code failed to generate valid XML for them.
Obviously we can only use heuristics here, and we do the following:
- accept either \r or \n as a line terminator, trimming trailing whitespace;
- if a line does not have a ":" in it, assume that from this point on
  we have unformatted data, and use "Opaque-data:" as a name;
- if a line does have a ":" in it, the Name field is not always
  a legal identifier, so replace non-alphanum characters with underscores;

All the above is to be refined as we improve the formatting of
responses from the CLI.

And, all the above ought to go as a comment in the code rather than
just in a commit message...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45334 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoUpdate of docs
Olle Johansson [Tue, 17 Oct 2006 17:51:34 +0000 (17:51 +0000)]
Update of docs

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45333 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago- Remove unneeded code that won't be reached now that we kill responses
Olle Johansson [Tue, 17 Oct 2006 17:47:09 +0000 (17:47 +0000)]
- Remove unneeded code that won't be reached now that we kill responses
  to unkonwn dialogs earlier in the process.
- move debug message.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45331 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoopen a temporary file to receive the output from cli commands
Luigi Rizzo [Tue, 17 Oct 2006 17:41:59 +0000 (17:41 +0000)]
open a temporary file to receive the output from cli commands
invoked through the http interface.

It is not terribly efficient but better than no output at all.
Todo: use a configurable /tmp directory instead of a hardwired one.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45330 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45327 via svnmerge from
Kevin P. Fleming [Tue, 17 Oct 2006 17:22:52 +0000 (17:22 +0000)]
Merged revisions 45327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45327 | kpfleming | 2006-10-17 12:22:25 -0500 (Tue, 17 Oct 2006) | 10 lines

Merged revisions 45326 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45326 | kpfleming | 2006-10-17 12:22:01 -0500 (Tue, 17 Oct 2006) | 2 lines

provide licensing language for IAXy firmware file

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45328 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodocument xml_copy_escape() and add an extra function, namely
Luigi Rizzo [Tue, 17 Oct 2006 17:19:31 +0000 (17:19 +0000)]
document xml_copy_escape() and add an extra function, namely
replace non-alphanum chars with underscore.
This is useful when building field names in xml formatting.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45325 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago...block this one too... Only applies to 1.4 since the fix for trunk was different.
Olle Johansson [Tue, 17 Oct 2006 16:27:01 +0000 (16:27 +0000)]
...block this one too... Only applies to 1.4 since the fix for trunk was different.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45316 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlock patch from 1.4 that does not apply here.
Olle Johansson [Tue, 17 Oct 2006 16:25:03 +0000 (16:25 +0000)]
Block patch from 1.4 that does not apply here.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45315 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoGet rid of the ignore variable that was only partially replaced
Olle Johansson [Tue, 17 Oct 2006 06:47:02 +0000 (06:47 +0000)]
Get rid of the ignore variable that was only partially replaced
by the flag.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45295 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIn the course of a data this has been turned into an option to ignore replies, then...
Joshua Colp [Mon, 16 Oct 2006 20:26:56 +0000 (20:26 +0000)]
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!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45286 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoWoof.
Joshua Colp [Mon, 16 Oct 2006 20:10:05 +0000 (20:10 +0000)]
Woof.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45282 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45280 via svnmerge from
Joshua Colp [Mon, 16 Oct 2006 20:08:23 +0000 (20:08 +0000)]
Merged revisions 45280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45280 | file | 2006-10-16 16:06:18 -0400 (Mon, 16 Oct 2006) | 10 lines

Merged revisions 45265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45265 | file | 2006-10-16 15:59:54 -0400 (Mon, 16 Oct 2006) | 2 lines

Use responses rather then replies even though they mean the same thing.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45281 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45262 via svnmerge from
Joshua Colp [Mon, 16 Oct 2006 19:43:33 +0000 (19:43 +0000)]
Merged revisions 45262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45262 | file | 2006-10-16 15:37:34 -0400 (Mon, 16 Oct 2006) | 10 lines

Merged revisions 45260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45260 | file | 2006-10-16 15:28:18 -0400 (Mon, 16 Oct 2006) | 2 lines

Add 'ignoreoodreplies' option which will not create a pvt structure on a SIP response but instead basically drop it.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45263 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 45246 via svnmerge
Joshua Colp [Mon, 16 Oct 2006 17:25:41 +0000 (17:25 +0000)]
Blocked revisions 45246 via svnmerge

........
r45246 | file | 2006-10-16 13:24:35 -0400 (Mon, 16 Oct 2006) | 2 lines

Backport of new directed pickup (BE-85).

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45247 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoIt's new directed pickup! This now features a more sane way of finding the channel...
Joshua Colp [Mon, 16 Oct 2006 16:26:23 +0000 (16:26 +0000)]
It's new directed pickup! This now features a more sane way of finding the channel to pick up (I snuck it into the tree on Friday... bet you didn't know I'd actually use it eh?). PICKUPMARK now also works in a different way, you should prefix it with _ when setting it so it gets inherited onto the channel(s) created in app_dial as directed pickup will now look for it on the target channel, not the originating channel. (BE-85)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45234 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoUpdate
Olle Johansson [Mon, 16 Oct 2006 14:03:48 +0000 (14:03 +0000)]
Update

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45224 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago+ comment some unclear fields of struct mansession;
Luigi Rizzo [Mon, 16 Oct 2006 14:00:53 +0000 (14:00 +0000)]
+ comment some unclear fields of struct mansession;

+ let some commands (Challenge, Login) be processed even if
  already authenticated, as it doesn't harm and prevents some
  incorrect error messages

+ remove custom code for Logoff - the existing handler was ok.

Some indentation fixes may be necessary

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45219 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoWhen adding new functions, please add a forward declaration.
Olle Johansson [Mon, 16 Oct 2006 13:20:21 +0000 (13:20 +0000)]
When adding new functions, please add a forward declaration.
I *know* it is not required, but it makes navigation easier and will help
when splitting up this large source code file.

Thank you!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoImporting rev 45196 from 1.4 - don't kill dialog for a bad response
Olle Johansson [Mon, 16 Oct 2006 13:03:02 +0000 (13:03 +0000)]
Importing rev 45196 from 1.4 - don't kill dialog for a bad response

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45204 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoA B2BUA should *not* issue proxy auth.
Olle Johansson [Mon, 16 Oct 2006 12:28:18 +0000 (12:28 +0000)]
A B2BUA should *not* issue proxy auth.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45194 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years ago+ comment some unclear requirements for master_eventq
Luigi Rizzo [Mon, 16 Oct 2006 11:29:22 +0000 (11:29 +0000)]
+ comment some unclear requirements for master_eventq
+ remove the need for an snprintf in astman_get_header()
+ fix comment for manager list eventq
+ localize one variable and minor code simplifications.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45185 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoprotect access to first_action with actionlock.
Luigi Rizzo [Mon, 16 Oct 2006 09:33:00 +0000 (09:33 +0000)]
protect access to first_action with actionlock.
Mark with XXX one place (during command execution) where
navigation should be protected with actionlock, but is not
because it would block requests for a long time.

To solve this properly we need to put reference counts in
the struct manager_action.
A suboptimal fix is to copy the record on a search and then
unlock the list while we work on the copy.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45177 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agocomment some functions, and more small code simplifications
Luigi Rizzo [Mon, 16 Oct 2006 08:38:35 +0000 (08:38 +0000)]
comment some functions, and more small code simplifications

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45169 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agofix indentation of a large block after changes in previous commit
Luigi Rizzo [Mon, 16 Oct 2006 06:55:14 +0000 (06:55 +0000)]
fix indentation of a large block after changes in previous commit
(basically whitespace only).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agosimplify string parsing routines using ast_skip_*() functions.
Luigi Rizzo [Mon, 16 Oct 2006 06:30:51 +0000 (06:30 +0000)]
simplify string parsing routines using ast_skip_*() functions.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45160 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agodon't forget to close a descriptor on a malloc failure.
Luigi Rizzo [Sun, 15 Oct 2006 20:54:15 +0000 (20:54 +0000)]
don't forget to close a descriptor on a malloc failure.
On passing, small rearrangement of the code to reduce indentation.

There is a bit more cleanup planned for this file, so a merge to 1.4
will be done when it is all done.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45152 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agotypo: serer -> server
Luigi Rizzo [Sun, 15 Oct 2006 20:37:42 +0000 (20:37 +0000)]
typo: serer -> server

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45151 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoupdate the doc string for both AEL and extensions.conf users.
Steve Murphy [Sat, 14 Oct 2006 04:36:21 +0000 (04:36 +0000)]
update the doc string for both AEL and extensions.conf users.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45142 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45125 via svnmerge from
Kevin P. Fleming [Fri, 13 Oct 2006 23:03:36 +0000 (23:03 +0000)]
Merged revisions 45125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45125 | kpfleming | 2006-10-13 18:02:48 -0500 (Fri, 13 Oct 2006) | 7 lines

------------------------------------------------------------------------
r45119 | kpfleming | 2006-10-13 17:57:42 -0500 (Fri, 13 Oct 2006) | 2 lines

don't drop the entire permit/deny list when an attempt is made to add an invalid entry (BE-92)

------------------------------------------------------------------------

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45126 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoInherit the context and extension until the channel is answered
Joshua Colp [Fri, 13 Oct 2006 21:20:18 +0000 (21:20 +0000)]
Inherit the context and extension until the channel is answered

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45109 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45106 via svnmerge from
Joshua Colp [Fri, 13 Oct 2006 21:07:06 +0000 (21:07 +0000)]
Merged revisions 45106 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45106 | file | 2006-10-13 17:06:09 -0400 (Fri, 13 Oct 2006) | 2 lines

Clear the quiet flag too since we are restarting a recognition again (reported on -dev by Stephan Edelman)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45104 via svnmerge from
Joshua Colp [Fri, 13 Oct 2006 21:03:05 +0000 (21:03 +0000)]
Merged revisions 45104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45104 | file | 2006-10-13 17:01:13 -0400 (Fri, 13 Oct 2006) | 2 lines

Check return value from engine in case of failure (ie: out of licenses) (reported on -dev mailing list)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45105 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45088 via svnmerge from
Christian Richter [Fri, 13 Oct 2006 19:24:02 +0000 (19:24 +0000)]
Merged revisions 45088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45088 | crichter | 2006-10-13 21:19:46 +0200 (Fr, 13 Okt 2006) | 1 line

avoiding warning, fixing potential bug
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45089 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45079 via svnmerge from
Joshua Colp [Fri, 13 Oct 2006 18:45:44 +0000 (18:45 +0000)]
Merged revisions 45079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45079 | file | 2006-10-13 14:42:49 -0400 (Fri, 13 Oct 2006) | 2 lines

And file said... let the compiler warnings STOP!

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoCorrection for bug 8128 in trunk
Steve Murphy [Fri, 13 Oct 2006 18:08:33 +0000 (18:08 +0000)]
Correction for bug 8128 in trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45078 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45066 via svnmerge from
Joshua Colp [Fri, 13 Oct 2006 17:06:19 +0000 (17:06 +0000)]
Merged revisions 45066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45066 | file | 2006-10-13 13:05:02 -0400 (Fri, 13 Oct 2006) | 10 lines

Merged revisions 45060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45060 | file | 2006-10-13 13:01:22 -0400 (Fri, 13 Oct 2006) | 2 lines

Turn on volume adjustment if it needs to be on (issue #8136 reported by mnicholson)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45067 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45051 via svnmerge from
Joshua Colp [Fri, 13 Oct 2006 16:22:17 +0000 (16:22 +0000)]
Merged revisions 45051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45051 | file | 2006-10-13 12:20:58 -0400 (Fri, 13 Oct 2006) | 2 lines

Move say.conf existence check to do_say function since it is called from multiple places (issue #8144 reported by kshumard)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 45049 via svnmerge from
Kevin P. Fleming [Fri, 13 Oct 2006 16:20:26 +0000 (16:20 +0000)]
Merged revisions 45049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45049 | kpfleming | 2006-10-13 11:19:35 -0500 (Fri, 13 Oct 2006) | 10 lines

Merged revisions 45048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45048 | kpfleming | 2006-10-13 11:18:08 -0500 (Fri, 13 Oct 2006) | 2 lines

when sending a call to a peer, use the proper socket if we have multiple bindings (reported on asterisk-dev)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45050 65c4cc65-6c06-0410-ace0-fbb531ad65f3