Commit Graph

127 Commits

Author SHA1 Message Date
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
Mark Spencer c5155d54c6 Fix wrong pointer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-07 19:59:04 +00:00
Mark Spencer 01fcb9779a Allow groups to be checked in reverse order, make musiconhold die on restart
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-07 03:48:00 +00:00
Martin Pycko 58022ed110 Clean up around new hangup routines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-07 01:14:21 +00:00
Martin Pycko 5e39502200 Add handling of PRI_EVENT_HANGUP_REQ
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-07 00:47:27 +00:00
Martin Pycko f778fb89a5 Fix and improve the new pri hangup routines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-05 01:25:43 +00:00
Martin Pycko 19f4f3c36c Fix the bug when Sending Complete IE is sent or not sent (i don't remember) asterisk would jump to s|1
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-28 15:12:37 +00:00
Mark Spencer b03498907b Minor fixup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-26 19:24:09 +00:00
Mark Spencer 5a4e282ae8 Fix CIDCW for native bridging
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-02 21:56:03 +00:00
Mark Spencer 485db41457 Fix CIDCW for non-native calls only
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-02 21:49:42 +00:00
Mark Spencer e9cffc55a7 Update for sendingcomplete
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-01 20:26:22 +00:00
Martin Pycko f08922f6b7 Add support for handling INFORMATION messages carying more than one digit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-05 21:13:12 +00:00
Martin Pycko eca9614457 Add a verbose message for those that have immediate=yes on the PRI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-03 16:24:12 +00:00
Martin Pycko 11325940c8 Add FAXEXTEN to save the DID/DNIS when we transfer to "fax" extension
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-29 20:18:45 +00:00
Mark Spencer ed04393d27 Fix feature group d MF
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-29 16:03:53 +00:00
Mark Spencer d6e3f866bc Add National ISDN 1 support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-28 22:40:26 +00:00
Mark Spencer 8082927ba3 Pass RING events in DOWN or RING states
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-26 23:10:08 +00:00
Martin Pycko 4c29324050 Finally fix the fix (what a day)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-19 23:49:15 +00:00
Martin Pycko bc973fb1d0 Fix a typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-19 23:45:46 +00:00