Commit Graph

1045 Commits (3534419f142f8b1a23f26aa901990bada3c9cdb6)

Author SHA1 Message Date
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
Jeremy McNamara d547cbee4e add stop media transmission message
22 years ago
Mark Spencer bfb27d0836 Make CALLTYPE available
22 years ago
Martin Pycko dc17a4c1c8 Don't crash if ZapHangup, ZapTransfer, ZapDialOffhook are used on the channel that is onhook (idle)
22 years ago
Mark Spencer 669e957291 Delete on unregister (bug #527)
22 years ago
Jeremy McNamara e09ed4f612 Update with current information
22 years ago
Jeremy McNamara 54ae8fcd9e apply G.729 patches (with changes) from bug #421
22 years ago
Martin Pycko a16e5d577c Fix segfault if more than 32 channels are used because of round_robin[x] = p;
22 years ago
Mark Spencer 626d85b1bd More VPB updates from Paul
22 years ago
Martin Pycko e30e685ee1 We have to hangup the bridge not continue on AbsoluteTimeout
22 years ago
Martin Pycko bb2bb1d083 Fix the AbsoluteTimeout issue with IAX/IAX2 when in native mode
22 years ago
Mark Spencer e406f72564 Add date/time to IAX2 register
22 years ago
Martin Pycko e3b0a66805 Don't do reinvite if both parties talk diffrent codecs
22 years ago
Martin Pycko 6f9da41a6c Do the last thing the right way (thanks Mark)
22 years ago
Martin Pycko 2850b4962f Don't allow to run SIPDtmfMode on other channels than SIP ones.
22 years ago
Martin Pycko 265d0a060c A little oops ...
22 years ago
Mark Spencer 6f6ff1a673 Don't try to expire if there is no expirey
22 years ago
Martin Pycko e7626bb3ce Fix deadlock in iax
22 years ago
Mark Spencer f6c230ebcb Minor alsa fix
22 years ago
Mark Spencer 9d244cb4ce Don't reconnect db on reload unless there was a failure
22 years ago
Mark Spencer c71d9d53ff Update so that "users" are implemented as well
22 years ago
Mark Spencer 08b0a2e4e2 Start on mysql_user, move to misery
22 years ago
Mark Spencer 484e1fae4e Tone/indications issue
22 years ago
Mark Spencer 4195115d60 Fix typo
22 years ago
Mark Spencer d21c6b7c13 Properly decode strings in REPLACES and ignore leading whitespace
22 years ago
Mark Spencer 38ea72559b Backport to iax
22 years ago
Martin Pycko 9d2c55e62a Fix SIP_CODEC support
22 years ago
Mark Spencer 6955b7cda1 Preliminary support for iax2 friends in mysql database
22 years ago
Mark Spencer a2303e3d0f Don't reinvite if we got a refer
22 years ago
Martin Pycko 5865f43a79 Implement several manager commands for Zap channels: ZapTransfer (flash hook), ZapHangup, ZapDial
22 years ago
Mark Spencer 027d5bbf30 Add ${SIPDOMAIN} and "dynamic peer" mode
22 years ago
Mark Spencer 9175d0a1ee If somehow we don't have an answer, set need to destroy on CANCEL
22 years ago
Mark Spencer b0f482d9b3 Handle 401 for INVITE as well (should we add support for BYE too?)
22 years ago
Mark Spencer 81339d3c3c Trustingly add Thorston's deadlock patch
22 years ago
Martin Pycko 6cd4d3c008 Add round robin to chan_zap with use of Zap/r<number>/<exten> (ascending) or Zap/R<number>/<exten> (descending).
22 years ago
Jeremy McNamara 994d37c441 Fix directons below. Thanks xam
22 years ago
Mark Spencer b5ec8ef1d9 Train echo canceller on FXO before last digit
22 years ago
Martin Pycko 019d707dc2 Add PRI_CAUSE feature for PRI ... If you set PRI_CAUSE=17 with SetVar and then call Hangup app the PRI will disconnect with this cause (it overrides the cause sent if we get it from incoming call)
22 years ago
Mark Spencer e255fe1685 Turn off music on hold when doing *0
22 years ago
Mark Spencer 1e95c3a4ac Remove really broke MP3 stuff in favor of G.726 in the near future
22 years ago
Martin Pycko 0c5ee9486b Make SIP_CODEC warn about not supported/not configured codec
22 years ago
Jeremy McNamara ec8d4cfdcc remove the nasty warning, cuz some have gotten newer versions to work
22 years ago
Martin Pycko da93b54687 Add externip keyword so that it's possible to use asterisk behind a NAT through port forwarding
22 years ago
Mark Spencer 251e70953e Use echo training of FXS (fxo signalled) interfaces... rest to follow
22 years ago
Mark Spencer 4ce283ff18 Make it build and run on MacOS X
22 years ago
Mark Spencer bc7b8ef41e Make HANGUPCAUSE accessible
22 years ago
Mark Spencer 77003fea94 Fix *8# magically (bug #116)
22 years ago
Mark Spencer b5bcecce5d Add DESTDIR support (bug #200)
22 years ago
Mark Spencer c6569f5177 Check that there really is a tag
22 years ago
Mark Spencer 37ff334508 Set joint capability as well when checking users
22 years ago
Mark Spencer 67d2608db9 Handle capability on inbound too
22 years ago
Mark Spencer a1fe10de33 Add language supporrt for SIP (bug #411)
22 years ago
Mark Spencer 85bf34eb5e SUpport gains on outbound calls
22 years ago
Mark Spencer 8ea87da749 Make getaddrfor work with openbsd (bug #415)
22 years ago
Mark Spencer 524c10a4c5 Fix compile warnings (bug #389)
22 years ago
Mark Spencer 5e25770a83 Okay, '*' and '#' are still okay in INFO messages
22 years ago
Thorsten lockert de28fa60cf make chan_h323 not load if no config file is found
22 years ago
Mark Spencer bc69cfe5a4 Minor typo fix
22 years ago
Mark Spencer c0d8f10a42 FreeBSD patch, take 2
22 years ago
Martin Pycko 13b7b73b08 Revert the previous patch since it's braking compilation
22 years ago
Mark Spencer d5b54e4b7f Sane FreeBSD patch
22 years ago
Martin Pycko f59f259586 In the SIP -> SIP if the called party disconnects with 486 make sure that the calling party gets 486 also
22 years ago
Mark Spencer a32f02162b Actually add md5secret option to CVS (bug #288)
22 years ago
Mark Spencer 2bf8b38383 Properly handle events during reads
22 years ago
Mark Spencer c8a93d08eb Properly strip "from" line
22 years ago
Mark Spencer 1682b2ced8 Strip "sip:" from callerid
22 years ago
Mark Spencer 4966cfa119 Fix typo
22 years ago
Mark Spencer f537e2e0ec Consider "from" when getting destination (bug #368)
22 years ago
Mark Spencer 1b19a2b1de Callerid fix and warning cleanup (bug #367 & #356)
22 years ago
Mark Spencer ea4aeb0c67 Handle without context
22 years ago
Mark Spencer 55637d3de5 Add "n" option to allow disabling of masq optimization
22 years ago
Mark Spencer ceb8d1ccb8 Switch back to DTMF at the appropriate time
22 years ago
Mark Spencer dd96bea16c Fix typo in CVS
22 years ago
Mark Spencer 9efec3dff4 Detect 100 as valid DTMF too
22 years ago
Mark Spencer 1343c2638c Increase sizes in SIP (bug #352)
22 years ago
Mark Spencer d79518ec0e Set acknowledged seqno to 0 on transfer
22 years ago
Mark Spencer 357e60ffdc Don't assume we acked when handling transfer
22 years ago
Mark Spencer e4b8d32001 Make sip show channel display a given callid when only partly specified
22 years ago
Mark Spencer 3b49a87972 Update IAX2 parser for sending caller info
22 years ago
Martin Pycko c0dde4ac5b Add 486 message (SIP) to 17 cause (PRI) translation when you call Dial app and then Hangup:
22 years ago
Martin Pycko cacfd42960 Add usecallingpres keyword to zapata.conf for PRI to PRI call so that we would take the presentation mode and send it to outbound call.
22 years ago
Mark Spencer 9e68716e0e Check registry carefully before unlinking
22 years ago
Mark Spencer d3e0c54f7d Fix leaking sip channels
22 years ago
Mark Spencer 80f05b38b0 Fix SIP for outbound too
22 years ago
Mark Spencer 694d3435e1 Add sayunixtime, chan_sip updates for codec negotiation
22 years ago
Mark Spencer 7db0e60486 Minor IAX enhancments to support MusicOnHold
22 years ago
Jeremy McNamara 19ef8e56ef lets try just a empty speed dial, for real this time
22 years ago
Jeremy McNamara 740e8469da lets try just a empty speed dial
22 years ago
Jeremy McNamara 3bbf429ac0 remove speedial setting, for now
22 years ago
Mark Spencer b9643771af Destroy channels on BYE when no owner is present
22 years ago
Mark Spencer 229f4abf93 Change strdupa's to ast_strupda's
22 years ago
Jeremy McNamara 0bf4bf3f54 remove old debug
22 years ago
Jeremy McNamara 7bf42218fe try to enable indications
22 years ago
Jeremy McNamara f6c0dd8c4d anonyance fix, per tholo
22 years ago
Mark Spencer 55e664cb00 Fix various compiler warnings (bug #322)
22 years ago
Mark Spencer eca42807c3 Fix counter in SIP (bug #291)
22 years ago
Jeremy McNamara 41cafc5042 anonyance fixes, per tholo :)
22 years ago
Mark Spencer 02fa2dab28 Initialize extension
22 years ago
Martin Pycko c514e681e7 Fix last typo
22 years ago
Martin Pycko be64ea63b1 Don't do callprogress on incoming calls -> that used to put that call in a wierd state 6 and the call is not answered.
22 years ago
Mark Spencer 83e9734908 Fix capability lookup failure
22 years ago
Jeremy McNamara 9a49c07cf3 change default codecs
22 years ago
Mark Spencer 273e1b07d6 Keep voicemail from segging on a permissions problem (bug #245)
22 years ago
Mark Spencer 403f27e5b9 Bring into full TBR4 compliance
22 years ago
Jeremy McNamara b54c5c7561 don't deal with gatekeeper on reload, known issue..someone fix
22 years ago
Jeremy McNamara 29d2a6d9d2 oopsie remove it from here too
22 years ago
Jeremy McNamara a83662beda rollback transfer support...not properly implemented
22 years ago
Martin Pycko 0644267b41 Allow detection of callerid on FXO with distinctive ring
22 years ago
Mark Spencer 90f6d836ee Fix deadlock pointed to by Martin
22 years ago
Mark Spencer 233591ddc5 DTMF enhancements
22 years ago
Jeremy McNamara 79ecd05a02 don't die if skinny cannot figure out hostname
22 years ago
Jeremy McNamara 6be8c6b6bf minor code fixes
22 years ago
Mark Spencer d6f33f273d Don't die if no skinny config
22 years ago
Jeremy McNamara 26fdbec56f remove debug, it's Miller time\!
22 years ago
Jeremy McNamara 02222bc6c1 stomp on seg fault if a call is attempted and the skinny device is not registered
22 years ago
Jeremy McNamara c3174c0319 fix never ending ringing
22 years ago
Jeremy McNamara c165196f71 pull out reloading, for now, causes segs
22 years ago
Jeremy McNamara d28bc810a3 make tcp socket resuable. Bug #262
22 years ago
Jeremy McNamara d6ba77a74b implement reload
22 years ago
Mark Spencer b745ba8380 Merge sending complete patch with no number (bug #176)
22 years ago
Jeremy McNamara c1c5fcd426 many bug fixes and inbound calling: SKINNY/line@device
22 years ago
Mark Spencer c511b967ed Outgoing limit updates (bug #98)
22 years ago
Mark Spencer faeb2e28f2 Add extended Matching functionality (bug #97)
22 years ago
Jeremy McNamara 86278dfb1f clean up code and output d->addr properly
22 years ago
Martin Pycko 3bd044c236 Fix a tiny thing
22 years ago
Martin Pycko 4828759ab8 Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always save CDR record (even if the call fails). If the call fails try to see if there is
22 years ago
Mark Spencer 3672619e13 Don't die if no config file
22 years ago
Martin Pycko 78ef0d0ebe Add SIPDtmfMode application
22 years ago
Jeremy McNamara 884381d54d add chan_skinny.so
22 years ago
Jeremy McNamara 08079c6863 initial import of skinny, more coming soon
22 years ago
Jeremy McNamara c874416036 update for the lamers...only if they would acutally read it
22 years ago
Mark Spencer 76b99bb025 Fix typo
22 years ago
Mark Spencer 979dc97f36 Fix "potential" deadlock and make not-a-deadlock
22 years ago
Mark Spencer 479a67e629 BSD portability enhancements (bug #234)
22 years ago
Mark Spencer 328897248a Copy context properly
22 years ago
Jeremy McNamara 059b57438b implement transfer and call forwarding. Bug #221
22 years ago
Mark Spencer ebae0a11be When taking a masqed call, be sure to mark it as acknowledged
22 years ago
Mark Spencer d488a8c522 Be sure we have the agent lock
22 years ago
Martin Pycko 6e8a074912 Add restrictcid=[yes|no] for chan_zap and chan_sip. You can specify if the sip/zap users will have the callerid transmitted as ANI or CALLERID.
22 years ago
Mark Spencer c80158ce30 Add Zap dnid support
22 years ago
Mark Spencer 687a0e76b5 Take URI from responses (bug #215)
22 years ago
Mark Spencer bb0fba0974 Re-poke all peers on a reload (bug #216)
22 years ago
Mark Spencer 9c12f6b550 Base ackcall on newly available agent, not the pending one
22 years ago
Mark Spencer 52c2755347 Allow codecs to be specified on a per-peer and per-user basis
22 years ago
Mark Spencer f12366ffc7 Finish provisioning placeholder
22 years ago
Mark Spencer 6d3f2dbae3 Add placeholder for provisioning info
22 years ago
Mark Spencer d855c2855a Send "PROGRESS" when DIAL is accepted
22 years ago
Jeremy McNamara a44c2e4636 fix seg fault due to the use of wrong pointer
22 years ago
Mark Spencer b12730866a Unlock our lock while we try to find the extension
22 years ago
Mark Spencer 0faa3c1baf Support ANI
22 years ago
Mark Spencer 79a5692764 Increase minimum retry time
22 years ago
Mark Spencer 2fbf9c9e16 Don't send until we're up
22 years ago
Mark Spencer c6d42e9779 Minor makefile fix
22 years ago
Mark Spencer 77a6aa9327 We have to release app_lock even if there is no channel logged in anymore
22 years ago