Commit Graph

6479 Commits (c84e7f83c8848edfc37bca93f6fd6151131255ee)

Author SHA1 Message Date
Joshua Colp 6a7f37e07d Add support for handling the 415 Unsupported media type response like we do for a 488 Not acceptable here response.
16 years ago
Joshua Colp 23781604aa Fix a bug where a scheduled item ID would get retained on registrations in a certain scenario
16 years ago
Jeff Peeler 08ec550c16 Merged revisions 232090 via svnmerge from
16 years ago
Tilghman Lesher f59fe83c56 More 32->64 bit codec conversions.
16 years ago
Kevin P. Fleming 5ba2b689b2 Another round of UDPTL stack fixes/improvements:
16 years ago
Joshua Colp c899add7f9 When receiving SDP that matches the version of the last one do not treat it as a fatal error.
16 years ago
Joshua Colp 28b009b266 Fix a bug where an immediate masquerade would cause a queued unhold frame to get lost. Now we just
16 years ago
Jeff Peeler ac9a4cecf3 Fix problem on digital channels due to digital flag not getting set
16 years ago
Joshua Colp 60e10aba46 Change fax detection in chan_sip so it behaves as one would expect.
16 years ago
Kevin P. Fleming fe1ebc8d46 Merged revisions 230839 via svnmerge from
16 years ago
Kevin P. Fleming 1f759eddfa Merged revisions 230772 via svnmerge from
16 years ago
David Vossel 417657f4ed fixes iax2 show cache locking error, thanks alecdavis!
16 years ago
Kevin P. Fleming 209e1cf195 Merged revisions 230246 via svnmerge from
16 years ago
Joshua Colp 8ba56154bb Merged revisions 230144 via svnmerge from
16 years ago
Tilghman Lesher 5e2aa190fe Display a list of channel variables in each channel-oriented event.
16 years ago
Joshua Colp 85dd68ca7a Merged revisions 230038 via svnmerge from
16 years ago
Joshua Colp b3b6537e71 Fix T.38 negotiation regression introduced with the SDP parser changes.
16 years ago
Jason Parker 02087fe03d Add mute functionality. Add config option to not try to open capture device.
16 years ago
Jason Parker e1ec2df832 Fix mute toggling on OSS channels.
16 years ago
David Vossel 60f80e5360 Merged revisions 229167 via svnmerge from
16 years ago
Matthew Nicholson 2cc2bade4b Reverted revision 201717.
16 years ago
Terry Wilson d6b5df8715 Don't crash when bridge->tech_pvt == NULL
16 years ago
Tilghman Lesher 182ac0c503 Don't try to convert a 64-bit integer, where only a 32-bit integer is stored.
16 years ago
Tilghman Lesher c0b3c923a4 Fix various problems detected with Valgrind.
16 years ago
Richard Mudgett 20e56c9d36 Created standard location to add options to chan_dahdi for ISDN dialing.
16 years ago
Tilghman Lesher c17525391b Missed these two channel drivers on the codec_bits merge
16 years ago
Joshua Colp c205958f4c Merged revisions 228547 via svnmerge from
16 years ago
David Brooks 45ad82fda3 Merged revisions 228078 via svnmerge from
16 years ago
Jason Parker 5909d87926 Merged revisions 228079 via svnmerge from
16 years ago
Matthew Nicholson b3bd43366f Modify the SDP parsing code to parse session and media level items separately.
16 years ago
Joshua Colp 45f0f0cfef Merged revisions 227700 via svnmerge from
16 years ago
Jeff Peeler 562a18f533 fix trunk building
16 years ago
Tilghman Lesher 2bbda7a7c8 Two other trunk build fixes (reported by seanbright on #asterisk-dev)
16 years ago
Tilghman Lesher d8e0c58437 Expand codec bitfield from 32 bits to 64 bits.
16 years ago
Russell Bryant a0198fc3ee Resolve some dev-mode warnings.
16 years ago
Matthew Nicholson 4b69c3af69 Fixed a spelling error in the q850 reason header option in the output of sip show settings.
16 years ago
Tilghman Lesher b9ee743610 Code guidelines fixes only
16 years ago
David Vossel 8cd25fc043 user.conf entries in SIP were not having their peer type set.
16 years ago
Olle Johansson ede3699c6e Merged revisions 227088 via svnmerge from
16 years ago
Tilghman Lesher 66579d9d49 Add PacketCable NCS 1.0 support for Docsis/Eurodocsis networks
16 years ago
David Brooks 2c4d3b3168 SIP channel name uniqueness
16 years ago
Richard Mudgett 6406f39594 DAHDI ISDN channel names will not allow device state to work. (Interim solution.)
16 years ago
Matthew Nicholson 93e43578ec This patch adds support for a draft proposal for adding Q.850 reason headers to sip messages.
16 years ago
Richard Mudgett 7fbd314a88 Cleanup some flags on DAHDI PRI channel hangup.
16 years ago
Joshua Colp b9c370da86 Merged revisions 226531 via svnmerge from
16 years ago
Olle Johansson 64e8fb465b Doxygen documentation update
16 years ago
Joshua Colp 5825f68e8b Add support for receiving unsolicited MWI NOTIFY messages.
16 years ago
Kevin P. Fleming ea8b54fb9d Fix building in REF_DEBUG mode.
16 years ago
Jeff Peeler ec0a1882c9 ACL check not present for verifying SIP INVITEs
16 years ago
Richard Mudgett 71452322a2 Make conditionals create previous code when libpri/ss7 are present.
16 years ago
Tzafrir Cohen 2736168a6b span numbers in pri debug / error messages
16 years ago
Tzafrir Cohen e5a57959eb Re-arange code a bit to build in dev-mode without ss7
16 years ago
Tzafrir Cohen d36cecd578 Make chan_dahdi build even without PRI / SS7
16 years ago
Kevin P. Fleming fb0196fce6 Improve performance of pedantic mode dialog searching in chan_sip.
16 years ago
Richard Mudgett cff6d02b53 Add to chan_dahdi ISDN HOLD, Call deflection, and keypad facility support.
16 years ago
David Vossel 2208fb171b Fixes an iterator memory leak and uninitialized memory
16 years ago
Richard Mudgett 63473616da Search for the subaddress only within the extension section of the dial string.
16 years ago
David Vossel 776a14386a SIP TCP/TLS: move client connection setup/write into tcp helper thread, various related locking/memory fixes.
16 years ago
Richard Mudgett 1174a61612 Add support for calling and called subaddress. Partial support for COLP subaddress.
16 years ago
David Vossel 3acfd4933c Merged revisions 225243 via svnmerge from
16 years ago
Kevin P. Fleming 87ff40d3f3 Add 'mohsuggest' configuration option to 'sip show peer' CLI command and
16 years ago
Joshua Colp 01ab66275a Add support for specifying the IP address to use for media streams in sip.conf
16 years ago
Joshua Colp a31eb5bb35 Revert media_address commit, I'm going to roll a fix to the SDP generation in the next version.
16 years ago
David Vossel 984d6500ce Merged revisions 225032 via svnmerge from
16 years ago
Joshua Colp 28d0ec5421 Add support for specifying the IP address to use for media streams in sip.conf
16 years ago
Richard Mudgett c5b8e9af7c Make PRI_SUBCMD_xxx handling subaddress friendly.
16 years ago
Matthew Nicholson 26638d3a55 Add dynamic range compression support for analog channels.
16 years ago
Joshua Colp fd9f9ab01e Add a callback to sig_pri which is called when sig_pri is going to queue a control frame on a channel.
16 years ago
Jeff Peeler 03db5ef0e5 fix typo, sorry
16 years ago
Jeff Peeler 53a95d9c84 Merged revisions 224330 via svnmerge from
16 years ago
Richard Mudgett 64a32b3ad0 Merged revisions 224260 via svnmerge from
16 years ago
Jeff Peeler e3f473f4f3 Allow for adding message body to the SIP NOTIFY message
16 years ago
Kevin P. Fleming e197f85b8c Remove automatic switching from T.38 to voice mode in chan_sip.
16 years ago
Mark Michelson 9e1598b762 Check the proper page for the SENDRPID flag.
16 years ago
David Vossel fc27da108d Merged revisions 223205 via svnmerge from
16 years ago
David Vossel 0a50c512da 'auth=' did not parse md5 secret correctly
16 years ago
David Vossel b2a7eecd6e p->peerauth is always empty in transmit_register()
16 years ago
David Vossel 799e9962b6 fixed comment line for do_magic_pickup
16 years ago
David Vossel c0ee60419d Deadlock between ast_cel_report_event and ast_do_masquerade
16 years ago
David Vossel b764544641 makes externtcpport and externtlsport static variables
16 years ago
Richard Mudgett 890d500287 Merged revisions 222797 via svnmerge from
16 years ago
David Vossel 9456ab2724 Deadlock in channel masquerade handling
16 years ago
Richard Mudgett 49b90d5e61 Merged revisions 222691 via svnmerge from
16 years ago
Jeff Peeler 4ae6bee6da Change ringt (ring timeout) styles to be consistent across chan_dahdi.
16 years ago
David Vossel f819ce5b20 Merged revisions 222542 via svnmerge from
16 years ago
Jeff Peeler b5eb0449c0 Merged revisions 222462 via svnmerge from
16 years ago
David Vossel 1d40faebac contact header port ignored transport when using externip
16 years ago
Jeff Peeler f7fa417130 Fix 222298 (crash during destruction of second channel when variable set with
16 years ago
Jeff Peeler 0c7f4cfb85 Fix crash during destruction of second channel when variable set with setvar.
16 years ago
Tzafrir Cohen 0c3cd2ee45 Make sure digit events are not reported as "ERROR"
16 years ago
Kevin P. Fleming 1c9fe00920 Recorded merge of revisions 222152 via svnmerge from
16 years ago
Kevin P. Fleming 20743ec07d Allow non-compliant T.38 endpoints to be supportable via configuration option.
16 years ago
Jeff Peeler 10e8ee1746 Add a few missing events to analog_handle_event.
16 years ago
David Vossel 3cce68d329 Merged revisions 222026 via svnmerge from
16 years ago
Richard Mudgett 80f0a242a7 Whitespace change.
16 years ago
Richard Mudgett 1a02b4c659 Whitespace change.
16 years ago
Richard Mudgett 3b83d2b414 Merged revisions 221769 via svnmerge from
16 years ago
Tilghman Lesher c0a884ba29 Revision 220906 (a merge from 1.4) was not merged correctly, causing a problem with non-dynamic peers.
16 years ago
Richard Mudgett 9c05faf76d Prevent deadlock if chan_dahdi attempts to change PRI channel names.
16 years ago
David Vossel aaa7284c00 outbound tls connections were not defaulting to port 5061
16 years ago
Matthew Nicholson da169b2db4 Merged revisions 221588 via svnmerge from
16 years ago
Olle Johansson 73697dc2c7 Simplify code for porturi, use TRUE/FALSE constructs when it's just TRUE or FALSE.
16 years ago
Matthew Nicholson d043f52a2d Cleaned up merge from r221432
16 years ago
Matthew Nicholson a5eee590f4 Merged revisions 221360 via svnmerge from
16 years ago
Terry Wilson 10ce6cd757 Use rtp properties instead of adding a callback
16 years ago
Terry Wilson 865daf4858 Merged revisions 221086 via svnmerge from
16 years ago
Tilghman Lesher 6f5e763fe5 Merged revisions 220873 via svnmerge from
16 years ago
Richard Mudgett f3f456f8b6 Miscellaneous minor changes.
16 years ago
Jeff Peeler 05f94a05c2 Fix building of registration entry in build_peer when using callbackextension
16 years ago
Richard Mudgett 307bf124d2 Locking issues dealing with service_lock.
16 years ago
Richard Mudgett 146c352144 Reduce indentation in sig_pri_available().
16 years ago
Philippe Sultan b11b94a083 Add JABBER_RECEIVE as a dialplan function, implement SendText in Jingle channels
16 years ago
Matthew Nicholson 944b05d51a Ensure the numeric portion of the P-Asserted-Identity header is properly escaped.
16 years ago
Tilghman Lesher c68a2d9d30 Add support for 'setvar=' for MGCP device lines, like other channel drivers provide.
16 years ago
David Vossel 9329079bb4 Merged revisions 219720 via svnmerge from
16 years ago
Russell Bryant 5996ab0ee2 Merged revisions 219586 via svnmerge from
16 years ago
David Vossel 95be40493a Merged revisions 219519 via svnmerge from
16 years ago
David Vossel e85e39899f Merged revisions 219450 via svnmerge from
16 years ago
David Vossel 06782af238 fixes deadlock when performing directed pickup w Invite/replaces
16 years ago
Mark Michelson dc6f08e275 Merged revisions 219320 via svnmerge from
16 years ago
David Vossel 0284951e77 Merged revisions 219303 via svnmerge from
16 years ago
Joshua Colp 8a3f2fff91 Ensure no spaces exist before "refresher=" when doing the comparison.
16 years ago
Mark Michelson 19aeff195a Reverse order of args to fread.
16 years ago
Joshua Colp 5c52a7a746 On TCP and TLS connections do not attempt to stop retransmission of the packet internally.
16 years ago
David Vossel c373c8807e upward bound checking for port string to int conversion
16 years ago
Matthew Nicholson 6f6998fef7 Merged revisions 218578 via svnmerge from
16 years ago
Jeff Peeler 0d5e318cb2 Add some changes related to 218430.
16 years ago
Mark Michelson 15c7e6dea2 Use a better method of ensuring null-termination of the buffer
16 years ago
Mark Michelson 579919e831 Ensure that SDP read from TCP socket is null-terminated.
16 years ago
Mark Michelson b72f28ea01 Fix off-by-one error when reading SDP sent over TCP.
16 years ago
Tzafrir Cohen b64beef2f3 Fix false error message on DAHDI_EVENT_REMOVED (RESULT_SUCCESS == 0)
16 years ago
Jeff Peeler 843a724373 Merged revisions 218401 via svnmerge from
16 years ago
Richard Mudgett 6c39ebaa3e Add support for multiple interface lists.
16 years ago
Tzafrir Cohen adde72d7b1 gcc 4.4: Remove a nop memset size 0 that annoys gcc
16 years ago
Moises Silva 2aa112b4d7 get rid of mfcr2 monitor thread condition, is problematic
16 years ago
Jeff Peeler edb5e6efd9 Cleanup approach in 217804 and don't reach inside the sig_pvt.
16 years ago
Jeff Peeler 3a718192c6 Allow do not disturb to be set on analog channels via the CLI and AMI.
16 years ago
Tilghman Lesher 1b147b0094 Make calltoken support work with realtime users and peers.
16 years ago
Richard Mudgett 32352265c4 Cleaned up chan_dahdi iflist handling and locking.
16 years ago
Richard Mudgett 9a1215989f Miscellaneous minor changes.
16 years ago
David Vossel e716801ab2 Merged revisions 217806 via svnmerge from
16 years ago
Jeff Peeler f558f01a81 Fix crash during attended transfer over PRI.
16 years ago
Jeff Peeler 5561ba19aa Stop caller id transmission when offhook event detected.
16 years ago
Olle Johansson 58c4e9506a Don't assign UINT_MAX to an INT.
16 years ago
Olle Johansson c5b0e6e78e Include ActionID in all events that are responsed to AMI Action SIPShowRegistry
16 years ago
Richard Mudgett 98d156c5dd Fix available() for SS7, MFC/R2, and pseudo channels.
16 years ago
Moises Silva df7dd574fd ast_log replaced for ast_verbose in MFCR2 event notifications
16 years ago
Olle Johansson b6122d1a00 Don't report transfer success until we actually know. 1xx messages are not final.
16 years ago
Olle Johansson cc01708520 Not having any TLS session to write to is a serious XMIT_ERROR.
16 years ago
Olle Johansson b9b6639694 Formatting and doxygen updates
16 years ago
Richard Mudgett fd561e871f Fix memory leak of sig_xxx private structures.
16 years ago
Richard Mudgett 8562029476 Miscellaneous minor code cleanup in mkintf().
16 years ago
Richard Mudgett 175f609a9e Remove duplicate entry in the sig_pri_pri private pointer array.
16 years ago
David Vossel 7476991786 caller id number empty
16 years ago
Olle Johansson 730715337e Moving another function declared in the middle of forward declarations.
16 years ago
Olle Johansson dce193357f Move "deprecated_username" to a flag like the others - unsigned int blah:1
16 years ago
Olle Johansson 8e37e119f8 - Doxygen additions
16 years ago
Olle Johansson c55469da80 Clean up the "offered_media" code
16 years ago
Olle Johansson 42a4b05811 Make sure we reset global_exclude_static at channel reload
16 years ago
Olle Johansson b890815521 Move capability into sip_cfg. While at it, make sure we reset it at channel reload.
16 years ago
Olle Johansson 3b8cec9d32 Move global_regcontext into the sip_cfg structure
16 years ago
Olle Johansson 320b514b18 Move contact_ha to sip_cfg structure
16 years ago
Olle Johansson c20324021d Doxygen updates
16 years ago
Olle Johansson 11574bcfcf Since it's possible to have more than 999 calls, I'm changing the call counter roof to something higher.
16 years ago
Olle Johansson 246e0852a7 add doxygen and remove duplicate declaration of variable
16 years ago
Olle Johansson 2e1d7378be After many years, remove VOCAL_DATA_HACK definition
16 years ago
Olle Johansson 9c63a09344 Remove unneeded header files (tested on Linux and OS/X)
16 years ago
Olle Johansson 5afc513ae3 Don't send MESSAGE with sendtext() if recepient doesn't allow MESSAGE requests
16 years ago
Olle Johansson 008b7a4ab8 Add some doxygen
16 years ago
Olle Johansson e242e1b2ad Fix typo
16 years ago
Olle Johansson e1c711b7de If there is no session timer in the INVITE, set it to default value (not unset minimum = -1)
16 years ago
Olle Johansson 109cab6862 Simplify the code in this function
16 years ago
David Vossel 4596fdb788 sip peer matching by address only with TCP/TLS
16 years ago
Olle Johansson 98f18d56b8 Merged revisions 216430 via svnmerge from
16 years ago
Russell Bryant ca23afaf2d Do not treat every SIP peer as if they were configured with insecure=port.
16 years ago
Richard Mudgett c2930434f6 Lets try not to use C++ keywords for variable names.
16 years ago
Doug Bailey 8430c87faa Added detection DTMF CID without polarity change alert.
16 years ago
David Vossel d09f9fd00a Merge code associated with AST-2009-006
16 years ago
Olle Johansson 6d6ce303cb Add known internal IP address when autodomain=yes
16 years ago
Tilghman Lesher a6ba2b64b1 Default the callback extension to "s". This is a regression.
16 years ago
Terry Wilson f9816a6265 Merged revisions 215682 via svnmerge from
16 years ago
Richard Mudgett 595ab444af Made chan_dahdi able to ignore incoming calls that are not in a MSN list for ISDN PTMP CPE spans.
16 years ago
David Vossel a83cf36204 port string to int conversion using sscanf
16 years ago
Michiel van Baak 0a67bc6610 add Parkinglot info to sip show peer <foo> and skinny show line <foo>
16 years ago
Doug Bailey eff8dd9a2f Fix issue where DTMF CID detect was placing channels into signed linear mode
16 years ago
David Vossel 5537a4babe SIP uri parsing cleanup
16 years ago
Michiel van Baak d7f27e6705 like in chan_sip's sip_new skinny should copy the configured parkinglot from a line to the newly created channel.
16 years ago
David Vossel b5dc4efb58 SIP support for keep-alive event
16 years ago
Michiel van Baak 7e7081439a Honor configured parkinglot when parking and retrieving parked calls
16 years ago
Tilghman Lesher 2cfddf8cb6 Add MASTER_CHANNEL() dialplan function, as well as a useful usage.
16 years ago
Tilghman Lesher 4af7d0c949 Fix register such that lines with a transport string, but without an authuser, parse correctly.
16 years ago
Olle Johansson 8c56b871de Removing whitespace that causes red dots in reviewboard
16 years ago
Tilghman Lesher afe7034e19 Merged revisions 214940 via svnmerge from
16 years ago
Richard Mudgett f199054c88 Move discardremoteholdretrieval test so it applies only to the specific notification indicator values.
16 years ago
Tilghman Lesher 552b1aa17d Typo fix ("SIP/2.0 XXX" is 11 chars, not 10)
16 years ago
Moises Silva 3b1682bfe5 improve handling of openr2_chan_disconnect_call API failure, unlikely, but happened on openr2 library bug
16 years ago
Richard Mudgett 4ae5535d8f Update configure script for libpri COLP feature dependency requirements.
16 years ago
Tilghman Lesher c28fb2bf19 Clarifying comments in sip_register, and removing a dead section
16 years ago
David Vossel 06ff8023f5 Register request line contains wrong address when user domain and register host differ
16 years ago
David Vossel 1f81e544c0 fixes sip register parsing when user@domain is used
16 years ago