Mark Spencer
fb12b92a43
Various IAX2 fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-13 08:48:17 +00:00
Kevin P. Fleming
5736270107
add 'rtignoreexpire' option to allow Realtime addresses to be used regardless of expiration time (bug #4362 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 21:11:30 +00:00
Kevin P. Fleming
ddaa0cc0dd
don't call alloca() or alloca()-using functions in parameter lists (bug #4487 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 20:55:07 +00:00
Kevin P. Fleming
706bf6d427
ensure CLI commands produce proper terminating output when used with manager interface (bug #4497 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 19:34:12 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
005e436b57
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 21:09:59 +00:00
Kevin P. Fleming
4f299de252
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming
8a0ade1fd8
don't call reg_source_db() until after the peer has been added to the peer list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 20:05:55 +00:00
Kevin P. Fleming
68668b602d
use ast_cli_register_multiple() for CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 22:04:54 +00:00
Kevin P. Fleming
a198e5af5a
use ast_strip_quoted to strip brackets from key secrets
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 21:02:51 +00:00
Kevin P. Fleming
860d7948ba
clean up create_addr, and use a structure instead of a large parameter list
...
make create_addr return the peer's outkey, so dynamic realtime peers can use keys for calls (bug #4431 )
add key support for switch connection strings
use a common dial/switch string parser instead of three copies (none of them identical)
make doxygen docs cover the entire source base
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 18:46:58 +00:00
Mark Spencer
c01873574a
Blindly merge jitter buffer patch of bug #4342 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 17:45:38 +00:00
Mark Spencer
04be319867
Fix small sizeof bug ( #4407 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-30 13:57:51 +00:00
Mark Spencer
41e7cc8154
Use defined AST_MAX_ACCOUNT_CODE (bug #4350 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 17:18:05 +00:00
Kevin P. Fleming
c8889e6563
add IAXPEER function (bug #4310 , with minor formatting and doc changes)
...
add note to CODING-GUIDELINES about minimizing indentation in function bodies
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 04:31:02 +00:00
Mark Spencer
53d655cf0a
Yet another set of jitter buffer changes (this time some scheduling improvements) (bug #4319 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:24:09 +00:00
Mark Spencer
9272e1f68a
More jitter buffer fixes for large resync (bug #4311 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 00:34:28 +00:00
Mark Spencer
503be4c93a
Merge skew reduction (bug #4222 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 00:01:11 +00:00
Mark Spencer
ee8cbfa872
Add IAX2 testing code (bug #4242 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 23:43:13 +00:00
Mark Spencer
28e5165284
Actually apply timestamp bug (bug #3961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 23:33:06 +00:00
Russell Bryant
9f9fcca6c0
print out the IAX DATETIME IE in 'iax2 debug' in human readable form
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 19:41:09 +00:00
Kevin P. Fleming
9bf21dbf58
more strncpy -> ast_copy_string conversions, fixing some buglets along the way
...
add recommendation to CODING-GUIDELINES to use ast_copy_string instead of strncpy in new code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:26:45 +00:00
Kevin P. Fleming
fb59e4a857
combine two lines of code to make the logic clearer (bug #4273 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 22:05:16 +00:00
Kevin P. Fleming
ea4c054123
fix segfaults in realtime_peer/realtime_user when wrong-type realtime entry is loaded (bug #4266 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 20:00:08 +00:00
Kevin P. Fleming
3fbdf210ce
fix up help text and output for 'iax2 trunk debug' CLI command (bug #4191 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:51:13 +00:00
Kevin P. Fleming
6cd4f9a8d3
correct some signed/unsigned issues found by GCC 4 (bug #4237 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Mark Spencer
e37adfa243
Add netstats option (bug #4175 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:15:14 +00:00
Mark Spencer
01424f1f05
Fix one way audio problem with iax trunking (bug #4221 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:07:42 +00:00
Mark Spencer
c936fc827c
Add remainder of rtp fixes, iax2 patch (bug #3961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:57:44 +00:00
Russell Bryant
65a7d2ac76
fixes for the new jitter buffer (bug #4249 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 19:01:03 +00:00
Kevin P. Fleming
7d6ba573e5
move some debugging output to a higher debug level (bug #4119 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:49:32 +00:00
Kevin P. Fleming
fe6517959e
change (iax2,sip) show (peers,users) to use 'like <pattern>' for pattern-matching to be consistent with other CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 01:34:21 +00:00
Kevin P. Fleming
8634ef9e4a
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming
b2c3f0464f
unregister reload command (bug #4102 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-28 16:21:00 +00:00
Kevin P. Fleming
0fe9884e0b
report IP of peer who sent failing registration (bug #4089 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 02:52:14 +00:00
Kevin P. Fleming
5a6d5c1751
ensure cause code supplied by IAX2 peer is passed up to caller properly (bug #4064 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 02:30:36 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Russell Bryant
7bffc0459c
add missing newlines, fix misspelling of nonexistent (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 23:33:47 +00:00
Kevin P. Fleming
b052fe894b
ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
...
don't reinitialize random number generators in other modules
(bug #4017 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 04:47:39 +00:00
Kevin P. Fleming
d254db31c8
*** empty log message ***
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 21:12:32 +00:00
Kevin P. Fleming
8b2b938b7e
correct IAX loading/binding message (bug #3953 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 23:41:34 +00:00
Kevin P. Fleming
f9f59ae89d
move start_network_thread to _before_ testing its result :-) (bug #3952 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 23:32:11 +00:00
Kevin P. Fleming
b96ae79baa
handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 22:57:18 +00:00
Kevin P. Fleming
7438526620
fix various compiler warnings (bug #3938 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 21:16:01 +00:00
Kevin P. Fleming
661770497b
Allow chan_iax2 to build on systems that don't define SO_NO_CHECK (bug #3908 , round 2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 15:52:26 +00:00
Kevin P. Fleming
2097977b7d
Add 'iax2 reload' CLI command and fix peer counting with regex matches (bug #3876 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 04:50:21 +00:00
Mark Spencer
6ea8bf36f8
Fix IAX2 out of memory failure (bug #3907 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 19:29:54 +00:00
Mark Spencer
f3b51061e4
Add option to disable checksums on IAX
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 23:20:31 +00:00
Mark Spencer
dc9faa21e4
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 20:48:24 +00:00
Mark Spencer
e7b18536c4
Fix SIP/IAX caching (bug #3671 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24 05:02:49 +00:00
Mark Spencer
730194d609
Merge Russell's formatting patch (bug #3838 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-23 05:56:32 +00:00
Anthony Minessale II
a8e79d3830
fix typo per stevek's req
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-18 00:32:49 +00:00
Mark Spencer
7082d0584e
Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532 , #3400 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 21:30:19 +00:00
Mark Spencer
f0449777db
Fix missing newline to notice (bug #3775 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-16 18:33:56 +00:00
Mark Spencer
18d9b26cf9
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Mark Spencer
3def26a0e4
Add iax2 device state notification (bug #3640 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-28 06:40:20 +00:00
Mark Spencer
d10878282b
Provide more info when native bridge cannot occur (bug #3627 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-19 20:46:34 +00:00
Mark Spencer
9529e3ebb0
Make IAX2 channel names use "-" instead of "/" for call number (bug 3594)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-18 06:14:54 +00:00
Mark Spencer
ddcfe8d3af
Fix apparent logic error that causes unregistered non-realtime peers to be destroyed (bug #3569 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-12 20:15:15 +00:00
Mark Spencer
2b914b7ebf
Add support for receiver reports (bug #3236 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-12 18:52:14 +00:00
Mark Spencer
5611ff040e
Fix native bridge not to intercept DTMF if it's needed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-11 20:07:45 +00:00
Mark Spencer
c52f076bca
Separate IAX and SIP tables for users/peers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-10 21:14:11 +00:00
Mark Spencer
5d9bbe64c8
Merge tony's IAX/SIP realtime cache (bug #3509 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-10 20:04:42 +00:00
Mark Spencer
ca0a0a0daa
Merge IAX2 peer completion patch (bug #3462 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 21:32:26 +00:00
Mark Spencer
2491d3b75d
Improve logging and add summaries (bug #3459 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 06:50:46 +00:00
Mark Spencer
ccd7a7ac54
Reduce complexity of check for f->samples / 8 not being 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-28 22:08:24 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
b27daee8b0
IAX codec fixes (bug #3387 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-20 23:42:06 +00:00
Mark Spencer
e3da507a44
Make sure we check for owner even after a queue frame
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-20 22:53:57 +00:00
Mark Spencer
e2c9887aeb
Simplify find_peer usage (bug #3341 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 07:33:17 +00:00
Mark Spencer
3519110944
Give us more wiggle room on incoming registrations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-14 21:10:16 +00:00
Mark Spencer
5a69a332e5
Fix to be sure we have a valid fd on a peer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-12 17:28:26 +00:00
Mark Spencer
186e36c403
Allow multiple bindaddrs so asterisk uses the same interface for tx as rx
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-11 17:08:52 +00:00
Mark Spencer
18ff12ba8b
Merge regex for iax2 show peers (bug #3223 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-09 18:35:31 +00:00
Mark Spencer
4038178ccb
Merge experimental codec preferences for IAX2 (bug #2971 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-09 10:32:53 +00:00
Mark Spencer
e163642ed1
Don't native bridge when needing digits
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-08 18:52:18 +00:00
Mark Spencer
8e3722ceee
More flagification (bug #3254 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-05 23:05:49 +00:00
Mark Spencer
90197dbbdc
Minor IAX2 fixes, add incomplete-but-very-basically-functional IAX2 encryption
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-29 23:02:21 +00:00
Mark Spencer
83728dbd79
Merge Tilghman's cause codes patch (bug #3032 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-26 22:33:25 +00:00
Jim Dixon
8e1a2d57a6
Fix Divide by zero possibility (ouch!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-23 07:04:16 +00:00
Mark Spencer
49eb667a95
Move iax2 to flags, too (thanks drumkilla!) (bug #3124 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-23 01:42:14 +00:00
Mark Spencer
ad3c50f656
Merge Steve's timestamp patch (bug #3119 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-22 00:16:42 +00:00
Mark Spencer
d87c4f7008
iax2 typename fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-20 00:10:05 +00:00
Mark Spencer
d6471bec31
Merge Olle's comment patch (bug #3097 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 21:13:41 +00:00
Mark Spencer
f81cf74784
Make sure read/write format are setup properly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 18:26:12 +00:00
Mark Spencer
bc92c225fb
Add iax2 provisioning application for dialplan
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-11 19:25:10 +00:00
Mark Spencer
46927aa38b
Don't print silly unregistered messages on realtime
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-29 03:24:35 +00:00
Mark Spencer
ebda286578
Don't seed on temponly peers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-29 03:19:55 +00:00
Mark Spencer
893b238eff
Don't hold the iaxsl[x] lock while finding the peer, do it ahead of time.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-23 13:44:08 +00:00
Mark Spencer
4562f0632a
Fix typo (missing braces) (bug #2919 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 19:01:11 +00:00
Mark Spencer
23c2d6b12c
Release call lock while we look for the peer to avoid a deadlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 18:25:27 +00:00
Mark Spencer
ee47520f28
Merge Tony's uservars (bug #2882 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-17 03:10:38 +00:00
Mark Spencer
dd43338425
Updates from char * to const char * + german syntax + enumeration (bug #2780 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-13 16:13:07 +00:00
Mark Spencer
a5075fe0f8
Make timezone configurable within IAX (bug #2814 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-09 05:05:07 +00:00
Mark Spencer
8a13712e45
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-26 22:25:43 +00:00
James Golovich
8009d53690
Pass format string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 06:44:37 +00:00
Mark Spencer
e21ed1865b
First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 12:19:47 +00:00
James Golovich
73831ac046
More memory checks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 07:03:01 +00:00
James Golovich
487dc0897a
Small verbosity fix in chan_iax2.c from bkw_
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-22 15:02:13 +00:00
Mark Spencer
787822b4c8
Minor improvements to debug output (bug #2644 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-16 15:36:16 +00:00
Mark Spencer
bb10f5af9f
Fix trasnfer issue (bug #2632 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-14 03:58:35 +00:00
Mark Spencer
e0ff16cf78
Be careful!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-12 19:54:54 +00:00
Mark Spencer
fd514b89f9
Keep back delivery times on trunk (bug #2587 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-10 20:27:54 +00:00
Mark Spencer
b950439080
Add autokill to IAX2, too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-10 01:42:46 +00:00
Mark Spencer
0e76390736
Remove silly printf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-09 16:34:12 +00:00
Mark Spencer
6390872a5d
IAX2 authentication improvements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-08 23:20:02 +00:00
Mark Spencer
9209bc5e13
Don't save dynamic peers in registery (bug #2610 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-08 15:21:20 +00:00
Mark Spencer
f869646706
Provide more useful iax2 debugging (bug #2603 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-08 05:37:19 +00:00
Mark Spencer
eb2cd99a14
Default for overriden should be passed screen
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-07 21:06:32 +00:00
Mark Spencer
3ec18090b9
Fix callerid on IAX2 (received)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-07 21:04:10 +00:00
Mark Spencer
ed62f449a9
Oops, we have to be able to pass multiple restrictions for when we go to voicemail...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-07 19:57:50 +00:00
Mark Spencer
ebb18daf22
Major changes to res_config to support centralized config, eliminate configuration of res_config_odbc, update config examples, integrate with iax2, remove mysql friends from iax2, put on flame retardant vest...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-05 06:46:11 +00:00
Mark Spencer
0ddbbd1785
Add ability to check voicemail from multiple folders (bug #2561 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 21:18:27 +00:00
Mark Spencer
864d84e1a7
Fix potential callerid snafu's in iax and sip (based on 2562)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 14:57:01 +00:00
Mark Spencer
fce17976e9
Major PBX revamps (including labels, update examples)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 04:19:59 +00:00
Mark Spencer
666dd0f75c
More IAX2 TNS/TOS/PRES fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 02:13:04 +00:00
Mark Spencer
15c6bf0860
Add iax2 parsing for TNS/TON/PRES
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 01:56:08 +00:00
Mark Spencer
04fc29c8b2
Huge callerid rework (might break H.323, others)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 00:58:31 +00:00
Mark Spencer
678c1d90c0
Fix potential seg (Bug #2550 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-30 15:30:05 +00:00
Mark Spencer
a638a19ea2
Don't register auth against something that isn't a register (bug #2468 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-19 17:21:26 +00:00
James Golovich
a9f5393bfe
Make chan_iax2.c compile again on older gcc. Remember definitions must come first
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-17 13:58:38 +00:00
Mark Spencer
038cd054ae
Merge steven davie's IAX2 jitterbuffer fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-17 12:45:03 +00:00
Mark Spencer
610d52b054
Add IAX2/SIP register events to system (bug #2117 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-16 16:18:53 +00:00
Mark Spencer
9a387e5a7a
Queue congestion on REJECT (bug #2448 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-15 17:31:37 +00:00
Mark Spencer
2f82498995
Don't forget to return something other than -1 on the first pass if appropriate!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-12 15:29:56 +00:00
Mark Spencer
71df4d92da
Automatically send proper signal on iax switch following dial (bug #2420 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-12 15:05:37 +00:00
Mark Spencer
879c401544
Add option to register extensions on IAX or SIP registration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-07 23:45:34 +00:00
Mark Spencer
cfb711bf57
Make app_festival change more portable, allow '*' for context in iax2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 14:59:58 +00:00
Mark Spencer
1587fd6b84
Fix port numbers in IAX2 and iax2prov (bug #2261 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-17 23:57:36 +00:00
Mark Spencer
02ffc0eec8
Fix trivial typo (bug #2253 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-16 01:57:10 +00:00
Mark Spencer
7acee329e1
Merge BSD stack size work (bug #2067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-08 17:15:02 +00:00
Mark Spencer
6193bc31b8
Merge Steven Davie's bridging patches
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-07 19:16:53 +00:00
Mark Spencer
3329f8154e
Add default username patch (bug #2178 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-30 14:59:56 +00:00
Mark Spencer
35ffb12ae8
Work on copy of firmware so that it doesn't get corrupted on a "make install" (bug #2106 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-24 02:50:11 +00:00
Mark Spencer
569b95352a
rename "parking" to "features" in preparation for some more (possibly post 1.0) feature additions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 20:58:01 +00:00
Mark Spencer
68070c82d0
Change IAX2 naming convention
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 04:13:12 +00:00
Mark Spencer
bba1faf910
Last set of strncpy/snprintf updates (bug #2049 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-16 04:40:54 +00:00
Mark Spencer
a40e6c115f
Fix provisioning for unload/reload
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-09 07:37:44 +00:00
Mark Spencer
155d84a979
Add IAX provisioning support to Asterisk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-07 09:34:01 +00:00
Mark Spencer
d2f22c57fe
Merge Steven Davies latest jitter buffer patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-01 21:55:06 +00:00
James Golovich
201849fb42
Fix IAX2 registration time. We want to set reg->refresh to the new value only if its lower not if its higher. (bug 1955)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-01 04:04:30 +00:00
Mark Spencer
2f911dfba6
Use INET_ADDRLEN (bug #1956 ) (from airport!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-30 16:56:51 +00:00
Malcolm Davenport
b94f5ca495
Bug #1952 : iaxbuf now declared in chan_iax2.c and chan_sip.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-30 13:57:49 +00:00
Mark Spencer
1f1c915fea
Merge Steven Davie's timestamp improvements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-30 06:03:57 +00:00
Mark Spencer
f97df161f4
Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 12:56:46 +00:00
Mark Spencer
05110e85d3
Add ability to send detailed mailbox info (bug #1690 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26 20:55:35 +00:00
Mark Spencer
d9ed36059c
Add peercontext parameter for default outbound context (bug #1929 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26 15:48:30 +00:00
Mark Spencer
b76935b95c
Minor alsa fixes, add "delayreject" option to IAX to implement request of bug #1846 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26 14:19:38 +00:00
Mark Spencer
3db853b428
Merge source cleanups (bug #1911 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26 03:50:14 +00:00
James Golovich
8801247d76
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer
f5de717d6e
Merge Steven Davie's IAX2 jitter buffer enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 17:50:39 +00:00
Mark Spencer
5546e32355
Merge major BSD mutex and symbol conflict patches (bug #1816 ) (link patch still pending)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 17:42:14 +00:00
Mark Spencer
be9d4b4333
Remove ancient requirement that ts > 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-16 13:52:50 +00:00
Mark Spencer
6c9b510d5d
When dialing outbound, if we match a peer name, use it (who really cares?) (bug #1850 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-15 15:16:16 +00:00
Mark Spencer
3cf5ea7383
Make meetme operate in linear so as to keep alaw folk happy, minor iax2
...
authentication cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 03:12:46 +00:00
Mark Spencer
d208532e6e
x86-64 compile fixes and cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-13 21:25:10 +00:00
Mark Spencer
b1a658f57e
Although I can't think of any scenario that it could result in a race, don't hold a private iax or sip lock while allocating a channel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 23:07:55 +00:00
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Mark Spencer
ad49896f6b
Simplify trunk transmission path and remove potential race (bug #1802 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-07 19:48:53 +00:00
Mark Spencer
0062fe9588
IAX2 fixup, fix res_monitor sillyseg
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-04 18:30:35 +00:00
Mark Spencer
103bb4a334
Enhancements for zaptel+bsd (bug #1781 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-04 15:44:14 +00:00
Mark Spencer
514acf8dfc
Fix lag in diverging clocks (bug #1696 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-30 22:22:49 +00:00
Mark Spencer
0f966565af
Handle debugging of unknown IE's properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-25 15:16:45 +00:00
Mark Spencer
2cc7d3e8db
Make sure transmitted timestamps are solid on trunks (bug #1713 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-25 13:57:57 +00:00
Mark Spencer
e3ad88c784
Eliminate useless pass checking
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-25 00:23:02 +00:00
Mark Spencer
3189e70baa
Allow notransfer to be a global option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-08 14:38:48 +00:00
Mark Spencer
6d280193d6
Fix silly typo in iax2 where strlen was used instead of sizeof
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-06 20:39:31 +00:00
James Golovich
be1efdbf89
include utils.h in chan_iax2.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-05 22:13:27 +00:00
James Golovich
960f681dec
Use ast_strlen_zero in chan_iax2.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-05 21:14:36 +00:00
Mark Spencer
9c683b7423
Fix compiler warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-03 21:00:20 +00:00
Mark Spencer
ee0532702a
Merge Matteo's language setting code for iax2 (bug #1476 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-02 06:36:31 +00:00
Mark Spencer
44de97d496
Provide more fine grained control of sip and iax show peers (bug #1470 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-02 05:38:20 +00:00
Malcolm Davenport
6f9df58afe
Bug # 1503: Add Peter's fix to include "accountcode" support to MySQL based IAX-Friends
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-29 20:09:05 +00:00
Mark Spencer
314877e155
Fix potential seg in iax2 from reload when registrations are going
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-28 22:07:59 +00:00
Mark Spencer
0fe6d16e89
Fix deadlock in IAX2 trunking, small MGCP fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-28 04:23:14 +00:00
Mark Spencer
7596de9ac8
Extreme IAX2 trunking performance improvements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-27 15:18:55 +00:00
Mark Spencer
cce37f8d32
Hold call structure longer iwth find_callno
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26 11:38:21 +00:00
Mark Spencer
f85d0713cf
Clean up SQL queries (bug #1479 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26 05:08:30 +00:00
Mark Spencer
8a411edf9f
Make sure call is valid when handling mini-frame.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-24 15:16:48 +00:00
Mark Spencer
90778ada6d
Fix timestamps on IAX2 trunk mode transmit direction
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-23 05:35:12 +00:00
Mark Spencer
f9aef7098f
Oops that wasn't quite right. Partially revert changes until real data is collected.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-22 19:16:52 +00:00
Mark Spencer
ba078042ba
Make trunking and timestamps palce nicely
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-22 18:51:42 +00:00
Mark Spencer
d3f9887589
gethostbyname isn't reentrant, who knew...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-22 00:20:34 +00:00
Mark Spencer
0134d2cc85
Select user by more logical grounds when no user is specified (bug #1458 , sorta)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-21 00:33:09 +00:00
Mark Spencer
ef89a2709a
Fix pingtime calculation in bridge optimized mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-20 15:14:06 +00:00
Mark Spencer
7a8ec5bea4
Always give real timestamps on IAX ping/pong messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-19 15:24:51 +00:00
James Golovich
36a13f931a
Make 'iax2 show users' print key if a key is used (bug 1253)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-18 21:53:13 +00:00
Mark Spencer
083d9c8039
Clean up timestamps on IAX2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-14 18:15:16 +00:00
Mark Spencer
13bca43aa8
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06 22:17:32 +00:00
Mark Spencer
d3bcf405c2
Small IAX fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06 15:55:40 +00:00
Mark Spencer
eeb2ca5b26
Make read/write mode have a lock parameter and use it properly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-27 06:50:12 +00:00
James Golovich
82bf2663e3
Tiny optimization in chan_iax2.c that the compiler would
...
probably take care of, but better that we do it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-25 18:10:52 +00:00
Mark Spencer
638684636c
Make sure calculation of time is always > 0...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-25 07:17:33 +00:00
James Golovich
359430871f
Check to make sure opendir works in chan_iax2.c (bug 1283)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-23 21:42:35 +00:00
Mark Spencer
b46d67e301
Unlock the owner when we're done (duh!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-23 03:26:23 +00:00
Mark Spencer
3107d6d03b
Hold owner lock when changing codecs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-23 00:56:36 +00:00
James Golovich
a8bbe997d2
Fix some small typos in comments
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-21 11:23:10 +00:00
Mark Spencer
7192fbfae7
Round offset timestamps to nearest 20ms to clean up numbers.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-20 05:19:45 +00:00
Mark Spencer
785ac43c84
Just to be on the safe side, don't update timestamps against anything but voice packets.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-19 08:16:19 +00:00
Mark Spencer
7075b58ee1
Don't use hard timestamps for non-voice frames.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-19 08:12:04 +00:00
Mark Spencer
b690dc13aa
Fix timestamp delivery calculation in IAX... Still might be some mess left...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-16 22:55:05 +00:00
James Golovich
0e90480d6b
Fix bug 1217. Change pthread_t initializers to AST_PTHREADT_NULL and
...
AST_PTHREADT_STOP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-15 07:51:22 +00:00
Mark Spencer
0852f5a930
Preserve IAX timestamps
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-14 23:01:12 +00:00
James Golovich
f2b52d46d0
Make sure chan_iax.c and chan_iax2.c know the size of G726 frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-07 22:57:00 +00:00
Mark Spencer
a1d8701369
Formatting fixup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-05 00:31:55 +00:00
Mark Spencer
b4ea3725da
Set the context properly for a given peer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 23:43:58 +00:00
Mark Spencer
806bb3c63f
Add support for parking with IAX2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 01:11:25 +00:00
Mark Spencer
6a73e70663
Make iax2 compile on *BSD
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-27 16:35:32 +00:00
James Golovich
96abbad91d
Add missing include to chan_iax2.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-25 03:49:25 +00:00
Mark Spencer
066212158e
Add IAX2 firmware upgrade support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-24 21:27:16 +00:00
Mark Spencer
f285c61830
Cleanups to recent changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-18 04:52:56 +00:00
Mark Spencer
cc894e6100
Use call numbers instead of pointers in IAX2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-17 22:16:14 +00:00
Mark Spencer
98391c1324
Free mysql results
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-11 06:29:35 +00:00
Mark Spencer
bac2215fb6
Fix several memory leaks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-11 03:54:28 +00:00
Mark Spencer
7cdb6d36f4
Fix a couple of memory leaks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-11 00:17:48 +00:00
Mark Spencer
cf4825233d
Don't free private structure until iax2_hangup is actually called
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-06 18:11:13 +00:00
Mark Spencer
694058ccb1
Implement REGREL in IAX2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-03 15:16:04 +00:00
Mark Spencer
9c2f131b66
NetBSD portability enhancements (bug #969 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-02 06:38:08 +00:00
Mark Spencer
87f28fa6dd
Add "iaxcompat" option to allow nested switch statements, still might fail if you have an IAX call going to something with a switch...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-01 20:08:36 +00:00
Jeremy McNamara
c060d39cca
clean up our mess on unload. Bug #799
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-12 18:08:34 +00:00
Mark Spencer
ed72e0e169
Show who sends us bad packets
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 16:31:04 +00:00
Mark Spencer
389d089ecc
Implement missing function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 16:15:30 +00:00
Mark Spencer
459d19823e
Locking changes for IAX2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 15:57:42 +00:00
Mark Spencer
5a0ef67644
When poking a peer after registration, release lock temporarily
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-10 19:53:14 +00:00
Mark Spencer
8b557dfd30
Minor cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-15 15:14:23 +00:00
Mark Spencer
6fb9ea4ea5
Fix qualify + register
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-14 21:13:02 +00:00
Mark Spencer
2f69b332d8
Cleanup unload calls
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-09 23:55:17 +00:00
Mark Spencer
0f2bdc6d0a
Remove gratuitous race
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-08 23:42:07 +00:00
Mark Spencer
37f1885152
Quiet more authentication info if not enabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-05 16:13:43 +00:00
Mark Spencer
fac7eaffa9
Fix PGSQL voicemail issues (bug #625 ) and fix reload races in iax2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-04 23:19:26 +00:00
Mark Spencer
da34cf8fd6
Add auth debug option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-04 03:41:22 +00:00
Mark Spencer
1740f71793
Don't don't show verbose 3 message when verbose not set
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-03 15:06:41 +00:00
Martin Pycko
e30e685ee1
We have to hangup the bridge not continue on AbsoluteTimeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-17 23:46:54 +00:00
Martin Pycko
bb2bb1d083
Fix the AbsoluteTimeout issue with IAX/IAX2 when in native mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-17 23:37:56 +00:00
Mark Spencer
e406f72564
Add date/time to IAX2 register
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-15 23:27:47 +00:00
Mark Spencer
6f6ff1a673
Don't try to expire if there is no expirey
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-14 04:11:03 +00:00
Mark Spencer
9d244cb4ce
Don't reconnect db on reload unless there was a failure
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-13 16:25:52 +00:00
Mark Spencer
c71d9d53ff
Update so that "users" are implemented as well
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-13 05:21:15 +00:00
Mark Spencer
08b0a2e4e2
Start on mysql_user, move to misery
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-13 04:32:32 +00:00
Mark Spencer
6955b7cda1
Preliminary support for iax2 friends in mysql database
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-12 08:58:55 +00:00
Mark Spencer
1e95c3a4ac
Remove really broke MP3 stuff in favor of G.726 in the near future
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04 02:40:09 +00:00
Mark Spencer
dd96bea16c
Fix typo in CVS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-06 05:01:08 +00:00
Mark Spencer
9efec3dff4
Detect 100 as valid DTMF too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-06 04:59:49 +00:00
Mark Spencer
d79518ec0e
Set acknowledged seqno to 0 on transfer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-04 17:45:20 +00:00
Mark Spencer
357e60ffdc
Don't assume we acked when handling transfer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-04 05:33:00 +00:00
Mark Spencer
3b49a87972
Update IAX2 parser for sending caller info
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 22:59:06 +00:00
Mark Spencer
7db0e60486
Minor IAX enhancments to support MusicOnHold
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-30 14:11:17 +00:00
Mark Spencer
479a67e629
BSD portability enhancements (bug #234 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 16:48:07 +00:00
Mark Spencer
bb0fba0974
Re-poke all peers on a reload (bug #216 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-04 04:09:09 +00:00