Commit Graph

579 Commits (9400e87db0e18d1f9da6bcce233fe22d45fc6f15)

Author SHA1 Message Date
Mark Spencer f1be7d7ffc Add new "route" mode to work around UNIDEN bugs (bug #2308)
21 years ago
Mark Spencer fa814abe05 Repair offer/answer model (bug #2293), initial CNG work for new frametype
21 years ago
Mark Spencer 230d4b38a3 Qualify rtptimeout with a reinvite having taken place (bug #2286)
21 years ago
Mark Spencer 1afd98d916 Handle quoted <'s (bug #2223)
21 years ago
Mark Spencer 299b26ae4a Remove unused tmp2 variable
21 years ago
Mark Spencer bbbbcaf73f Make sure jointcapability really indicates joint capability (bug #2210)
21 years ago
Mark Spencer 534e44c599 Add another field to track whether video was invited or not (bug #2226)
21 years ago
Mark Spencer ce51451ca6 Fix minor typos (bug #2260)
21 years ago
Mark Spencer 3385ecc112 Can't check incoming sip debug until after we receive the packet!
21 years ago
Mark Spencer 5d589eb866 Fix broken 100 Trying on REFER and also send NOTIFY as per RFC 3515
21 years ago
Mark Spencer 039aad9ff4 Merge Lenny's sorcery....
21 years ago
Mark Spencer 7acee329e1 Merge BSD stack size work (bug #2067)
21 years ago
Mark Spencer 916566ac11 Make sure we use AF_INET
22 years ago
Mark Spencer 2de01f7b7e Send proper contact in 200 OK to REGISTER
22 years ago
Mark Spencer a70d444333 Improve debugging of RTP ports (bug #2131, heavily modified)
22 years ago
Mark Spencer b4f6d91eda Default port to 5060
22 years ago
Mark Spencer deb02a000f Add "username" to sip show peer (bug #2163) as well as a few config cleanups
22 years ago
Mark Spencer 71f41a06dc Make ACK sticky too (bug #2134)
22 years ago
Mark Spencer a395d75a91 Make request URI in CANCEL match that of the original INVITE exactly (bug #2134)
22 years ago
Mark Spencer 7ab67c9fba Remove quotes from MD5 (bug #2116)
22 years ago
Mark Spencer e252af2152 Fix user agent on reload
22 years ago
Mark Spencer e49aae74d0 Never destroy channel when there is an owner
22 years ago
Mark Spencer 463444b391 Don't consider port number in name of peer in create_addr (bug #1974)
22 years ago
Mark Spencer a1cf0fbd43 REduce chattyness
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 eac29e9814 Only apply acking when method matches, too, when not acking a response
22 years ago
Mark Spencer bba1faf910 Last set of strncpy/snprintf updates (bug #2049)
22 years ago
Mark Spencer 05d3d9c25f Fix silly typo (and make order slightly easier to read) bug #2054
22 years ago
Mark Spencer 6e9d4faf61 Build contact without @ sign if there is no extension
22 years ago
Mark Spencer 9cd917c42a Improve SIP history
22 years ago
Mark Spencer 1b9251ad14 If we get 200 OK back on INVITE after we send CANCEL, send ACK *and* send BYE
22 years ago
Mark Spencer 3fdbac912a Use tohost, not the name of the peer
22 years ago
Mark Spencer 3ba284094e Fix silly little seg
22 years ago
Mark Spencer 634521b59b Make code agree with documentation so you can use sip peers
22 years ago
Mark Spencer 3c7300d145 Just to be especially nice, only send 100 Trying at the start of parking and don't send the 202 Accepted until the end -- still doesn't help the SNOM. They seem to give dialtone as soon as they send REFER...
22 years ago
Mark Spencer 602d616726 Expire time fix (bug #1996)
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 b5780eda44 Use real bind address
22 years ago
Mark Spencer 12b3b6c86e Use proper bind address
22 years ago
Mark Spencer 8ebfe337a7 Extend bindaddr to RTP connections on SIP (bug #1989 et al)
22 years ago
Mark Spencer 28076a9c68 Cleanup SIP formatting, strncpy's strncats and global variable names (bug #1990)
22 years ago
Mark Spencer 18844270c3 When doing rport, remove the ";rport" before adding ";rport=5060"
22 years ago
Mark Spencer 432bb121f3 Cleanups to the ordering of events in dial, don't freak out on the wrong codec
22 years ago
Mark Spencer 2f911dfba6 Use INET_ADDRLEN (bug #1956) (from airport!)
22 years ago
Malcolm Davenport b94f5ca495 Bug #1952: iaxbuf now declared in chan_iax2.c and chan_sip.c
22 years ago
Mark Spencer ee4a248e6b Make history configurable
22 years ago
Mark Spencer 4d0dd2775a Report checksum failures as such (bug #1942)
22 years ago
Mark Spencer eb6b35b75f Display invalid extension when there is one, fix minor OSP typo, Don't send 200 OK after 403 Forbidden on SUBSCRIBE
22 years ago
Mark Spencer f97df161f4 Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)
22 years ago
Mark Spencer ef0128ec41 Allow nat=never mode to work around buggy UNIDEN UIP200 firmware (bug #1935)
22 years ago
Mark Spencer a11c4965b7 If we don't accept a SUBSCRIBE, set needdestroy
22 years ago
Mark Spencer 9127ab071b Add option for in-band progress (bug #1879)
22 years ago
Mark Spencer fe4b2401bd Handle URL encoded stuff in pedantic checking
22 years ago
Mark Spencer 80c9620612 Add sample config file, implement verification
22 years ago
Mark Spencer 1d473f25dd Add outgoing OSP support (SIP only at this point)
22 years ago
Mark Spencer f6f67727c6 Merge Ehud's MySQL users support (bug #1815)
22 years ago
Mark Spencer 68248b91f0 Be sure to hold lock during answer
22 years ago
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
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 ec3f9d5041 More fixes for remote_party_id
22 years ago
Mark Spencer 7b0160ee51 Sorry, 403 is "Forbidden" not "Permission Denied"
22 years ago
Mark Spencer b0991ab170 Check if subscribe is for mailbox. If so, return 200 OK or 403 Permission Denied as appropriate
22 years ago
Mark Spencer 585afa7e8e Add promiscuous redirect option
22 years ago
Mark Spencer 737e9b2458 Merge outgoing MSN support + Remote Party ID for SIP (bug #1841) with cleanups
22 years ago
James Golovich 18fef6deb1 Formatting fix
22 years ago
Mark Spencer e32c8f1ebe Debugging cleanups (bug #1633)
22 years ago
Mark Spencer 19d5ae6e8d Send 403 when authentication fails on a call
22 years ago
Mark Spencer 7538cee13b Enable support for RFC3581 (bug #1862)
22 years ago
Mark Spencer 001623fa0a Minor formatting cleanups
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 439e5eeeb4 Use 401 Unauthorized instead of 407 Proxy Authentication required for REGISTER,
22 years ago
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 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
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
Mark Spencer a2cc6b01be Really don't authenticate if we're not supposed to authenticate (bug #1738)
22 years ago
Mark Spencer e446f4ca81 Merge OSS fixes for FreeBSD, implement rtptimeout and rtpholdtimeout
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 fdb8ffe20d Cancel destroy request on new invite, merge bkw's control playback changes
22 years ago
Mark Spencer 1b5d2d4667 Cancel self destruct on provisional responses too (bug #1722)
22 years ago
Mark Spencer 67b3ab9ee5 Merge useragent patch (bug #712)
22 years ago
Mark Spencer d7ba067af6 Always authenticate when insecure is not "very" even on matching IP
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
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
Mark Spencer 34347418e3 Allow multiple codecs to be printed in debug (bug #989)
22 years ago
Mark Spencer ed443d08cf Timely packet removal and make valgrind happy
22 years ago
Mark Spencer 1081dc05c2 Improve handling of multiple CANCEL requests
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 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 dbb7b83ecc Minor memory cleanups, initialize peer/user invite status from global
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
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
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 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 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
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
Mark Spencer d4c439c61d Use strlen_zero function in chan_sip (bug #1545)
22 years ago
Mark Spencer ca2069a246 Don't update route once it's set (bug #1491)
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 44de97d496 Provide more fine grained control of sip and iax show peers (bug #1470)
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
Mark Spencer ec6644c146 Only clear route if we have a new one
22 years ago
Mark Spencer d106797a26 Add relaxdtmf option to sip
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 fd9d8ca43b Run setstate after setting all appropriate variables including callerid
22 years ago
Mark Spencer 7ca96ea7e5 Add white space condensing to pedantic mode of chan_sip.
22 years ago
Mark Spencer f4b55b802c SIP cleanups for database linkage
22 years ago
Mark Spencer 1511750650 Use proper token for authenticating BYE
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 d3f9887589 gethostbyname isn't reentrant, who knew...
22 years ago
Mark Spencer ca493a14e1 Increase buffer size (bug #1459)
22 years ago
Mark Spencer 8e0f9147b2 Fix trailing slash problem (Zap) and making sure refers get ignored the second tiem around.
22 years ago
Mark Spencer 97dd838cda Fix name properly
22 years ago
Mark Spencer 5a2c606d94 Keep random data around, we'll need it for certain bogus REGISTER and INVITE network hiccups (bug # 1236)
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 1bbf0d2cf6 Bump branch id on INVITE with auth (bug #1313)
22 years ago
Mark Spencer 940a5deb2e Support some more SIP idiocies
22 years ago
Mark Spencer 9f726fce46 603 is a busy too
22 years ago