Commit Graph

1198 Commits (4926908616118008d93211738563cd55904257bf)

Author SHA1 Message Date
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
Jeremy McNamara e46d9edc98 Not needed here
22 years ago
Jeremy McNamara e88fdae17d ok, its waay too late
22 years ago
Jeremy McNamara b3d1d22317 WTF
22 years ago
Jeremy McNamara 3817133d4f stupid, stupid, stupid stupid stupid stupid
22 years ago
Jeremy McNamara 9c1844a927 Fix it so we can be unloaded/loaded at will
22 years ago
Jeremy McNamara 4a558d611b comment out getsipuri to stop compiler warning
22 years ago
Jeremy McNamara 226ec5bd25 via z9hG4bK issue. Bug #663
22 years ago
Jeremy McNamara 3340239733 fix copy/paste error
22 years ago
Jeremy McNamara c5dcbb9901 Implement NAT trick for outbound SIP connections
22 years ago
Jeremy McNamara 0f4379d111 Fix monitor thread issue.
22 years ago
Jeremy McNamara aa03b29d77 fix typo. Bug #813
22 years ago
Jeremy McNamara d4af3ee3b6 clean up sip debug output. Bug #674
22 years ago
Mark Spencer 7a39517c94 Add new sound, fix nit picky detail in channel registration
22 years ago
Jeremy McNamara c060d39cca clean up our mess on unload. Bug #799
22 years ago
Jeremy McNamara a39f993cd4 fix monitor thread issue, even though commented out
22 years ago
Martin Pycko 9e1bae7bad Fix a typo
22 years ago
Jeremy McNamara b103bfdb8b Give seperate config option for deprecated chan_iax. Bug #801
22 years ago
Jeremy McNamara e08cce6b6b fix monitor thread. Bug #726
22 years ago
Jeremy McNamara 92f261cf3b unregister cli functions and fix monitor thread. Bug #798
22 years ago
Mark Spencer 5520872def Add distinctive ring detection
22 years ago
Jeremy McNamara 00f8683fc0 update with explict versions I like
22 years ago
Jeremy McNamara b7e53c695f clean up debug
22 years ago
Jeremy McNamara f102ce6f26 Fix ast-db seeding. Bug #767
22 years ago
Jeremy McNamara 1e3bd03b92 More buffer overflow checks from Corydon76.
22 years ago
Jeremy McNamara 2eaddaca67 check buffer for possible overflow. Thanks Corydon76 Bug #788
22 years ago
Jeremy McNamara da6648f3c9 don't try to print out username before its copied
22 years ago
Mark Spencer ed72e0e169 Show who sends us bad packets
22 years ago
Mark Spencer 389d089ecc Implement missing function
22 years ago
Mark Spencer 459d19823e Locking changes for IAX2
22 years ago
Jeremy McNamara 6b6ff098eb clean up code and remove install directive in h323/ Makefile
22 years ago
Jeremy McNamara 3f0477868a clean up code and remove unnecessary debug
22 years ago
Mark Spencer 5bd726380c When rejecting a call, free up the channel (bug #661)
22 years ago
Mark Spencer 861ed9a339 Cleanup ACL parsing, handle properly reload on sip with ACL
22 years ago
Mark Spencer 0cd9e10d2d Reorder events in IAX, make "IAX1" compatibility
22 years ago
Mark Spencer 5a0ef67644 When poking a peer after registration, release lock temporarily
22 years ago
Jeremy McNamara 2d8a1765eb remove broken cli command, for now
22 years ago
Jeremy McNamara d3c388db9c make firmware version configurable per device
22 years ago
Jeremy McNamara 5fc7f417da don't try to unreg with gk, on reload, now
22 years ago
Malcolm Davenport d9de4806b0 Bug #765: Modifying Auto-Congestion to p->maxtime * 4 instead of * 2
22 years ago
Malcolm Davenport 12186e981c Bug #710: Format fix for "zap show channels"
22 years ago
Malcolm Davenport d86261dc2b Bug #736: Better checking to avoid chan_zap segfault re: ss_thread and zt_new()
22 years ago
Jeremy McNamara 9697652c0a re-do the monitor fix (check for io before killing ourself)
22 years ago
Jeremy McNamara c3b8ab76a5 add a couple cli commands (h.323 hangup <token> and H.323 show tokens) and clean up code
22 years ago
Jeremy McNamara 19b7e41fda nuke file descriptor leak..You don't need a whole new thread to hang up a friggen call
22 years ago
Jeremy McNamara d0a7e585d7 clean up file descriptor leak and check for io before thread cancellation
22 years ago
Mark Spencer 148edfcf26 Ignore signals in select, fix typo in last patch
22 years ago
Jeremy McNamara 8abff30849 totally revert that highly broken patch. Please test your code before submitting diffs.
22 years ago
Jeremy McNamara 91ef46755f comment out two lines from PCadach's patch, they blow things up.
22 years ago
Jeremy McNamara ecc015889c Apply massive patch from PCadach. If things are broken blame him. Bug#469
22 years ago
Jeremy McNamara ddf7bc57d3 clean up output on debug
22 years ago
Mark Spencer d3bf33f9aa Send date with invite
22 years ago
Mark Spencer ef6973087b Fix reload race in SIP
22 years ago
Martin Pycko 0ae915c0f6 Fix the passing of digital PRI-PRI
22 years ago
Martin Pycko f96c0762ff Allow doing digital PRI to PRI calls automatically
22 years ago
Jeremy McNamara 9e996ceef8 follow same naming scheme as other simular functions
22 years ago
Jeremy McNamara 83c63206c1 don't create another endpoint on a reload
22 years ago
Jeremy McNamara fd0c9f6c2d remove debug and switch printf's out
22 years ago
Jeremy McNamara a2418cd15d don't complain on type=h323 itself :)
22 years ago
Martin Pycko 40b77a4661 Move zaptrcallerid out of #define ZAPATA_PRI
22 years ago
Martin Pycko 60d1f9cf45 Change long variable name to the shorter one
22 years ago
Martin Pycko a41fc6bbf9 Add 'useincomingcalleridonzaptransfer' keyword to chan_zap so that if there is incoming call on fxs port and you flashhook and transfer that call (or do a threeway call) the incoming callerid will be presented.
22 years ago
Mark Spencer 8b557dfd30 Minor cleanup
22 years ago
Mark Spencer 6fb9ea4ea5 Fix qualify + register
22 years ago
Mark Spencer 1a603dd365 The SIP motto is "There's More Than One Standard for Doing It"
22 years ago
Mark Spencer 25ebd8de49 Properly fix double locking issue, fix wav49 issue
22 years ago
Martin Pycko 41d9f563a8 We really don't want to lock ourselves in zt_exception
22 years ago
Mark Spencer 1540cd05a9 Properly handle exceptions in zt_read
22 years ago
Jeremy McNamara c3b80c117f stomp on seg if no config file
22 years ago
Mark Spencer 5dd1310ac6 Get rid of old chan_zap_old
22 years ago
Mark Spencer 2f69b332d8 Cleanup unload calls
22 years ago
Mark Spencer 23cfe10d94 Don't retransmit INVITE on 407 retransmission
22 years ago
Mark Spencer 72e21db66a Minor sip fixes
22 years ago
Mark Spencer a5e6cf5003 Patch for improving unload on zap (thanks James)
22 years ago
Jeremy McNamara 2b30f6aa04 implement userbyalias. This will look to IP instead of H.323ID, if enabled Bug #251
22 years ago
Mark Spencer 1451a407ac Minor mgcp debuggin changes, sip deadlock improvement
22 years ago
Mark Spencer 0f2bdc6d0a Remove gratuitous race
22 years ago
Martin Pycko eab0dfc66b Provide a channel if PRI_EVENT_RING comes without a channel
22 years ago
Mark Spencer 9270beada5 Don't use dynamic mode when scanning all gateways
22 years ago
Mark Spencer 37f1885152 Quiet more authentication info if not enabled
22 years ago
Mark Spencer fac7eaffa9 Fix PGSQL voicemail issues (bug #625) and fix reload races in iax2
22 years ago
Mark Spencer da34cf8fd6 Add auth debug option
22 years ago
Martin Pycko bbbf123fcf Fix the ZapHangup, ZapDialOffhook, ZapTransfer manager commands
22 years ago
Jeremy McNamara 3d776a2da2 Update with current information
22 years ago
Jeremy McNamara 6b45687df2 add warning for keywords in type=h323 that make no sense
22 years ago
Mark Spencer 1740f71793 Don't don't show verbose 3 message when verbose not set
22 years ago
Mark Spencer 08c7c4be31 Don't retrain after each digit
22 years ago
Mark Spencer b3e9086d5d Really fix chan local races (I hope)
22 years ago
Mark Spencer f42b2aaeef Fix chanzap for p0, p1, etc
22 years ago
Mark Spencer 9ccfcb3d24 Properly build Contact on INVITE when asking for authentication
22 years ago
Mark Spencer efc61fe709 Temporarily revert changes, prepare for proper fix (sorry for the cvs spam)
22 years ago
Mark Spencer 7d74bcd7bc Always save the extension
22 years ago
Mark Spencer 37f33c4346 Build contact, don't copy it
22 years ago
Mark Spencer d4fe6cf255 Have a contact line in responses, merge logging patches
22 years ago
Mark Spencer 6a7ddeb222 limit fixes in SIP
22 years ago
Mark Spencer e45e601c35 Use global nat settings in auto peers
22 years ago
Mark Spencer f367a8bd33 Minor 407 improvements
22 years ago
Mark Spencer 3cfe7e6e25 Apply host access rules in SIP
22 years ago
Mark Spencer 55beaa4d47 Increment session version each time we send a new SDP
22 years ago
Mark Spencer 171b29fd4c Allow SIP/peer/exten like IAX
22 years ago
Mark Spencer 73b98c7500 Enable on hook transfer for vmwi
22 years ago