summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
AgeCommit message (Collapse)Author
2004-01-10When rejecting a call, free up the channel (bug #661)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-09Bug #710: Format fix for "zap show channels"Malcolm Davenport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-09Bug #736: Better checking to avoid chan_zap segfault re: ss_thread and zt_new()Malcolm Davenport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-19Fix the passing of digital PRI-PRIMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-18Allow doing digital PRI to PRI calls automaticallyMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-18Move zaptrcallerid out of #define ZAPATA_PRIMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-18Change long variable name to the shorter oneMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-17Add 'useincomingcalleridonzaptransfer' keyword to chan_zap so that if there ↵Martin Pycko
is incoming call on fxs port and you flashhook and transfer that call (or do a threeway call) the incoming callerid will be presented. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-11Properly fix double locking issue, fix wav49 issueMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-11We really don't want to lock ourselves in zt_exceptionMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-11Properly handle exceptions in zt_readMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-09Cleanup unload callsMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-09Patch for improving unload on zap (thanks James)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-05Provide a channel if PRI_EVENT_RING comes without a channelMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-04Fix the ZapHangup, ZapDialOffhook, ZapTransfer manager commandsMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-02Don't retrain after each digitMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-01Fix chanzap for p0, p1, etcMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-23Enable on hook transfer for vmwiMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21Make CALLTYPE availableMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21Don't crash if ZapHangup, ZapTransfer, ZapDialOffhook are used on the ↵Martin Pycko
channel that is onhook (idle) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-18Fix segfault if more than 32 channels are used because of round_robin[x] = p;Martin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-12Implement several manager commands for Zap channels: ZapTransfer (flash ↵Martin Pycko
hook), ZapHangup, ZapDial git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-07Add round robin to chan_zap with use of Zap/r<number>/<exten> (ascending) or ↵Martin Pycko
Zap/R<number>/<exten> (descending). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-05Train echo canceller on FXO before last digitMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-05Add PRI_CAUSE feature for PRI ... If you set PRI_CAUSE=17 with SetVar and ↵Martin Pycko
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-04Turn off music on hold when doing *0Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04Remove really broke MP3 stuff in favor of G.726 in the near futureMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-27Use echo training of FXS (fxo signalled) interfaces... rest to followMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25Make HANGUPCAUSE accessibleMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-24Check that there really is a tagMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-22SUpport gains on outbound callsMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-14Properly handle events during readsMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-08Callerid fix and warning cleanup (bug #367 & #356)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-06Switch back to DTMF at the appropriate timeMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01Add 486 message (SIP) to 17 cause (PRI) translation when you call Dial app ↵Martin Pycko
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-01Add usecallingpres keyword to zapata.conf for PRI to PRI call so that we ↵Martin Pycko
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-09-29Change strdupa's to ast_strupda'sMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-27Fix various compiler warnings (bug #322)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26Initialize extensionMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26Fix last typoMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26Don't do callprogress on incoming calls -> that used to put that call in a ↵Martin Pycko
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-25Bring into full TBR4 complianceMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-17Allow detection of callerid on FXO with distinctive ringMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-13Merge sending complete patch with no number (bug #176)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-12Fix a tiny thingMartin Pycko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-12Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always ↵Martin Pycko
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-05Add restrictcid=[yes|no] for chan_zap and chan_sip. You can specify if the ↵Martin Pycko
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-04Add Zap dnid supportMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-26Make chan_zap compile without libpri againMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25Make sure that when the d-channel goes down we also clear the libpri ↵Martin Pycko
structures with pri_destroycall git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1431 65c4cc65-6c06-0410-ace0-fbb531ad65f3