Commit Graph

1383 Commits (57b6515d825288cf7acd7cd19c7e1f0c84590767)

Author SHA1 Message Date
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 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 8c2bc79b77 chan_phone portability (bug #1788)
22 years ago
Mark Spencer 68c45465c8 Make faxdetect configurable and turn OFF by default
22 years ago
Mark Spencer ad49896f6b Simplify trunk transmission path and remove potential race (bug #1802)
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 e325aa312f Try to parse callerid properly on /dev/phone (bug #1788)
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 0062fe9588 IAX2 fixup, fix res_monitor sillyseg
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 8cc1ffe2ab Merge agent callback login/logoff events and logging (bug #1775)
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
Mark Spencer 9286f2c6d3 More BSD compile fixes (bugs #1754 and #1756)
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
Jeremy McNamara b0f9569b5c make sending indications more robust and proper
22 years ago
Mark Spencer 514acf8dfc Fix lag in diverging clocks (bug #1696)
22 years ago
Jim Dixon 5ef2ef8a1d Fixed annoying SIP 'NOTIFY' messages printed on console every n seconds from some SIP peers. Also fixed problem where 'INFO' was not being responded to if in 'ignore' state.
22 years ago
Mark Spencer bf2ec2d6d0 Initialize secrets properly (bug #1748)
22 years ago
Anthony Minessale II f30d55fbf6 saw this in valgrind (-tony)
22 years ago
Mark Spencer a2cc6b01be Really don't authenticate if we're not supposed to authenticate (bug #1738)
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 e446f4ca81 Merge OSS fixes for FreeBSD, implement rtptimeout and rtpholdtimeout
22 years ago
Mark Spencer 96117402b1 Unlock PRI lock, fix variable pasing
22 years ago
Mark Spencer 2cd1eb39b1 Don't count as outgoing until we actually send the new INVITE
22 years ago
Mark Spencer b820fd0075 Doc fix for controlplayback, get rid of 500ms wait in rtp.c (bug #1589)
22 years ago
Mark Spencer cf57ba2310 Make RTP handle codecs (first pass)
22 years ago
Mark Spencer ec14976ac3 Perform proper heap bounds checking on skinny messages (bug #1726)
22 years ago
Mark Spencer fdb8ffe20d Cancel destroy request on new invite, merge bkw's control playback changes
22 years ago
Jeremy McNamara f7a7158f3f oopsie
22 years ago
Jeremy McNamara 728cceca7e explain a proper upgrade sequence (lowering the signal-to-noise ratio again)
22 years ago
Jeremy McNamara 9432a1c19f properly clean capabilites from the endpoint
22 years ago
Mark Spencer 1b5d2d4667 Cancel self destruct on provisional responses too (bug #1722)
22 years ago
Ben Kramer 8161efd26a cleaned up locking, more logging on locks, still havent worked out why
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 67b3ab9ee5 Merge useragent patch (bug #712)
22 years ago
Mark Spencer 9dbb2ef08c Enable understanding of service identifier and provisioning version
22 years ago
Jeremy McNamara 588801931f optmize call setup process
22 years ago
Mark Spencer e3ad88c784 Eliminate useless pass checking
22 years ago
Mark Spencer bbce72c316 Fix small typo
22 years ago
Mark Spencer d7ba067af6 Always authenticate when insecure is not "very" even on matching IP
22 years ago
Ben Kramer 4b5f7f0ef6 / work in progress, still tracking down locking bug
22 years ago
Ben Kramer 5273e43919 / fixed up timers for ring back and busy tones
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 ad67680ed3 First pass at handling responses properly for retransmissions
22 years ago
Ben Kramer 0284bc4b99 / updated locking
22 years ago
Mark Spencer 7f1117a71f Don't send the same codec twice even if listed twice in allow section (bug #1691)
22 years ago
Jeremy McNamara 89dbeddcfc backout code optimization, add more explict error reporting
22 years ago
Mark Spencer 6195dd35e0 Make ast_channel_walk become ast_channel_walk_locked
22 years ago
Jeremy McNamara e1b72cf020 cleanup code and debug
22 years ago
Mark Spencer 868fec3692 Congestion with Hangup sends expected RELEASE code (but #1681)
22 years ago
Mark Spencer a105455487 Stage 1 of deadlock fix (bug #1673 -- but not yet solved, just started) and fix configs ending with no newline (bug #1672)
22 years ago
Jeremy McNamara eff9477388 properly send call progress and alerting PDUs, re-fix one-way audio on call manager, and hopefully add call progress (N+101) support (not tested)
22 years ago
Jeremy McNamara fc6a82fcb8 only complain if ZAPATA_PRI is defined
22 years ago
Ben Kramer 2bc871a62e / working on pstn->sip half duplex bug
22 years ago
Mark Spencer 3f6896acd3 Update for newer libpri
22 years ago
James Golovich 17aeeda774 Re-Disable building chan_iax.so
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 34347418e3 Allow multiple codecs to be printed in debug (bug #989)
22 years ago
Jeremy McNamara a73524874c fix documenation bug
22 years ago
Jeremy McNamara 1c445d44c5 Don't advertise Janus, its still broken
22 years ago
Jeremy McNamara a54a0e5ecb clean up code and attempt to stablize inbound h.323 calls
22 years ago
Jeremy McNamara e0ab451084 clean up code
22 years ago
Jeremy McNamara 1f506e55d0 add explict version info
22 years ago
Mark Spencer d117f2258f Propagate language properly across chan_local (bug #1663)
22 years ago
Mark Spencer 2dfb2d723f Fix callerid on quicknet stuff (bug #1613)
22 years ago
Mark Spencer ed443d08cf Timely packet removal and make valgrind happy
22 years ago
Jeremy McNamara 3794c9bfef add ./configure for the thick headed who can't read documentation...wait will they even read the README?
22 years ago
Mark Spencer 1081dc05c2 Improve handling of multiple CANCEL requests
22 years ago
Jeremy McNamara 83c46fb83e try to enable ringback on H.323->SIP calls (bug #1645) and clean up code a lil bit
22 years ago
Mark Spencer b8190d0e92 Make sure that we have the sin_family set to AF_INET for FreeBSD
22 years ago
Mark Spencer 103034acf2 Add Taiwan support (bug #1599)
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 694c1c0c9c FreeBSD compile fix (bug #1655)
22 years ago
Ben Kramer 28c55ae8e3 / fixed up coding style to recommened
22 years ago
Mark Spencer baeb134536 Better document SIP (bug #1603)
22 years ago
Mark Spencer c1b3b1d5b1 Lose all the "auth" stuff since we don't use it (bug #1627)
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
Jeremy McNamara ed01d3b366 Turn off lamp on call completion, code cleanup and a couple other minor bug fixes.
22 years ago
Mark Spencer 1aba1bbca4 Minor cleanups (bug #1618 included)
22 years ago
Mark Spencer 10c25aa6d9 Put sip history stuff in (for real) and provide voicemail context (when not default) in some critical places (bug #1609)
22 years ago
Mark Spencer 964565519c Increase max write size (bug #1601)
22 years ago
Anthony Minessale II 960c01e4c6 Patch Submitted by BKW on 5/10/2004 to chan_sip.c
22 years ago
Mark Spencer 4b84c43811 More minor bkw fixes
22 years ago
Mark Spencer 22243ee9ae merge brian's cleanups
22 years ago
Mark Spencer 6ead43beb1 Add SIPUSERAGENT, SIPCALLID, and fix some formatting (bug #1593)
22 years ago
Mark Spencer 62eef7c695 Fix accidental strlen_zero mistransfer (bug #1592)
22 years ago
Mark Spencer f2e0152108 Fix minor formatting problem
22 years ago
Mark Spencer 25b07915d6 Remove "jitter"
22 years ago
James Golovich c00550f3ae Add new file utils.c, Move ast_gethostbyname to utils.c
22 years ago
James Golovich 8ef3b1544b More ast_strlen_zero changes
22 years ago
Mark Spencer d2a4408930 Show peers formatting fixes, SIP strlen optimizations, and using ACL for local network matching (bugs #1587, 1586, 1585, 1584)
22 years ago
Mark Spencer 297e62b8be Copy musicclass to right field (bug #1582)
22 years ago
Mark Spencer 3189e70baa Allow notransfer to be a global option
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
Mark Spencer 76adf66390 Add "sip show subscriptions" command (bug #1569)
22 years ago
Mark Spencer 6d280193d6 Fix silly typo in iax2 where strlen was used instead of sizeof
22 years ago
Mark Spencer efc8c74b9a Allow global authentication realm to be set (bug #1567)
22 years ago
Mark Spencer 05a87a441c Don't autodestruct on semi-ack. We'll add it as we need it case-by-case.
22 years ago
Mark Spencer ab3c603b1c If user fails host access, search for peers too
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
James Golovich 995468ea0a Include utils.h in chan_skinny.c
22 years ago
Jeremy McNamara ecbd983648 use ast_strlen_zero
22 years ago
James Golovich 2bda857bf7 Use ast_strlen_zero in chan_zap.c
22 years ago
Mark Spencer cc1da2eb5b Qualify that SIP INFO stuff is real (bug #1558)
22 years ago
Mark Spencer cc9ffa5ac1 Fix SIP autohangup mishap
22 years ago
Mark Spencer 9cc62f6461 Print route when doing sip show channel foo
22 years ago
Mark Spencer 19a080ddd7 strlen fixes and don't destroy SIP channels that still have pending things on them (bug #1552 et al)
22 years ago
Jeremy McNamara e8ed258aa4 use ast_stren_zero
22 years ago
Mark Spencer d4c439c61d Use strlen_zero function in chan_sip (bug #1545)
22 years ago
Mark Spencer 9c683b7423 Fix compiler warning
22 years ago
Mark Spencer ca2069a246 Don't update route once it's set (bug #1491)
22 years ago
James Golovich 07a40f5141 Oops, actually use the right variable in channels/Makefile
22 years ago
James Golovich 3b3674807b Fix channels/Makefile so USE_MYSQL_FRIENDS implies USE_SIP_MYSQL_FRIENDS
22 years ago
Mark Spencer bbaf536f6a Add "insecure=very" where we don't authenticate peers who are registered
22 years ago
Mark Spencer b50ecc25b2 Merge slepp's sub-second expiration timer although hopefully it will never have to be used.
22 years ago
Mark Spencer ded7dae112 Merge slepp's REGISTER RFC compliance fixes (bug #1538)
22 years ago
Mark Spencer c3c38eeeaf Let OSS know how to deal with indication -1
22 years ago
Mark Spencer 6cdbd6903c On a reload, don't stop supporting sip if we can't find our ip.
22 years ago
Mark Spencer 503dbb3d8a Add new "authname" field so we can authenticate BYE properly on incoming calls (bug #1436)
22 years ago
Mark Spencer 35ca4404f0 On incoming call, set peername to username to properly authenticate BYE (it's not used for anything else, as far as I know)
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
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 3c134b6549 Revert earlier changes. The right answer for bug #1436 should be using username=
22 years ago
Mark Spencer 5b34d11ce9 Allow debug to be enabled on a per-peer or per-IP basis (bug #850)
22 years ago
Mark Spencer 1dbc8e3f0e Rid compiler warning, make information meaningful in sip debug for codecs
22 years ago
Mark Spencer 3d16691c9e Revert routing change
22 years ago
Jeremy McNamara a717d81cea Increase DTMF duration in f.sample, just in case. Bug#1414
22 years ago
Mark Spencer ec6644c146 Only clear route if we have a new one
22 years ago
Mark Spencer 3e48f862a7 Work properly with USE_SIP_MYSQL_FRIENDS set to 1 for linking
22 years ago
Mark Spencer d106797a26 Add relaxdtmf option to sip
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 cd788e2ab9 Handle fromdomain properly when there is no @ sign
22 years ago
Mark Spencer 7e79c52808 Don't double receive INFO or MESSAGE elements (bug #1512)
22 years ago
Mark Spencer 314877e155 Fix potential seg in iax2 from reload when registrations are going
22 years ago
Mark Spencer da8f6a9acf OpenBSD portability to H323
22 years ago
Mark Spencer fd9d8ca43b Run setstate after setting all appropriate variables including callerid
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 0fe6d16e89 Fix deadlock in IAX2 trunking, small MGCP fix
22 years ago
Mark Spencer 7ca96ea7e5 Add white space condensing to pedantic mode of chan_sip.
22 years ago
Mark Spencer 5f71712b8b Make sure we are proceeding when we answer
22 years ago
James Golovich 6cbc92b760 Portability fix, use the shells path for sed and env
22 years ago
Mark Spencer f34b684e0e Improve responsiveness of MGCP during a reload (bug #1488)
22 years ago
Mark Spencer 7596de9ac8 Extreme IAX2 trunking performance improvements
22 years ago
Mark Spencer f4b55b802c SIP cleanups for database linkage
22 years ago
Mark Spencer add7cf7ded Move skinny to support poll
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 2a3fc7b8ea Remove obsolete chan_zap_old.
22 years ago
Mark Spencer 1511750650 Use proper token for authenticating BYE
22 years ago
Mark Spencer cce37f8d32 Hold call structure longer iwth find_callno
22 years ago
Mark Spencer 30a7162bd9 Merge JS's Cisco MGCP fixes (Bug #693)
22 years ago
Mark Spencer f85d0713cf Clean up SQL queries (bug #1479)
22 years ago
Mark Spencer 64c9e859e0 Also handle properly \r\n instead of just \n...
22 years ago
Mark Spencer ed360fcf57 Committed a little bit too quickly there...
22 years ago
Mark Spencer c924d1a322 First pass at handling multi-line headers
22 years ago
Mark Spencer 459fda5e44 Migrate chan_zap from select to poll
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 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 d3f9887589 gethostbyname isn't reentrant, who knew...
22 years ago
Mark Spencer ca493a14e1 Increase buffer size (bug #1459)
22 years ago
Jeremy McNamara 87e84064d2 rollback to pre-janus, for the moment
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
Jeremy McNamara 50edb67fc4 update once again to the right version
22 years ago
Mark Spencer 8e0f9147b2 Fix trailing slash problem (Zap) and making sure refers get ignored the second tiem around.
22 years ago
Jeremy McNamara e9ea9975de Make comptable with Open H.323's Janus release. See http://www.sf.net/projects/openh323/ for details. These changes will cause any version less than Janus to fail at compile time. This update may also address the recent instability noise...
22 years ago
Mark Spencer 7a8ec5bea4 Always give real timestamps on IAX ping/pong messages
22 years ago