Commit Graph

506 Commits (92bd7f19f77eb320285cd216de14628e7df06e94)

Author SHA1 Message Date
Mark Spencer e0ff16cf78 Be careful!
21 years ago
Mark Spencer fd514b89f9 Keep back delivery times on trunk (bug #2587)
21 years ago
Mark Spencer b950439080 Add autokill to IAX2, too
21 years ago
Mark Spencer 0e76390736 Remove silly printf
21 years ago
Mark Spencer 6390872a5d IAX2 authentication improvements
21 years ago
Mark Spencer 9209bc5e13 Don't save dynamic peers in registery (bug #2610)
21 years ago
Mark Spencer f869646706 Provide more useful iax2 debugging (bug #2603)
21 years ago
Mark Spencer eb2cd99a14 Default for overriden should be passed screen
21 years ago
Mark Spencer 3ec18090b9 Fix callerid on IAX2 (received)
21 years ago
Mark Spencer ed62f449a9 Oops, we have to be able to pass multiple restrictions for when we go to voicemail...
21 years ago
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...
21 years ago
Mark Spencer 0ddbbd1785 Add ability to check voicemail from multiple folders (bug #2561)
21 years ago
Mark Spencer 864d84e1a7 Fix potential callerid snafu's in iax and sip (based on 2562)
21 years ago
Mark Spencer fce17976e9 Major PBX revamps (including labels, update examples)
21 years ago
Mark Spencer 666dd0f75c More IAX2 TNS/TOS/PRES fixes
21 years ago
Mark Spencer 15c6bf0860 Add iax2 parsing for TNS/TON/PRES
21 years ago
Mark Spencer 04fc29c8b2 Huge callerid rework (might break H.323, others)
21 years ago
Mark Spencer 678c1d90c0 Fix potential seg (Bug #2550)
21 years ago
Mark Spencer a638a19ea2 Don't register auth against something that isn't a register (bug #2468)
21 years ago
James Golovich a9f5393bfe Make chan_iax2.c compile again on older gcc. Remember definitions must come first
21 years ago
Mark Spencer 038cd054ae Merge steven davie's IAX2 jitterbuffer fixes
21 years ago
Mark Spencer 610d52b054 Add IAX2/SIP register events to system (bug #2117)
21 years ago
Mark Spencer 9a387e5a7a Queue congestion on REJECT (bug #2448)
21 years ago
Mark Spencer 2f82498995 Don't forget to return something other than -1 on the first pass if appropriate!
21 years ago
Mark Spencer 71df4d92da Automatically send proper signal on iax switch following dial (bug #2420)
21 years ago
Mark Spencer 879c401544 Add option to register extensions on IAX or SIP registration
21 years ago
Mark Spencer cfb711bf57 Make app_festival change more portable, allow '*' for context in iax2
21 years ago
Mark Spencer 1587fd6b84 Fix port numbers in IAX2 and iax2prov (bug #2261)
21 years ago
Mark Spencer 02ffc0eec8 Fix trivial typo (bug #2253)
22 years ago
Mark Spencer 7acee329e1 Merge BSD stack size work (bug #2067)
22 years ago
Mark Spencer 6193bc31b8 Merge Steven Davie's bridging patches
22 years ago
Mark Spencer 3329f8154e Add default username patch (bug #2178)
22 years ago
Mark Spencer 35ffb12ae8 Work on copy of firmware so that it doesn't get corrupted on a "make install" (bug #2106)
22 years ago
Mark Spencer 569b95352a rename "parking" to "features" in preparation for some more (possibly post 1.0) feature additions
22 years ago
Mark Spencer 68070c82d0 Change IAX2 naming convention
22 years ago
Mark Spencer bba1faf910 Last set of strncpy/snprintf updates (bug #2049)
22 years ago
Mark Spencer a40e6c115f Fix provisioning for unload/reload
22 years ago
Mark Spencer 155d84a979 Add IAX provisioning support to Asterisk
22 years ago
Mark Spencer d2f22c57fe Merge Steven Davies latest jitter buffer patch
22 years ago
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)
22 years ago
Mark Spencer 2f911dfba6 Use INET_ADDRLEN (bug #1956) (from airport!)
22 years ago
Malcolm Davenport b94f5ca495 Bug #1952: iaxbuf now declared in chan_iax2.c and chan_sip.c
22 years ago
Mark Spencer 1f1c915fea Merge Steven Davie's timestamp improvements
22 years ago
Mark Spencer f97df161f4 Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)
22 years ago
Mark Spencer 05110e85d3 Add ability to send detailed mailbox info (bug #1690)
22 years ago
Mark Spencer d9ed36059c Add peercontext parameter for default outbound context (bug #1929)
22 years ago
Mark Spencer b76935b95c Minor alsa fixes, add "delayreject" option to IAX to implement request of bug #1846)
22 years ago
Mark Spencer 3db853b428 Merge source cleanups (bug #1911)
22 years ago
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
22 years ago
Mark Spencer f5de717d6e Merge Steven Davie's IAX2 jitter buffer enhancements
22 years ago
Mark Spencer 5546e32355 Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending)
22 years ago
Mark Spencer be9d4b4333 Remove ancient requirement that ts > 0
22 years ago
Mark Spencer 6c9b510d5d When dialing outbound, if we match a peer name, use it (who really cares?) (bug #1850)
22 years ago
Mark Spencer 3cf5ea7383 Make meetme operate in linear so as to keep alaw folk happy, minor iax2
22 years ago
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
22 years ago
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
22 years ago
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
22 years ago
Mark Spencer ad49896f6b Simplify trunk transmission path and remove potential race (bug #1802)
22 years ago
Mark Spencer 0062fe9588 IAX2 fixup, fix res_monitor sillyseg
22 years ago
Mark Spencer 103bb4a334 Enhancements for zaptel+bsd (bug #1781)
22 years ago
Mark Spencer 514acf8dfc Fix lag in diverging clocks (bug #1696)
22 years ago
Mark Spencer 0f966565af Handle debugging of unknown IE's properly
22 years ago
Mark Spencer 2cc7d3e8db Make sure transmitted timestamps are solid on trunks (bug #1713)
22 years ago
Mark Spencer e3ad88c784 Eliminate useless pass checking
22 years ago
Mark Spencer 3189e70baa Allow notransfer to be a global option
22 years ago
Mark Spencer 6d280193d6 Fix silly typo in iax2 where strlen was used instead of sizeof
22 years ago
James Golovich be1efdbf89 include utils.h in chan_iax2.c
22 years ago
James Golovich 960f681dec Use ast_strlen_zero in chan_iax2.c
22 years ago
Mark Spencer 9c683b7423 Fix compiler warning
22 years ago
Mark Spencer ee0532702a Merge Matteo's language setting code for iax2 (bug #1476)
22 years ago
Mark Spencer 44de97d496 Provide more fine grained control of sip and iax show peers (bug #1470)
22 years ago
Malcolm Davenport 6f9df58afe Bug # 1503: Add Peter's fix to include "accountcode" support to MySQL based IAX-Friends
22 years ago
Mark Spencer 314877e155 Fix potential seg in iax2 from reload when registrations are going
22 years ago
Mark Spencer 0fe6d16e89 Fix deadlock in IAX2 trunking, small MGCP fix
22 years ago
Mark Spencer 7596de9ac8 Extreme IAX2 trunking performance improvements
22 years ago
Mark Spencer cce37f8d32 Hold call structure longer iwth find_callno
22 years ago
Mark Spencer f85d0713cf Clean up SQL queries (bug #1479)
22 years ago
Mark Spencer 8a411edf9f Make sure call is valid when handling mini-frame.
22 years ago
Mark Spencer 90778ada6d Fix timestamps on IAX2 trunk mode transmit direction
22 years ago
Mark Spencer f9aef7098f Oops that wasn't quite right. Partially revert changes until real data is collected.
22 years ago
Mark Spencer ba078042ba Make trunking and timestamps palce nicely
22 years ago
Mark Spencer d3f9887589 gethostbyname isn't reentrant, who knew...
22 years ago
Mark Spencer 0134d2cc85 Select user by more logical grounds when no user is specified (bug #1458, sorta)
22 years ago
Mark Spencer ef89a2709a Fix pingtime calculation in bridge optimized mode
22 years ago
Mark Spencer 7a8ec5bea4 Always give real timestamps on IAX ping/pong messages
22 years ago
James Golovich 36a13f931a Make 'iax2 show users' print key if a key is used (bug 1253)
22 years ago
Mark Spencer 083d9c8039 Clean up timestamps on IAX2
22 years ago
Mark Spencer 13bca43aa8 Get rid of all that old needlock garbage now that we're using recursive mutexes
22 years ago
Mark Spencer d3bcf405c2 Small IAX fixes
22 years ago
Mark Spencer eeb2ca5b26 Make read/write mode have a lock parameter and use it properly.
22 years ago
James Golovich 82bf2663e3 Tiny optimization in chan_iax2.c that the compiler would
22 years ago
Mark Spencer 638684636c Make sure calculation of time is always > 0...
22 years ago
James Golovich 359430871f Check to make sure opendir works in chan_iax2.c (bug 1283)
22 years ago
Mark Spencer b46d67e301 Unlock the owner when we're done (duh!)
22 years ago
Mark Spencer 3107d6d03b Hold owner lock when changing codecs
22 years ago
James Golovich a8bbe997d2 Fix some small typos in comments
22 years ago
Mark Spencer 7192fbfae7 Round offset timestamps to nearest 20ms to clean up numbers.
22 years ago
Mark Spencer 785ac43c84 Just to be on the safe side, don't update timestamps against anything but voice packets.
22 years ago
Mark Spencer 7075b58ee1 Don't use hard timestamps for non-voice frames.
22 years ago
Mark Spencer b690dc13aa Fix timestamp delivery calculation in IAX... Still might be some mess left...
22 years ago
James Golovich 0e90480d6b Fix bug 1217. Change pthread_t initializers to AST_PTHREADT_NULL and
22 years ago
Mark Spencer 0852f5a930 Preserve IAX timestamps
22 years ago
James Golovich f2b52d46d0 Make sure chan_iax.c and chan_iax2.c know the size of G726 frames
22 years ago
Mark Spencer a1d8701369 Formatting fixup
22 years ago
Mark Spencer b4ea3725da Set the context properly for a given peer
22 years ago
Mark Spencer 806bb3c63f Add support for parking with IAX2
22 years ago
Mark Spencer 6a73e70663 Make iax2 compile on *BSD
22 years ago
James Golovich 96abbad91d Add missing include to chan_iax2.c
22 years ago
Mark Spencer 066212158e Add IAX2 firmware upgrade support
22 years ago
Mark Spencer f285c61830 Cleanups to recent changes
22 years ago
Mark Spencer cc894e6100 Use call numbers instead of pointers in IAX2
22 years ago
Mark Spencer 98391c1324 Free mysql results
22 years ago
Mark Spencer bac2215fb6 Fix several memory leaks
22 years ago
Mark Spencer 7cdb6d36f4 Fix a couple of memory leaks
22 years ago
Mark Spencer cf4825233d Don't free private structure until iax2_hangup is actually called
22 years ago
Mark Spencer 694058ccb1 Implement REGREL in IAX2
22 years ago
Mark Spencer 9c2f131b66 NetBSD portability enhancements (bug #969)
22 years ago
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...
22 years ago
Jeremy McNamara c060d39cca clean up our mess on unload. Bug #799
22 years ago
Mark Spencer ed72e0e169 Show who sends us bad packets
22 years ago
Mark Spencer 389d089ecc Implement missing function
22 years ago
Mark Spencer 459d19823e Locking changes for IAX2
22 years ago
Mark Spencer 5a0ef67644 When poking a peer after registration, release lock temporarily
22 years ago
Mark Spencer 8b557dfd30 Minor cleanup
22 years ago
Mark Spencer 6fb9ea4ea5 Fix qualify + register
22 years ago
Mark Spencer 2f69b332d8 Cleanup unload calls
22 years ago
Mark Spencer 0f2bdc6d0a Remove gratuitous race
22 years ago
Mark Spencer 37f1885152 Quiet more authentication info if not enabled
22 years ago
Mark Spencer fac7eaffa9 Fix PGSQL voicemail issues (bug #625) and fix reload races in iax2
22 years ago
Mark Spencer da34cf8fd6 Add auth debug option
22 years ago
Mark Spencer 1740f71793 Don't don't show verbose 3 message when verbose not set
22 years ago
Martin Pycko e30e685ee1 We have to hangup the bridge not continue on AbsoluteTimeout
22 years ago
Martin Pycko bb2bb1d083 Fix the AbsoluteTimeout issue with IAX/IAX2 when in native mode
22 years ago
Mark Spencer e406f72564 Add date/time to IAX2 register
22 years ago
Mark Spencer 6f6ff1a673 Don't try to expire if there is no expirey
22 years ago
Mark Spencer 9d244cb4ce Don't reconnect db on reload unless there was a failure
22 years ago
Mark Spencer c71d9d53ff Update so that "users" are implemented as well
22 years ago
Mark Spencer 08b0a2e4e2 Start on mysql_user, move to misery
22 years ago
Mark Spencer 6955b7cda1 Preliminary support for iax2 friends in mysql database
22 years ago
Mark Spencer 1e95c3a4ac Remove really broke MP3 stuff in favor of G.726 in the near future
22 years ago
Mark Spencer dd96bea16c Fix typo in CVS
22 years ago
Mark Spencer 9efec3dff4 Detect 100 as valid DTMF too
22 years ago
Mark Spencer d79518ec0e Set acknowledged seqno to 0 on transfer
22 years ago
Mark Spencer 357e60ffdc Don't assume we acked when handling transfer
22 years ago
Mark Spencer 3b49a87972 Update IAX2 parser for sending caller info
22 years ago
Mark Spencer 7db0e60486 Minor IAX enhancments to support MusicOnHold
22 years ago
Mark Spencer 479a67e629 BSD portability enhancements (bug #234)
22 years ago
Mark Spencer bb0fba0974 Re-poke all peers on a reload (bug #216)
22 years ago
Mark Spencer 52c2755347 Allow codecs to be specified on a per-peer and per-user basis
22 years ago
Mark Spencer d855c2855a Send "PROGRESS" when DIAL is accepted
22 years ago
Jeremy McNamara a44c2e4636 fix seg fault due to the use of wrong pointer
22 years ago
Mark Spencer b12730866a Unlock our lock while we try to find the extension
22 years ago
Mark Spencer 79a5692764 Increase minimum retry time
22 years ago
Mark Spencer 2fbf9c9e16 Don't send until we're up
22 years ago
Mark Spencer dcb9b8f9a2 Make SIP registration persistent (bug #159)
22 years ago
Mark Spencer 2dd53c0bba Persist IAX2 registrations across restarts
22 years ago
Martin Pycko 501c800c5a Show the names of the codecs instead of the numbers (bug #92)
23 years ago
Mark Spencer 9edf987b94 Make default behavior be to *not* use jitter buffer
23 years ago
Mark Spencer 1bb58646de Totally revamp thread debugging to support locating and removing deadlocks
23 years ago
Mark Spencer f37a567e8c Use stored secret if available, properly
23 years ago
Mark Spencer c8edb6ab5d Handle speex under most circumstances
23 years ago
Mark Spencer cd16a399e5 Add "registered" option to iax2 show peers
23 years ago
Mark Spencer 4386d3b764 Don't native bridge when we can't
23 years ago
Mark Spencer 4285e650af Timestamp fixes
23 years ago
Mark Spencer 4ec902aab5 Fix typo
23 years ago
Mark Spencer c2ad77b27f Fix iax2 video/voice and update queueing
23 years ago
Mark Spencer e78cef0d9f Start on video mode for meetme, change symantics of iax2 marker in full frames
23 years ago
Mark Spencer f7f30d8c63 Add video support to IAX2 (theoretically)
23 years ago
Mark Spencer fc8d3631b4 Add SRV code to SIP, cleanup ENUM and make IAX2 do the right thing on dials
23 years ago
Mark Spencer 3693410426 Fix another deadlock in IAX2
23 years ago
Mark Spencer 1d22c714ce More locking fixes
23 years ago
Mark Spencer a342626920 Suggested IAX and IAX2 bugfixes
23 years ago
Mark Spencer 8f27350e65 Add transfer to IAX2, and transfer application
23 years ago
Mark Spencer 783919611b Resolve lock between peer/call
23 years ago
Mark Spencer 40c4e1f8c4 Use zaptel timers to wake up processes
23 years ago
Mark Spencer 3b0d12d986 Remove useless statement
23 years ago
Martin Pycko db43c5e732 Add notransfer for IAX2 to disable native bridging on user/peer basis
23 years ago
Mark Spencer 59488458b0 Use iax/iax2 regfunk names
23 years ago
Mark Spencer f6764f4722 More contributed BSD enhancements
23 years ago
Mark Spencer ba1639e1f7 Fix TOS stuff for BSD
23 years ago
Mark Spencer c4225d255e More OpenBSD changes
23 years ago
Mark Spencer 833d11aeb2 Remove old printf
23 years ago
Mark Spencer a03e42860f IAX2 updates, dial fix
23 years ago
Mark Spencer dffda7e8c7 Fix transmissions
23 years ago
Mark Spencer e16a3e6f74 Detect frame length of G.729A
23 years ago
Mark Spencer c4da749362 Add iLBC codec
23 years ago
Mark Spencer 2758349cae Make all address comparisons explicit
23 years ago
Martin Pycko 6b4c9fca59 Fix "typo" with authorization
23 years ago
Mark Spencer 12ab2fcadf Select proper trunk mode on incoming calls based upon peer
23 years ago
Mark Spencer 1d49a6b34f Fix trunking for fixed addresses
23 years ago
Mark Spencer bd4eb86616 Autodetect if zaptel is recent enough
23 years ago
Mark Spencer 176799c7f6 Use new timer interface for timing iax2
23 years ago
Mark Spencer e856df69d0 Add transfer ID for potential use in more complex NAT environments
23 years ago
Matteo Brancaleoni 2c64ccad0f Tue Mar 18 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni ca908e767c lun mar 17 19:11:15 CET 2003
23 years ago
Matteo Brancaleoni 060dda2022 Mon Mar 17 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni 61e446f04b dom mar 16 23:37:23 CET 2003
23 years ago
Matteo Brancaleoni 7640e83360 Sun Mar 16 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni 2d86a6955c Fri Mar 14 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni d9848d6c49 gio mar 13 16:44:17 CET 2003
23 years ago
Matteo Brancaleoni 4ebaef0e1c Thu Mar 13 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni 66a57e51e3 Wed Mar 12 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni 67fad0eab1 Tue Mar 11 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni 32b4c314f9 Sun Mar 9 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni 3f86070028 Mon Mar 3 07:00:01 CET 2003
23 years ago
Matteo Brancaleoni b9ae36c893 dom mar 2 20:52:10 CET 2003
23 years ago