Commit Graph

795 Commits

Author SHA1 Message Date
Mark Spencer
73b98c7500 Enable on hook transfer for vmwi
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-23 23:13:27 +00:00
Mark Spencer
bfb27d0836 Make CALLTYPE available
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21 18:38:42 +00:00
Martin Pycko
dc17a4c1c8 Don't crash if ZapHangup, ZapTransfer, ZapDialOffhook are used on the channel that is onhook (idle)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21 18:24:49 +00:00
Martin Pycko
a16e5d577c Fix segfault if more than 32 channels are used because of round_robin[x] = p;
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-18 18:09:29 +00:00
Martin Pycko
5865f43a79 Implement several manager commands for Zap channels: ZapTransfer (flash hook), ZapHangup, ZapDial
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-12 00:13:22 +00:00
Martin Pycko
6cd4d3c008 Add round robin to chan_zap with use of Zap/r<number>/<exten> (ascending) or Zap/R<number>/<exten> (descending).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-07 16:55:13 +00:00
Mark Spencer
b5ec8ef1d9 Train echo canceller on FXO before last digit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-05 22:32:20 +00:00
Martin Pycko
019d707dc2 Add PRI_CAUSE feature for PRI ... If you set PRI_CAUSE=17 with SetVar and then call Hangup app the PRI will disconnect with this cause (it overrides the cause sent if we get it from incoming call)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-05 16:48:38 +00:00
Mark Spencer
e255fe1685 Turn off music on hold when doing *0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04 21:21:49 +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
251e70953e Use echo training of FXS (fxo signalled) interfaces... rest to follow
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-27 17:16:08 +00:00
Mark Spencer
bc7b8ef41e Make HANGUPCAUSE accessible
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 18:00:00 +00:00
Mark Spencer
c6569f5177 Check that there really is a tag
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-24 18:22:45 +00:00
Mark Spencer
85bf34eb5e SUpport gains on outbound calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-22 04:04:59 +00:00
Mark Spencer
2bf8b38383 Properly handle events during reads
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-14 09:56:46 +00:00
Mark Spencer
1b19a2b1de Callerid fix and warning cleanup (bug #367 & #356)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-08 21:57:43 +00:00
Mark Spencer
ceb8d1ccb8 Switch back to DTMF at the appropriate time
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-06 05:09:42 +00:00
Martin Pycko
c0dde4ac5b Add 486 message (SIP) to 17 cause (PRI) translation when you call Dial app and then Hangup:
exten => _X.,1,Dial(SIP/user)
exten => _X.,2,Hangup()


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 16:05:40 +00:00
Martin Pycko
cacfd42960 Add usecallingpres keyword to zapata.conf for PRI to PRI call so that we would take the presentation mode and send it to outbound call.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 15:59:26 +00:00
Mark Spencer
229f4abf93 Change strdupa's to ast_strupda's
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-29 20:13:54 +00:00
Mark Spencer
55e664cb00 Fix various compiler warnings (bug #322)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-27 02:45:37 +00:00
Mark Spencer
02fa2dab28 Initialize extension
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26 22:31:19 +00:00
Martin Pycko
c514e681e7 Fix last typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26 17:39:27 +00:00
Martin Pycko
be64ea63b1 Don't do callprogress on incoming calls -> that used to put that call in a wierd state 6 and the call is not answered.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26 17:28:57 +00:00
Mark Spencer
403f27e5b9 Bring into full TBR4 compliance
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-25 06:14:38 +00:00
Martin Pycko
0644267b41 Allow detection of callerid on FXO with distinctive ring
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-17 22:23:17 +00:00
Mark Spencer
b745ba8380 Merge sending complete patch with no number (bug #176)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-13 23:57:48 +00:00
Martin Pycko
3bd044c236 Fix a tiny thing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-12 17:09:44 +00:00
Martin Pycko
4828759ab8 Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always save CDR record (even if the call fails). If the call fails try to see if there is
"failed" extension in the specified context (only if you use context,extension,priority syntax) and execute it.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-12 16:51:35 +00:00
Martin Pycko
6e8a074912 Add restrictcid=[yes|no] for chan_zap and chan_sip. You can specify if the sip/zap users will have the callerid transmitted as ANI or CALLERID.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-05 04:00:57 +00:00
Mark Spencer
c80158ce30 Add Zap dnid support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-04 18:55:35 +00:00
Mark Spencer
578b394236 Make chan_zap compile without libpri again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-26 02:38:24 +00:00
Martin Pycko
1434714b58 Make sure that when the d-channel goes down we also clear the libpri structures with pri_destroycall
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25 21:17:38 +00:00
Martin Pycko
44e6a8619e Add one more thing to the previous one
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25 20:47:55 +00:00
Martin Pycko
e89a2bcd5c Don't allow to place calls when a dchannel is down (for PRI). Also when we detect that d-channel is down -> destroy the calls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25 20:39:07 +00:00
Mark Spencer
5a25985a00 Add true native data mode bridging
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-23 17:49:54 +00:00
Mark Spencer
2421bea611 Fix memory leak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-22 05:30:58 +00:00
Mark Spencer
8d5c7dd566 Oops, they're system, not agent events
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-18 14:20:12 +00:00
Mark Spencer
f3a4294a11 Add alarm/alarm clear events (bug #125)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-18 14:19:15 +00:00
Martin Pycko
501c800c5a Show the names of the codecs instead of the numbers (bug #92)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-16 05:10:35 +00:00
Mark Spencer
858ad8ca64 Only skip it for immediate mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 22:07:15 +00:00
Mark Spencer
ec3d5a0c43 Wait for first digit with FEATDMF too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 22:00:44 +00:00
Mark Spencer
37b7bccc61 Asterisk:
#72 - Should eliminate probs on VMWI
#41 - Dynamic add survives reload
#73 - Make festival honor its arguments
#93 - Make events on FXO interfaces more logical
#26 - Prefer "bindaddr" to logical address for registrations
??? - Record crashes AGI


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 04:38:39 +00:00
Martin Pycko
c9998ac0e2 Fix the potential segfault
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-14 20:44:30 +00:00
Mark Spencer
67fb880dfb Make chan_zap compile for people without libpri again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 21:06:00 +00:00
Mark Spencer
1bb58646de Totally revamp thread debugging to support locating and removing deadlocks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 15:25:16 +00:00
Martin Pycko
4fbe072aa4 Also NULL-ify the p->owner when the calls drop because of alarm
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-12 22:14:03 +00:00
Martin Pycko
e9f725b418 Clear the pri channels when alarm condition drops the calls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-12 20:27:53 +00:00
Mark Spencer
d21648495a Fix for when libpri is not installed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-08 04:20:54 +00:00
Mark Spencer
1d12de4da6 Do progress detect on incoming too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-07 21:20:50 +00:00