Commit Graph

1516 Commits (fdffdc93647ff9dd122b95fd1c3abc47fe8d30c4)

Author SHA1 Message Date
Mark Spencer d1ad2a695d Turn off DTMF generally in MGCP and make option to enable RFC2833 or in-band
21 years ago
Mark Spencer d0c1882cf7 Make sure we release the correct lock!
21 years ago
Mark Spencer 0abd9ec096 Fix potential transfer seg
21 years ago
Mark Spencer 6f5eb3b8fa Create one generally useful runtime option and one compile time option to work around bugs in the DPH100M phone (bug #2122)
21 years ago
Mark Spencer 4eedf0cd2e Sometimes we get subunalloced, gotta free lock first
21 years ago
Mark Spencer 630ca201d6 Oops
21 years ago
Mark Spencer bf17aa1eca Hold lock for three-way channel (bug #2107)
21 years ago
Mark Spencer 35ffb12ae8 Work on copy of firmware so that it doesn't get corrupted on a "make install" (bug #2106)
21 years ago
Mark Spencer 7ab67c9fba Remove quotes from MD5 (bug #2116)
21 years ago
Jeremy McNamara 0afbb8bcbf clean up warnings, and re-add a return, how did that get removed?
21 years ago
Jeremy McNamara 0bb8d95674 more changes to properly copy the call token and a small code optimization
21 years ago
Jeremy McNamara 405d0be9fe const is evil?
21 years ago
Mark Spencer e252af2152 Fix user agent on reload
21 years ago
Jeremy McNamara a59c1d2ac4 first attempt to properly copy and then free call detail strings.
21 years ago
Mark Spencer e49aae74d0 Never destroy channel when there is an owner
21 years ago
Mark Spencer f8594ac304 Make sure s is initialized, make FAX_DETECT + OLD_DSP_ROUTINES build
21 years ago
James Golovich eb80683222 Fix chan_zap compiling without libpri
21 years ago
Mark Spencer 5808760bf4 Fix signalling for GR303 FXSKS CPE so we can look like a concentrator
21 years ago
Mark Spencer 73f91fcc44 Grab the Message-ID too
21 years ago
Mark Spencer 463444b391 Don't consider port number in name of peer in create_addr (bug #1974)
21 years ago
Mark Spencer a1cf0fbd43 REduce chattyness
21 years ago
Mark Spencer 569b95352a rename "parking" to "features" in preparation for some more (possibly post 1.0) feature additions
21 years ago
Jeremy McNamara f10148d3e3 actually implement the setting of noFastStart and noH245Tunneling.
21 years ago
Mark Spencer 68070c82d0 Change IAX2 naming convention
21 years ago
Mark Spencer 6b8ecfa35f Add separated dialplan support (bug #2043)
21 years ago
Mark Spencer 3abd26bfdf Don't look for bearers when there are none.
21 years ago
Mark Spencer 03b1d1ea8c Re-listen after MGCP reload (bug #2061)
21 years ago
Mark Spencer b1d55878a7 Implement confirmation for PRI
21 years ago
Mark Spencer eac29e9814 Only apply acking when method matches, too, when not acking a response
21 years ago
Mark Spencer bba1faf910 Last set of strncpy/snprintf updates (bug #2049)
21 years ago
Mark Spencer e167cc89f8 Fix native zap bridging with GR-303
21 years ago
Mark Spencer 05d3d9c25f Fix silly typo (and make order slightly easier to read) bug #2054
21 years ago
Mark Spencer 6e9d4faf61 Build contact without @ sign if there is no extension
21 years ago
Ben Kramer 0a4a5483ae / changed samples from 240 to 160 as per all other drivers
21 years ago
Ben Kramer bab6f6bdf2 / remove extrenous NULL at end of function
21 years ago
Mark Spencer 9cd917c42a Improve SIP history
21 years ago
Mark Spencer 1b9251ad14 If we get 200 OK back on INVITE after we send CANCEL, send ACK *and* send BYE
21 years ago
Mark Spencer 3fdbac912a Use tohost, not the name of the peer
21 years ago
Mark Spencer 3ba284094e Fix silly little seg
21 years ago
Mark Spencer 634521b59b Make code agree with documentation so you can use sip peers
21 years ago
Mark Spencer dd293ed6fe First pass at properly handling account codes in forwarding
21 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...
21 years ago
Mark Spencer 602d616726 Expire time fix (bug #1996)
21 years ago
Mark Spencer 34ed331f82 Fix Zap buglet, add support for SIP parking -- doesn't seem to work quite right on SNOM.
21 years ago
Mark Spencer 7ca6f85a41 More strcpy / snprintf as part of rgagnon's audit (bug #2004)
21 years ago
Jeremy McNamara 069d045513 fix seg fault condition
21 years ago
Mark Spencer a40e6c115f Fix provisioning for unload/reload
21 years ago
James Golovich c793ab62ff Fix *BSD compilation of iax2-provision.c. We should probably move the IPTOS_MINCOST checking stuff over to a header fle that gets included
21 years ago
Mark Spencer b5780eda44 Use real bind address
21 years ago
Mark Spencer 12b3b6c86e Use proper bind address
21 years ago
Mark Spencer 8ebfe337a7 Extend bindaddr to RTP connections on SIP (bug #1989 et al)
21 years ago
Mark Spencer 28076a9c68 Cleanup SIP formatting, strncpy's strncats and global variable names (bug #1990)
21 years ago
Mark Spencer 18844270c3 When doing rport, remove the ";rport" before adding ";rport=5060"
21 years ago
Malcolm Davenport 5fa70e63a0 Bug #: 1988 Fix compile problem with iax2-provision.c under
21 years ago
Mark Spencer 432bb121f3 Cleanups to the ordering of events in dial, don't freak out on the wrong codec
21 years ago
Mark Spencer 155d84a979 Add IAX provisioning support to Asterisk
21 years ago
Mark Spencer d2f22c57fe Merge Steven Davies latest jitter buffer patch
21 years ago
James Golovich 201849fb42 Fix IAX2 registration time. We want to set reg->refresh to the new value only if its lower not if its higher. (bug 1955)
21 years ago
Mark Spencer 2f911dfba6 Use INET_ADDRLEN (bug #1956) (from airport!)
21 years ago
Malcolm Davenport b94f5ca495 Bug #1952: iaxbuf now declared in chan_iax2.c and chan_sip.c
21 years ago
Mark Spencer 1f1c915fea Merge Steven Davie's timestamp improvements
21 years ago
Mark Spencer e7bd1ce7b9 Remove duplicate declaration (bug #1950)
21 years ago
Mark Spencer ee4a248e6b Make history configurable
21 years ago
Mark Spencer 4d0dd2775a Report checksum failures as such (bug #1942)
21 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
21 years ago
Mark Spencer 457528ae86 Don't build old chan_iax by default (oops)
21 years ago
Mark Spencer f97df161f4 Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)
21 years ago
Mark Spencer 779140b94c Placeholder for GR303-FXSKS signalling (not yet finished)
21 years ago
Mark Spencer 560068617a Make sure pollres is initialized to 0
21 years ago
Mark Spencer ef0128ec41 Allow nat=never mode to work around buggy UNIDEN UIP200 firmware (bug #1935)
21 years ago
Mark Spencer a11c4965b7 If we don't accept a SUBSCRIBE, set needdestroy
21 years ago
Mark Spencer 9b6bd35ed3 Allow custom beep to be specified for agents (bug #1938)
21 years ago
Jeremy McNamara 88eede5218 apply temporary fix to stop people from whining.
21 years ago
Mark Spencer 9127ab071b Add option for in-band progress (bug #1879)
21 years ago
Mark Spencer 05110e85d3 Add ability to send detailed mailbox info (bug #1690)
21 years ago
Mark Spencer df2394af02 Minor cleanups on zap when hangup on callwait
21 years ago
Mark Spencer d9ed36059c Add peercontext parameter for default outbound context (bug #1929)
21 years ago
Mark Spencer 1af31f2c64 Merge cmaj's ZapDND and specific channel status manager commands (bugs #1917, 1918)
21 years ago
Mark Spencer b76935b95c Minor alsa fixes, add "delayreject" option to IAX to implement request of bug #1846)
21 years ago
Mark Spencer 03fbf171a7 Zap NSF merge, major ALSA improvements
21 years ago
Mark Spencer 3db853b428 Merge source cleanups (bug #1911)
21 years ago
Mark Spencer 2fb8ad79c2 Don't munge outgoing call progress when fax enabled (bug #1909)
21 years ago
Mark Spencer c9f168ed0f Add subaddress support (bug #1877)
21 years ago
Mark Spencer fe4b2401bd Handle URL encoded stuff in pedantic checking
21 years ago
Mark Spencer 80c9620612 Add sample config file, implement verification
21 years ago
Mark Spencer 1d473f25dd Add outgoing OSP support (SIP only at this point)
21 years ago
Mark Spencer b0972b8d1f Make sure other drivers also zero delivery (thanks to steven davies)
21 years ago
Mark Spencer f6f67727c6 Merge Ehud's MySQL users support (bug #1815)
21 years ago
Mark Spencer df93792f9c Extend delay slightly
21 years ago
Mark Spencer 08ac005489 Make delay for echo training configurable
21 years ago
Mark Spencer 68248b91f0 Be sure to hold lock during answer
21 years ago
Mark Spencer 7a363d3d17 Small simplification
21 years ago
Mark Spencer 2187465cae Set ${DIALSTATUS} from app_dial, make zap return BUSY on a phone that is busy, update macro-stdexten to demo
21 years ago
Mark Spencer 0f6db9f939 Don't segfault if chan_zap can't load
21 years ago
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
21 years ago
Mark Spencer f5de717d6e Merge Steven Davie's IAX2 jitter buffer enhancements
21 years ago
Mark Spencer 5546e32355 Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending)
21 years ago
Mark Spencer 652e085d0f Make DTMF mode configurable on ISDN
21 years ago
Mark Spencer e66aef0c05 Can't check outbound without having lock (bug #1886)
21 years ago
Mark Spencer ec3f9d5041 More fixes for remote_party_id
21 years ago
Mark Spencer 7b0160ee51 Sorry, 403 is "Forbidden" not "Permission Denied"
21 years ago
Mark Spencer b0991ab170 Check if subscribe is for mailbox. If so, return 200 OK or 403 Permission Denied as appropriate
21 years ago
Mark Spencer 585afa7e8e Add promiscuous redirect option
21 years ago
Mark Spencer 737e9b2458 Merge outgoing MSN support + Remote Party ID for SIP (bug #1841) with cleanups
21 years ago
Mark Spencer ef4d9eb5b7 Avoid iflock/chlock race
21 years ago
Mark Spencer 347f32ab97 Hold private lock while handling digits
21 years ago
Mark Spencer 3b3a042cef Hold pending digits until setup_ack is received, then send (bug#1875)
21 years ago
James Golovich 18fef6deb1 Formatting fix
21 years ago
Mark Spencer 133120aa38 Be sure we hold channel lock in write before talking to PRI channel
21 years ago
Mark Spencer e32c8f1ebe Debugging cleanups (bug #1633)
21 years ago
Mark Spencer 19d5ae6e8d Send 403 when authentication fails on a call
21 years ago
Mark Spencer 3932d756d4 Oops
21 years ago
Mark Spencer f75a3079e0 Implement proper locking on INFO_RECEIVED
21 years ago
Mark Spencer 095b971fc6 Small typo
21 years ago
Mark Spencer 2d78f0d53c PRI locking fixes
21 years ago
Mark Spencer e3c58c8ebe Gotta set slot to 0 before you print :)
21 years ago
Mark Spencer db8da3c376 Use new extensible setup method of libpri
21 years ago
Mark Spencer 7538cee13b Enable support for RFC3581 (bug #1862)
21 years ago
Mark Spencer be9d4b4333 Remove ancient requirement that ts > 0
21 years ago
Jeremy McNamara 1f4eadaf6a check to make sure the extension exists b4 actually accepting the call and lets hope this gives Open H.323 enough time to sync up (bug #1714)
21 years ago
Mark Spencer 6c9b510d5d When dialing outbound, if we match a peer name, use it (who really cares?) (bug #1850)
21 years ago
Mark Spencer 001623fa0a Minor formatting cleanups
21 years ago
Mark Spencer ee664e6ccd Fix small typos
21 years ago
Mark Spencer 427be16475 Handle PROGRESS event
21 years ago
Mark Spencer 5b9cab6c13 Separate PROCEEDING and PROGRESS
21 years ago
Mark Spencer 3cf5ea7383 Make meetme operate in linear so as to keep alaw folk happy, minor iax2
21 years ago
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
21 years ago
Mark Spencer fd70e7920e Provide dialtone when doing overlap dial (bug #1832)
21 years ago
Mark Spencer d030752f72 Make sure overlap dial goes into "RING" state instead of just "RESERVED"
21 years ago
Mark Spencer 9e3a90e249 Display error when having trouble reading from /dev/phone
21 years ago
Mark Spencer 439e5eeeb4 Use 401 Unauthorized instead of 407 Proxy Authentication required for REGISTER,
21 years ago
Jeremy McNamara c359ec8f5c fix list initialization
21 years ago
Mark Spencer 758f246390 Display which span/channel we're receiving restarts on
21 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
21 years ago
Mark Spencer 1794aac9e1 Return NULL if no CRV found
21 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
21 years ago
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
21 years ago
Mark Spencer f105351643 Make fax detect configurable by direction (bug #1803)
21 years ago
Mark Spencer 8c2bc79b77 chan_phone portability (bug #1788)
21 years ago
Mark Spencer 68c45465c8 Make faxdetect configurable and turn OFF by default
21 years ago
Mark Spencer ad49896f6b Simplify trunk transmission path and remove potential race (bug #1802)
21 years ago
Mark Spencer 9bd9958722 More GR-303 protocol fixes
21 years ago
Mark Spencer dff7c80952 Fix tiny typo
21 years ago
Mark Spencer a14ba4f1b5 Initial, incomplete support for D-channel backup
21 years ago
Mark Spencer a9b5a6cbb0 Handle bearer failures cleanly (still need d-channel backup)
21 years ago
Mark Spencer 8699103fa1 Handle multiple span memberships properly
21 years ago
Mark Spencer 469c7d6de9 Must call spanstat before checking number of channels (bug #1796)
21 years ago
Mark Spencer 9c42fa75a4 Fix small arrangement issue
21 years ago
Mark Spencer 65d5921dde Don't require "c" before CRV syntax
21 years ago
Mark Spencer e325aa312f Try to parse callerid properly on /dev/phone (bug #1788)
21 years ago
Mark Spencer 7b7dbfb855 Small fixup for non-PRI build
21 years ago
Mark Spencer a550016fd6 Add bi-directional GR-303 support
21 years ago
Mark Spencer 32ecea7b8c More small fixes
21 years ago
Mark Spencer 746d2e7f67 Minor cleanups
21 years ago
Mark Spencer 27578642b8 Add support for trunk groups in anticipation of NFAS and GR-303, Initial GR-303 work
21 years ago
Mark Spencer 0062fe9588 IAX2 fixup, fix res_monitor sillyseg
21 years ago
Mark Spencer 103bb4a334 Enhancements for zaptel+bsd (bug #1781)
21 years ago
Mark Spencer ca0c646539 Make sure that auto created "pseudo" isn't a member of any groups (bugs #1776, #1777)
21 years ago
Mark Spencer 8cc1ffe2ab Merge agent callback login/logoff events and logging (bug #1775)
21 years ago
Mark Spencer bc86e5de2a Allocate pseudo channel if it's not explicitly listed
21 years ago
James Golovich 2587e6faa4 Code formatting fixes in chan_zap.c
21 years ago
Mark Spencer 9286f2c6d3 More BSD compile fixes (bugs #1754 and #1756)
21 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.
21 years ago
Jeremy McNamara b0f9569b5c make sending indications more robust and proper
21 years ago
Mark Spencer 514acf8dfc Fix lag in diverging clocks (bug #1696)
21 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.
21 years ago
Mark Spencer bf2ec2d6d0 Initialize secrets properly (bug #1748)
21 years ago
Anthony Minessale II f30d55fbf6 saw this in valgrind (-tony)
21 years ago
Mark Spencer a2cc6b01be Really don't authenticate if we're not supposed to authenticate (bug #1738)
21 years ago
Mark Spencer 63074875d6 Ringing and progress are not identical
21 years ago
Mark Spencer 5b53760717 Only print PRI messages when in verbose mode (bug #1732)
21 years ago
Mark Spencer e446f4ca81 Merge OSS fixes for FreeBSD, implement rtptimeout and rtpholdtimeout
21 years ago
Mark Spencer 96117402b1 Unlock PRI lock, fix variable pasing
21 years ago
Mark Spencer 2cd1eb39b1 Don't count as outgoing until we actually send the new INVITE
21 years ago
Mark Spencer b820fd0075 Doc fix for controlplayback, get rid of 500ms wait in rtp.c (bug #1589)
21 years ago
Mark Spencer cf57ba2310 Make RTP handle codecs (first pass)
21 years ago
Mark Spencer ec14976ac3 Perform proper heap bounds checking on skinny messages (bug #1726)
21 years ago
Mark Spencer fdb8ffe20d Cancel destroy request on new invite, merge bkw's control playback changes
21 years ago
Jeremy McNamara f7a7158f3f oopsie
21 years ago
Jeremy McNamara 728cceca7e explain a proper upgrade sequence (lowering the signal-to-noise ratio again)
21 years ago
Jeremy McNamara 9432a1c19f properly clean capabilites from the endpoint
21 years ago
Mark Spencer 1b5d2d4667 Cancel self destruct on provisional responses too (bug #1722)
21 years ago
Ben Kramer 8161efd26a cleaned up locking, more logging on locks, still havent worked out why
21 years ago
Mark Spencer 0f966565af Handle debugging of unknown IE's properly
21 years ago
Mark Spencer 2cc7d3e8db Make sure transmitted timestamps are solid on trunks (bug #1713)
21 years ago
Mark Spencer 67b3ab9ee5 Merge useragent patch (bug #712)
21 years ago
Mark Spencer 9dbb2ef08c Enable understanding of service identifier and provisioning version
21 years ago
Jeremy McNamara 588801931f optmize call setup process
21 years ago
Mark Spencer e3ad88c784 Eliminate useless pass checking
21 years ago
Mark Spencer bbce72c316 Fix small typo
21 years ago
Mark Spencer d7ba067af6 Always authenticate when insecure is not "very" even on matching IP
21 years ago
Ben Kramer 4b5f7f0ef6 / work in progress, still tracking down locking bug
21 years ago
Ben Kramer 5273e43919 / fixed up timers for ring back and busy tones
21 years ago
Mark Spencer e300367ad8 Obviously don't send alerting, progress, or proceeding on outbound calls (bug #1700)
21 years ago
Mark Spencer 15b2f1f635 When dialing out, we're always proceeding :)
21 years ago
Mark Spencer ad67680ed3 First pass at handling responses properly for retransmissions
21 years ago
Ben Kramer 0284bc4b99 / updated locking
21 years ago
Mark Spencer 7f1117a71f Don't send the same codec twice even if listed twice in allow section (bug #1691)
21 years ago
Jeremy McNamara 89dbeddcfc backout code optimization, add more explict error reporting
21 years ago
Mark Spencer 6195dd35e0 Make ast_channel_walk become ast_channel_walk_locked
21 years ago