aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-07-17Merged revisions 277568 via svnmerge from tilghman5-49/+202
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277568 | tilghman | 2010-07-16 16:54:29 -0500 (Fri, 16 Jul 2010) | 8 lines Since we split values at the semicolon, we should store values with a semicolon as an encoded value. (closes issue #17369) Reported by: gkservice Patches: 20100625__issue17369.diff.txt uploaded by tilghman (license 14) Tested by: tilghman ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277773 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-17Allow xmllint to be used for XML docs validation.russell5-30900/+7578
xmllint seems to be more commonly available since it comes with libxml2. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277703 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-17Update res_fax.c to be a good xml citizen.snuffy1-57/+137
(closes issues #17667) Reported by: snuffy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277667 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Merged revisions 277625 via svnmerge from tringenbach1-0/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277625 | tringenbach | 2010-07-16 17:43:39 -0500 (Fri, 16 Jul 2010) | 9 lines Save and restore AST_FLAG_BRIDGE_HANGUP_DONT on attended transfer. ast_bridge_call() clears AST_FLAG_BRIDGE_HANGUP_DONT. But during an attended transfer, ast_bridge_call() is called for a second bridge on the same channel, and it clears that flag, which still needs to get set for when the original ast_bridge_call() gets control back and checks it. Review: https://reviewboard.asterisk.org/r/741 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277657 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Merged revisions 277497 via svnmerge from mnicholson1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277497 | mnicholson | 2010-07-16 16:18:38 -0500 (Fri, 16 Jul 2010) | 4 lines Default to no udptl error correction so that error correction will be disabled in the event that the remote end indicates that they do not support the error correction mode we requested. FAX-128 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277530 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Fix reporting estimated queue hold time.jpeeler1-1/+1
Just say the number of seconds (after minutes) rather than doing some incorrect calculation with respect to minutes. (closes issue #17498) Reported by: corruptor Patches: holdesecs_bug.diff uploaded by corruptor (license 253) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277488 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Finally, a method that really fixes the assertions in chan_iax2.c related to ↵tilghman2-11/+26
cancelling lagid. No, replacing usleep(1) with sched_yield() did not have an effect. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277484 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Merged revisions 277419 via svnmerge from rmudgett1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277419 | rmudgett | 2010-07-16 15:18:54 -0500 (Fri, 16 Jul 2010) | 15 lines priexclusive in chan_dahdi.conf ignored when reloading dahdi module During a reload, the priexclusive and outsignalling parameters are not read in from the config file as intended. Unfortunately, they get set to defaults as a result. This patch makes sure that they do not get set to defaults during a reload. (closes issue #17441) Reported by: mtryfoss Patches: issue17441_v1.4.patch uploaded by rmudgett (license 664) issue17441_v1.6.2.patch uploaded by rmudgett (license 664) issue17441_trunk.patch uploaded by rmudgett (license 664) Tested by: rmudgett ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277467 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Add documentation for MOH realtime fieldstilghman2-0/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277452 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16updated devicestate test for device state changesmnicholson1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277409 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Add missing handling for ringing state for use with queue empty options.jpeeler1-0/+5
(closes issue #17471) Reported by: jazzy Patches: app_queue.c.diff uploaded by jazzy (license 1056) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277366 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Merged revisions 277327 via svnmerge from mnicholson1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277327 | mnicholson | 2010-07-16 13:30:22 -0500 (Fri, 16 Jul 2010) | 8 lines Interpret device state AST_DEVICE_UNKNOWN as extension state AST_EXTENSION_NOT_INUSE. (closes issue #16035) Reported by: francesco_r Patches: pbx.c.patch uploaded by viniciusfontes (license 978) Tested by: francesco_r, agx, lawbar ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277331 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Merged revisions 277261 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277261 | tilghman | 2010-07-16 13:04:11 -0500 (Fri, 16 Jul 2010) | 5 lines If variable gotten is not set, will segfault on Solaris. (closes issue #17636) Reported by: bklang ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277263 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Print f->subclass.integer instead of f->subclass.mnicholson1-1/+1
(fix build breakage introduced in r277250) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277262 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Merged revisions 277247 via svnmerge from mnicholson1-0/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277247 | mnicholson | 2010-07-16 12:29:57 -0500 (Fri, 16 Jul 2010) | 4 lines For pass through DTMF tones, measure the actual duration between the begin and end packets on the wire. If it is detected to be less than AST_MIN_DTMF_DURATION, trigger dtmf emulation. AST-362 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277250 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Merged revisions 277182 via svnmerge from pabelanger1-3/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277182 | pabelanger | 2010-07-16 13:10:36 -0400 (Fri, 16 Jul 2010) | 8 lines Total analysis time error with SIP and silence suppression When using app_amd with SIP providers that have silence suppression on, the iTotalTime count increases exponentially. (closes issue #17656) Reported by: juls ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277183 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Fix up some weird indentation problems in reqresp_parser.cmmichelson1-10/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277175 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Avoid crashing when installing a duplicate translation path with a lower cost.seanbright1-0/+1
(closes issue #17092) Reported by: moy Patches: translate.rev254273.patch uploaded by moy (license 222) Tested by: moy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277143 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Add Despegar.com (my main sponsor) to the CREDITS file.eliel1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277103 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Formatting changesoej2-8/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277102 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Formatting fixesoej1-168/+306
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277065 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Clarify syntax changesoej1-1/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277028 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Adding a few more to the list of CREDITSoej1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@277027 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Formatting changes (guideline corrections)oej1-35/+69
Found a unused bag of curly brackets under my table. I always wondered where they had gone. They where indeed needed in chan_sip.c git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276989 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Adding a few more creditsoej1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276952 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Add ability to configure the Max-Forwards header in the dialplan, as well as inoej5-4/+55
sip.conf configuration for the channel and for devices. The Max-Forwards header is used to prevent loops in a SIP network. Each intermediary, like SIP proxys and SBCs, decrement this counter and detects when it reaches zero, at which point the SIP request is nicely killed in a SIP-friendly way. Review: https://reviewboard.asterisk.org/r/778/ Thanks to dvossel for the review and good advice. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276951 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Add a dialplan function to check if a queue exists: QUEUE_EXISTSoej2-0/+42
Review: https://reviewboard.asterisk.org/r/777/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276950 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16And yet one moretilghman1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276911 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16"Item may be used uninitialized in this function."tilghman1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276910 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Fix reversed logic of if statement.mmichelson1-1/+1
Found based on message from Philip Prindeville on the Asterisk Developers mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276909 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Detect the --dynamic-list flag a bit bettertilghman2-3/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276908 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Fix build on FreeBSDtilghman4-3/+77
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276871 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Fix trunk build for Mac OS X 10.6tilghman1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276870 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Allow ipaddress to contain the maximum IPv6 address.tilghman4-4/+13
Also, update meetme to the full list of supported fields. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276869 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15Quote AC_SUBST within m4_ifval, so it does not get prematurely expanded.tilghman2-3/+2
(closes issue #17654) Reported by: pprindeville Patches: issue17654.diff uploaded by qwell (license 4) Tested by: qwell, pprindeville git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276830 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15Correct not setting the bindport before attempting to open the socket.jpeeler1-64/+62
Related to changes from 276571, I was accidentally testing with a port set in my configuration causing me to miss this. Also moved the TCP handling as well to occur before build_peer is called. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276788 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15Define LLONG_MAX on systems that do not have it.tilghman4-1/+71
(closes issue #17644) Reported by: pprindeville git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276769 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15Fix linking asterisk on CentOS 5, which is using gcc 4.1.1. Gcc 4.1.2 has ↵tilghman5-20/+71
the real fix. Review: https://reviewboard.asterisk.org/r/790/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276731 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15Merged revisions 276652 via svnmerge from jpeeler1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r276652 | jpeeler | 2010-07-15 08:48:58 -0500 (Thu, 15 Jul 2010) | 2 lines In a perfect world, the frame source would never be NULL. In the meantime, don't crash when it is. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276653 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15Add lua5.1 to the handy dandy list of packages.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276616 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Fix MWI notification transmission problems over SIP.jpeeler1-51/+52
MWI updates were not being sent if no messages were found in the event cache. This was corrected since a phone may need to clear its MWI status configured previously from another mailbox. Upon module or sip reload, MWI updates could not be sent due to the sipsock socket not being set early enough in reload_config. The code handling the descriptor assignment and such has simply been moved before the call to build_peer. Issuing a sip reload cleared the IP address of the peer, but skipped checking the database for registration information. The database is now checked both for sip reload and actually reloading the module. If a transmission occurs before the do_monitor thread has started, do not attempt to send a signal to it. (closes issue #17398) Reported by: ip-rob git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276571 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Fix errors where incorrect address information was printed.mmichelson4-15/+15
ast_sockaddr_stringiy_fmt (which is call by all ast_sockaddr_stringify* functions) uses thread-local storage for storing the string that it creates. In cases where ast_sockaddr_stringify_fmt was being called twice within the same statement, the result of one call would be overwritten by the result of the other call. This usually was happening in printf-like statements and was resulting in the same stringified addressed being printed twice instead of two separate addresses. I have fixed this by using ast_strdupa on the result of stringify functions if they are used twice within the same statement. As far as I could tell, there were no instances where a pointer to the result of such a call were saved anywhere, so this is the only situation I could see where this error could occur. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276570 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Make compile again.rmudgett1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276531 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Oops, merge reverted this fix.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276493 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Remove the old stub files, preferring the optional_api method.tilghman14-496/+524
(closes issue #17475) Reported by: tilghman Review: https://reviewboard.asterisk.org/r/695/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276490 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Don't try to call an embedded module's backup_globals() function untilkpfleming1-1/+1
after confirming it exists. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276441 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14handle special case were "200 Ok" to pending INVITE never receives ACKdvossel1-1/+19
Unlike most responses, the 200 Ok to a pending INVITE Request is acknowledged by an ACK Request. If the ACK Request for this Response is not received the previous behavior was to immediately destroy the dialog and hangup the channel. Now in an effort to be more RFC compliant, instead of immediately destroying the dialog during this special case, termination is done with a BYE Request as the dialog is technically confirmed when the 200 Ok is sent even if the ACK is never received. The behavior of immediately hanging up the channel remains. This only affects how dialog termination proceeds for this one special case. RFC 3261 section 13.3.1.4 "If the server retransmits the 2xx response for 64*T1 seconds without receiving an ACK, the dialog is confirmed, but the session SHOULD be terminated. This is accomplished with a BYE, as described in Section 15." git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276439 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Expand the caller ANI field to an ast_party_idrmudgett22-98/+166
Expand the ani field in ast_party_caller and ast_party_connected_line to an ast_party_id. This is an extension to the ast_callerid restructuring patch in review: https://reviewboard.asterisk.org/r/702/ Review: https://reviewboard.asterisk.org/r/744/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276393 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14collapse debug code in retrans_pkt into separate linesdvossel1-3/+14
I've been working in this function a bunch lately, and these huge debug strings are getting annoying. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276392 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Make compile again.rmudgett1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276391 f38db490-d61c-443f-a65b-d21fe96a405b