Commit Graph

1198 Commits (4926908616118008d93211738563cd55904257bf)

Author SHA1 Message Date
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
James Golovich 98533cbccc OpenBSD portability enhancements (bug 1002)
22 years ago
James Golovich 36a13f931a Make 'iax2 show users' print key if a key is used (bug 1253)
22 years ago
James Golovich e7f819bed1 Fix compile warning in chan_zap if libpri not installed
22 years ago
Anthony Minessale II 34e415222e * Patch to Makefiles to allow a script to query the make envirnoment.
22 years ago
Mark Spencer d8a6763be4 Add support for E1 E&M
22 years ago
Jeremy McNamara 2d232c4c57 Remove all capabilities first
22 years ago
Mark Spencer 97dd838cda Fix name properly
22 years ago
Mark Spencer 083d9c8039 Clean up timestamps on IAX2
22 years ago
Jeremy McNamara 5ebb0b8c15 Lets see if this way works to remove all capabilities from the list
22 years ago
Jeremy McNamara 64d509a931 back out lame attempt
22 years ago
Jeremy McNamara 9cb2272494 print out capability set, if h323debug is turned on
22 years ago
Jeremy McNamara d3f45d14b3 make sure capability set is clean before setting new value(s)
22 years ago
Mark Spencer e15b5a83d5 Lock on indication too
22 years ago
Mark Spencer d2019972f7 Revert earlier jcdutton ALSA improvements which are not disclaimed
22 years ago
Mark Spencer 43d7359221 Don't check PRI settings unless there is PRI
22 years ago
Mark Spencer 639438836b Don't take digits in-band when in overlap dial mode
22 years ago
James Golovich e9c65d0c08 Hopefully the last round of removing needlock stuff
22 years ago
James Golovich 1b2dc7ef75 Remove more needlock stuff
22 years ago
Ben Kramer 61ff225f1d updated to work with change by markster: Get rid of all that old needlock garbage now that we're using recursive mutexes
22 years ago
James Golovich 0b2a9dc297 Remove extra argument from ast_set_*_format calls
22 years ago
Mark Spencer 42034844dc First pass at fixing chan_alsa
22 years ago
Mark Spencer d45addcc7a Fix compile warning
22 years ago
Mark Spencer 6938bb6109 fix chan_oss for revised queue structure.
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 a1ffc320e4 Don't say we're unable to find the channel if we're able to find it.
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 d3bcf405c2 Small IAX fixes
22 years ago
Mark Spencer 426bf55df2 Print actual hook state in chan_zap
22 years ago
Mark Spencer 1bbf0d2cf6 Bump branch id on INVITE with auth (bug #1313)
22 years ago
Jeremy McNamara 528c513602 swap out printf's for ast_verbose
22 years ago
Jeremy McNamara 70dfab8be0 on outbound calls make sure we use requested codec
22 years ago
Ben Kramer 09e0fc2074 / implemented basic group'ing, as per chan_zap
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
Mark Spencer 94279f00c1 Various video fixes (bug #688)
22 years ago
Mark Spencer 9c7ffa265e Fix small SIP issue with SER (bug #1181)
22 years ago
Mark Spencer 9cc3adbdd9 Clear out delivery fields just in case
22 years ago
Mark Spencer d42f7886ab Merge changes from jcdutton (thanks!)
22 years ago
Mark Spencer 52f13283ea Make chan_zap allocate a comfortable amount of space for VMWI
22 years ago
Mark Spencer 7ae1d61120 Provide more useful debugging on retries and scheddestroy()
22 years ago
Mark Spencer cdb1b1dba3 Merge Mike's updates for agent CDR updates
22 years ago
Mark Spencer b285cd40b2 Keep REGISTER dialog open a little longer in case they don't get our 200 OK right away...
22 years ago
Mark Spencer 3415434e04 When going to in-band, be sure to allocate DSP (bug #1336)
22 years ago
Mark Spencer a925c1b306 Update security document, work on threading with pbx.c and small SIP fixes
22 years ago
Mark Spencer 1d53342b18 Expand SIP opaque buffers, prefer recursive to "error checking" mutexes...
22 years ago
Ben Kramer 1e87c2aa48 / added a note to top of file to have patches sent to support@voicetronix.com.au
22 years ago
Mark Spencer 71e80e5f62 Leave retry time alone, handle "opaque" stuff in message.
22 years ago
Ben Kramer 8b5bbe4673 / commit of a great deal of changes
22 years ago
Mark Spencer 8dec8d3632 Fix progzone loader
22 years ago
Mark Spencer 3e9c337946 Small SIP fix, voicemail fix, and some delivery fixes on new apps
22 years ago
Mark Spencer dbbf64fdd4 Attempt at incrementing branch (or changing it) at the right places (bug #1313)
22 years ago
Mark Spencer 1ccab64d86 Add support for Costa Rica to DSP
22 years ago
Mark Spencer 4b234476bb Merge more Sentito contributions (thanks serkan)
22 years ago
James Golovich 6ce8fc0b15 More read/write lock fixes in various modules
22 years ago
Mark Spencer eeb2ca5b26 Make read/write mode have a lock parameter and use it properly.
22 years ago
James Golovich a222dbe8c7 Make chan_vpb.c detect austel busy (bug 545)
22 years ago
James Golovich 82bf2663e3 Tiny optimization in chan_iax2.c that the compiler would
22 years ago
Mark Spencer 638684636c Make sure calculation of time is always > 0...
22 years ago
Malcolm Davenport efd7427f33 Bug # 1108: chan_alsa fixes
22 years ago
Mark Spencer b43c1f054b Allow expiration of several messages to be non-fatal.
22 years ago
James Golovich f8b04c4bb6 *** empty log message ***
22 years ago
James Golovich 359430871f Check to make sure opendir works in chan_iax2.c (bug 1283)
22 years ago
Mark Spencer 747a18f65d It's okay to send RINGING > 1 time, and don't try to send it in-band
22 years ago
Mark Spencer b5d452b1c7 Minor SIP cleanups for valgrind, finally close the coffin on IAX1 and take it ou
22 years ago
Mark Spencer b46d67e301 Unlock the owner when we're done (duh!)
22 years ago
Mark Spencer 3107d6d03b Hold owner lock when changing codecs
22 years ago
Mark Spencer 67af82457e Fix locks that are held too long
22 years ago
Mark Spencer b19cb95257 Fix superfluous return NULL
22 years ago
Mark Spencer c1c704c042 Fix mysql friends by type
22 years ago
Mark Spencer 3f5277d57b Don't reconstruct authentication information on retransmissions.
22 years ago
James Golovich a8bbe997d2 Fix some small typos in comments
22 years ago
Jeremy McNamara 68e767078f re-apply possible CCM fix. Someone still needs to test this
22 years ago
Jeremy McNamara ff9621e279 rollback e.164 and prefix routing attempted fix
22 years ago
Jeremy McNamara de20d2a179 rollback everything to known good state. E.164 and prefix routing patches are broken
22 years ago
Jeremy McNamara 6fb5ebfedb try to work around CCM interop, UNTESTED! Someone with a CCM needs to test this
22 years ago
Jeremy McNamara 7132570353 Change 'show locals' into 'local show channels' to follow other channel methods. Bug #1255
22 years ago
Mark Spencer af6016cfd0 Add experimental nbscat application
22 years ago
Mark Spencer 7192fbfae7 Round offset timestamps to nearest 20ms to clean up numbers.
22 years ago
Mark Spencer c36ec4f9d7 Major MGCP enhancements (*very* big thank you to serkan and Sentito) (bug #1114)
22 years ago
Mark Spencer 785ac43c84 Just to be on the safe side, don't update timestamps against anything but voice packets.
22 years ago
Mark Spencer 7075b58ee1 Don't use hard timestamps for non-voice frames.
22 years ago
Mark Spencer a386f01a7c Favor requested codec whenever possible (pass #1)
22 years ago
Mark Spencer 8c232e1dbb Populate DNID for SIP
22 years ago
Jeremy McNamara d3b2cb19e4 Properly deal with E.164 and Prefix routing
22 years ago
Mark Spencer e7ecf6accb Populated RDNIS
22 years ago
Mark Spencer bf5d593e71 Fix parser
22 years ago
Mark Spencer 29b7818ebf Fix timestamp to always be unsigned
22 years ago
Mark Spencer 726d3cba43 Answer the line when hangup received and callwait is up
22 years ago
Mark Spencer b690dc13aa Fix timestamp delivery calculation in IAX... Still might be some mess left...
22 years ago
Malcolm Davenport b0d28cedf7 Bug # 1116. CallerID number not hidden when RestrictCID is on, Fixed
22 years ago
Mark Spencer b3f94c4c00 Fix small typo
22 years ago
Malcolm Davenport 0753ca66ab Bug #1222: Fixed
22 years ago
James Golovich 9223055df1 Fixup some pthread_t checking in channels
22 years ago
James Golovich 0e90480d6b Fix bug 1217. Change pthread_t initializers to AST_PTHREADT_NULL and
22 years ago
James Golovich c30ff0935d Add 'pri show span <spanno>' command to chan_zap.c
22 years ago
Malcolm Davenport 89c55fe46c Bug #1213. Fix for improperly specified Content-Length header
22 years ago
Mark Spencer 0852f5a930 Preserve IAX timestamps
22 years ago
Mark Spencer ea92b714f2 Turn off silence suppression in SDP
22 years ago
Mark Spencer afab3c4151 Fix a martin segfault
22 years ago
Mark Spencer f12928f700 Make sure no path leaves channel lock locked
22 years ago
James Golovich 6741234ec9 Make sure usedistinctivering gets set to the right value
22 years ago
James Golovich 18b3da6bab Wipe out p->exten in zt_hangup (bug 1115)
22 years ago
James Golovich fac46c078a Make distinctiveringdetection configurable per channel (bug 1168)
22 years ago
James Golovich d298a73aab Fix chan_iax2 compiling with MYSQL_FRIENDS
22 years ago
James Golovich 6f0d8022d1 Make mess more informative if non-dynamic sip user registers (bug 1186)
22 years ago
James Golovich 0d5dcf7358 Fix typo in chan_zap.c
22 years ago
James Golovich f2b52d46d0 Make sure chan_iax.c and chan_iax2.c know the size of G726 frames
22 years ago
Mark Spencer e42e998f76 Expand our definition of 3XX responses
22 years ago
James Golovich 82a2a8b7eb Fix pri->pvt[chan]->owner dereference (bug #1161)
22 years ago
James Golovich 359160d8a1 Change tormenta.conf to zaptel.conf
22 years ago
Mark Spencer a1d8701369 Formatting fixup
22 years ago
Mark Spencer b4ea3725da Set the context properly for a given peer
22 years ago
Jeremy McNamara 657056b114 clean up warning
22 years ago
Jeremy McNamara 16d9e65b32 check to see if sub->rtp is allocated. Bug #1040
22 years ago
Jeremy McNamara 9e21bc74ac check return value stop seg. Bug #967
22 years ago
Jeremy McNamara 1f691912e1 deal with bindaddr properly
22 years ago
Jeremy McNamara bff0a94507 deal with bindaddr properly
22 years ago
Mark Spencer 806bb3c63f Add support for parking with IAX2
22 years ago
James Golovich e67f8a50f9 Make PRI span completion only show spans that actually are PRIs
22 years ago
Mark Spencer b82aa22442 Process SDP on 183 session progress (bug #930)
22 years ago
Mark Spencer a9d042db2c Handle video codecs properly
22 years ago
Mark Spencer 6a73e70663 Make iax2 compile on *BSD
22 years ago
James Golovich 96abbad91d Add missing include to chan_iax2.c
22 years ago
Malcolm Davenport 6023b736d9 Bug # 1052 Got it this time..I'm sure of it ;)
22 years ago
Mark Spencer 066212158e Add IAX2 firmware upgrade support
22 years ago
Malcolm Davenport 23eaf5c442 Fix Bug # 935 and Bug # 1052
22 years ago
Mark Spencer 1f33e8b807 Optimization in pri_fixup
22 years ago
Mark Spencer d1cb6a3aa9 Merge Tilghman's and Cam's user defined cadence patch
22 years ago
Mark Spencer e08247218e Small but important fix for channel relocation (bug #54)
22 years ago
Mark Spencer 90594b5fc8 Properly lock slave and master in zt_unlink (bug #1008)
22 years ago
Mark Spencer 6724dd1597 Improve SIP friends support (should address bugs #1063 & #1052)
22 years ago
James Golovich 48496a930c Fix another spelling typo in chan_sip.c (bug #1059)
22 years ago
James Golovich 43e312bd62 Fix spelling typo in chan_sip.c (bug #1059)
22 years ago
Mark Spencer 89c76a80f2 Minor file.c cleanup for valgrind, log PRI event properly
22 years ago
Mark Spencer f285c61830 Cleanups to recent changes
22 years ago
Mark Spencer cc894e6100 Use call numbers instead of pointers in IAX2
22 years ago
Jim Dixon df987c2086 Added support for specifing Zaptel tonezone on a per-channel basis for
22 years ago
James Golovich 7907a37002 Fix typo in chan_sip.c (bug #1037)
22 years ago
Mark Spencer 2a31c91136 Add logging of agent login/logoff
22 years ago
Martin Pycko f49d75994e Fix recording the agent's calls by default
22 years ago
Mark Spencer 98391c1324 Free mysql results
22 years ago
Mark Spencer bac2215fb6 Fix several memory leaks
22 years ago
Mark Spencer 7cdb6d36f4 Fix a couple of memory leaks
22 years ago
Martin Pycko 2671e3d9bb Fix some minor errors: when logging off using AgentCallbackLogin don't put again the global *AGENTID* variable. Remove the '.' from the link that is put in the userfiled of CDR record
22 years ago
Jim Dixon 29571cfcb1 Fixed bug in FXOGS. Was not closing loop after starting.
22 years ago
Mark Spencer 077975cba7 Fix memory leak with SIP friends (bug #1010)
22 years ago
Mark Spencer e1df8c9082 Properly fully URL decode the REPLACES in SIP and also watch for edge condition (bug #1015)
22 years ago
Mark Spencer 02f99cb631 Omit PRI layer 1 information for data call (need updated libpri too) (bug #1012)
22 years ago
Mark Spencer ae4adad5c4 Insert blank after REFER (bug #997)
22 years ago
Mark Spencer cf4825233d Don't free private structure until iax2_hangup is actually called
22 years ago
Martin Pycko ba3b53d64a Add AgentMonitorOutgoing application to allow recording of outgoing calls made by the interface that is registered as an callback agent. Refer to "show application AgentMonitorOutput" for more info.
22 years ago
Martin Pycko 860f35a7ab Add recording agent's calls patch. Basically the call starts recording when the agent picks up and the file is stamped with the agent's id and the timestamp. Also optionally a URL link to that file may be inserted in the userfield of the CDR record. By default the recorded file will be mixed if soxmix is available.
22 years ago
Mark Spencer 694058ccb1 Implement REGREL in IAX2
22 years ago
Mark Spencer 1a225306f8 Don't get stuck in loop
22 years ago
Mark Spencer 2c9585e9f6 Force SIP reload to happen in network thread only
22 years ago
Mark Spencer bc06fe3b51 Fix small typos
22 years ago
Mark Spencer 5bb289262e Centralize all sip registration around a single lock
22 years ago
Mark Spencer 8c339b9d63 Perform proper locking on registration on SIP
22 years ago
Mark Spencer 904027f25f Release the call when freeing a registry
22 years ago
Mark Spencer 9c2f131b66 NetBSD portability enhancements (bug #969)
22 years ago
Mark Spencer e2dddf3532 Use better flags when starting MGCP threads (bug #598)
22 years ago
Mark Spencer 12934e17e6 If unregistered, don't consider it valid (bug #956)
22 years ago
Mark Spencer 87f28fa6dd Add "iaxcompat" option to allow nested switch statements, still might fail if you have an IAX call going to something with a switch...
22 years ago
Mark Spencer 83344af1c2 Fix add include (bug #966) and small update to bug 890
22 years ago
Mark Spencer 48748b8f9a Handle cause in DISCONNECT too
22 years ago
Mark Spencer c33c9283f1 Send busy when busy, congestion when congestion on PRI (bug #890)
22 years ago
Mark Spencer 32e131862d Elminate unused code/warnings (bug #934)
22 years ago
Mark Spencer aa4f316c14 Clarify iax foo to iax1 foo in chan_iax (bug #924)
22 years ago
Mark Spencer 80f23eb97d Don't send VMWI when we're not registered
22 years ago
Mark Spencer e7f46a4251 Seriously fix echo cancellation on inbound calls with FXO interfaces (and enable echo training on them)
22 years ago
Mark Spencer 662e7238ef Send 481 if call leg does not exist on CANCEL, and send 487 before 200 as per rfc3261 (bug #917)
22 years ago
Jeremy McNamara 8face6c67c Add even more explicit information. Take 2
22 years ago
Jeremy McNamara f2bb840936 Add even more explicit information
22 years ago
Mark Spencer 785da17231 Properly handle transfer of application (bug #911)
22 years ago
Mark Spencer a9b3a77cda Fix default to not use iax friends
22 years ago
Mark Spencer 1499f1e480 Create individual sip reload command (bug #880)
22 years ago
Mark Spencer 8abe6ccb64 Merge SIP/MySQL friends patch
22 years ago
Jim Dixon a7154d73fe Added functionality for E911 signalling
22 years ago
Mark Spencer 94da5ac1e8 Fix unload/load of chan_zap
22 years ago
Jeremy McNamara 508cb3d34a Change IAXPeers to IAX1Peers. Bug #838
22 years ago
Jeremy McNamara a4cc03ffd9 clean up output and print that we are unregistering a channel type
22 years ago
Jeremy McNamara 8fb24677a4 last try
22 years ago
Jeremy McNamara 337d7f6884 bed time
22 years ago
Jeremy McNamara 54478c3a0a h.323 gk cycle is still broken on -r
22 years ago
Jeremy McNamara 00fff0dbc1 renable h.323 gk cycle, fixed
22 years ago