dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

10606 Commits

Author SHA1 Message Date
oej 10d3f3f5ba - Disable RTP timeouts during T.38 transmission
- Encapsulate RTP timers to the RTP structure, so we have one set for video and one for audio
- Document RTP keepalive configuration option
- Cleanup and document the monitor support function to hangup on RTP timeouts
- Add RTP keepalive to SIP show settings

Imported from 1.4 with modifications for trunk.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48200 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-02 12:05:40 +00:00
russell be7b4bb5fe Blocked revisions 48195 via svnmerge
........
r48195 | russell | 2006-12-01 22:50:58 -0500 (Fri, 01 Dec 2006) | 3 lines

Backport the comment containing the warning regarding the limitations on the
usage of this function.  It is thread safe, but not technically reentrant.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48196 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-02 03:53:02 +00:00
kpfleming 53723d66bf Merged revisions 48193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48193 | kpfleming | 2006-12-01 17:37:28 -0600 (Fri, 01 Dec 2006) | 10 lines

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

........
r48192 | kpfleming | 2006-12-01 17:30:59 -0600 (Fri, 01 Dec 2006) | 2 lines

if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48194 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 23:39:59 +00:00
russell f1781a983a Merged revisions 48190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48190 | russell | 2006-12-01 18:16:28 -0500 (Fri, 01 Dec 2006) | 12 lines

FreeBSD 6.1 does not include wget by default.  However, it has fetch which will
work just fine for our purposes of downloading the sounds packages.  So, check
for both wget and fetch and the configure script and use what was found to
download them.  If neither one was found, and sound packages are selected that
must be downloaded, the install process will print out an informative error
message indicating the situation.

Also, fix a couple places where "make" was hard coded into some output messages
by replacing them with the $(MAKE) variable.

(issue #8451, initial patch by pabelanger, with additional modifications by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48191 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 23:20:17 +00:00
oej 1b52b6dedd Formatting fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48188 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 20:49:06 +00:00
qwell db7a556c93 Merged revisions 48186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48186 | qwell | 2006-12-01 14:25:51 -0600 (Fri, 01 Dec 2006) | 10 lines

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

........
r48183 | qwell | 2006-12-01 14:19:10 -0600 (Fri, 01 Dec 2006) | 2 lines

Fix a small typo - issue 8848, reported by pabelanger

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48187 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 20:26:44 +00:00
tilghman fb583000ba Merged revisions 48179 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48179 | tilghman | 2006-12-01 13:38:59 -0600 (Fri, 01 Dec 2006) | 2 lines

Double-unlock error (reported by blitzrage on IRC)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48180 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 19:41:02 +00:00
oej a85decf9c3 - Remove T.38 early media, since T.38 requires two way communication (imported from 1.4)
- Small fixes to limitonpeer


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 18:16:16 +00:00
oej 8cd94a1153 Tiny doxygen improvement
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48175 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 17:33:56 +00:00
file a9383ac927 Merged revisions 48168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48168 | file | 2006-11-30 16:18:24 -0500 (Thu, 30 Nov 2006) | 2 lines

Do not do a partial bridge for Google Talk since we need to handle STUN. (issue #8448 reported by phsultan)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48169 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 21:22:01 +00:00
oej b631ec45c7 Issue #8319 (imported from 1.2, 1.4) - Increment nonce-count properly (noriyuki)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48167 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 20:55:43 +00:00
oej 7d8d79e3ae Documentation updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48164 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 20:34:23 +00:00
file 206a2148e0 Blocked revisions 48162 via svnmerge
................
r48162 | file | 2006-11-30 15:28:19 -0500 (Thu, 30 Nov 2006) | 9 lines

Blocked revisions 48161 via svnmerge

........
r48161 | file | 2006-11-30 15:27:29 -0500 (Thu, 30 Nov 2006) | 2 lines

Don't write AST_FRAME_NULL or AST_FRAME_IAX frames out to the channel driver. (issue #8390 reported by hselasky)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48163 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 20:29:11 +00:00
file a0c0c3b79b Merged revisions 48158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48158 | file | 2006-11-30 15:07:55 -0500 (Thu, 30 Nov 2006) | 10 lines

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

........
r48157 | file | 2006-11-30 15:06:43 -0500 (Thu, 30 Nov 2006) | 2 lines

Only print out debug message if bridged channel is not NULL. (issue #8412 reported by jubilex)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48160 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 20:09:46 +00:00
file b4d97fb2c6 Merged revisions 48155 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48155 | file | 2006-11-30 14:05:14 -0500 (Thu, 30 Nov 2006) | 10 lines

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

........
r48154 | file | 2006-11-30 14:04:11 -0500 (Thu, 30 Nov 2006) | 2 lines

Do not listen for DTMF on the bridge that comes into existence when ParkedCall is executed. This means native bridging can now occur for this. (issue #8406 reported by kebl0155)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48156 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 19:06:22 +00:00
file 3ab05b5d97 Merged revisions 48152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48152 | file | 2006-11-30 13:47:40 -0500 (Thu, 30 Nov 2006) | 10 lines

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

........
r48151 | file | 2006-11-30 13:42:45 -0500 (Thu, 30 Nov 2006) | 2 lines

Print certain CDR messages out at the NOTICE level versus WARNING since they can occur when used with the CDR applications and are perfectly fine. (issue #8367 reported by dartvader)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 18:49:59 +00:00
oej 2a63b905a5 Small update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48150 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 18:25:51 +00:00
oej 33bdb442ed Doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48149 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 18:22:10 +00:00
file 834582114a Blocked revisions 48147 via svnmerge
................
r48147 | file | 2006-11-30 13:19:55 -0500 (Thu, 30 Nov 2006) | 9 lines

Blocked revisions 48146 via svnmerge

........
r48146 | file | 2006-11-30 13:17:54 -0500 (Thu, 30 Nov 2006) | 2 lines

Remember the pointer to the allocated block of memory so that we can free it and not cause a memory leak. (issue #8449 reported by arkadia)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48148 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 18:20:57 +00:00
file aacc6d95d7 Merged revisions 48143 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48143 | file | 2006-11-30 12:57:35 -0500 (Thu, 30 Nov 2006) | 10 lines

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

........
r48142 | file | 2006-11-30 12:55:23 -0500 (Thu, 30 Nov 2006) | 2 lines

Document 'port' for SIP peers, came up because of the current mailing list thread. (issue #8450 reported by blitzrage)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48144 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 17:58:53 +00:00
oej 91e2cd809f Adding some generic docs on extension and device states - watchers and providers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48139 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 17:15:54 +00:00
oej ddb5920c84 Add information on status events
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48136 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 14:32:52 +00:00
oej 69a0ae93af Merging patch from 1.2/1.4. I think this was originally spotted by
Luigi, but hit me in the back today.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 09:23:25 +00:00
file c130c9181c I am pretty sure that oej only meant to change the variable name in the source, not the configuration option name so let's turn it back to srvlookup instead of global_srvlookup. (issue #8442 reported by jtodd)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48123 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 03:29:42 +00:00
file 8693f486bf Merged revisions 48115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48115 | file | 2006-11-29 16:05:17 -0500 (Wed, 29 Nov 2006) | 2 lines

Use MAILTMPLEN instead of sizeof in mm_login. (issue #8420 reported by slimey)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48116 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 21:07:14 +00:00
oej 8b2960e19d Clarify some settings for status reports in subscriptions, queues and manager
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48114 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 20:57:48 +00:00
oej 464f2cd0b2 Explain RTP timeouts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48112 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 19:47:45 +00:00
oej 4dcfb7d284 Change logging for p2p rtp bridge mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48111 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 19:44:06 +00:00
russell 2942427c7e - Fix a few spelling mistakes.
- Add some more documentation for the ast_dynamic_str_............() function
  to document the behavior of the function in the case of a partial write.
  Also, document the return value and note that the function should never need
  to be called directly.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48110 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 17:59:13 +00:00
russell 700f9d585c Go ahead and make this write unconditional. Making it conditional is more work
in both the append and non-append modes.  Also, always truncating the partial
write makes the behavior of the function more consistent, where in any type of
write, no partial result is left in the buffer.

Thanks for the feedback, luigi


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48109 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 17:37:31 +00:00
file 230fa9e998 Merged revisions 48107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48107 | file | 2006-11-29 11:50:33 -0500 (Wed, 29 Nov 2006) | 10 lines

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

........
r48106 | file | 2006-11-29 11:47:10 -0500 (Wed, 29 Nov 2006) | 2 lines

If the frame was duplicated before writing out then we need to free it. (issue #8429 reported by edguy3)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48108 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 16:53:27 +00:00
russell 02a84d116b Remove an XXX command suggesting that this truncation should not be conditional,
and also add a more verbose comment explaining why it is only needed in the
case of appending to the string for any curious readers that come along in the
future.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48103 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 05:08:19 +00:00
file 92c4c39768 Merged revisions 48101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48101 | file | 2006-11-28 23:26:53 -0500 (Tue, 28 Nov 2006) | 2 lines

Don't crash if the mailstream was not created.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48102 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 04:28:21 +00:00
file 4a3d234bf9 Use the proper version of extra sounds. (issue #8441 reported by jtodd)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48100 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 03:12:16 +00:00
russell c561cdc896 Add a comment to note near some code that performs a very expensive operation
that occurs for every incoming media frame.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48099 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 23:13:37 +00:00
russell a1a8dcf0d4 resolve a couple of compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48098 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 23:04:36 +00:00
qwell f3b17d9bb4 Merged revisions 48095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48095 | qwell | 2006-11-28 12:26:53 -0600 (Tue, 28 Nov 2006) | 2 lines

Export several more variables in top level Makefile.  Inspired by issue 8438.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48096 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 18:28:07 +00:00
rizzo b507cb90af don't use outputstr in the struct mansession, it's just
an extra allocation on a path where we have way too many already.

Unfortunately the AMI-over-HTTP requires multiple copies,
because we need to generate a header, then the raw output to
an intermediate buffer, then convert it to html/xml, and
finally copy everything into a malloc'ed buffer because
that's what the generic_http_callback interface expects.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 17:08:19 +00:00
file 492e4c42fc Merged revisions 48088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48088 | file | 2006-11-28 11:57:16 -0500 (Tue, 28 Nov 2006) | 10 lines

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

........
r48087 | file | 2006-11-28 11:56:01 -0500 (Tue, 28 Nov 2006) | 2 lines

According to the research I have done we never needed to include compiler.h in the first place so let's not! (issue #8430 reported by edguy3)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48089 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 16:59:20 +00:00
rizzo 41ac55742c initialize the dynamic string in a sane way.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48086 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 15:53:12 +00:00
rizzo b24855a833 some simplifications to
ast_dynamic_str_thread_build_va_couldnt_we_choose_a_shorter_name()

I am unsure whether the truncation of the string in case of a failed
attempt should be done unconditionally. See the XXX mark.

Russel, ideas ?



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48084 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 14:07:09 +00:00
rizzo a522c1ce0f do not return 500 Internal error if the AMI command provides
no output.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48083 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 13:08:56 +00:00
rizzo 062fee49d6 mosty comment and documentation cleanup on waitevent.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48082 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 12:05:25 +00:00
rizzo bdf4f81f22 Move the code to purge stale sessions to a function,
to simplify the body of the main loop of the accepting thread.
Rename purge_unused() to purge_events() so one knows what the
function does.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48081 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 11:20:39 +00:00
rizzo 917af9ad51 Various simplifications of the code:
+ use a wrapper around ast_carefulwrite(), used in two places,
  to make life easier when we decide to use a different interface
  to the socket.

+ put an ast_verbose() message on astman_append on a case that
  should never happen now that we use a temporary file for
  AMI-over-HTTP sessions

+ document and slightly simplify process_events() by removing
  unnecessary parentheses.

+ in get_input(), use ast_wait_for_input() instead of poll().

  We may want to move to a completely non-blocking


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48080 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 10:23:25 +00:00
rizzo 30830453fb More informative message on invalid commands.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48079 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 09:43:44 +00:00
rizzo 8cc315343f another normalization of AMI vs HTTP identification.
Should really define a macro IS_AMI(s) so it is clear what
we want to do.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 09:39:16 +00:00
rizzo e8f45989fe always use managerid to determine whether this is an AMI or HTTP session,
and document it.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48077 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 09:27:37 +00:00
rizzo 9718f1cb7d In the previous commit i forgot to set the poll_timeout to -1,
causing the http threads to do busy waiting around the socket...

Fix the mistake, sorry for the inconvenience!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48074 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 00:02:42 +00:00
rizzo 4975453032 document the support for running a server on TCP/TLS and
opening an SSL socket.

We are almost ready to make this code available to other modules.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48073 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 21:25:55 +00:00