Commit Graph

543 Commits (c14588af86a1000d9999315ae45c7e41d5cd49e3)

Author SHA1 Message Date
Mark Spencer ce87d2977f Make cidrings configurable (bug #2889)
21 years ago
Mark Spencer da6073e8c6 Warn when libpri is too old
21 years ago
Matthew Fredrickson e399238ee3 Little addition to the redirectionreason stuff
21 years ago
Matthew Fredrickson b420a63e73 Add new variable for PRIREDIRECTREASON in dial plan if you a call is redirected
21 years ago
Mark Spencer 9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
21 years ago
Mark Spencer ff740c1bd8 GR-303 conferencing fixes
21 years ago
Mark Spencer f88fd2f9e4 Don't send DTMF when there is no owner (partof bug #3011)
21 years ago
Mark Spencer 1e51aa13af Reload fixes (bug #2991)
21 years ago
Jim Dixon 998621f76a Fixed call parking, added separate paramater to allow/disallow call parking on
21 years ago
Mark Spencer c46e21252c Big diet for struct ast_channel
21 years ago
Mark Spencer 374e04f6a5 Don't create the channel if there already is one...
21 years ago
Mark Spencer 34e56e8675 Make sure we really have a bridged channel (bug #2963)
21 years ago
Mark Spencer 39be2d6244 Don't allow more than 10 seconds of audio for callerid (bug #2920)
21 years ago
Mark Spencer c05c95b497 Fix V23 callerid handling if an event is received (bug #2909)
21 years ago
Mark Spencer 09319f66a0 Merge polarity reversal hangup patch (bug #2847)
21 years ago
Anthony Minessale II 6c16e5aa2b Fix ANI2 variable so it preserves 2 digit precision like it's supposed to.
21 years ago
Mark Spencer d7b3ef9b58 Send progress before in-band indications for BUSY/CONGESTION
21 years ago
Mark Spencer 06b5085b52 Add ANI2 to zap (bug #2788)
21 years ago
Mark Spencer 134e6180c5 Disable echo canceller for digital calls (bug #2785), fix build on MacOSX (bug #2803)
21 years ago
Mark Spencer e3514814ba Make clear that "hookstate" is only valid on FXS
21 years ago
Mark Spencer 94994626b6 Pass through flash hook
21 years ago
Mark Spencer afd15388cc Debugging improvements (bug #2765)
21 years ago
Mark Spencer b8885530f4 Pass redirecting number on PRI calls (bug #2763)
21 years ago
Mark Spencer bec04aa020 Misc code fixes (bug #2762)
21 years ago
Mark Spencer 22384074d9 Fix qsig support
21 years ago
Matthew Fredrickson ac558d5dbe Adding Q.SIG switchtype option to chan_zap
21 years ago
Mark Spencer 384bf5dc32 fix compiler warning
21 years ago
Mark Spencer 8a13712e45 Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)
21 years ago
Mark Spencer 352f1f4e14 Fix MGCP dtmf buglet (bug #2696)
21 years ago
James Golovich 8009d53690 Pass format string
21 years ago
Anthony Minessale II 4959fb958c Make sure close() is not called on a fd < 1 with a wrapper call
21 years ago
James Golovich efd028f632 Check return value of malloc before dereferencing ptr in chan_zap.c
21 years ago
Mark Spencer e21ed1865b First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
21 years ago
James Golovich f3ad3d0359 Fix chan_zap reload with pseudo channels (bug 2664)
21 years ago
Mark Spencer c646d9ce18 Don't restart PRI channels
21 years ago
Mark Spencer 06857dcdd9 Make chan_zap reloadable (bug #2637)
21 years ago
Mark Spencer f12f0a7011 Make PRI debug work when verbosity = 0 (bug #2645)
21 years ago
Mark Spencer 209d413c6b Be sure prev struct is built properly (bug #2581)
21 years ago
Mark Spencer efdcabc2cb Fix zap seggy
21 years ago
Mark Spencer 0ddbbd1785 Add ability to check voicemail from multiple folders (bug #2561)
21 years ago
Mark Spencer e8f0958d01 Correct CDR's for supervised transfer (bug #1595)
21 years ago
Mark Spencer 375162b4fb shrink phone number for callerid matching (bug #2562)
21 years ago
Mark Spencer fce17976e9 Major PBX revamps (including labels, update examples)
21 years ago
Mark Spencer c8673a011e Don't set state to UP state within the driver, but instead allow ast_read to do so.
21 years ago
James Golovich 7aef6a5b83 Add #ifdef to chan_zap.c in case someone updates asterisk but not libpri
21 years ago
James Golovich 809166ff78 Allow PRI timers to be congfigurable. (bug 2518)
21 years ago
Mark Spencer 04fc29c8b2 Huge callerid rework (might break H.323, others)
21 years ago
James Golovich 74786b8c58 Use event2str consisitently in chan_zap anytime we are printing debug info about an event (bug 2548)
21 years ago
Mark Spencer e2318bdba9 Merge ring pulse stuff (Bug #2016)
21 years ago
James Golovich 01c0938ddf Fix inband priindication checking in chan_zap.c
21 years ago
Mark Spencer 5dad6f4319 Merge UK + DTMF Caller*ID stuff and fix app_test description
21 years ago
Mark Spencer a4437b1362 Inband notifies always succeed (bug #2420)
21 years ago
Mark Spencer 45b91a90e1 Add pulse dial support
21 years ago
Mark Spencer 3cb1d7843b Bring sanity to inband notification on PRI
21 years ago
Mark Spencer 4d6b943ea4 Fix star 80 to star 60 (bug #2247)
21 years ago
Mark Spencer e31d4ee777 Don't set guardtime if channel is only reserved (bug #2421)
21 years ago
Mark Spencer ce868ed5f5 Do the same thing for pri_hangup_all in terms of releasing the PRI lock
21 years ago
Mark Spencer 8283811633 Make sure we don't try to grab the sub and channel locks while still having the PRI lock! (bug #2392)
21 years ago
Mark Spencer 00f227a684 Properly lock management stuff (bug #2406)
21 years ago
Mark Spencer 97904aee06 Turn on usecallerid if distinctiveringdetection is on (bug #2389)
21 years ago
Mark Spencer f4b60a5c65 Turn off the hook detection unless explicitly compiled in
21 years ago
Mark Spencer fd7577eed2 Don't try to look offhook with channel banks & Loopstart (bug #2362), also make individual modules reloadable...
21 years ago
Mark Spencer bc72d7584a Don't use FXO's with no battery (bug #2359)
21 years ago
Mark Spencer 4b2877834e Fix threeway calling + immediate mode (bug #2344)
21 years ago
Mark Spencer 3cf360ae44 Fix teeny typo
21 years ago
Mark Spencer e2fe8ef485 Permit in-band and out-of-band Busy/Congestion (bug #2325)
21 years ago
Mark Spencer 5259155e52 Make sure we behave properly for parking (bug #2292)
21 years ago
Mark Spencer 0f88c702df Look for feature group D on all E&M Wink Lines (bug #2228)
21 years ago
Mark Spencer 1ddd0afe36 Make the guardtime work even if the date is < the year 1970, and if something weird happens in zap, don't stack overflow
21 years ago
Jim Dixon d8436708c0 Made some what turned out to be several changes to allow for radio channels
21 years ago
Mark Spencer 4f9f6df42c Don't split unless it's got echo training
21 years ago
Mark Spencer c14b405974 Make Asterisk cause codes match those of Q.931 (bug #1999)
22 years ago
Mark Spencer 7acee329e1 Merge BSD stack size work (bug #2067)
22 years ago
Mark Spencer ccbc7a6835 Fix a couple minor command line completion issues
22 years ago
Mark Spencer 70b3ab34a8 Uhm, that should be 0!
22 years ago
Mark Spencer c4bfcdeec5 Create manager show channels comamnd (#2186) to monitor zap channel status
22 years ago
Mark Spencer 64e1166e6f Reset conferencing on final hangup (bug #2172)
22 years ago
Malcolm Davenport a322c6f411 chan_h323 Makefile change for Bug #2064. Also back out changes for Bug #2115..next time read carefully. :)
22 years ago
Mark Spencer 943133953e Fix little unregister buglet
22 years ago
Malcolm Davenport 9b0b4bf041 Bug # 2115: Allow Caller TON to be retrieved in the dialplan
22 years ago
Mark Spencer 0f93207cda Clear things out for the bearer too
22 years ago
Mark Spencer 43866cf0d9 Don't get stuck looping when looking for CRV's
22 years ago
Mark Spencer a57ad69b53 Fix "ZapOffHook" (bug #2161)
22 years ago
Mark Spencer 00f3bf560b Make sure index >= 0 before initializing
22 years ago
Mark Spencer 5bd8cf6cde Swap subs before releasing lock
22 years ago
Mark Spencer d0c1882cf7 Make sure we release the correct lock!
22 years ago
Mark Spencer 0abd9ec096 Fix potential transfer seg
22 years ago
Mark Spencer 4eedf0cd2e Sometimes we get subunalloced, gotta free lock first
22 years ago
Mark Spencer 630ca201d6 Oops
22 years ago
Mark Spencer bf17aa1eca Hold lock for three-way channel (bug #2107)
22 years ago
Mark Spencer f8594ac304 Make sure s is initialized, make FAX_DETECT + OLD_DSP_ROUTINES build
22 years ago
James Golovich eb80683222 Fix chan_zap compiling without libpri
22 years ago
Mark Spencer 5808760bf4 Fix signalling for GR303 FXSKS CPE so we can look like a concentrator
22 years ago
Mark Spencer 73f91fcc44 Grab the Message-ID too
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 6b8ecfa35f Add separated dialplan support (bug #2043)
22 years ago
Mark Spencer 3abd26bfdf Don't look for bearers when there are none.
22 years ago
Mark Spencer b1d55878a7 Implement confirmation for PRI
22 years ago
Mark Spencer bba1faf910 Last set of strncpy/snprintf updates (bug #2049)
22 years ago
Mark Spencer e167cc89f8 Fix native zap bridging with GR-303
22 years ago
Mark Spencer 34ed331f82 Fix Zap buglet, add support for SIP parking -- doesn't seem to work quite right on SNOM.
22 years ago
Mark Spencer 7ca6f85a41 More strcpy / snprintf as part of rgagnon's audit (bug #2004)
22 years ago
Mark Spencer 779140b94c Placeholder for GR303-FXSKS signalling (not yet finished)
22 years ago
Mark Spencer 560068617a Make sure pollres is initialized to 0
22 years ago
Mark Spencer df2394af02 Minor cleanups on zap when hangup on callwait
22 years ago
Mark Spencer 1af31f2c64 Merge cmaj's ZapDND and specific channel status manager commands (bugs #1917, 1918)
22 years ago
Mark Spencer 03fbf171a7 Zap NSF merge, major ALSA improvements
22 years ago
Mark Spencer 2fb8ad79c2 Don't munge outgoing call progress when fax enabled (bug #1909)
22 years ago
Mark Spencer c9f168ed0f Add subaddress support (bug #1877)
22 years ago
Mark Spencer df93792f9c Extend delay slightly
22 years ago
Mark Spencer 08ac005489 Make delay for echo training configurable
22 years ago
Mark Spencer 7a363d3d17 Small simplification
22 years ago
Mark Spencer 2187465cae Set ${DIALSTATUS} from app_dial, make zap return BUSY on a phone that is busy, update macro-stdexten to demo
22 years ago
Mark Spencer 0f6db9f939 Don't segfault if chan_zap can't load
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 ef4d9eb5b7 Avoid iflock/chlock race
22 years ago
Mark Spencer 347f32ab97 Hold private lock while handling digits
22 years ago
Mark Spencer 3b3a042cef Hold pending digits until setup_ack is received, then send (bug#1875)
22 years ago
Mark Spencer 133120aa38 Be sure we hold channel lock in write before talking to PRI channel
22 years ago
Mark Spencer 3932d756d4 Oops
22 years ago
Mark Spencer f75a3079e0 Implement proper locking on INFO_RECEIVED
22 years ago
Mark Spencer 095b971fc6 Small typo
22 years ago
Mark Spencer 2d78f0d53c PRI locking fixes
22 years ago
Mark Spencer e3c58c8ebe Gotta set slot to 0 before you print :)
22 years ago
Mark Spencer db8da3c376 Use new extensible setup method of libpri
22 years ago
Mark Spencer ee664e6ccd Fix small typos
22 years ago
Mark Spencer 427be16475 Handle PROGRESS event
22 years ago
Mark Spencer 5b9cab6c13 Separate PROCEEDING and PROGRESS
22 years ago
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
22 years ago
Mark Spencer fd70e7920e Provide dialtone when doing overlap dial (bug #1832)
22 years ago
Mark Spencer d030752f72 Make sure overlap dial goes into "RING" state instead of just "RESERVED"
22 years ago
Mark Spencer 758f246390 Display which span/channel we're receiving restarts on
22 years ago
Mark Spencer 1794aac9e1 Return NULL if no CRV found
22 years ago
James Golovich a23c43cefa Make chan_zap initialize the pri threads to AST_PTHREADT_NULL and check when calling unload in case load_module fails complete
22 years ago
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
22 years ago
Mark Spencer f105351643 Make fax detect configurable by direction (bug #1803)
22 years ago
Mark Spencer 68c45465c8 Make faxdetect configurable and turn OFF by default
22 years ago
Mark Spencer 9bd9958722 More GR-303 protocol fixes
22 years ago
Mark Spencer dff7c80952 Fix tiny typo
22 years ago
Mark Spencer a14ba4f1b5 Initial, incomplete support for D-channel backup
22 years ago
Mark Spencer a9b5a6cbb0 Handle bearer failures cleanly (still need d-channel backup)
22 years ago
Mark Spencer 8699103fa1 Handle multiple span memberships properly
22 years ago
Mark Spencer 469c7d6de9 Must call spanstat before checking number of channels (bug #1796)
22 years ago
Mark Spencer 9c42fa75a4 Fix small arrangement issue
22 years ago
Mark Spencer 65d5921dde Don't require "c" before CRV syntax
22 years ago
Mark Spencer 7b7dbfb855 Small fixup for non-PRI build
22 years ago
Mark Spencer a550016fd6 Add bi-directional GR-303 support
22 years ago
Mark Spencer 32ecea7b8c More small fixes
22 years ago
Mark Spencer 746d2e7f67 Minor cleanups
22 years ago
Mark Spencer 27578642b8 Add support for trunk groups in anticipation of NFAS and GR-303, Initial GR-303 work
22 years ago
Mark Spencer 103bb4a334 Enhancements for zaptel+bsd (bug #1781)
22 years ago
Mark Spencer ca0c646539 Make sure that auto created "pseudo" isn't a member of any groups (bugs #1776, #1777)
22 years ago
Mark Spencer bc86e5de2a Allocate pseudo channel if it's not explicitly listed
22 years ago
James Golovich 2587e6faa4 Code formatting fixes in chan_zap.c
22 years ago
Jim Dixon 8968d50976 Complete re-vamp of Radio Repeater application (app_rpt) and VERY minor changes in chan_zap (to allow pseudo-channels to work properly (finally!)) and in dsp.c to allow for super-relaxed DTMF decoding which radio systems need to function properly.
22 years ago
Mark Spencer 63074875d6 Ringing and progress are not identical
22 years ago
Mark Spencer 5b53760717 Only print PRI messages when in verbose mode (bug #1732)
22 years ago
Mark Spencer 96117402b1 Unlock PRI lock, fix variable pasing
22 years ago
Mark Spencer e300367ad8 Obviously don't send alerting, progress, or proceeding on outbound calls (bug #1700)
22 years ago
Mark Spencer 15b2f1f635 When dialing out, we're always proceeding :)
22 years ago
Mark Spencer 868fec3692 Congestion with Hangup sends expected RELEASE code (but #1681)
22 years ago
Jeremy McNamara fc6a82fcb8 only complain if ZAPATA_PRI is defined
22 years ago
Mark Spencer 3f6896acd3 Update for newer libpri
22 years ago
Mark Spencer 143b73ee7b Always send proceeding, send progress when appropriate
22 years ago
Mark Spencer 260fcde6e2 Alert for in-band audio
22 years ago
Mark Spencer ce55c480e9 Don't qualify with overlap dial anymore
22 years ago
Mark Spencer 5738da5225 Send proceeding if appropriate on audio transmission, too
22 years ago
Mark Spencer 457f4caf6f Don't automatically send proceeding/alerting
22 years ago
Mark Spencer 70007e6095 Don't call out an FXO until at least 2 seconds after it was hungup.
22 years ago
Mark Spencer c9d3a81c3a Make sure we initialize attributes properly on thread (bug #1563)
22 years ago
Mark Spencer dbb7b83ecc Minor memory cleanups, initialize peer/user invite status from global
22 years ago
Mark Spencer dca37d634e Add missing unlock (although it shouldn't make a difference)
22 years ago
Mark Spencer 0ce20fea8a Do proper PRI locking in zt_call (not to mention lock the zt_pvt structure itself)
22 years ago
Mark Spencer 1d7c058f08 Add sip show peers (trivial zap fix, too) bug #1573
22 years ago
James Golovich 2bda857bf7 Use ast_strlen_zero in chan_zap.c
22 years ago
Mark Spencer cb59df7bed Make overlap dial be interpreted in the same way an FXS would be (bugs #1080 and #1452)
22 years ago
Mark Spencer 90a331f7a5 Provide gethostbyname_r emulation for FreeBSD and fix zap call to setstate to include callerid (bug #1411, #1498)
22 years ago
Mark Spencer 19064660d2 Build again without PRI
22 years ago
Mark Spencer 5f71712b8b Make sure we are proceeding when we answer
22 years ago
Mark Spencer 2b5a352840 Avoid another voipme by explaining you need CVS update when SIG_EM_E1 is invalid
22 years ago
Mark Spencer 459fda5e44 Migrate chan_zap from select to poll
22 years ago
Mark Spencer 3534419f14 Add missing break
22 years ago
Mark Spencer 025ae183eb Fix swap_subs for better locking
22 years ago
James Golovich 6534f4d668 Fix some comments in chan_zap
22 years ago
Mark Spencer 8e0f9147b2 Fix trailing slash problem (Zap) and making sure refers get ignored the second tiem around.
22 years ago
James Golovich e7f819bed1 Fix compile warning in chan_zap if libpri not installed
22 years ago
Mark Spencer d8a6763be4 Add support for E1 E&M
22 years ago
Mark Spencer e15b5a83d5 Lock on indication too
22 years ago
Mark Spencer 43d7359221 Don't check PRI settings unless there is PRI
22 years ago
Mark Spencer 639438836b Don't take digits in-band when in overlap dial mode
22 years ago
Mark Spencer a1ffc320e4 Don't say we're unable to find the channel if we're able to find it.
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 426bf55df2 Print actual hook state in chan_zap
22 years ago
Mark Spencer 9cc3adbdd9 Clear out delivery fields just in case
22 years ago
Mark Spencer 52f13283ea Make chan_zap allocate a comfortable amount of space for VMWI
22 years ago
Mark Spencer 8dec8d3632 Fix progzone loader
22 years ago
Mark Spencer 1ccab64d86 Add support for Costa Rica to DSP
22 years ago
James Golovich f8b04c4bb6 *** empty log message ***
22 years ago
Mark Spencer 67af82457e Fix locks that are held too long
22 years ago
Mark Spencer b19cb95257 Fix superfluous return NULL
22 years ago